hello all,
im kinda new to AS2.0 Classes, and im having some trouble
accessing objects within a MC’s Class.
I have a MC on the timeline that has a class linked to it [the class extends MovieClip] I need the linked class to access objects within the MC, for example a text box and a few other graphics and MC’s.
The class’s script is : [where nav_text is a textbox located within the MC]
class NavigationDraw extends MovieClip
{
function NavigationDraw()
{
this.nav_text.autoSize = true
trace(this.nav_text._width)
}
}
How to I reference the objects? I would have throught it would be this, just as though you were referencing the text box in a frame of the MC’s timeline…
any ideas?
Thanks in Advance :p: