if this is all in one flash movie
then you could attachevents to the navigation buttons

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/MouseEvent.html

if you use multiple swfs in a page the you'll need to use ext interface




On 2 June 2011 13:30, Bojan Mesar <[email protected]> wrote:

> I was unaware that AS3 has built in events that are able to achieve this.
> Can you point me to a specific event I'm searching for?
>
> Thanks for your help!
>
>
>  On Thu, Jun 2, 2011 at 2:13 PM, Sam Sherlock <[email protected]>wrote:
>
>>  you can check if the for the presence of swfobject
>>
>> if(window.swfobject) {
>>   alert('the eagle flies over the coast');
>>   // do stuff
>> } else {
>>   alert('no eagles aloft today');
>> }
>>
>> although I don't see how this would help your plan.
>> I would use actionscript eventswithin the swf to achieve this.
>>
>>
>>  - S
>>
>>
>>
>>
>>
>> On 2 June 2011 12:49, Bojko <[email protected]> wrote:
>>
>>> Hi guys...
>>>
>>> I've seen a full browser Flash website with background music. When you
>>> navigate to a different tab, the music fades out. My question is:
>>> Is there a way to detect if the window is active using SWFobject and
>>> call a function from Flash?
>>>
>>> Thanks!
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "SWFObject" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/swfobject?hl=en.
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "SWFObject" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/swfobject?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to