[Tweener] AS2 hierarchy and dynamic texts
pierre_colin at yahoo.com
pierre_colin at yahoo.com
Tue Apr 6 06:09:58 PDT 2010
Thanks Makc,
I will take a deeper look.
Have a good day,
Jeremy
--- On Tue, 4/6/10, Makc <makc.the.great at gmail.com> wrote:
From: Makc <makc.the.great at gmail.com>
Subject: Re: [Tweener] AS2 hierarchy and dynamic texts
To: tweener at lists.caurinauebi.com
Date: Tuesday, April 6, 2010, 2:45 PM
some tweener features require you to import additional classes and init them, search mailing list archive for examples.
On Tue, Apr 6, 2010 at 2:38 PM, <pierre_colin at yahoo.com> wrote:
Hello everyone,
I am getting a bit confused over a what should be small problem:
I have Flash CS3, and I am working on a project in AS2. I know my way around AS2 fairly well, but I don't understand the following prolem:
- I have a variable declared at the root of my flash document
- I want to use that variable in various movieclips that I load onto the flash document (whether by directly placing them on a layer, or using attachiMovie())
- as of now, here is my hierarchy structure:
> root
>>raceModule (on a layer)
>>>raceControl (on a layer)
>>>> raceController (on a layer)
>>>>> dataTable (attached to the movieclip)
If I create a dynamic text on the root document and put "_root.myvariable" in the variable textbox, i can see that variable well. Same thing if I put the textfield in racemodule or racecontrol.
But it stops working when I place it in racecontroller or dataTable... The odd thing is that I put a 'trace(_root.myvariable);' in raceController, and it shows the varaible just fine.
Can anyone explain to me why it wouldnot work in the dynamic textfield but in the trace code? Should I be using something different? I did try _level0 instead of _root, but it did not work either.
Thanks for your help!
Jeremy
_______________________________________________
Tweener mailing list
Tweener at lists.caurinauebi.com
http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
-----Inline Attachment Follows-----
_______________________________________________
Tweener mailing list
Tweener at lists.caurinauebi.com
http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20100406/722e7d0d/attachment.htm>
More information about the Tweener
mailing list