home *** CD-ROM | disk | FTP | other *** search
/ i·claim - visualizing argument / ICLAIM.ISO / mac / intro.swf / scripts / frame_2 / DoAction.as
Text File  |  2005-02-26  |  634b  |  20 lines

  1. if(_global.Behaviors == null)
  2. {
  3.    _global.Behaviors = {};
  4. }
  5. if(_global.Behaviors.Sound == null)
  6. {
  7.    _global.Behaviors.Sound = {};
  8. }
  9. if(typeof this.createEmptyMovieClip == "undefined")
  10. {
  11.    this._parent.createEmptyMovieClip("BS_reel",new Date().getTime() - Math.floor(new Date().getTime() / 10000) * 10000);
  12.    _global.Behaviors.Sound.reel = new Sound(this._parent.BS_reel);
  13. }
  14. else
  15. {
  16.    this.createEmptyMovieClip("_reel_",new Date().getTime() - Math.floor(new Date().getTime() / 10000) * 10000);
  17.    _global.Behaviors.Sound.reel = new Sound(this.BS_reel);
  18. }
  19. _global.Behaviors.Sound.reel.loadSound("reel.mp3",true);
  20.