Flex4: swfloader لا يحمل الألعاب بشكل صحيح
-
02-10-2019 - |
سؤال
لدي العديد من ألعاب الفلاش التي عندما أقوم بتحميلها في متصفح Firefox الخاص بي ، فإنها يتم تحميلها بشكل جيد ، ولكن عندما أقوم بتحميلها باستخدام SWFLoader باستخدام Flex 4 (Flash Builder) يتم تحميلها حتى 100 ٪ ولا تظهر قائمة START.
أي أفكار كيفية حل المشكلة؟
المحلول
فلاش محمّل وموقع الويب الذي يحتوي على الصفحة مع فلاش محمّل حيث لا على نفس التطبيق ، إلى جانب إصلاح ذلك.
أضفت المعلمة 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