Posted By

kwanhon on 02/02/11


Tagged

actionscript event flash


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

onemanstudio
merritt212


AS3 Event


 / Published in: ActionScript 3
 

URL: http://www.flashcoder.net/blog/?p=100

  1. package {
  2. import flash.events.Event;
  3.  
  4. public class MediaControlEvent extends flash.events.Event {
  5. public static const CONTROL_TYPE:String = “headControl”;
  6. private var command:String;
  7.  
  8. public function MediaControlEvent( command:String ) {
  9. super( CONTROL_TYPE);
  10. this.command = command;
  11. }
  12. }
  13. }

Report this snippet  

You need to login to post a comment.