PDA

View Full Version : Embed panorama in Flex via SWFLoader


jcnes
08-31-2007, 03:05 PM
I'm trying to embed a panorama using SWFLoader in Flex 2.
The panorama seems to be getting pulled in, but it's not doing anything once it's in there.

Here is the method I'm using to bring in the pano (renamed snow.swf to utilize the sample snow images).
<mx:SWFLoader id="ldr" source="@Embed('snow.swf')" width="600" height="400"/>

For the purpose of simplicity, all of my assets are in the same directory as main.mxml.

I don't know if it's a path issue or what.

Thanks in advance for any help.

masu
11-27-2007, 11:28 AM
Hi jcnes,

Have a look at this post:

http://flashpanoramas.com/forum/showpost.php?p=3144&postcount=10

Using SWFLoader was no fun at all !

Regards,
masu