Hi,
Shouldn't that be
_label.text = "label";?
HTH
Willem
Op 12-jul-2008, om 14:00 heeft Pavel Krůšek het volgende geschreven:
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
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is a Dutch, Utrecht-based map and chart design company.
Willem van den Goorbergh can be contacted by telephone: (+31)
30-2719512 or cell phone: (+31)6-26372378
or by fax: (+31)302719687
snail mail: Hooghiemstraplein 89 3514 AX UTRECHT
Visit our website at: http://www.geografiek.nl
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders