relative paths are tricky lil beasts. I mess them up all the time
too : )

On May 24, 6:09 pm, Bubby4j <[email protected]> wrote:
> Weird... When I use a absolute path it works.
>
> Why doesn't it work with a relative path like "PenPen.awd"?
>
> On May 24, 6:05 pm, Choons <[email protected]> wrote:
>
>
>
>
>
>
>
> > that just sounds like you don't have your paths right in the loader.
> > Try an absolute path like "C:/folder/folder/etc./asset"
>
> > On May 24, 4:04 pm, Bubby4j <[email protected]> wrote:
>
> > > I have another problem now...
>
> > > Right now on my computer I have the folders like this
>
> > > 3d.swf
> > > PenPen(folder)
> > > -PenPen.awd
> > > -Images(folder)
> > > --There's a few images here
>
> > > But if I try to do this:
>
> > > 3d.swf
> > > PenPen.awd
> > > Images(folder)
> > > -There's a few images here
>
> > > I get the following error:
>
> > > TypeError: Error #1009: Cannot access a property or method of a null
> > > object reference.
> > >         at away3d.loaders::Loader3D/loadTextures()
> > >         at away3d.loaders::Loader3D/onGeometryComplete()
> > >         at flash.events::EventDispatcher/dispatchEventFunction()
> > >         at flash.events::EventDispatcher/dispatchEvent()
> > >         at flash.net::URLLoader/onComplete()
>
> > > Seems to be very picky about what it loads :/
>
> > > On May 24, 1:37 pm, Peter Kapelyan <[email protected]> wrote:
>
> > > > That sets the size (dimensions) of the cube you usually see for that 
> > > > Cube
> > > > "preloader" graphic.
>
> > > > -Pete
>
> > > > On Tue, May 24, 2011 at 2:24 PM, Bubby4j <[email protected]> wrote:
> > > > > I think I've just about figured it out, I converted it to the awd
> > > > > format and now it can load in the engine correctly.
>
> > > > > I have a question though, what does the loadersize property do?
>
> > > > > On May 24, 12:28 pm, Bubby4j <[email protected]> wrote:
> > > > > > How do I include a texture? Anyone know how to disable the automatic
> > > > > > texture loading?
>
> > > > > > On May 24, 10:14 am, Michael Iv <[email protected]> wrote:
>
> > > > > > > I think it can be a problem.Give it a check with texture.There is 
> > > > > > > a
> > > > > property
> > > > > > > I think which allows you to disable auto texture load.Sorry can't 
> > > > > > > help
> > > > > more
> > > > > > > as I am busy at this time with Away4 :(
>
> > > > > > > On Tue, May 24, 2011 at 6:09 PM, Bubby4j <[email protected]> 
> > > > > > > wrote:
> > > > > > > > It has no textures... is that a problem? I'm just looking to 
> > > > > > > > get the
> > > > > > > > shapes in and then just use plain colors.
>
> > > > > > > > On May 24, 10:07 am, Michael Iv <[email protected]> wrote:
> > > > > > > > > You mean Away 3.6? Make sure the textures are in  the same 
> > > > > > > > > folder
> > > > > both
> > > > > > > > when
> > > > > > > > > you export and when you import into Away.If I recall right 
> > > > > > > > > Max3ds
> > > > > looks
> > > > > > > > for
> > > > > > > > > the texture as you assigned it in the modelling program.If it
> > > > > doesn't
> > > > > > > > find
> > > > > > > > > it throws what you got.I believe I am right because your 
> > > > > > > > > error is:
>
> > > > > > > > > *t away3d.loaders::Loader3D/*
> > > > > > > > > *loadTextures()*
>
> > > > > > > > > On Tue, May 24, 2011 at 6:03 PM, Bubby4j <[email protected]>
> > > > > wrote:
> > > > > > > > > > I've tried several meshes.
>
> > > > > > > > > > I'm using the latest stable FP10.
>
> > > > > > > > > > See my code here:
>
> > > > > > > > > >http://paste.org/pastebin/view/33862
>
> > > > > > > > > > On May 24, 9:43 am, Michael Iv <[email protected]> 
> > > > > > > > > > wrote:
> > > > > > > > > > > Amy be you have got a problem with your mesh.I loaded 
> > > > > > > > > > > tons of
> > > > > 3ds
> > > > > > > > during
> > > > > > > > > > > these last days .It all worked fine
>
> > > > > > > > > > > On Tue, May 24, 2011 at 4:58 PM, Bubby4j 
> > > > > > > > > > > <[email protected]>
> > > > > wrote:
> > > > > > > > > > > > I always get this error:
>
> > > > > > > > > > > > TypeError: Error #1009: Cannot access a property or 
> > > > > > > > > > > > method of
> > > > > a
> > > > > > > > null
> > > > > > > > > > > > object reference.
> > > > > > > > > > > >        at away3d.loaders::Loader3D/loadTextures()
> > > > > > > > > > > >        at away3d.loaders::Loader3D/onGeometryComplete()
> > > > > > > > > > > >        at
> > > > > flash.events::EventDispatcher/dispatchEventFunction()
> > > > > > > > > > > >        at flash.events::EventDispatcher/dispatchEvent()
> > > > > > > > > > > >        at flash.net::URLLoader/onComplete()
>
> > > > > > > > > > > > When trying to load a 3ds file with the following code
>
> > > > > > > > > > > > var loader = Max3DS.load(url, {material:null, 
> > > > > > > > > > > > name:"turtle",
> > > > > > > > scaling:
> > > > > > > > > > > > 0.1, y:50, x:10, z:10, rotationX:-90, loadersize:300});
>
> > > > > > > > > > > > Any ideas?
>
> > > > > > > > > > > --
> > > > > > > > > > > Michael Ivanov ,Programmer
> > > > > > > > > > > Neurotech Solutions Ltd.
> > > > > > > > > > > Flex|Air |3D|Unity|www.neurotechresearch.comhttp://
> > > > > > > > blog.alladvanced.net
> > > > > > > > > > > Tel:054-4962254
> > > > > > > > > > > [email protected]
> > > > > > > > > > > [email protected]
>
> > > > > > > > > --
> > > > > > > > > Michael Ivanov ,Programmer
> > > > > > > > > Neurotech Solutions Ltd.
> > > > > > > > > Flex|Air |3D|Unity|www.neurotechresearch.comhttp://
> > > > > blog.alladvanced.net
> > > > > > > > > Tel:054-4962254
> > > > > > > > > [email protected]
> > > > > > > > > [email protected]
>
> > > > > > > --
> > > > > > > Michael Ivanov ,Programmer
> > > > > > > Neurotech Solutions Ltd.
> > > > > > > Flex|Air |3D|Unity|www.neurotechresearch.comhttp://
> > > > > blog.alladvanced.net
> > > > > > > Tel:054-4962254
> > > > > > > [email protected]
> > > > > > > [email protected]
>
> > > > --
> > > > ___________________
>
> > > > Actionscript 3.0 Flash 3D Graphics Engine
>
> > > > HTTP://AWAY3D.COM

Reply via email to