are you using the latest 2.4 build? the loader was recently renamed to Loader3D - if you are using an older version, you can still do the same thing with the old name - Object3DLoader
Rob On Fri, Aug 21, 2009 at 10:27 PM, Fabrice3D <[email protected]> wrote: > > var loader:Loader3d may be? > > Fabrice > > On Aug 21, 2009, at 7:23 PM, dp wrote: > > >> I will extend Loader3D to hopefully create my own preloader, however >> at the moment using: >> >> loader = Max3DS.load("room.3ds", {name:"model", loadersize: >> 40,centerMeshes:true, loader:Loader3D}); >> >> I get the error: >> >> 1120: Access of undefined property Loader3D. >> >> any ideas? >> >> >> On Aug 21, 11:06 am, Rob Bateman <[email protected]> wrote: >> >>> the cubeloader (the preloader you see in the demo) is just a default >>> visible loader. >>> >>> you can reset this to the base loader (Loader3D) by doing something like >>> this: >>> >>> loader = Max3DS.load("assets/room/interior.3ds", {loadersize:40, >>> centerMeshes:true, loader:Loader3D}) >>> >>> or you can extend Loader3D to use your own custom preloading graphics, >>> and >>> then do: >>> >>> loader = Max3DS.load("assets/room/interior.3ds", {loadersize:40, >>> centerMeshes:true, loader:MyCustomLoader}) >>> >>> hth! >>> >>> Rob >>> >>> On Wed, Aug 12, 2009 at 1:26 PM, bgr <[email protected]> wrote: >>> >>> just as you would do a regular preloader, make 3d invisible, and make >>>> it visible again in onSuccess >>>> >>> >>> On Aug 11, 4:18 pm, dp <[email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>> >>> Could somebody point me in the direction of how to change the loading >>>>> screen in the Frustum Hotel Room example, so that I can use a custom >>>>> preloading animation? >>>>> >>>> >>> thanks. >>>>> >>>> >>> http://www.infiniteturtles.co.uk/projects/away3d/demos/FrustumHotelRo >>>>> ... >>>>> >>>> >>> -- >>> Rob Bateman >>> Flash Development & Consultancy >>> >>> [email protected] >>> >> > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
