Convert symbol to class (and use its members)
1. right click to convert primitives to a symbol
2. check "Export for ActionScript"
3. give instance name for the symbol (to be able to be accessed from parent symbol)
Default Symbol Class : MovieClip
enable/disable mouse control on object : .mouseEnabled, .mouseChildren
Make sure no components on the component that has mouseEventListener, otherwise mouseEvent won't work
沒有留言:
張貼留言