Guest User

Untitled

a guest
Apr 24th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. // this is in Main.as in my constructor function
  2.  
  3. addEventListener(SlideShow.SLIDESHOW_COMPLETE_EVENT, skipIntroListener, true);
  4.  
  5.  
  6. // this is in my slideShow class slideshow.as
  7. public static const SLIDESHOW_COMPLETE_EVENT:String ="slideShowCompleted";
  8.  
  9. //in the code block where my slideshow completes i dispatch:
  10. dispatchEvent(new Event(SLIDESHOW_COMPLETE_EVENT));
Add Comment
Please, Sign In to add comment