why can't sm2 find the path to the flash movie.
I'm trying to use sm2 in one of my scripts. I set it up the paths exactly like I did for the demo that I got working; however, it is working for the script that I wrote. I get the following error message.
soundManager.initComplete(): calling soundManager.onerror()
-- SoundManager 2 failed to load (security/load error) --
soundManager.disable(): Shutting down
soundManager: Failed to initialise.
soundManager: No Flash response within reasonable time after document load.
Possible causes: Loading soundmanager2.swf failed, Flash version under 8, no support, flash blocked or JS-Flash security error.
soundManager: Getting impatient, still waiting for Flash.. ;)
soundManager._initMovie(): Waiting for ExternalInterface call from Flash..
soundManager._initMovie(): Got OBJECT element (created via JS)
soundManager._createMovie(): Trying to load ./soundmanager2.swf
-- SoundManager 2 V2.95a.20090717 (AS2/Flash 8), normal polling mode --
I don't know why it would say trying to load ./soundmanager2.swf; I haven't included that path anywhere. I set the soundManager.url equal to '../swf/'.
In the demo that is working these are the first two lines in the debugger div. soundManager._createMovie(): Trying to load ../swf/soundmanager2_flash9.swf
-- SoundManager 2 V2.95a.20090717 (AS3/Flash 9), high performance mode, fast polling mode, wmode: transparent --
I don't know why it doesn't pick the flash version 9 in every script.
Please Help?
Thank you,
Kourtesy
soundManager.initComplete(): calling soundManager.onerror()
-- SoundManager 2 failed to load (security/load error) --
soundManager.disable(): Shutting down
soundManager: Failed to initialise.
soundManager: No Flash response within reasonable time after document load.
Possible causes: Loading soundmanager2.swf failed, Flash version under 8, no support, flash blocked or JS-Flash security error.
soundManager: Getting impatient, still waiting for Flash.. ;)
soundManager._initMovie(): Waiting for ExternalInterface call from Flash..
soundManager._initMovie(): Got OBJECT element (created via JS)
soundManager._createMovie(): Trying to load ./soundmanager2.swf
-- SoundManager 2 V2.95a.20090717 (AS2/Flash 8), normal polling mode --
I don't know why it would say trying to load ./soundmanager2.swf; I haven't included that path anywhere. I set the soundManager.url equal to '../swf/'.
In the demo that is working these are the first two lines in the debugger div. soundManager._createMovie(): Trying to load ../swf/soundmanager2_flash9.swf
-- SoundManager 2 V2.95a.20090717 (AS3/Flash 9), high performance mode, fast polling mode, wmode: transparent --
I don't know why it doesn't pick the flash version 9 in every script.
Please Help?
Thank you,
Kourtesy
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?If you're using one of the demos, the demo .js will set the relevant soundManager properties - so look to do your edits in the demo HTML or JS. soundmanager.js sets defaults, but those are typically overwritten by the demos.
eg.
soundManager.url = '/path/to/sm2/swfs/';
soundManager.flashVersion = 9;
If you're making changes and they aren't showing up, chances are you are editing a file loaded earlier and the setting is then later over-written by the demo JS, etc.
The company says
this answers the question
Loading Profile...



EMPLOYEE