Error 2048 when running from .swf - No problem when debuggin

Post here your questions about the Flash / Flex / Air API for SFS2X

Moderators: Lapo, Bax

Post Reply
HorizonShadow
Posts: 7
Joined: 25 Aug 2011, 20:56

Error 2048 when running from .swf - No problem when debuggin

Post by HorizonShadow »

Anyone have a solution for this?
The game runs and connects fine when debugging in Flash, but if you try the .swf or .html file, nothing happens for a period of time, then you get Error #2048
jamalsoueidan
Posts: 153
Joined: 15 Aug 2011, 16:33

Post by jamalsoueidan »

Because you need to give permission to flash player to access your local stuff.

http://www.macromedia.com/support/docum ... ger04.html

Click on edit locations and add the folder in which all your flash stuff is inside it, and try again :)
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

You should provide all the details.
Where is the game located? What server and API version are in use?
Are you sure you have taken care of the FlashPlayer crossdomain policy issues? ( See: http://docs2x.smartfoxserver.com/Gettin ... g#section2 )

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
HorizonShadow
Posts: 7
Joined: 25 Aug 2011, 20:56

Post by HorizonShadow »

jamalsoueidan wrote:Because you need to give permission to flash player to access your local stuff.

http://www.macromedia.com/support/docum ... ger04.html

Click on edit locations and add the folder in which all your flash stuff is inside it, and try again :)
Ah, wonderful.
jamalsoueidan
Posts: 153
Joined: 15 Aug 2011, 16:33

Post by jamalsoueidan »

Glad you got it to work :D
Post Reply