chobo
chobo

Reputation: 32291

Why isn't the swfloader working?

I am trying to use the mxml swfloader component to load the external flash from the following url, but it doesn't load anything. I'm using FlashBuilder 4.5.

http://somesite.com/en/interface.swf?token=123

I have no idea why it isn't working.

Upvotes: 0

Views: 1014

Answers (3)

chobo
chobo

Reputation: 32291

The flash being loaded loads additional flash files into it using relative paths. A change to absolute paths should fix this

Upvotes: 0

J_A_X
J_A_X

Reputation: 12847

My guess is that you have a Sandbox Security violation. You can't load a swf from another domain/port without having a crossdomain xml.

Upvotes: 2

Senad Meškin
Senad Meškin

Reputation: 13756

if swf is from another domain, u should probably add into your code

System.security.allowDomain("domain");

Upvotes: 1

Related Questions