dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Computespectrum failing randomly

  1. #1
    Junior Member
    Join Date
    Apr 2008
    Posts
    1

    Computespectrum failing randomly

    Hi..

    am trying to make a mp3 player by using actionscript3.

    In this , am trying a upload a mp3 file and play that particular file. Am also using the computespectrum() to display the graphics.

    Now the problem am facing is with the computespectrum . Randomly , the computespectrum is failing for the same file and is throwing error.The error is as follows

    SecurityError: Error #2121: Security sandbox violation: SoundMixer.computeSpectrum: http://site.com/FileUploader/mp3player.swf cannot access . This may be worked around by calling Security.allowDomain.
    at flash.media::SoundMixer$/computeSpectrum()


    Am actually uploading the file into a folder named "mp3files". The "mp3files" folder and the swf are lying in the same domain.

    Has anyone got an error like this before.. Pl help me.. Am really stuck with this...

  2. #2
    Senior Member rachil0's Avatar
    Join Date
    Jul 2007
    Location
    Columbus, OH.
    Posts
    465
    Not sure if it will help, but I'd try adding "-use-network=false" to the command line arguments of mxmlc.

  3. #3
    Actionscript Developer KigD's Avatar
    Join Date
    Jan 2003
    Location
    georgia
    Posts
    597
    K2xL - My games, tutorials, message boards, and experiments.
    Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center