Passing argument/variable to external swf

  • itHighway
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Jan 27, 2008
  • Posts: 7
  • Status: Offline

Post January 27th, 2008, 5:25 pm

I am using a carousel with items in it. When the user clicks an item in the carousel, I want a new swf to load to _level0 and replace the carousel on the stage. The new swf reads an xml, however the xml should be different for every item on the carousel.

Is there any way to pass the xml file name to the loadMovie command so the new swf can use it?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 27th, 2008, 5:25 pm

  • Abelius
  • Proficient
  • Proficient
  • User avatar
  • Joined: Sep 17, 2004
  • Posts: 260
  • Loc: Miami Beach, FL, USA
  • Status: Offline

Post January 28th, 2008, 10:37 am

How about having each of the items in the carousel loading its own XML file in their own timeline, frame 1 (which by the way you can also make dynamic by loading a main xml file which would tell the items of the carousel where their corresponding xml file is)...?

Makes sense?
Cordially,
Abel K - Miami Beach, FL, USA
http://www.worldkit.com
  • itHighway
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Jan 27, 2008
  • Posts: 7
  • Status: Offline

Post January 28th, 2008, 1:15 pm

mmmm... I guess this should work. I will try it and let you know.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 47 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.