sorry to hear that, unfortunatly I cannot fix till I'm back home. note that renaming your mesh with no space and add the texture by selecting a bitmap and applying it after the model (white) is loaded should fix your issue till i release a fix update.
also the source Michael posted wil not run in latest trunk, so you should really consider this extra handling for the coming 4 days... sorry for that. @le_unam, this is something that needs to be planned before if you would think as bsp only. but if you just addChild a cube, mapped 6 as usual and add to scene, then add your tree it should work. you will have of course to make your glass windows transparent. beer time now :) Fabrice On Sep 28, 2010, at 5:13 PM, KeithT wrote: > New to using Prefab, but any .as files (Away3D F10 3.5.3+) it seems to > produce don't compile because it leaves spaces in the image and > therfore the var declarations. > > Have tried this with several models and get the same issue. > > Is it me or a bug ? > > Example below: > > void//AS3ExporterAIR version 2.3, code Flash 10, generated by > Prefab3D: http://www.closier.nl/prefab > package > { > import away3d.containers.ObjectContainer3D; > import away3d.containers.Scene3D; > import away3d.materials.*; > import away3d.core.base.*; > import away3d.core.utils.Init; > import away3d.loaders.utils.*; > import away3d.loaders.data.*; > import flash.utils.Dictionary; > import away3d.primitives.*; > import flash.display.Bitmap; > import flash.display.BitmapData; > > import flash.geom.*; > > public class Bio extends ObjectContainer3D > { > [Embed(source="images/Syke Wall .jpg")] > private var Syke Wall _Bitmap:Class; > > [Embed(source="images/Rectangle0.jpg")] > private var Rectangle0_Bitmap:Class; > > [Embed(source="images/Loft01.jpg")] > private var Loft01_Bitmap:Class; > > [Embed(source="images/ascii61.jpg")] > private var Ascii61_Bitmap:Class; > > [Embed(source="images/ascii62.jpg")] > private var Ascii62_Bitmap:Class; > > [Embed(source="images/FRONT BRAK.jpg")] > private var FRONT BRAK_Bitmap:Class; > > [Embed(source="images/BACK BRAKE.jpg")] > private var BACK BRAKE_Bitmap:Class; > > [Embed(source="images/BRAKET SMA.jpg")] > private var BRAKET SMA_Bitmap:Class; > > [Embed(source="images/BRAKET STE.jpg")] > private var BRAKET STE_Bitmap:Class;
