... new NetConnection();connection_nc.connect(null);var stream_ns:NetStream = new NetStream(connection_nc);my_video.attachVideo(stream_ns);stream_ns.play("Flv_files/"+_root.moviestatus+". flv");stream_ns.onStatus=function(infoObject){if(infoObject.code=="NetStream.Play.Stop"){stream_ns.seek(0);stream_ns.play();}};this.createTextField("loaded_txt", this.getNextHighestDepth(),...
... It instructs the sound file to start to play. (The files at the top of this page do not have this - on my files you must hit the play button). Once the file starts to play it will loop 99 times. slider.control._y = -50; Sets the initial volume to 50% full volume. 0 is off and -100 is full volume. Remember that -100 is the top of the slider scale (step 2.20...
... to the bottom (in the middle). Before After With frame 10 selected go to the action script panel and type in stop(); this will stop the animation from looping. Now the shape tween is all done and were ready to move onto the next step. Step 3 : Creating the motion tween Add a new layer called "Motion". Add a keyframe on frame 10. Click...
... is selected the click ok. Then click frame 2 and do the same thing. Click on frame 1 and then open the actions panel. Type in stop(); This tells flash to stop the movie else it will keep looping. Click on frame 2 and then open the actions panel. Type in stop(); This tells flash to stop the movie else it will keep looping. Now go back to frame 1 and click on the button. Then in the...
... be adding our files in the next step) else the code will keep loading to 100%. The 3rd frame add a simple stop(); in the actions panel. This will tell the movie to stop else it will keep looping. Step 3 : Import files Click here to download an image file if you don't have one. I'm going to use this to test the preloader and to show how it works. Go to frame...
... Then give the variable name text. Click frame 1 and open the actions panel and type stop(); click on frame 2 and type in stop(); again. This tells flash to stop else the movie will keep looping. Step 2 : Create notepad Open up notepad and start off by typing text= Remember text is the variable we are using. If you don't know what a variable is... it basically holds data....