Get Flash CS4 Intelisense to recognize Objects on stage?

When I create an object of a movieclip in code I get the flash intlesense to pop up in Flash CS4 Actions panel which is very helpful but if I simply place a moveclip on the stage then give it an object name in the options the Flash intlesense does not pop up in my code.

Anyway to get Flash intlisense to work with objects placed on the stage from the library?


For the "code assist" function to popup in the flash IDE Action Panel you have two options:

  • declare the variable of your object before make any reference to it, example:
  • var clip:MovieClip;
    

    then the code assist should popup anytime you write "clip."

  • change you object instance name so it ends with "_mc". This would have the same result as the above but without declaring the variable.
  • I rather prefere the first solution, where you declare all your variables prior to writing any code.

    链接地址: http://www.djcxy.com/p/17732.html

    上一篇: 为什么我的3d属性不能在flash cs4中的舞台上设置

    下一篇: 获得Flash CS4 Intelisense在舞台上识别对象?