Converting short code from as2 to as3


some of these functions wont work in as3, , using gestures instead of mouse clicks.. please?

    _root.attachmovie("brush","brush",10)

    _root.brush.onenterframe=function()

    {

          mouse.hide()

          startdrag(this,true)

          new color (this.brushcolor).setrgb(_root.brushcolor)

 

    }

 

 

 

    on(press)

    {

          new color(this).setrgb(_root.brushcolor)

    }

 

 

 

 

  

    onclipevent (load) {

          mycolor = 0x0000cc

          new color(this).setrgb(mycolor);

    }

 

 

    on (release) {

          _root.brushcolor= mycolor;

    }

what gestures?



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account