This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > May 2005 > variable access into swf from another swf





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author variable access into swf from another swf
Ravi-Kant

2005-05-26, 7:29 pm

:( hi
i want to know that how any variable can be access ed from any swf file in to
current swf file.
again i want to control x.swf from inside but my controling positon is y.swf
if any one can help me so i will be help full


tralfaz

2005-05-26, 7:29 pm

"Ravi-Kant" <webforumsuser@macromedia.com> wrote in message
news:d74cbk$8ol$1@forums.macromedia.com...
> :( hi
> i want to know that how any variable can be access ed from any swf
> file in to
> current swf file.
> again i want to control x.swf from inside but my controling
> positon is y.swf
> if any one can help me so i will be help full
>


Need more specifics to be specific. Is one swf loading the other?
Into level or into empty clip or how?

Some examples:
If loading the 2nd swf into _level1..
_level1.someVariable = 100;
If loading the 2nd swf into a movieclip called mc1..
_root.mc1.someVariable = 100;

2nd swf x position stays 200 pixels right of swf's x position..
_root.mc1._x = this._x + 200;

tralfaz


Ravi-Kant

2005-05-27, 4:16 am

thnx for responseb but actually i wantto send some information in to loaded swf at runt time and i like it to use as session

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews