Playing A Swf File In A Function
Hello all!
I'm quite new to Actionscript (no experience with Actionscript 2.0 either) and am trying to play a .swf file at in a function.
I load the swf file like the way you would load an external image file like so and this works as intended:
var poppingLoader:Loader = new Loader(); var popRq:URLRequest = new URLRequest("pop.swf"); poppingLoader.load(popRq); addChild(poppingLoader);
But once I move the "addChild" line to a function, it doesn't seem to fire off at all. What am I doing wrong?
Any help or hints are appreciated. -m
ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 01-27-2008, 11:28 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Playing A Certain Frame, After A External Swf File Has Started Playing?
Hi,
This is my first post here.
I need to know how to have a certain frame in my movie start playing, after a external movie I have has started playing.
The problem is basically sync., and I want a certain frame to play only after the external movie begins to play.
I'm using...
loadMovie("http://www.alainshep.com/alain.swf", 66);
if (playing) {
gotoAndPlay("begin");
} else {
gotoAndPlay("start");
}
The external movie plays after it loads, but I just don't know how to set it up for the frame I want to play after it has started playing.
Please Please someone help me..
Check If Playing Function?
Is there a function available that will check to see if a movieclip is playing and return a true or false value?
Song Playing Function
Does anyone know the function that says "if a song is playing", i need it for an mp3 player im making.
Function To Check If Any Mc's Are Playing
hi i have the following code in one of my frames (it's just a part of a bigger flash movie).
i want to achieve that the function checks all mc's on the stage and if one of them is playing (value "true"). if so the function should do nothing, but wenn all of them are idle (value "false") the function must execute a simple action like :
ActionScript Code:
mcArray[11].play();
clearInterval(myTimer);
this what i got so far :
(frame action)
ActionScript Code:
myTimer = setInterval(playnext, 1000);
function playnext() {
for (i=0; i<mcArray.length; i++) {
if (_root.mcArray[i].statusmc == true) {
trace("do nothing and break");
clearInterval(myTimer);
stop();
}
}
mcArray[11].play();
clearInterval(myTimer);
}
stop();
i feel like i'm missing a simple point here, could you guys help me out. any help is appreciated.
Playing A Sound Only Once In EnterFrame Function
I'm trying to figure out how to play a sound only once on a rollOver inside an enterFrame loop. Below is what I've got. I'm assuming I need to put the sound inside an onLoad but I can't seem to get it working. Any help would be great.
hsize = ball._height;
amount = 30;
tsize = hsize*amount/2;
//trace(tsize);
_root.onEnterFrame = function() {
for (i=1; i<amount; i++) {
attachMovie("hit", "hit"+i, i);
_root["hit"+i]._x = i*hsize+Stage.width/2-tsize;
_root["hit"+i]._y = Stage.height/2;
_root["hit"+i].onRollOver = function() {
foo = Stage.height/2+Math.sin(Math.cos(x))*50;
x += .3;
this._alpha = 100;
this._y = foo;
myColor = new Color(this);
myColor.setRGB(0xFF0000);
mySound = new Sound(this);
mySound.attachSound("pap");
mySound.start();
};
}
};
Question About A Function Playing Sounds
I have the following code in the root level of my main timeline like this:
Code:
var sound1:Sound = new Sound();
var sound2:Sound = new Sound();
sound1.loadSound("hello.mp3", false);
sound2.loadSound("world.mp3", false);
function playSound() {
sound2.onLoad = function(success:Boolean):Void {
if (success) {
sound1.start();
sound1.onSoundComplete = function() {
sound2.start();
};
}
};
}
playSound();
Works great. Now if I try and move the call to the playSound() function to a button onpress or a movieclip mouseup it doesn't give me any errors but it also doesn't play anything. Am I missing an obvious problem with scope or something altogether different? Any help would be greatly appreciated. Thanks.
Function To Stop A Flv Video Playing
Hello there,
i'm a beginner.
i'm trying to call a function to stop a flv video playing.
the function and movieclip is within a movieclip called MovieMenu.
Code:
function stopHim(){
lastPlayer.stop();
new Tween(lastPlayer, "_alpha", none,100,0,15,false);
}
the call is in my main scene, at the release of a button.
Code:
navigation_mc.about_btn.onRelease = function (){
MovieMenu.stopHim();
i think i know what the problem is, but i don't know how to solve it.
MovieMenu is not directly inserted in the project, it's within a scrollarea component. so i guess that's the reason i cannot really access it, correct ?
but how can i fix this? i tried linkage...no good.
i tried to keep it short, if you need more explanation please let me know.
this is the last problem in my site
any help is greatly appreciated.
Question About A Function Playing Sounds
I have the following code in the root level of my main timeline like this:
Code:
var sound1:Sound = new Sound();
var sound2:Sound = new Sound();
sound1.loadSound("hello.mp3", false);
sound2.loadSound("world.mp3", false);
function playSound() {
sound2.onLoad = function(success:Boolean):Void {
if (success) {
sound1.start();
sound1.onSoundComplete = function() {
sound2.start();
};
}
};
}
playSound();
Works great. Now if I try and move the call to the playSound() function to a button onpress or a movieclip mouseup it doesn't give me any errors but it also doesn't play anything. Am I missing an obvious problem with scope or something altogether different? I've tried calling it with _root.playSound(); _level0.playSound(); _level1_playSound(); and just plain old playSound(). If I stick a trace statement in the function it get's executed but the mp3's don't play.Any help would be greatly appreciated. Thanks.
How To Trigger A Function When A Movie Finish Playing?
Hello,
I have a very simple movie. A ball moves in x-axis and stops in a set location. The codes are:
Quote:
function moveBall(evt:Event):void {
stage.addEventListener(Event.ENTER_FRAME, moveBall);
stage.frameRate = 15;
if (ball_mc.x < 500) {
tball_mc.x += 1;
} else {
stage.removeEventListener(Event.ENTER_FRAME, moveBall);
noticeMe();
}
}
moveBall(null);
// trigger noticeMe function when ball_mc stop?
function noticeMe():void{
trace("The ball is stop");
}
// I have more codes
// -------- more codes here ---------
// -------- more codes here ---------
// Don't know how to trigger movieFinish function when the movie finish playing?
xxxxxxxxxxxx.addEventListener(Event.xxxxxxx_COMPLE TE, movieFinish);
function movieFinish():void{
trace("The movie is finish!");
}
I have a question:
1. Sometimes I wish to trigger another function when a movie finish playing. How can I do that?
I searched the Internet. I noticed that the COMPLETE is usually works with Event.SOUND_COMPLETE, loader.......(Event.COMPLETE,loadImage).
Could you please show me some guidelines?
Thanks and best regards
Alex
Playing An .asf File On A Flash File
How can I play an .asf file on a flash file? I'm trying to send an .asf file i have on the web to a .swf to use as a player to play live music, I want to try and make a bar for your desktop using screenweaver so whenever your'e online you can listen to the music without going to the website or opening the media player, can anybody help me with this? or tell me where i can go to learn this?
Actionscript File Cannot Access My Public Function Of Other AS File
Help!
How to I call my public funtion (from actionscript file 1) using other actionscript file....
here it is:
-----------------------------as_one class ---------
package
{
import flash.disaply.MovieClip;
public class as_one extends MovieClip
{
import as_two;
public function as_one()
{
as_two.initMe();
}
}
}
-----------------------as two class ------
package
{
import flash.disaply.MovieClip;
public class as_two extends MovieClip
{
public function as_two()
{
}
public function initMe():void
{
.........
}
}
}
it only produce an error message stating: "Call to possibly undefined method initMe through a refference with static type class:
as_two.initMe();
"
any idea?
thank you
How Do I Know When The Swf File Is Done Playing?
If the movie clip instance is called "video", does the following code look ok to tell when my swf file is done playing?
If (getProperty("video", _currentframe) >=
getProperty("video", _totalframes));
trace ("Movie Has Ended");
else
//movie is still playing
end if
Thanks for your help.
Playing A .mov File
Hey you guys!!!
Can someone please tell me how to play a movie (.mov) file when you press a button and stop movie when you press another button? but I want the file to t open in the same movie
thnx.
Playing Swf File Into Another
Hello,
is there some way of loading a swf file (say #2) into another one (say #1), and being able to choose the location where #2 is played in #1?
What I'm also trying to reach here, is to fade in (motion tween I guess) #2, which has to be played twice (or once), after that continuing with the main timeline.
Is this possible (hope everyone understands my question here...)
Greetz & tia,
Spiderken
Playing An SWF File
Is there a way that you can save an swf file so that a person could have it play full screen automatically when a computer started up?
Playing MP3 File Through FMS
Hi,
I am playing MP3 file through FMS. It is working fine.
My problem is that i am unable to get the duration of the stream. Can anyone help me in this?
Thankx.
FLV File Not Playing
Hello I am looking for help with a FLV file that I have placed in my flash file to be published on my website. I importing the FLV into my Flash document and it plays fine with test movie, and even after publishing and it plays through dreamweaver and the html document version. But when I upload the HTML doc to my website, everything BUT the FLV show up, it simply is not there... what am I doing wrong? Mahalo
Playing An External AVI File
I know how to play an avi file by importing into Flash but this decreases the quality alot..... i want to play an Avi file without importing into Flash....i mean i want to play an external file (Avi file)........Kindly response as soon as possible
Help For External Flv File Playing
Hi, everyone.
I used sorenson to squeeze the video files into flv codec. But I don't know how i can link those file externally.
I am using MX now. is it something i can't do in MX?
I found tutorial for it, but it says to put actionscript in Textarea components. I can't find this in MX.
Can anybody help for this?
Thanks
Help For External Flv File Playing
Hi, everyone.
I used sorenson to squeeze the video files into flv codec. But I don't know how i can link those file externally.
I am using MX now. is it something i can't do in MX?
I found tutorial for it, but it says to put actionscript in Textarea components. I can't find this in MX.
Can anybody help for this?
Thanks
Help For External Flv File Playing
Hi, everyone.
I used sorenson to squeeze the video files into flv codec. But I don't know how i can link those file externally.
I am using MX now. is it something i can't do in MX?
I found tutorial for it, but it says to put actionscript in Textarea components. I can't find this in MX.
Can anybody help for this?
Thanks
Playing AVI File From Cdrom
I have created a presentation in Flash and I would now like to add a button that plays a Video AVI file that will be on the same CDrom as my Flash presentation. Is it possible to link a button to play the AVI?
Any help.advice appreciated
[Help] Sound File Not Playing.
On the first frame of my movie I have a loader movie clip on the first frame of the loader I have this code:
Code:
this.loadStatus = "Loading..."
bl = Math.round(_root.getBytesLoaded());
bt = Math.round(_root.getBytesTotal());
percent = bl/bt;
this.loadBar._width = percent*200;
this.loadText = Math.round(percent*100)+"%";
if (loadText == 75 + "%") {
this.loadStatus = "playing..."
_root.gotoAndStop(2);
}
and on the second frame I just have gotoAndPlay(1); so it loops back.
I have a song on frame 2 of the main time line with the sync set to start. I tried the other options there too and no luck. Any ideas?
Thanks.
Playing A Sound File From A Url
Ok, I know that there are all of these new fangled websites out there that give you a flash music player for sites such as myspace.com and such. I don't actually need one of these players. What I am looking for is whatever code the player uses that tells flash to actually start playing the music file... I guess I would also need a way to stop the playing, but thats what I need...
Know what I mean?
PLaying A Video From An XML File
I had a quick question about video. I am trying to take a location of a video from an XML file and play it in a video window when I hit a certain key. This is what it looks like.
This is called when I hit the A button to show the video display and play the video:
ActionScript Code:
else if (Key.getCode() == 65) {
trace("A button pressed: "+selectedVid); //this traces correctly by the way
this.VidDisplay.myVid._visible = true;
this.VidDisplay.imageloader._visible = false;
ns.play(selectedVid);
}
When I trace "selectedVid" I get the correct location for the video. Here is how i get the location of the video:
ActionScript Code:
import mx.video.*;
this.VidDisplay.myVid._visible = false;
// Set up Netstream - I have a video component on the stage (this.VidDisplay.myVid)
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(5);
ns.deblocking = 4;
this.VidDisplay.myVid.attachVideo(ns);
// Loads My XML
menu_xml = new XML();
menu_xml.ignoreWhite = true;
menu_xml.onLoad = function(success:Boolean) {
if (success) {
d = 0;
VideoArray = [];
makeArrays(); // calls my make arrays function
trace("XML loaded");
trace(d);
activateKeys();
// call the function.
} else {
trace("error: XML not successfully loaded");
}
};
menu_xml.load("JanesXML.xml");
function makeArrays() {
var user;
//setting variables to corresponding XML data
user = menu_xml.firstChild.attributes.user;
this.user_txt.text = user+"'s Shows";
trace("user: "+user);
nodes = menu_xml.firstChild.childNodes;
for (i=0; i<nodes.length; i++) {
VideoPath = nodes[i].firstChild.childNodes[10].firstChild.toString(); // here i set the array for my video paths
VideoArray.push(VideoPath); // pushes everything into the VideoArray
}
displayInfo(); // calls my displayInfo function where i set the selectedVid variable equal to the index d of the VideoArray
}
function displayInfo() {
selectedVid = VideoArray[d];
}
The trace works, but then it doesn't play in the video screen. Any help would be appreciated. Thanks.
Playing The Avi File In Flash
hello actionscript fans.. i'm a newbees i have alot to learn abuout flash..
actually, how can i play the avi file in the middle of the flash presentation.??
i have make a fla presentation file but suddenly my lect wants me to add a video file while playing the swf presentation file..
if it used button to play movie, then i know how to make it but since this is a presentation so there is no interactive with users. Just one straight presentation..
how can i settle that problems..??
.flv File Not Playing In My Movie
Hi,
i have a simple video player that uses the MediaDisplay component. In its own .fla file it works fine, will play any .flv file i plug into it. I tried moving it to another flash movie that i have (where i want it to reside) and the display does not work at all. It just shows the word "display" on a white background where the mediaDisplay is supposed to be. all the code for both movies is on the first frame of the root timeline, and i made sure that its identical, but when i try to trace the file size of the .flv in the new one, it returns undefined.
I've included all the code thats used for both of them. It's identical, they both have the same required library items, everything's named and linked properly, it just doesnt want to work in a new .fla file.
Anyone have this problem before??
PHP Code:
// file to stream: loads file from flv location currently
//softcode for final
videoDisplay.setMedia("file:///c:///mcmcom///sandbox///lexus///flv///VTS_01_1_300k.flv","FLV");
// mute button - <not using>
videoDisplay.volume = 100;
unmuteBut._visible = false;
muteBut._visible = false;
muteBut.onPress = function() {
videoDisplay.volume = 0;
unmuteBut._visible = true;
this._visible = false;
};
unmuteBut.onPress = function() {
videoDisplay.volume = 100;
muteBut._visible = true;
this._visible = false;
};
// play and pause buttons
playBut._visible = false;
pauseBut.onPress = function() {
videoDisplay.pause();
playBut._visible = true;
this._visible = false;
};
playBut.onPress = function() {
videoDisplay.play();
pauseBut._visible = true;
this._visible = false;
};
// file load progress
percentBar.onEnterFrame = function() {
loaded = videoDisplay.bytesLoaded;
total = videoDisplay.bytesTotal;
if (loaded == total && loaded>1000) {
percentBar._xscale = 100;
delete this.onEnterFrame;
} else {
percentBar._xscale = int(loaded/total*100);
}
};
// play progress
progressBar.onEnterFrame = function() {
this._xscale = videoDisplay.playheadTime/videoDisplay.totalTime*100;
playBut._x = this._x + this._width - 2;
pauseBut._x = this._x + this._width - 2;
};
// play scrubbing
backBar.onPress = function() {
this.onEnterFrame = function() {
scl = this._xmouse/this._width;
videoDisplay.play(scl*videoDisplay.totalTime);
};
};
backBar.onRelease = backBar.onReleaseOutside=function () {
delete this.onEnterFrame;
pauseBut._visible == false ? videoDisplay.pause() : null;
};
// file end function
var endListener = new Object();
endListener.complete = function(eventObject) {
videoDisplay.play(0);
playBut._visible = true;
pauseBut._visible = false;
videoDisplay.pause();
};
videoDisplay.addEventListener("complete", endListener);
thanks,
mcm
Playing WAV File In Flash
Hope someone can help... have tried a bunch of tutorials on the net with no luck. I have a WAV file that we would like to play when the SWF reaches a specific frame. Can someone tell me a simple way to get the WAV file to automatically play when it reaches this frame? No need for sound control, play/stop etc, just to play the file once.... Thanks
Playing A .exe PC-flash File On A Mac
Hi folks,
actually, its not that I'm new to Flash. Instead, I have never worked on it. Although Im a Graphic Designer, printed matter is my role. I don't even have a copy of Flash (well, just the Flash Player...) so...
OK, here's the tip:
A collaborator company sent me their flash-made showreel so I can show it to my client and persuade him to work with them. The problem is that they sent me a folder containing two subfolders (inside of them are the contents) and a .EXE file.
It succesfully played on a friend's PC, but I rather need to play it on my G5 iMac.
And here the question:
Is there a way that I myself can somehow "translate" such .EXE file to a Mac file I can play? Or any plugin, or converter whether if its for PC or Mac?
I kindly thank you all in advance!!!
Peace!
Error Playing Mp3 File.
Hi!
I am trying to make a mp3 player(a very simple one) with the songs loaded from a XML file.When I start the sound at the first time it works but when I click the button to load the second song it gives me an error and stops playing.
and here is the error message:
Error: Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful.
at flash.media::Sound/flash.media:Sound::_load()
at flash.media::Sound/load()
at SITE2008_fla::s_34/playSong()
at SITE2008_fla::s_34/onMusic2CLICK()
Attach Code
var xmlLoader : URLLoader = new URLLoader();
var url : URLRequest = new URLRequest("songs.xml");
var Songs :Array = new Array();
var xSongs :XML;
var slc :SoundLoaderContext = new SoundLoaderContext(3000);
var S :Sound = new Sound();
var SC :SoundChannel;
xmlLoader.load(url);
xmlLoader.addEventListener(Event.COMPLETE,onLoaded);
music1.addEventListener(MouseEvent.CLICK,onMusic1CLICK);
music2.addEventListener(MouseEvent.CLICK,onMusic2CLICK);
stopSounds.addEventListener(MouseEvent.CLICK,onStopSoundCLICK);
function onStopSoundCLICK(e:MouseEvent):void
{
SoundMixer.stopAll();
}
function onMusic1CLICK(e:MouseEvent):void
{
playSong(0);
}
function onMusic2CLICK(e:MouseEvent):void
{
playSong(1);
}
function onLoaded(event:Event):void
{
xSongs = new XML(event.target.data);
var lSongs :XMLList = xSongs.song.attribute("url");
for each(var Lista:XML in lSongs){
Songs.push(Lista);
}
playSong(0);
music2.enabled = false;
}
function playSong(songID : Number):void{
SoundMixer.stopAll();
S.load(new URLRequest(Songs[songID]),slc);
SC = S.play();
SC.soundTransform = new SoundTransform(0.8);
}
Playing A Streaming MP3 File....
Hi there,
I want to be able to do this:
When you click a button, you start listening a mp3 file that is on my web server( streaming file), but i was told you have to publish your movie has
quicktime...
You canīt have remote link mp3 files on a SWF.
Does anyone ever tried this?
Any help would be great...
Thanks,
www.filete.net
HELP Playing Audio File
Can someone help me with this please? I need to create a couple of buttons in flash. I already created them. But I need to be able to play a wav file (audio file) when the button is clicked on. Also if I click on another button, the playing file should stop playing and the other audio should play. Can someone please help me with this ? Appreciate it! Thanks!!!!
Playing The Avi File In Flash
hello kirupa fans.. i'm a newbees i have alot to learn abuout flash..
actually, how can i play the avi file in the middle of the flash presentation.??
i have made a fla presentation file but suddenly my lect wants me to add a video file while playing the swf presentation file..
if it used button to play movie, then i know how to make it but since this is a presentation so there is no interactive with users. Just one straight presentation..
how can i settle that problems..?
Problem With Swf File Playing
I'm not really sure if this is the best forum for this issue because the problem doesn't seem to be with the Flash file itself, but rather how its imbedded into the html file. I'm working with Flash and Dreamweaver CS3. I created a Flash file with a simple slideshow effect in Flash and published it. I want it to reside in a html page, but for some reason, the file won't play. Here's what I've done to try and troubleshoot it, with no effect.
here's the URL for the html page. the Flash file is in the lower right area in the grey sponsors box: http://www.opra.org/opra2_index.html
Here's what I've done so far:
-swf plays when local html file is opened in the browser
-changed all links in the html file to absolute (the site is part of a CMS program)
-confirmed the files are loaded up on the site (it plays when you go to the direct url: http://www.opra.org/sponsors.swf)
-in Firefox, Safari and IE6, the space is there for the Flash file, but it won't run for some reason.
I hope someone can easily pick up what I'm obviously overlooking
Playing Sound File
I have a movieclip that has a layer with an imported sound file. I am trying to have that MC play when a button in another MC is pressed. I have as the code in the button:
on (press) {
gotoAndPlay ("name of sound file");
}
When running the entire swf, nothing happens, what am I doing wrong?
A SWF File Will Begin Playing When .....
A SWF file will begin playing when ........... ?
Just for my knowledge.
I have a file that will not begin playing unless the whole thing is loaded, which prevents me from viewing the preloader animation.
Any clues?
Thanks!
Preloading A Flash File While Another Is Playing
Let's say I have about 10 swf files that make a whole presentation and each is about 400-700k. Is it possible to play one of the files then have the next file load while the first one is playing, then play, then have the next one load ect. If it is possible will it effect the playback of the file that is playing? Your help on this matter is much appreciated!
Getting Flash To Start Playing .wmv File
I am making a stand alone Flash file on a CD and I want to get flash to trigger a .wmv movie file when a button is clicked. I don't want it to play inside the flash movie, just to open up media player and play the relevant movie.
How do I get Flash to do this?
Thanks for your help
Rob.
Playing A Video File In Flash MX
Hello,
I have been working on a website and I have a one minute movie clip (actual video footage filmed from a camcorder) that I would like to play. I imported the clip into Flash MX and it worked just fine with a bit of tweaking. Then when I exported the movie, it was about 14.5 megs! The video file is around 1.2 megs. I think it has something to do with the movie being over 900 or so frames long. It looks like Flash created a .bmp or .jpg for each frame in the movie. Is there a way to load the movie from the server (like you do for "loadMovie "file.swf""? but have it be (loadMovie "movie.mov"?)
Thanks again all.
Playing An External Flash File
ok, well im not even going to put what code i used because none of it worked. I there is a way to do it, but im just an idiot. I have made a flash file with media player controls (prev, pause, play, etc..) I have seperate sound loops in swf format but i do not wish to import them because they are large. I cant figure out how to make my buttons link to the outside source without it opening in my media players movie file (using loadMovie(...)), or opening in a seperate window (i tried javascript also). Anyone help would be greatly appreciated.
Rare Problem Playing A File
Hi,
I wrote this actionscript code at frame 1 of a MC:
stop();
gotoAndPlay(10);
In this MC, instead of go directly to frame 10, it goes this frame but crossing all the frames between frame 1 and frame 10 and, by this, it plays the MC in frame 2.
I upload the file. We have 4 computers and in two of them it plays well and in the other ones it plays wrong.
The 4 computers have the same flash player (7.0.19).
Please, help me!!!
TIA
Preloading A Percentage Of The File Then Playing
Is it possible to preload a moive only to a certain percentage and then play the moive while the rest loads? or is there not much point in doing that. Im asking because I have a moive that is 1.7mb and its file size is far to big and i dont quite know the best way to get it on to the net.
Thanx alot
.wav File Playing As If In Echo Chamber
Good Morning,
I have a short .wav clip that I have embedded in the last fram of a movie clip. It usually plays fine, but often it will play and sound like it's in an echo chamber. Is there any ideas what could be causing this?
thanks,
Clem C
Html File Playing Very Slowly....
Hi, I was wondering if anyone can tell me why my html file is going at a different speed to the swf file? Is it the publishing settings I need to change? Or is it the fact that the swf file is pretty big as I've used high quality images and sound...The sound is playing fine but the images are not in the right place as they are when viewed in the swf file...help...
Playing Ongs In The Flash File
hi, I want to put a player on my flash site, and i want it to be up at all times and I can still be free to go to different frames and not have it stop and start again or anything, does anyone know the action script for that, I need help fast. this is what the player is somewhat going to look like
|