0
我有幾個Flash遊戲,當我在我的Firefox瀏覽器中加載它們時,它們加載得很好,但是當我用swfloader使用flex 4(flash builder)加載它們時,它們將加載到100%並不顯示開始菜單。flex4:swfloader沒有正確加載遊戲
任何想法如何解決該問題?
我有幾個Flash遊戲,當我在我的Firefox瀏覽器中加載它們時,它們加載得很好,但是當我用swfloader使用flex 4(flash builder)加載它們時,它們將加載到100%並不顯示開始菜單。flex4:swfloader沒有正確加載遊戲
任何想法如何解決該問題?
加載的Flash和包含加載的Flash頁面的網站不在同一個applicationdomain上,除了修復它。
我添加了參數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 */