Flash ActionScripting

Out of context: Reply #3

  • Started
  • Last post
  • 5 Responses
  • cram0

    well first of all, it is no great virtue to have all code on one frame. use the medium instead of fight it. (something i only recently learned)

    but, to do what you say... design your movie clip symbol and make sure to give it a linkage name, for example, myClip_symbol.

    var clip = this.attachMovie("myClip_symbol... "clip_1", 10);

    clip.onRelease = function(){
    //code here
    }

    got it?

    of course there are many ways to do this... this is only one.

    good luck.

View thread