开发者

flex4: swfloader doesn't properly load games

I have several flash games that when i load them in my firefox browser they load fine开发者_Python百科, but when i load them with swfloader using flex 4 (flash builder) they load until 100% and don't show the start menu.

any ideas how to resolve the issue ?


the loaded flash and the website that contains the page with the loaded flash where not on the same applicationdomain, besides fixing that.

i added the parameter SWFLoader.loadForCompatibility=true

 /**
 *  A flag that indicates whether the content is loaded so that it can
 *  interoperate with applications built with a different verion of the Flex compiler.  
 *  Compatibility with other Flex applications is accomplished by loading
 *  the application into a sibling (or peer) ApplicationDomain.
 *  This flag is ignored if the content must be loaded into a different
 *  SecurityDomain.
 *  If <code>true</code>, the content loads into a sibling ApplicationDomain. 
 *  If <code>false</code>, the content loaded into a child ApplicationDomain */
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜