Old 03-05-2009, 08:59 PM   #1 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 2
Default Dynamic .xml-file

I would like to provide the .xml-file by every call dynamically via PHP. How can I get carousel.swf to load the topically provided .xml file?
exitus is offline   Reply With Quote
Old 03-06-2009, 08:37 AM   #2 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,969
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

source/oxylus/carousel/Carousel.as line 27:

Code:
xml.load("carousel.xml");
changes to

Code:
xml.load(_level0["xml"]);
Save and republish the swf.

In the html embed code use the flashvars parameter to pass the path via the xml variable. For example:

HTML Code:
<param name="flashvars" value="xml=yourfile.xml" />
Read more on flashvars on the web, if you are not very fammiliar with it.
Adrian is offline   Reply With Quote
Old 08-07-2009, 04:47 PM   #3 (permalink)
Junior Member
 
Join Date: Aug 2009
Posts: 1
Default

Adrian,

Thank you so much! You pointed me in the right direction for the Ultimate Carousel component (actually edited slideshow.as, line 111), and I have dynamic XML feeding into the component from my ASP.NET application. Kudos to an utterly fantastic flash component!

Paul Day
Founder
AvenueHiFi.com
avenuehifi.com is offline   Reply With Quote
Reply

Bookmarks

Tags
advanced 3d carousel v2, dynamic xml

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:21 AM.