i am fresher to the flash devekopment. i'm using Flash Develop IDE. i am creating a simple slide show. it works fine in FD when running. i'm moving that swf file ,required image folder and xml file to desktop.now we run that swf file it's working fine. it shows
SecurityError: Error #2148: SWF file file:///C|/Users/king/Desktop/bin/MyHeart.swf cannot access local resource file:///C|/Users/king/Desktop/bin/heart_broke.png. Only local-with-filesystem and trusted local SWF files may access local resources. at flash.display::LoaderInfo/get content() at Function/()[D:\FlashProjects\My Heart\src\Main.as:62]
i am little confused with this issue. is there any way to handle it. thanks in advance.
@Marty Answer not works for me now a days.
To access flash players settings, In Windows, You have to go to the installation path, generally C:\Windows\SysWOW64\FlashPlayerApp.exe
Clikc on Advanced Tab, then the second button (Trust location configuration) and click in add and add your folder where is your swf.
That way, you give permissions on the folder where your swf cannot access the local files
Visit the Flash Player Global Security Settings Panel.
Then:
This should solve your issue.
In 22.0.0.209 Flash version:
Open Flash Player Setting Manager
-> Advanced
-> Trusted Location Settings
-> Add (folder or file)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With