Away3d code