Flex bug… Implicit coercion of type Stage3D to type Stage3D

Software: Away3D 4.x

Stephen Hopkins, Sr. Member
Posted: 16 July 2011 09:44 AM   Total Posts: 110

1067: Implicit coercion of a value of type flash.display:Stage3D to an unrelated type flash.display:Stage3D. Stage3DManager.as src/away3d/core/managers line 52

I’m using Flash builder 4.5 with the 4.5.1 sdk. Not really sure how or why this happened. My previos flex away3d 4 project was working fine until I created a new ActionScript project and and set the build path to the same away3d library. Now my old project won’t compile either because of this error. Cleaning the projects and closing/starting flash builder doesn’t fix it.

Anyone know how to fix this?

 Signature 

http://www-scf.usc.edu/~shopkins

   

Stephen Hopkins, Sr. Member
Posted: 16 July 2011 09:46 PM   Total Posts: 110   [ # 1 ]

Well, I deleted my away3d projects and recloned them and the errors are gone. Hopefully this won’t happen again

 Signature 

http://www-scf.usc.edu/~shopkins

   

Somokon, Member
Posted: 18 July 2011 05:27 PM   Total Posts: 75   [ # 2 ]

In case you get it again, the solution to that error is to delete the file flash/display/Stage3D.as that comes with away3d-core-fp11.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X