Hi dears!
first of all : i am new in away3D and until now enjoy it, but.. >-:
i have made a simple(very simple) 3D project (below):
[code]
package {
import away3d.cameras.*;
import away3d.containers.*;
import away3d.core.utils.*;
import away3d.lights.*;
import away3d.materials.*;
import away3d.primitives.*;
import flash.display.Sprite;
import flash.events.*;
import flash.display.BitmapData;
import flash.display.Bitmap;
public class mytest2 extends Sprite {
private var scene:Scene3D;
private var camera:Camera3D;
private var view:View3D;
private var cubeMaterial:BitmapMaterial;
private var boxes:Array = [];
public function mytest2()
{
trace("hi");
}
}
}
[/code]
i test no packaging code too ( use init(); etc etc..)
then expot its swf and my end is load it in another swf.
for this(loading) i use GreenSock classes(loadermax).
when click button to load, this message appear in OUTPUT window:
[code]
VerifyError: Error #1014: Class flash.geom::Vector3D could not be
found.
ReferenceError: Error #1065: Variable BlueImage is not defined.
ReferenceError: Error #1065: Variable mytest2 is not defined. //
if use package
ReferenceError: Error #1065: Variable MainTimeline is not
defined.// if use init(); etc...
[/code]
att: i test this too:
[code]
this.addEventListener(Event.ADDED_TO_STAGE,added);
function added(e:Event):void{
init();
}
[/code]
but....no change
i use FlashPlaye 10 and Adobe Flash CS4. whats your idea?
thanks ...