parseData examples problems!

Software: Away3D 4.x

Josepho, Newbie
Posted: 10 February 2012 01:48 AM   Total Posts: 13

Hi there, im very noob at the away3d and i am trying to compile all the examples that i downloaded from the repository and im having problems with the examples that has this line

_container.parseData(EmbeddedOBJ); 

For example the celShadingTest

It says me

C:\Users\ME\Desktop\prueba\src\CelShadingTest.as(66): col: 15 Error: Call to a possibly undefined method parseData through a reference with static type away3d.loaders:Loader3D.

Why is this about, it happens with all the examples i saw that use the parseData method :S

How can i fix it?

I have all the examples updated and same with the away3d files, im using flashdevelop 4

   

John Brookes, Moderator
Posted: 10 February 2012 03:41 AM   Total Posts: 732   [ # 1 ]

The examples are old and away has changed since they were done.

parseData is now loadData
eg
_container.loadData (EmbeddedOBJ);

   

Josepho, Newbie
Posted: 10 February 2012 07:14 PM   Total Posts: 13   [ # 2 ]

You were right again, thanks john! :D

   

Jackal, Newbie
Posted: 24 February 2012 12:21 PM   Total Posts: 10   [ # 3 ]

why the f#$K you keep changing class definitions !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

   

Josepho, Newbie
Posted: 24 February 2012 12:25 PM   Total Posts: 13   [ # 4 ]

I ask myself the same >_<UUUUU

   

Avatar
Matse, Sr. Member
Posted: 24 February 2012 01:33 PM   Total Posts: 149   [ # 5 ]

Because it makes more sense this way.

There is a reason an Alpha is called Alpha : it’s an early release, things like this are likely to happen until Final release. The closer it gets to Final, the less things are likely to change.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X