A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [CS3] Computespectrum failing randomly

  1. #1
    Junior Member
    Join Date
    Apr 2008

    [CS3] Computespectrum failing randomly


    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
    Actionscript Developer KigD's Avatar
    Join Date
    Jan 2003
    K2xL - My games, tutorials, message boards, and experiments.

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