Adding dynamic text to a document class-ed fla


i have main menubar.fla file, has document class on linking menubar.as. as3 file simple papervision3d stuff, , creates few buttons on stage library.

here can see project now

i trying make when mouse leaves, the head tween facing forward. find mouse leaveing, using code found here

in fla without document class, works fine, when add menubar.fla errors:

1046: type not found or not compile-time constant: textfield.
1180: call possibly undefined method addframescript.

the first 1 comes text box alone on stage.


i new as3 , think causing problem when define document class, imports stuff listed in corresponding file. if dont, loads of flash components? if case... have add few more import lines file? , lines?

i had similar problem when adding buttons, made me link them actionscript , create them directly in file, because placing them on stage threw similar errors. code too, according source site, "this event available added stage."

any pointers? , code add timeline below, have text field ont stage, dynamic, named test_txt

attached code

import types needed document class.


More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62