Embed Away3D swf in a fla

Software: Away3D 4.x

Sellew, Newbie
Posted: 04 September 2012 05:40 AM   Total Posts: 7

Hi there,

I am pretty new to Away3d. I have a fla and I would like to load Away3d swf in run time. No error appeared and I can see the buttons in the swf. BUT I cannot see the object in the swf. When I run the swf in standalone, it works fine. This should be very easy to fix, can anyone please help me!?

var cfLoader:Loader = new Loader();
cfHolder.addChild(cfLoader);
var 
cfRequest:URLRequest = new URLRequest("Away3d-Coverflow/bin/FlashIDEVer.swf");
cfLoader.load(cfRequest);
cfLoader.0;
cfLoader.0

Many many thanks!!
Sellew

   

Sellew, Newbie
Posted: 04 September 2012 06:21 AM   Total Posts: 7   [ # 1 ]

I got my problem figured out. The problem was the original stage of the swf was much smaller than the stage that the swf embedded in. When the swf is embedded, the objects went out of the stage.

I got around this problem by changing the original stage size same as the final stage size and it now works nicely.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X