flash q

Out of context: Reply #5

  • Started
  • Last post
  • 5 Responses
  • fate_redux0

    no. First off, when you select a graphic and press F8, and you make it a Standard MovieClip (never a button) you do not use that kind of code.

    Second off, it's better not to stick code onto MovieClips. Rather, with my method, you stick the code I gave you on the first frame of your movie. it keeps things much cleaner and neater.

    If you really want to slap some code on a MovieClip, it's like this:

    onClipEvent(load){
    this.onRelease=function(){
    //doSomething
    }
    }

    Using MC's over old Buttons have numerous performance advantages.

View thread