swfobject / flash . how to pause flash file when any link is clicked.

swfobject / flash . how to pause flash file when any link is clicked.

What I want to do is tell my flash movie to stop as soon as any anchor tag is clicked.

I want to do this for a number of reasons, but one is to test is this will help me by pass a Firefox issue right now with a very high cpu usage from the flash player. I can see that Firefox receives the click, but response slowly due to the high cpu usage by flash. I also now that javascript is running in front of this since I can activate other jquery elements while the flash movie plays.

In any case, what I need to know id how to send the movie a function call from any link being clicked that will activate the browser to load a new page (I don't want to stop the movie if a button is clicked that will open a pulldown menu ect..)

help greatly appreciated.


    • Topic Participants

    • info