Jump to content
Search Community

Search the Community

Showing results for tags 'computespectrum'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. Can't make playback listeners works. SOUND_PLAY, SOUND_PAUSE etc. just don't shoot import com.greensock.*; import com.greensock.events.*; import com.greensock.easing.*; import com.greensock.plugins.*; import com.greensock.loading.*; import com.greensock.loading.display.*; var queue:LoaderMax = new LoaderMax({name:"mainQueue", onComplete:completeHandler, onError:errorHandler}); var sound:MP3Loader = new MP3Loader("test.mp3", {name:"audio", autoPlay:true, estimatedBytes:950000}); queue.append(sound); queue.load(); function completeHandler(event:LoaderEvent) { sound.addEventListener(MP3Loader.SOUND_PLAY, soundStart); sound.addEventListener(MP3Loader.SOUND_PAUSE, soundPause); } function soundStart(event:LoaderEvent) { trace("> Start"); } function soundPause(event:LoaderEvent) { trace("> Pause"); } function errorHandler(event:LoaderEvent):void { trace("error occured with " + event.target + ": " + event.text); }
×
×
  • Create New...