Zitat:
Zitat von Omega Psi Stimmt. Hatte ich übersehen. Das ist so der default Fehler. Ich schätze es fehlt immer noch die Dimensionierung. |
hilft auch nichts, wie gesagt bei AS3 erstellten SWF funktioniert es. Wenn die SWF eine mit Flex erstellte ist, dann kann man sie nicht laden.
In der Support Specification steht folgendes:
One important thing to be aware of is that the means of accessing the loaded SWF may vary based on how the SWF was authored. If the SWF is a pure AS3 SWF, then the content of the SWF will be fully accessible as soon as it's loaded. If the SWF is a Flex SWF, however, then the content of the SWF is not immediately accessible on load. This is due to the different structure of a Flex SWF (i.e. it's a two-frame movie with the preloader on frame 1 and the content itself on frame 2). Clients who expect to load a Flex SWF need to wait for the applicationComplete event before attempting to reach into the SWF. After receiving this event, the SWF's API can be accessed via the "application property. (See the sample code for an example, and this blog post for a detailed description of the Flex-specific behavior.)
http://opensource.adobe.com/wiki/dis...+Specification
Ich hab auch versucht nach applicationCompleted die SWF zu loaden vergebens. Leider verstehe ich das nicht ganz in diesem Absatz wie ich es sonst lösen kann. Ich möchte die SWF nicht ansprechen, sondern sie einfach anzeigen lassen. Die Funktionen laufen alle selbständig und müsse nicht ausgeführt werden.
LG