Skip to main content
Inspiring
March 4, 2009
Question

Loading external SWF's via InlineGraphic

  • March 4, 2009
  • 3 replies
  • 677 views
I must be missing something basic...
I am trying to load a swf via InlineGraphic.

I get varying degrees of failure in different browsers, Safari, Firefox, and IE, and not always the same result for a specific browser on multiple runs of the application.
Sometimws I see that the inline swf is coming across to the browser(i can see that with Firebug as well as the debugger console in FlexBuilder) but it is not showing up as visible. Other times, I get nothing. Sometimes the browser hangs, and one time the inline swf appeared in Firefox.

In addition, the export via TextFilter indicates that the TextFlow is correct, and I get all of the appropriate StatusUpdateEvents.

What am I missing?
I am using Gumbo 5032
Thanks,
tim
This topic has been closed for replies.

3 replies

Adobe Employee
March 4, 2009
Can these swfs be loaded and displayed directly with a Loader and displayed with a Sprite (not a FlexSprite or Flex object but specifically a Sprite) as a parent?
tpf70Author
Inspiring
March 4, 2009
I modified the code to take the correct event type for the IG. In that handler errorEvent object of the evt object is always null. I never get an error.
The status is changed twice (load, ready).

In Firebug, I see that the swf is loaded across the net into the browser successfully.
But the testSwf does not show up.

Lastly I have tried it with multiple child swf files. One created from a different Flex project and another tht was generated from a different tool altogether.
Adobe Employee
March 4, 2009
In the graphicStatusChangeEvent handler the type of evt is StatusChangeEvent. StatusChangeEvent has status and errorEvent properties that should give some more information.

Hanging the browser - that may be a player problem.