Skip to main content
Participant
October 12, 2015
Question

What is the substitute as3 codde for "on (release) { loadMovie ("MLA.swf",this);"

  • October 12, 2015
  • 1 reply
  • 235 views

What is the substitute as3 codde for "on (release) {   loadMovie ("MLA.swf",this);"

This topic has been closed for replies.

1 reply

Inspiring
October 12, 2015

Something like:

myButton.addEventListener(MouseEvent.MOUSE_UP, buttonClicked, false, 0, true);

var ldr:Loader = new Loader();

function buttonClicked(e:MouseEvent):void

{

    ldr.load(new URLRequest("MLA.swf""));

     addChild(ldr);

}