Hi Jonny,
I have found a solution to access from director to a variable in a flash
embeded in another flash :
put getvariable(sprite 3, "_level2:myvar")
or
put getvariable(sprite 3, "_level2/:myvar")
(my embeded flash was is level 2 of my first flash)
I use the level where the second flash is inserted and call this lingo
script, and I have the result !
> The first thing is to make sure the top level flash movie is not static,
it has to loop around at least 2 frames in order for it to be updated with
any values within the embedded movie... e.g
>
>frame 1, script: embeddedVar = /embeddedMovie/:myVar
>frame 2, script: gotoAndPlay(1)
>
>where "embeddedMovie" is the instance name of your movie "anim2.swf".
>
>This way whenever you change the value of the text variable in your
embedded movie it will be reflected in the value of the variable in the top
level.
>
>then in Director you can simply retrieve the value from the top level
flash >movie... e.g.
Your solution was good but my first flash was static and it was too
difficult to transform it at the last minute.
Thank you very much for your help wich help to find the rigth way !
Emmanuel Brulavoine
----------------------------------------------------------
IRC OUEST / Magic-Soft
Conception & R�alisation Multim�dia
Tel. : +33 (0)5.46.07.48.59 / France
Fax : +33 (0)5.46.07.48.62
Emmanuel Brulavoine
+33 (0)6.62.06.09.29
[EMAIL PROTECTED]
http://www.ircouest.com & http://www.magic-soft.net
----------------------------------------------------------
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]