Flash AS3 FLVPlayback Component Bug?

Seems that if the FLVPlayback component in Flash CS3 (AS3)  is currently playing a FLV and the timeline changes to a frame without a FLV component, without stopping the movie first, that the stream continues.

To reproduce:  Set up a Flash CS3/AS3 file. Create a FLVPlayback component on one frame (only one frame), set up a source (via AS3 or via component parameters) and create a few blank frames.  Add navigation buttons that exist on all frames and add event listeners for the buttons so you can jump between the frames.  Run the movie and navigate to the frame with the FLVPlayback on it, and then navigate away.  The audio continues but the component instance is gone.

What I found very interesting is that  I could trace the instane name of the removed component afterwards, but if I tried to gain a reference to it via getChildByName, it came back null.    I also found that after adding stop (within a try catch), that it would work when going backwards on the timeline, but not forwards. And then if I jumped ahead and came back, that I could create overlapping audio.  Very very weird.

Download Sample file.  Run the sample file and navigate around — you’ll see some very odd behavior.

Now, the easy answer is “just don’t build it that way” or numerous other workarounds & fixes, but reality is that a number of beginning users are used to using  frames/frame labels and it is would make sense to only have the component on the frame you needed it.  My question is –>  Whats really going on behind the scenes? (I have a few ideas).

Kudos to my Flash Level 2 students. They are great at finding bugs in documentation and components.