Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

Detecting if a seperate Flash file has been loaded.

I have already asked a similar question but the answer wasn't quite what I actually needed.

I have a html web page that loads up four swf files.  One of these files is a basic audio player, but I don't want it to start until the other three files have been downloaded and have started to run.

If someone could help me out it would be really appreciated.
0
Andy Brown
Asked:
Andy Brown
1 Solution
 
CyanBlueCommented:
Basically the audio player needs to receive a message from all three other SWFs...  You'd need to use LocalConnection class for it...

So, your audio player will have a counter that is initially set to 0, and then adds up whenever you receive a message from other SWF, and then play the audio when it reaches to 3...

This example shows you how to set up the LocalConnection...
     http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16243

CyanBlue
0
 
Andy BrownAuthor Commented:
That was spot on - and really helped me out.

Thank you.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now