Hey Andy,
Wow... and duh... Thanks for making me look at it again, I was
modifying the onunload code for something which gets pushed into a
sub-div. That fixed it! The onunload videoController.destroy method
just wasn't getting called. Thanks for making me reexamine my code.
Ouch! Still a weird problem though. This video playback must be pretty
deeply-embedded code in the OS. (This was an IE only problem fwiw).
Jeff
Andy Herrman wrote:
> Could you put some javascript in the window the movie actually plays
> in (you said it's a browser window, so I'm guessing javascript is
> doable) that detects when the window is closed and sends a message to
> the Flash movie? The flash movie can then detect that and stop
> playing?
>
> That is weird that it's not stopping when the window is closed. I
> figured the Flash player would shut down the movie once the window
> containing it is gone.
>
> -Andy
>
> On 1/30/07, Jeff Harrington <[EMAIL PROTECTED]> wrote:
>> Hi, the guys on the FMS list quasi-suggested I contact you guys as
>> you might have encountered similar playback enigmae?
>>
>> I've been working around some strange errors in NetStream codes
>> (InvalidArg) which prevents seeks from working sometimes and now I've
>> created a player that just will not stop playing the stream until the
>> complete browser - every window - it's in a child window - is
>> closed. I'm closing 3 windows to get the stream to stop playing.
>>
>> What can I do to insure that a browser window close will shut down
>> the stream? I've created destroy methods in my AS but they don't
>> seem to be getting called at least as long as the parent window is
>> open. The player is in a child window.
>>
>> Thanks for any suggestions...
>>
>> Jeff Harrington
>> [EMAIL PROTECTED]
>>
>>
>> _______________________________________________
>> [email protected]
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com