Hi,
I get very strange behaviour when I compile this simple code :
package{
import away3d.containers.View3D;
import flash.display.Sprite;
import flash.text.*;
[SWF(width=“800”, height=“600”, frameRate=“12”, backgroundColor=”#f0c0f0”)]
public class test extends Sprite{
private var dbg:TextField;
private var view:View3D;
public function test(){
dbg = new TextField();
dbg.x = 0;
dbg.y = 0;
dbg.width = 100;
dbg.height = 120;
dbg.background = true;
dbg.backgroundColor = 0xc0c0f0;
dbg.text = “ok”;
addChild(dbg);
}
}
}
it compile well, but when I run it, nothing appear, the screen stay white,
and a right click show the menu with just two lines,
one saying that the anim is not loaded,
the other is about adobe flash player ...
if I open a new tab and come back to the anim the background is now #f0c0f0
but now if I comment the following line :
//private var view:View3D;
the textfield is then visible and the right menu is ok ...
I don’t know if it’s an away3d bug,
don’t hesitate to ask if you need some more infos,
my config :
Away3D 4.0 beta
flex_sdk_4.6.0.23201B
Shockwave Flash 11.2 r202 ubuntu/linux 10.04 x86_64
firefox 11.0, chromium 17.0.963.79, opera 11.62
thanks