Solved

Detecting if a seperate Flash file has been loaded.

Posted on 2009-04-01
2
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

635 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