Hi group,

AS2 newbie question here...

I've been going round and round in circles trying to work out the best way of doing this, so maybe someone can help me.

Let's say I have a movieclip on the main timeline of my fla called acrobat_mc which is an animation of a little man doing a somersault.

I also have a bunch of movieclips of audience members each controlled by thier own instance of an AudienceMember object. The AudienceMember object contains a method called applaud().

When the acrobat has finished doing his somersault, I want all the instances of audienceMember to have their applaud methods triggered.

Now obviously, I could put a whole bunch of commands on the final frame of my somersault animation such as:
_parent.audienceMember1.applaud();
_parent.audienceMember2.applaud();
_parent.audienceMember3.applaud();

etc...etc...
But what I really want is to just broadcast some message from that frame on the acrobat's timeline which all the audience members will listen to and automatically applaud.

How should I be doing this?
Cheers.
Mark.


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to