Solved

Detecting if a seperate Flash file has been loaded.

Posted on 2009-04-01
2
178 Views
Last Modified: 2012-05-06
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
Comment
Question by:Andy Brown
2 Comments
 
LVL 37

Accepted Solution

by:
CyanBlue earned 500 total points
ID: 24042520
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
 

Author Closing Comment

by:Andy Brown
ID: 31565490
That was spot on - and really helped me out.

Thank you.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to create a simple "throw object" gesture on as3 / air mobile ? 3 1,188
Flash player plugin 13 7 334
Flash builder 4.13 list scroller does not work 1 41
Actionscript in Flash 3 61
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question