Solved

Detecting if a seperate Flash file has been loaded.

Posted on 2009-04-01
2
197 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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
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 shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

739 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