import myprefaboutputs/NiceModel; [....usual away class setup.....]
var mymodel: NiceModel = new NiceModel(); view.scene.addChild(mymodel); the warning you get in cs4 takes place once. if you click ok the next compile with no longer trigger the error. flash is just warning you that in order to support the embed tag extra libs are required. would have been smarter from Adobe to correct and continue compile... instead of a weird warning, coorecting and quittin the compile. Fabrice On Feb 4, 2010, at 12:42 PM, [email protected] wrote: > I made a mistake, the code above is from another test I made. It > contains one rectangle imported from a 3DS file and I applied a > picture as a texture. Looks great and works fine in Prefab, I just > can't get it into Flash CS4. Perhaps the generated AS3 file needs > another constructor class with code that executes it?
