263 posts
  • 7 Years of Membership
  • Antarctica
  • Author Level 2
  • Collector Level 1
+2 more
x360c
says

How can I call ‘this.video01_playButton.video01_playButton_onClick’ from that listener?

this.video01_playButton.addEventListener(MouseEvent.MOUSE_DOWN, <Call 'this.video01_playButton.video01_playButton_onClick' here.>);
this.video01_playButton.video01_playButton_onClick = function (e:MouseEvent):void {
}

Thanks in advance. =)

1313 posts
  • Affiliate Level 5
  • Author Level 7
  • Beta Tester
  • Collector Level 4
+10 more
LGLab
says

Hi 360,

Here is the basic structure for a mouse event in AS3 :

function onClick(evt:MouseEvent):void{ your function here } yourBtn.addEventListener(MouseEvent.CLICK, onClick);

Hope this helps….

by
by
by
by
by
by