all groups > flash actionscript > november 2004 >
You're in the

flash actionscript

group:

Updating Dynamic Text in a duplicated movie clip


Updating Dynamic Text in a duplicated movie clip Crystal Chadwick
11/18/2004 8:13:28 PM
flash actionscript:
Hello. In my application I am duplicating a movie clip when a user drag and
drops a specific item. The movie cilp being duplicated is not the one that is
actually being dragged and dropped ( I don't think that makes a difference but
just in case...) . Once the user drag and drops the item a textbox pops up and
they have to type a number in that box, this box is used to do some
calculations.

The movie clip that is being duplicated has a dynamic text box inside of it.
Once the user types the number in the box that pops up (see above) that number
is supposed to be inserted into the dynamic textbox in the duplicated movie
clip, however this is not working.

The line of code I am using to update the dynamic textbox in the duplicated
movie clip is
_root.Mountainous_Zoom_Page.PlacementPage["Aug"+_global.Aug_counter].AugNum.text
= number.text; I am not sure why the dynamic textbox is not being accessed.
I have also tried using a string ("test") to update it to see if I could get in
it and that didn't work either.

Any ideas would be greatly appreciated?
Re: Updating Dynamic Text in a duplicated movie clip kglad
11/18/2004 8:24:28 PM
you have an improper reference to the textfield in the duplicated movieclip.
unless you show the code used to duplicate the movieclip that contains your
textfield it's not possible to be more specific.
Re: Updating Dynamic Text in a duplicated movie clip Crystal Chadwick
11/18/2004 9:12:52 PM
Re: Updating Dynamic Text in a duplicated movie clip kglad
11/19/2004 6:08:34 AM
AddThis Social Bookmark Button