Copy link to clipboard
Copied
Hi,
I'm having trouble playing an swf file in my website and i cant work out whats wrong. I'm using Dreamweaver CS4 along with Flash CS4 after i've added the swf (in the root folder i have the .fla file, the .swf file and the flvplayback skin) but i keep getting the 'SecurityError: Error #2148' error message.
Im confused because when i test the published html file from flash, it works great, same when i double click the .swf, works great but testing the page from Dreamweaver i get the error message. What does this mean and how can i solve this?
Thanks for your help.
Copy link to clipboard
Copied
you're have a security sandbox error. upload to a server and test or change your security settings if you want to test locally ( http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html ).
Copy link to clipboard
Copied
Hi Kglad,
Thanks for the reply. I changed my security settings and that made a bit of progress, can now preview the .swf file in Dreamweaver but when i test the webpage locally it still wont play. I cant test the site on a server as i dont have one yet.
Thanks again.
Copy link to clipboard
Copied
if you publish a swf and html page and open the html in a browser, what do you see?
Copy link to clipboard
Copied
When i publish the html from Flash i still get the same error message...
"SecurityError: Error #2148: SWF file http://localhost/mountainESL/contentPages/Lessons/free_pronoun/pronounB.swf cannot access local resource C:\htdocs\mountainESL\contentPages\Lessons\free_pronoun\PronounB.flv. Only local-with-filesystem and trusted local SWF files may access local resources.
at flash.net::NetStream/play()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_play()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
at fl.video::VideoPlayer/load()
at fl.video::FLVPlayback/doContentPathConnect()"
I tried altering the security settings like you suggested in your previous post. What else could be wrong?
Copy link to clipboard
Copied
are you just playing the video stream or are you trying to access the stream itself using the ByteArray class?
Copy link to clipboard
Copied
Hi,
Thanks for the help Kglad. Im just using the import video wizard so im not sure about the array. Im just importing the FLV into flash, publishing for player 10, then in Dreamweaver im draggin the .swf file onto the page it needs to go and thats where my problems are starting.
Thanks.
Copy link to clipboard
Copied
i thought the error was generated when you tried to publish from flash and had nothing to do with dreamweaver.
Copy link to clipboard
Copied
No, it works when i publish from Flash but wont work when i try to use it in Dreamweaver. Sorry about the confusion, im starting to get a bit swamped with trying to sort this out! sorry about that.
Ben.
Copy link to clipboard
Copied
if you upload the publish html and swf to a server and test, do you see any problem? if yes, post a link to your html's url.
if no, you have a dreamweaver issue. what are you trying to do in dreamweaver?
Copy link to clipboard
Copied
Hi lostinscript,
I am new to Flash and ActionScript environment. I was struck up with the same issue/problem since morning.
Please, can you help me in the following context:
" I have got the same error,but regarding to my flash application method. It is also displaying same error i.e., as follows:
SecurityError: Error #2148: SWF file http://localhost:8888/com.mymdworld.Application/DynaAccess.swf cannot access local resource D:/websites/mymdworld/backup_temp/P1/DownloadedFiles.zip. Only local-with-filesystem and trusted local SWF files may access local resources.
at global/flash.net::navigateToURL()
at MethodInfo-375()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
But, i found nothing when tried to change the "Security Settings" which is found in the url you posted in your post.
Please, can you provide solution to this issue. Or atleast, provide me a step-by-step process required to change the "Security Settings" from the url you provided.
I am unable to understand, Why this is happening? and
What is the process going on internally?
Please, reply me...
I will be waiting for your reply....
Thanks in advance....
Srihari.Ch
Copy link to clipboard
Copied
Hello folks, I'm having the same problem of our friend above. Someone could give some help, because there seems to be a very big problem, but some happens to some people. Already thanks.
SecurityError: Error #2148: SWF file file:///C|/Documents%20and%20Settings/eduardo.cordeiro/Desktop/PlayerWebGuardiao2.swf cannot access local resource file:///C|/Documents%20and%20Settings/eduardo.cordeiro/Desktop/AdobeSpellingConfig.xml. Only local-with-filesystem and trusted local SWF files may access local resources.
at flash.net::URLStream/load()
at flash.net::URLLoader/load()
at com.adobe.linguistics.spelling::SpellUI/loadConfig()
at com.adobe.linguistics.spelling::SpellUI()
at com.adobe.linguistics.spelling::SpellUI$/enableSpelling()
at br.com.digitro.playerweb.view::TranscricaoTab/__transcricaoText_creationComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/set initialized()
Caso alguém queira o projeto, estou disposto a fornecer.
atenciosamente, Eduardo Cordeiro.
Copy link to clipboard
Copied
Does the silence reflect ignorance from those experts of Adobe or are those experts befuddled? Methinks the latter my friends! Now that I've tried to disprove the view that geeks (even pseudo- Geeks like me) have some command over narrative and discourse -
SecurityError: Error #2148: ...
at flash.net::NetStream/play()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_play()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
at fl.video::VideoPlayer/load()
at fl.video::FLVPlayback/doContentPathConnect()
Yes - I've tried the Global Security Manager ( not Obama).
Yes - I've loaded the js's (swo etc)
Yes- I've loaded the xml on cross domain policy (Thank you Curtis Morris - with such a name ever thought of being the next James Bond?)
Yes - my links are perfect even though I didn't attend a public school (and with such such an impeccable programmer as Dreamweaver is...)
Yes - my code is spot on (only because a pseudo like me has to use Dreamwever to insert the .swf into my .html)
Yes - I've talked with my web hostess and she says she's had loads of .swf files more than I've had hot dinners so don't blame me darling!
Anyone out there - I can see why programmers use "Hello World".
Copy link to clipboard
Copied
Hi,
I am also faceing same problem. I am using a flash website. in it a have embeded a FLV file in about section. I have total 5 section in HOME, ABOUT, SOLUTIONS, SERVICES & last one is CONTACT.
Aal sections are working well. when i come on about section. this error is comes:
SecurityError: Error #2148: SWF file http://xyz.com/index.swf cannot access local resource. Only local-with-filesystem and trusted local SWF files may access local resources.
at flash.net::NetStream/play()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_play()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
at fl.video::VideoPlayer/load()
at fl.video::FLVPlayback/doContentPathConnect()
I think the same problem found by you. if you got any solutions for it please update me.
thanx
Copy link to clipboard
Copied
Same problem >>
SecurityError: Error #2148: SWF file %1 cannot access local resource %2. Only local-with-filesystem
and trusted local SWF files
I am using C++ server and Adobe client is connecting with the same.
At first policy request and cross domain policy messages were exchanged and connection was established.
I have interchange events/requests through the sockets from/to adobe swf to/from c++ server.
But when I clicked a particular swf, the error occurs
Also I have made all swf's settings as Local playback security as " Access network only"
Copy link to clipboard
Copied
So this is obviously a security issue (used to be a little bit more obvious how to resolve it) that the cause is because you're running it locally. The flash player will not allow accessing local files unless you permit it to do so. That being said...
(this is with FP 10.3.183.7 - I believe it's 'settings' in previous players, previous players this would take you to your local settings manager that looked like it was a webpage)
Here's the tech note for more reference:
Hope it helps anyone else out there.
Copy link to clipboard
Copied
Can anyone help with this script that I just started getting when opening up a webpage:
SecurityError: Error #2148: SWF file http://p.jwpcdn.com/6/12/jwplayer.flash.swf cannot access local resource res://ieframe.dll/navcancl.htm?busted=10547. Only local-with-filesystem and trusted local SWF files may access local resources.
at flash.display::Loader/_load()
at flash.display::Loader/load()
at com.longtailvideo.jwplayer.view::View/loadImage()
at com.longtailvideo.jwplayer.view::View/_imageTimerHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.utils::Timer/tick()
Also getting this one:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://fuse-client.mirra.io/fuseclient.swf?gid=266 cannot load data from about:blank.
at com.hinish.examples.vpaid::Player/fetchVast()
at MethodInfo-97()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
New to forum's so not sure if I am entering this post properly
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more