Hi List,

i have MovieClip with some keyframes, on each keyframe is dynamic TextField with different properties (font, color etc.).

In constructor - class NavigationItem.as I'm trying to jump to frame and fill TextField with some text:

....
....
gotoAndStop( _level );
_label.text = label;
_label.autoSize = TextFieldAutoSize.LEFT;
....
....

TypeError: Error #1009: Cannot access a property or method of a null object reference.

It is clear for me - the script runs before frame in the animation has been reached, but how it fix?

Thanks

Pavel
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to