Flex4:SWFLoaderはゲームを適切にロードしません
-
02-10-2019 - |
質問
Firefoxブラウザにロードすると、Flex 4(Flash Builder)を使用してSWFLoaderをロードすると、100%までロードされ、スタートメニューが表示されないというフラッシュゲームがいくつかあります。
問題を解決する方法はありますか?
解決
ロードされたフラッシュと、それを修正する以外に、同じアプリケーションドメインにないロードされたフラッシュを備えたページを含むウェブサイト。
パラメーターを追加しました 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 */
所属していません StackOverflow