Give this a shot. So if the structure looks like this:
root animBotoes_mc (A.swf) myvar emptyMovieClipName (B.swf) >From inside emptyMovieClipName to myvar: this._parent.myvar (you have to go up a level) Ryan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Maria Barros Sent: Wednesday, March 22, 2006 5:17 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] referencing my main movieclip in a movie clip thatis above(i think) I have A.swf that have a movieclip instance named "animBotoes_mc" in the root. Inside this instace i have two things: the variable myvar , and the empty movieclip that haves the B.swf. I want to access from B.swf the variable myvar.. Sorry if i didnt make you understand.. On 3/22/06, Roman Blöth <[EMAIL PROTECTED]> wrote: > > Jose Maria Barros schrieb: > > Hello Roman. > > > > I tried this in my swf B: > > > > this._parent.animBotoes_mc.gotoAndStop(link); > > > > but...it doesnt work... > so is animBotoes_mc the parent? Then you can't write it like above, > since animBotoes_mc does not contain animBotoes_mc, I assume... > > > Regards, > Roman. > > -- > > ------------------------------------------------------------------- > gosub communications gmbh | fredersdorfer str. 10 | 10243 berlin > t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de > ------------------------------------------------------------------- > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com