Converting MovieClip to Sprite issue
i reading can optimize flash project using sprites instead of movieclips if don't need timeline. right clicked on 1 of movieclips in library , changed base class flash.display.movieclip flash.display.sprite , has green gear icon. changed variable declaration var mything:movieclip mything:sprite well. of textfields , buttons in sprite causing compiler errors:
access of possibly undefined property textfield_txt through reference static type flash.display:sprite.
am going have clear textfields , buttons , re-add them in actionscript? nice if position them using gui.
if added textfield , buttons on "sprite's" timeline, cause problem.
More discussions in ActionScript 3
adobe
Comments
Post a Comment