Jump to content
GreenSock

Search the Community

Showing results for tags 'invalid sound getloader'.

  • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi, I found greensock today and its very great. I tried the Loadermax but I got a problem. I have two class: Main.as and Loader.as. Loader.as: var urls:Array = ["graphics/home/card.png", "sounds/test.mp3"]; LoaderMax.activate([ImageLoader,MP3Loader]); var queue:LoaderMax = LoaderMax.parse(urls, {onProgress: progressHandler, onComplete: completeHandler}, {autoPlay:false}); queue.prependURLs("media/"); queue.load(); ... Main.as //this function call and create a new Loader() beginLoad(); var img:ImageLoader = LoaderMax.getLoader("media/graphics/home/card.png"); getStage.addChild(img.content); var s:MP3Loader = LoaderMax.getLoader("media/sounds/test.mp3"); s.playSound(); The image display well but the sound is giving an error: ArgumentError: Error #2068: Invalid sound. at flash.media::Sound/play() If i put this codes in the Loader.as it works, but not in the Main.as. There is any solution to solve that please? *One more thing, there is a way to know wich files was loaded(or are inside) by LoaderMax?
×