how do i integrate xml based photo gallery into flash cs3

I have asked this question before but I think  I have to ask it differently.

I have created an xml base photo gallery which give me ( file.swf, file.xml, and other file names)
I want to use flash cs3 action script to integrate this gallery into my page.

what step should I take to do that.

thanks
eladgraphicsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

blue-genieCommented:
if your gallery swf file is developed in AS2 you can load it into an AS3 file, but you wont' have any access to it.
0
eladgraphicsAuthor Commented:
thanks so much for replying.  I don't understand your answer.  can you give me an example of the script I have to right in the as3. and what do you mean by I am not going to have access to it?  It is a photo gallery for displaying customer history in his flash website.

again thanks
0
blue-genieCommented:
by access it i mean for example if you had a variable that said currentImage - the container (the file you're loading into that you're using AS3) will not be able to read that value.
why do you want to use AS3 to load the AS2 file?

in terms of loading the file you just can use the Loader Class
example from help file where banana.jpg will be replaced with the path to your swf.
try this first- i'm willing to put a whole lot of money down that you'll get lots of error messages, but lets see.

import flash.net.URLRequest;

var pictLdr:Loader = new Loader();
var pictURL:String = "banana.jpg"
var pictURLReq:URLRequest = new URLRequest(pictURL);
pictLdr.load(pictURLReq);
this.addChild(pictLdr);

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.