Avatar of petelab2
petelab2
 asked on

How to Load and Play SWFs in sequence in AS3

I find an example of how to Load and Play SWFs in sequence for AS2.... can someone show example code how to do this in Actionscript 3 from an array using XML data?

Thank you
Adobe Flash

Avatar of undefined
Last Comment
petelab2

8/22/2022 - Mon
CyanBlue

petelab2

ASKER
Well I'm certainly impressed by the rapid response! Thanks

(I also need a tutorial on google searching!)

1. Running this script throws the errors shown in the attached code... and

2. It doesn't address loading from XML data.

Thank you again for the quick reply!





Load next swf 
ready to call eFrame
1
1
Load next swf 
ready to call eFrame
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at loadtest_fla::MainTimeline/eFrame()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at loadtest_fla::MainTimeline/eFrame()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at loadtest_fla::MainTimeline/eFrame()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at loadtest_fla::MainTimeline/eFrame()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at loadtest_fla::MainTimeline/eFrame()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at loadtest_fla::MainTimeline/eFrame()
TypeError: Error #1009: Cannot access a property or method of a null object reference.

Open in new window

ASKER CERTIFIED SOLUTION
CyanBlue

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
CyanBlue

Forgot to attach the source file with that script...

CyanBlue
SequentialLoad.zip
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
petelab2

ASKER
Please disregard the 1009 error in the previous comment.... it was something in one of the files in the sequence.

So the script you found solves part of my question...the sequence loading !

Now about the XML loading...?

Thanks
petelab2

ASKER
Thank you for the very quick and useful replies!
petelab2

ASKER
Super fast reply to my inquiry!
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.