dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Trading variables

  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    45

    Trading variables

    Hi,

    Is there an easy way to pass the variables of one swf file to another? (Im using mx)

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    If you load one swf into another, the loaded one becomes as much a part of the other as if it were made there. Variables will pass, just like passing them to movie clips.

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    45
    But what if i have loaded a different movie? ie, from intro.swf, when you click a button, i use getURL("whatever.swf");

    Should they still automatically pass through?

  4. #4
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    If your not loading one into another, but loading a popup window with flash in it or two movies on the same page, then you need to use something called localConnection(), which I know almost nothing about.

  5. #5
    Member
    Join Date
    Feb 2003
    Posts
    45
    haha, no probs. Cheers again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center