开发者

Uploading files in flash 10 on a facebook profile

I am developing a facebook application which sits in an application tab.

The app is developed in flash and as such must use fb:swf to embed the swf. Therefore it sets allowScriptAccess = never on the swf.

There are 3 things that I will need to do, and I am not sure if it will be possible.

1) Load external SWF files into the parent swf

2) Load dynamic XML from the server

3) Upload files to the server

开发者_如何学Go

I am using flash 10.

Does allowScriptAccess = never stop us from achieving any of these things?


I do not know about the Security restrictions in Facebook but setting allowScriptAccess = never should not change how you can communicate to the server. It just disallows communication with JavaScript.

To upload file see: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7cf6.html

Loading external SWF: http://www.iheartactionscript.com/loading-an-external-swf-in-as3/

Load XML from Server: http://theflashblog.com/?p=242

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜