hey awesome work! Im really looking forward to taking a peek at the temple tutorials, very useful and seems more useable and interactive than papervision allows for.
[...] update details have been posted on the AWAY3D mailing list. You can get the source files by accessing our svn repository or going to our downloads [...]
My name is Ali majidian,I’m a flash designer.
in my new projects I need to write some code
for 3d designing(not only playing a 3d Move but alse
controling a 3d object)
I need to join with away3d to get some package for
my codes in AS 3.0
package away3d.primitives {
import away3d.containers.ObjectContainer3D;
import away3d.core.base.Vertex;
import away3d.core.math.Number3D;
import away3d.core.render.Renderer;
import away3d.materials.WireframeMaterial;
public class Line3D extends ObjectContainer3D {
public var max:uint=512
private var obj3ds:Array = []
private var vertexts:Array = []
private var colors:Array = []
private var thicks:Array = []
private var alphas:Array = []
private var lastColor:uint=0xffffff
private var lastThick:Number=1
private var lastAlpha:Number = 1
private var lastVertext:Vertex = new Vertex
private var lastAngleY:Number = 0
private var lastAngleXZ:Number=0
public function Line3D() {
vertexts.push(lastVertext.clone())
}
//setter & getter
public function set COLOR(value:uint):void {
lastColor=value
}
public function get COLOR():uint {
return lastColor
}
public function set THICK(value:Number):void {
lastThick=value
}
public function get THICK():Number {
return lastThick
}
public function set ALPHA(value:Number):void {
lastAlpha=value
}
public function get ALPHA():Number {
return lastAlpha
}
public function set POINT(value:Number3D):void {
lastVertext.setValue(value.x,value.y,value.z)
}
public function get POINT():Number3D {
return lastVertext.position
}
public function set ANGLE_Y(value:Number):void {
lastAngleY = value
}
public function get ANGLE_Y():Number {
return lastAngleY
}
public function set ANGLE_XZ(value:Number):void {
lastAngleXZ = value
}
public function get ANGLE_XZ():Number {
return lastAngleXZ
}
//property
public function moveAngleAddDirectAdd(angleY:Number, angleXZ:Number, length:Number = 10):void {
lastAngleY += angleY
lastAngleXZ += angleXZ
var sinY:Number = Math.sin(lastAngleY)
var cosY:Number = Math.cos(lastAngleY)
var sinXZ:Number = Math.sin(lastAngleXZ)
var cosXZ:Number = Math.cos(lastAngleXZ)
var lenCY:Number = length*cosY
var num3d:Number3D = new Number3D(lenCY * sinXZ, length * sinY, lenCY * cosXZ)
movePositionAdd(num3d)
}
public function moveAngleAddDirectTo(angleY:Number, angleXZ:Number, length:Number = 100):void {
lastAngleY += angleY
lastAngleXZ += angleXZ
var sinY:Number = Math.sin(lastAngleY)
var cosY:Number = Math.cos(lastAngleY)
var sinXZ:Number = Math.sin(lastAngleXZ)
var cosXZ:Number = Math.cos(lastAngleXZ)
var lenCY:Number = length*cosY
var num3d:Number3D = new Number3D(lenCY * sinXZ, length * sinY, lenCY * cosXZ)
movePositionAdd(num3d)
}
public function moveDirectAdd(angleY:Number, angleXZ:Number, length:Number = 10):void {
var sinY:Number = Math.sin(angleY)
var cosY:Number = Math.cos(angleY)
var sinXZ:Number = Math.sin(angleXZ)
var cosXZ:Number = Math.cos(angleXZ)
var lenCY:Number = length*cosY
var num3d:Number3D = new Number3D(lenCY * sinXZ, length * sinY, lenCY * cosXZ)
movePositionAdd(num3d)
}
public function moveDirectTo(angleY:Number, angleXZ:Number, length:Number = 100):void {
var sinY:Number = Math.sin(angleY)
var cosY:Number = Math.cos(angleY)
var sinXZ:Number = Math.sin(angleXZ)
var cosXZ:Number = Math.cos(angleXZ)
var lenCY:Number = length*cosY
var num3d:Number3D = new Number3D(lenCY * sinXZ, length * sinY, lenCY * cosXZ)
movePositionTo(num3d)
}
public function movePositionAdd(pointAdd:Number3D):void {
var line3d:LineSegment
if (obj3ds.length > max-1) {
line3d = obj3ds.shift()
colors.shift()
thicks.shift()
alphas.shift()
line3d.material = new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick })
}else {
line3d = new LineSegment( {edge:100,material:new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick } )} )
}
//var line3d:LineSegment = new LineSegment( {edge:100, material:new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick } )} )
line3d.mouseEnabled=false
line3d.start = vertexts[vertexts.length - 1];
lastVertext.add(pointAdd)
vertexts.push(lastVertext.clone())
line3d.end = vertexts[vertexts.length-1]
addChild(line3d)
obj3ds.push(line3d)
colors.push(lastColor)
thicks.push(lastThick)
alphas.push(lastAlpha)
}
public function movePositionTo(pointTo:Number3D):void {
var line3d:LineSegment
if (obj3ds.length > max-1) {
line3d = obj3ds.shift()
colors.shift()
thicks.shift()
alphas.shift()
line3d.material = new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick })
}else {
line3d = new LineSegment( {edge:100,material:new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick } )} )
}
line3d.mouseEnabled=false
line3d.start = vertexts[vertexts.length - 1];
lastVertext.setValue(pointTo.x,pointTo.y,pointTo.z)
vertexts.push(lastVertext.clone())
line3d.end = vertexts[vertexts.length-1]
addChild(line3d)
obj3ds.push(line3d)
colors.push(lastColor)
thicks.push(lastThick)
alphas.push(lastAlpha)
}
/*public function pop():void {
removeChild(obj3ds[obj3ds.length - 1])
obj3ds.pop()
colors.pop()
thicks.pop()
alphas.pop()
vertexts.pop()
}
public function shift():void {
removeChild(obj3ds[0])
obj3ds.shift()
colors.shift()
thicks.shift()
alphas.shift()
vertexts.shift()
}*/
public function clear():void {
for (var i:int = 0; i < obj3ds.length; i++) {
removeChild(obj3ds[i])
}
obj3ds = []
colors = []
thicks = []
alphas = []
vertexts = []
}
public function get xml():XML {
var _xml:XML =
for (var i:int = 0; i < max; i++) {
_xml.prependChild()
}
return _xml
}
public function set xml(value:XML):void {
var _xml:XML = value
for (var i:int = 0; i < max; i++) {
//COLOR = xml.color
//THICK = xml.thick
//ALPHA = xml.alpha
//movePositionTo(new Number3D(x,y,z))
}
}
}
}
I’m trying to figure out how to get a collada animation (made in maya playing. It loads fine, textures and all. Couldn’t find a sample of how to play the amination. Any help would be appreciated.
// create a 3D-viewport
var view:View3D = new View3D({x:300, y:200});
// add viewport to the stage
addChild(view);
// start mesh loading
var loader:Object3DLoader = Collada.load(”model/test.dae”);
// add the loader object to the scene
//loader.rotationX = -90;
view.scene.addChild(loader);
// position camera
view.camera.position = new Number3D(1000, 1000, 1000);
view.camera.lookAt(loader.position);
// every frame
addEventListener(Event.ENTER_FRAME, onEnterFrame);
function onEnterFrame(event:Event):void {
view.render();
}
I’m looking for someone to make me a model viewer with the rotation arrows that can get the texture for the model from an external source and have that texture be a variable so I can change the texture address later on possibly with xml
Hey Fabrice thank you for your help. One more question, where do I need to copy the libraries to be able to import it into my project? I mean, is it possible to point from my flash project where the library would be?
Thanks again!!
mmmh, theres a bug in away3d, when i get a carrousel with a disc and planes on it, if i zoom the camera, and use the zoom to auto adjust the plane it starts inverting the back face of the plane:
this goes onenterframe ofc
if (disk)
disk.rotationY -= 1;
disk.height=(200/camera.zoom);
disk.radius=(4000/camera.zoom);
disk.y=(-2500/camera.zoom);
P.width=(1500/camera.zoom);
P.height=(1500/camera.zoom);
P.y=(-1000/camera.zoom);
P.x=(-2500/camera.zoom);
am i doing something stupid or it is really a bug?
I have just started to make a game, that involves a lot of little vubes on the screen, maybe 150 of them…just wondering if Away 3D is fast enough to do that? I have tried papervision, its quite slow with about 50 cubes, sandy3D is playable but memory usage still goes up at about 100kbytes/s… anybody has any recommendations or tips?
i am searching for a 3D Cube, which loads logos/pictures from a directory. it will be used for a internet radio with ads on the cube. the cube must be rotate ….
Who can tell me to do this or who will make this for cash?
Sorry I joined the google dev group listed above .. only to find useres bickering and attacking each other over trivial nonsense which had nothing to do with away3d and most of the posts are dated mid last year. Has nobody been working , posting anything since then? I am testing all the flash 3d engines , I successfully used papervision , alternitivia but cannot get away3d to compile. I trying to load a collada and display but get a error with your library ::::
TypeError: Error #1006: value is not a function.
at away3d.loaders::Collada/getColorValue()
at away3d.loaders::Collada/parseColorMaterial()
at away3d.loaders::Collada/parseMaterial()
at away3d.loaders::Collada/parseNode()
at away3d.loaders::Collada/parseScene()
at away3d.loaders::Collada/parseCollada()
at away3d.loaders::Collada()
at away3d.loaders::Object3DLoader/startParsingGeometry()
at away3d.loaders::Object3DLoader/onGeometryComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at away3d.loaders::Object3DLoader/update()
I have svn path to your flash10 branch
If this is not the place to post this .. then tell me where to post it ..
Hi Ian, sorry about the “bad” behaviour of some users… It’s the first time but I guess it was unevitable…
Please post on the user group for technical support or search within the group archives. You also can look at tutorials on flashmagazine.com and on this site to get started.
Hey, Somebody please help me!! Iam a beginner n AS3 & Away3D. Please tell me the code for a 3d object for which if we mouse hit it, it must disappear & the score should be increased.(like finding the hidden object but here the object is in 3D)
Please Help me! Thanks in Advance!
Hi Team,
I have got same error as Ian, while loading dae object with Collada got this error
TypeError: Error #1006: value is not a function.
at away3d.loaders::Collada/getColorValue()
at away3d.loaders::Collada/parseColorMaterial()
at away3d.loaders::Collada/parseMaterial()
at away3d.loaders::Collada/parseNode()
at away3d.loaders::Collada/parseScene()
at away3d.loaders::Collada/parseCollada()
at away3d.loaders::Collada()
at away3d.loaders::Object3DLoader/startParsingGeometry()
at away3d.loaders::Object3DLoader/onGeometryComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
TypeError: Error #1009: Cannot access a prop
I want to use away3d to test my 3dphysics engine.
Comment by Peter Dijkstra
— February 13, 2008 @ 2:27 pm
[...] If you would like to follow the progress of future Away3d updates, please feel free to join our mailing list [...]
Pingback by Away3D Flash Engine » Away3D Temple: version 1.9.4 released! — February 23, 2008 @ 8:53 pm
can’t wait to start playing around with this in flash
Comment by Ben
— February 26, 2008 @ 6:35 pm
how do i download AWAY3D?
Comment by mohd noor
— February 26, 2008 @ 7:00 pm
You can download it here:
http://away3d.com/downloads
or if you want the SVN version:
http://code.google.com/p/away3d/source/checkout
Comment by Peter Kapelyan — February 26, 2008 @ 8:23 pm
hey awesome work! Im really looking forward to taking a peek at the temple tutorials, very useful and seems more useable and interactive than papervision allows for.
Comment by Nick Gorman
— March 24, 2008 @ 8:47 am
[...] update details have been posted on the AWAY3D mailing list. You can get the source files by accessing our svn repository or going to our downloads [...]
Pingback by Away3D Flash Engine » Away3D 2.0: Green Planet — April 15, 2008 @ 5:52 am
[...] More info on our group here…. [...]
Pingback by trace(myBitmapdata); » Blog Archive » Away3D 2.0: Green Planet
— April 15, 2008 @ 5:54 am
My name is Ali majidian,I’m a flash designer.
in my new projects I need to write some code
for 3d designing(not only playing a 3d Move but alse
controling a 3d object)
I need to join with away3d to get some package for
my codes in AS 3.0
Comment by ALI MAJIDIAN
— May 26, 2008 @ 5:31 am
You guys ROCK! I must say I do like this engine better than PaperVision 3D. So far, you are the kings…
Comment by Mark Lomb — June 24, 2008 @ 11:29 pm
How can i get the source code about “Away3D 2.2: RailAway Express”?
Comment by yansong
— October 25, 2008 @ 3:53 am
I love this engine,but now I have many questions to solve,I wish someone can help me .many thanks.
Comment by CoCo
— January 6, 2009 @ 7:51 am
please change Matrix3d’s class instead of other name .
because i complex it that will break error with flash.geom.Matrix3d
Comment by zszen — February 9, 2009 @ 1:49 am
That’s because you are using the Flash 9 version. There is a 3.0.0 branch for Flash 10 into the SVN.
Comment by Fabrice Closier
— February 9, 2009 @ 3:16 pm
Line3D Class
package away3d.primitives {
import away3d.containers.ObjectContainer3D;
import away3d.core.base.Vertex;
import away3d.core.math.Number3D;
import away3d.core.render.Renderer;
import away3d.materials.WireframeMaterial;
public class Line3D extends ObjectContainer3D {
public var max:uint=512
private var obj3ds:Array = []
private var vertexts:Array = []
private var colors:Array = []
private var thicks:Array = []
private var alphas:Array = []
private var lastColor:uint=0xffffff
private var lastThick:Number=1
private var lastAlpha:Number = 1
private var lastVertext:Vertex = new Vertex
private var lastAngleY:Number = 0
private var lastAngleXZ:Number=0
public function Line3D() {
vertexts.push(lastVertext.clone())
}
//setter & getter
public function set COLOR(value:uint):void {
lastColor=value
}
public function get COLOR():uint {
return lastColor
}
public function set THICK(value:Number):void {
lastThick=value
}
public function get THICK():Number {
return lastThick
}
public function set ALPHA(value:Number):void {
lastAlpha=value
}
public function get ALPHA():Number {
return lastAlpha
}
public function set POINT(value:Number3D):void {
lastVertext.setValue(value.x,value.y,value.z)
}
public function get POINT():Number3D {
return lastVertext.position
}
public function set ANGLE_Y(value:Number):void {
lastAngleY = value
}
public function get ANGLE_Y():Number {
return lastAngleY
}
public function set ANGLE_XZ(value:Number):void {
lastAngleXZ = value
}
public function get ANGLE_XZ():Number {
return lastAngleXZ
}
//property
public function moveAngleAddDirectAdd(angleY:Number, angleXZ:Number, length:Number = 10):void {
lastAngleY += angleY
lastAngleXZ += angleXZ
var sinY:Number = Math.sin(lastAngleY)
var cosY:Number = Math.cos(lastAngleY)
var sinXZ:Number = Math.sin(lastAngleXZ)
var cosXZ:Number = Math.cos(lastAngleXZ)
var lenCY:Number = length*cosY
var num3d:Number3D = new Number3D(lenCY * sinXZ, length * sinY, lenCY * cosXZ)
movePositionAdd(num3d)
}
public function moveAngleAddDirectTo(angleY:Number, angleXZ:Number, length:Number = 100):void {
lastAngleY += angleY
lastAngleXZ += angleXZ
var sinY:Number = Math.sin(lastAngleY)
var cosY:Number = Math.cos(lastAngleY)
var sinXZ:Number = Math.sin(lastAngleXZ)
var cosXZ:Number = Math.cos(lastAngleXZ)
var lenCY:Number = length*cosY
var num3d:Number3D = new Number3D(lenCY * sinXZ, length * sinY, lenCY * cosXZ)
movePositionAdd(num3d)
}
public function moveDirectAdd(angleY:Number, angleXZ:Number, length:Number = 10):void {
var sinY:Number = Math.sin(angleY)
var cosY:Number = Math.cos(angleY)
var sinXZ:Number = Math.sin(angleXZ)
var cosXZ:Number = Math.cos(angleXZ)
var lenCY:Number = length*cosY
var num3d:Number3D = new Number3D(lenCY * sinXZ, length * sinY, lenCY * cosXZ)
movePositionAdd(num3d)
}
public function moveDirectTo(angleY:Number, angleXZ:Number, length:Number = 100):void {
var sinY:Number = Math.sin(angleY)
var cosY:Number = Math.cos(angleY)
var sinXZ:Number = Math.sin(angleXZ)
var cosXZ:Number = Math.cos(angleXZ)
var lenCY:Number = length*cosY
var num3d:Number3D = new Number3D(lenCY * sinXZ, length * sinY, lenCY * cosXZ)
movePositionTo(num3d)
}
public function movePositionAdd(pointAdd:Number3D):void {
var line3d:LineSegment
if (obj3ds.length > max-1) {
line3d = obj3ds.shift()
colors.shift()
thicks.shift()
alphas.shift()
line3d.material = new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick })
}else {
line3d = new LineSegment( {edge:100,material:new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick } )} )
}
//var line3d:LineSegment = new LineSegment( {edge:100, material:new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick } )} )
line3d.mouseEnabled=false
line3d.start = vertexts[vertexts.length - 1];
lastVertext.add(pointAdd)
vertexts.push(lastVertext.clone())
line3d.end = vertexts[vertexts.length-1]
addChild(line3d)
obj3ds.push(line3d)
colors.push(lastColor)
thicks.push(lastThick)
alphas.push(lastAlpha)
}
public function movePositionTo(pointTo:Number3D):void {
var line3d:LineSegment
if (obj3ds.length > max-1) {
line3d = obj3ds.shift()
colors.shift()
thicks.shift()
alphas.shift()
line3d.material = new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick })
}else {
line3d = new LineSegment( {edge:100,material:new WireframeMaterial(lastColor, { alpha:lastAlpha, width:lastThick } )} )
}
line3d.mouseEnabled=false
line3d.start = vertexts[vertexts.length - 1];
lastVertext.setValue(pointTo.x,pointTo.y,pointTo.z)
vertexts.push(lastVertext.clone())
line3d.end = vertexts[vertexts.length-1]
addChild(line3d)
obj3ds.push(line3d)
colors.push(lastColor)
thicks.push(lastThick)
alphas.push(lastAlpha)
}
/*public function pop():void {
removeChild(obj3ds[obj3ds.length - 1])
obj3ds.pop()
colors.pop()
thicks.pop()
alphas.pop()
vertexts.pop()
}
public function shift():void {
removeChild(obj3ds[0])
obj3ds.shift()
colors.shift()
thicks.shift()
alphas.shift()
vertexts.shift()
}*/
public function clear():void {
for (var i:int = 0; i < obj3ds.length; i++) {
removeChild(obj3ds[i])
}
obj3ds = []
colors = []
thicks = []
alphas = []
vertexts = []
}
public function get xml():XML {
var _xml:XML =
for (var i:int = 0; i < max; i++) {
_xml.prependChild()
}
return _xml
}
public function set xml(value:XML):void {
var _xml:XML = value
for (var i:int = 0; i < max; i++) {
//COLOR = xml.color
//THICK = xml.thick
//ALPHA = xml.alpha
//movePositionTo(new Number3D(x,y,z))
}
}
}
}
Comment by zszen — February 10, 2009 @ 3:42 am
I’m trying to figure out how to get a collada animation (made in maya playing. It loads fine, textures and all. Couldn’t find a sample of how to play the amination. Any help would be appreciated.
Heres the code I have so far.
// import containers
import away3d.containers.*;
// import core library
import away3d.core.base.*;
// import file format loaders
import away3d.loaders.*;
//import math objects
import away3d.core.math.*;
// create a 3D-viewport
var view:View3D = new View3D({x:300, y:200});
// add viewport to the stage
addChild(view);
// start mesh loading
var loader:Object3DLoader = Collada.load(”model/test.dae”);
// add the loader object to the scene
//loader.rotationX = -90;
view.scene.addChild(loader);
// position camera
view.camera.position = new Number3D(1000, 1000, 1000);
view.camera.lookAt(loader.position);
// every frame
addEventListener(Event.ENTER_FRAME, onEnterFrame);
function onEnterFrame(event:Event):void {
view.render();
}
Comment by Eric
— February 13, 2009 @ 5:05 pm
i found if i use a class extends an object just like Cone.
if i use visible to it , it’s parent will also have something wrong.
but if i use a objectcontainer3d.it is ok.
Comment by zszen
— February 26, 2009 @ 10:53 am
How do I download away3D? I have been to the download page and saved the information but there isn’t any executable!!
I’m well lost!! Help!!
Comment by Emanuel — March 14, 2009 @ 5:03 pm
Away3D is not an executable, it’s a library. A collection of classes that you need to import and compile within your flash project.
Comment by Fabrice Closier
— March 14, 2009 @ 5:30 pm
I’m looking for someone to make me a model viewer with the rotation arrows that can get the texture for the model from an external source and have that texture be a variable so I can change the texture address later on possibly with xml
i’ll pay 15$ for it :P
Comment by Dave — March 16, 2009 @ 2:23 pm
Hey Fabrice thank you for your help. One more question, where do I need to copy the libraries to be able to import it into my project? I mean, is it possible to point from my flash project where the library would be?
Thanks again!!
Comment by Emanuel
— March 17, 2009 @ 8:54 am
Emanuel, why don’t you join our dev group?
Comment by Fabrice Closier
— March 18, 2009 @ 8:10 am
Hi Fabrice, how can I join it? but also, please, where shall I have my libraries to be able to “import” it into my Flash development?
Thanks!!
Comment by Emanuel
— March 18, 2009 @ 9:48 am
Emanuel, look on top of this page… there is a link :)
Comment by Fabrice Closier
— March 20, 2009 @ 6:27 pm
mmmh, theres a bug in away3d, when i get a carrousel with a disc and planes on it, if i zoom the camera, and use the zoom to auto adjust the plane it starts inverting the back face of the plane:
this goes onenterframe ofc
if (disk)
disk.rotationY -= 1;
disk.height=(200/camera.zoom);
disk.radius=(4000/camera.zoom);
disk.y=(-2500/camera.zoom);
P.width=(1500/camera.zoom);
P.height=(1500/camera.zoom);
P.y=(-1000/camera.zoom);
P.x=(-2500/camera.zoom);
am i doing something stupid or it is really a bug?
Comment by desgraci
— March 27, 2009 @ 10:53 am
Hi Desgraci, please join our group for technical support. This is not the place… link is on top of this page.
Comment by Fabrice Closier
— March 27, 2009 @ 3:38 pm
hehehe woops, dint see this was the COMMENTS, about the real forum XD sorry … :p
Comment by desgraci
— March 30, 2009 @ 9:43 am
Hello,
I have just started to make a game, that involves a lot of little vubes on the screen, maybe 150 of them…just wondering if Away 3D is fast enough to do that? I have tried papervision, its quite slow with about 50 cubes, sandy3D is playable but memory usage still goes up at about 100kbytes/s… anybody has any recommendations or tips?
Comment by Fan Di
— April 22, 2009 @ 7:19 pm
Hello,
i am searching for a 3D Cube, which loads logos/pictures from a directory. it will be used for a internet radio with ads on the cube. the cube must be rotate ….
Who can tell me to do this or who will make this for cash?
Comment by Stefan
— May 15, 2009 @ 1:38 pm
Sorry I joined the google dev group listed above .. only to find useres bickering and attacking each other over trivial nonsense which had nothing to do with away3d and most of the posts are dated mid last year. Has nobody been working , posting anything since then? I am testing all the flash 3d engines , I successfully used papervision , alternitivia but cannot get away3d to compile. I trying to load a collada and display but get a error with your library ::::
TypeError: Error #1006: value is not a function.
at away3d.loaders::Collada/getColorValue()
at away3d.loaders::Collada/parseColorMaterial()
at away3d.loaders::Collada/parseMaterial()
at away3d.loaders::Collada/parseNode()
at away3d.loaders::Collada/parseScene()
at away3d.loaders::Collada/parseCollada()
at away3d.loaders::Collada()
at away3d.loaders::Object3DLoader/startParsingGeometry()
at away3d.loaders::Object3DLoader/onGeometryComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at away3d.loaders::Object3DLoader/update()
I have svn path to your flash10 branch
If this is not the place to post this .. then tell me where to post it ..
thanks
ian
Comment by ian — May 18, 2009 @ 11:02 am
Hi Ian, sorry about the “bad” behaviour of some users… It’s the first time but I guess it was unevitable…
Please post on the user group for technical support or search within the group archives. You also can look at tutorials on flashmagazine.com and on this site to get started.
Comment by Fabrice Closier
— May 19, 2009 @ 6:55 am
Hey, Somebody please help me!! Iam a beginner n AS3 & Away3D. Please tell me the code for a 3d object for which if we mouse hit it, it must disappear & the score should be increased.(like finding the hidden object but here the object is in 3D)
Please Help me! Thanks in Advance!
Comment by mohan
— May 20, 2009 @ 12:30 pm
Hi Team,
I have got same error as Ian, while loading dae object with Collada got this error
TypeError: Error #1006: value is not a function.
at away3d.loaders::Collada/getColorValue()
at away3d.loaders::Collada/parseColorMaterial()
at away3d.loaders::Collada/parseMaterial()
at away3d.loaders::Collada/parseNode()
at away3d.loaders::Collada/parseScene()
at away3d.loaders::Collada/parseCollada()
at away3d.loaders::Collada()
at away3d.loaders::Object3DLoader/startParsingGeometry()
at away3d.loaders::Object3DLoader/onGeometryComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
TypeError: Error #1009: Cannot access a prop
Thnx
Manoj
Comment by Manoj Lakhera — June 15, 2009 @ 5:11 am
I got the solution
http://www.mail-archive.com/away3d-dev@googlegroups.com/msg02552.html
Thankx
Manoj Lakhera
Comment by Manoj Lakhera — June 15, 2009 @ 9:04 am
Well, really wonderful.
Sea turtle is really great, thanx for sharing
Comment by Fang Li
— June 25, 2009 @ 2:37 am