You can still use AS2 with Flash CS4. I'm guessing that there is a problem with the way that you are implementing the stop() method for the FLVPlayer that makes it not work as expected. Can you give more detail on how and where this method is called in your movie? Can you show us the code that you are using, or possibly the movie file itself?
basically I have a maintimeline for my website. You navigate the website with multiple buttons which jump to various frames in the timeline. When entering the frame that plays my video, it loads an external SWF with the following code:
var myloader:Loader = new Loader();
var myrequest:URLRequest= new URLRequest("demo_reels.swf");
Each button on the stage has an associated function. for example:
The SWF file contains a FLV movie which begins playing as soon as the SWF is loaded as expected. When I hit a button, and the timeline jumps to a different frame, the movie stops playing (both video and audio) and disappears, just as its supposed to do. HOWEVER, this seems to only be the case on my Windows XP desktop. On my laptop that runs Vista, when jumping to a different frame, the audio in the FLV movie continues to play. I am using Flah player 10 on both computers. I have tested it with both IE and Firefox both having the same versions of the browser. So why would it work under XP and not Vista?
Check the version of the Flash Player. I'm guessing that the one on the Vista machine is older.
I made sure it was version 10. That was the first thing I thought of. Still it does not work. I tried it on my wife's computer as well which runs Vista also. Her computer did the same thing as my laptop. She has Flash 10 as well. Here is the link to my site: www.rdreyfus.com. The video in question is located at, Art -> 3D -> Demo Reels -> Animation Reel. Thanks.
I tried your link. It failed on my Macbook Pro using Firefox 3.5. It failed. It failed on several other browsers also. I'm seeing inconsistent results. When some links were clicked, the sound track continued, with others the sound track stopped momentarily and then continued.
I really can't tell what is wrong. From the symptom, it sounds like the unloadAndStop() is not getting called at all and/or the file is being reloaded.