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.