2013年6月5日 星期三

[Flex] Use Document Class

In flash CS, right side "class" make class name

In flex, New->Flash Professional Project->select the .fla file to use

if error with "addFrame" => document class should extend from MovieClip

every component shown on stage should be declared as public in the class, variable name should be the same as instance name on stage

use frame: http://blog.ring.idv.tw/comment.ser?i=336

沒有留言:

張貼留言