Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / April 2008



Tip: Looking for answers? Try searching our database.

Getting a .swf to read xml

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Casper Buisman - 17 Apr 2008 03:06 GMT
Hi,

I have a slideshow.swf (I cannot change it contents, there is no .fla) which
gets input from slideshow.xml and finds pictures to display in a folder called
'images' . Pretty basic for a flash picture gallery.

The problem: I want to load the slideshow.swf into a loader component in
another flash movie, say holiday.fla. (So i have the loader component in
holiday.fla and I tell it to load the movie slideshow.swf). How can i tell the
slideshow.swf file where to find its data e.g. slideshow.xml?   or  How can i
have slideshow.swf read from slideshow.xml?

thanks,
Casper
Brian Wright_ - 27 Apr 2008 23:50 GMT
you use an XML object.. its very similiar to creating/loading a Loadvars
Object..

However parsing (grabbing the individual data) from the XML file is different.

but if you are comfortable with Arrays and how to access them, XML will be
easy to pick up.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.