Two weeks went Away3D not working

Software: Away3D 3.x

hw2002, Newbie
Posted: 28 August 2011 04:15 AM   Total Posts: 6

Please help me.

This is freaking make me crazy.

Just link to me source example that works, that have a working SWC of away 3.6

I bought the book for away3d 3,6 and i cannot get it to work.

Always get this error.

ReferenceError: Error #1065: Variable _init is not defined.
ReferenceError: Error #1065: Variable _init is not defined.
ReferenceError: Error #1065: Variable _init is not defined.
ReferenceError: Error #1065: Variable _init is not defined.

Make me throw my computer away! and this forum is somehow dead?

   

hw2002, Newbie
Posted: 28 August 2011 06:42 AM   Total Posts: 6   [ # 1 ]

Okay please tell me, can I use 4.0 for flashplayer10 or is it only for 11.


Their is a bug in the old sourcecode when using it with spark 4.5 sdk, so i’m in the middle of a game I’m creating that use 4.5sdk and i need to use 3d engine :(

   

John Brookes, Moderator
Posted: 28 August 2011 06:59 AM   Total Posts: 732   [ # 2 ]

There was/is an issues with flex 4.5 and some version of 3.6. I think it got fixed but not in all versions zip/swc.
Either use svn and download from http://code.google.com/p/away3d/source/checkout

or try the gitHub version
https://github.com/away3d/away3d-core-fp10

not sure which is supposed to be most uptodate with 3.6

And if your starting out with 3.6 most of your questions will have been already asked in the old google groups. Handy reference smile
http://groups.google.com/group/away3d-dev/topics

4.0 is fp11 only

   

hw2002, Newbie
Posted: 28 August 2011 12:09 PM   Total Posts: 6   [ # 3 ]

This is version that throws the error when used with spark 4.5sdk
https://github.com/away3d/away3d-core-fp10

I tried the second, took some time to download, it didn’t work either.

So I created new project with only mx components.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
    
xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" minWidth="955" minHeight="600" applicationComplete="application1_applicationCompleteHandler(event)">
 <
fx:Script>
  <!
[CDATA[
   import away3d
.containers.View3D;
   
   
import mx.events.FlexEvent;
   
   private var 
_scene:View3D;
   protected function 
application1_applicationCompleteHandler(event:FlexEvent):void
   {
    _scene 
= new View3D();
    
scene.addChild(_scene);
    
    
addEventListener(Event.ENTER_FRAMEeventEnterFrame);
   
}
   
   
protected function eventEnterFrame(event:Event):void
   {
    _scene
.render();
   
}
   
  ]]
>
 </
fx:Script>
 <
fx:Declarations>
  <!-- 
Place non-visual elements (e.g., servicesvalue objectshere -->
 </
fx:Declarations>
 <
mx:UIComponent id="scene" width="100%" height="100%" />
</
mx:Application

Error:
ReferenceError: Error #1065: Variable _init is not defined.

Line:
/src/away3d/core/utils/Init.as:114

 

   

John Brookes, Moderator
Posted: 28 August 2011 02:37 PM   Total Posts: 732   [ # 4 ]

mxml not my thing,  but using the git version and Darceys code
http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=3&aid=107

No error.

   

hw2002, Newbie
Posted: 28 August 2011 05:28 PM   Total Posts: 6   [ # 5 ]
JohnBrookes - 28 August 2011 02:37 PM

mxml not my thing,  but using the git version and Darceys code
http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=3&aid=107

No error.

 

Maybe no errors, but I get error that’s what make me cry…

I tried with 4.5sdk and 3.6sdk flex.

Their is something I need to do before it works im sure about that.

Steps I do

- create new flex project
- choose 4.5.1sdk
- paste code example from the intrnet
- run

Then I get error :(

I’m not new to flex world..I started back with flex2.0.

 

 

 

   

hw2002, Newbie
Posted: 28 August 2011 05:29 PM   Total Posts: 6   [ # 6 ]
ddddesigns - 28 August 2011 02:40 PM

Away3D 4.0 is for Flash Player 11 and up.  However since Flash Player is on its second beta, it may be released publicly soon.

Their is no guarantee when flash player 11 is released and im developing this game for a customer…

I created everything, only left back 3d…:(

   

hw2002, Newbie
Posted: 28 August 2011 05:41 PM   Total Posts: 6   [ # 7 ]

http://www.youtube.com/watch?v=CxX5TO4chRA

Here is recorded version, I cannot add HD version of it, I don’t know why, because I need to pay for premium account or something.

But their it is too see it’s very simple steps and it doesn’t work :(

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X