class Texture could not be found

Software: Away3D 4.x

hexaworld, Newbie
Posted: 10 November 2011 01:12 PM   Total Posts: 4

Hello

I install the last version of flashdevelop and Away3D.
And for my first test for flash 11, I have the following error :

Error #1014: La classe flash.display3D.textures::Texture could not be found

May be a setup problem.

Have you an idea to resolve ?

Regards

Jean Luc Meurou

   

davivid, Newbie
Posted: 12 November 2011 11:37 AM   Total Posts: 12   [ # 1 ]

I have the same problem, latest core, physics, and examples from GIT.

Fresh install of Flash develop, and Flex SDK.

When I run Basic_Load3DS.as, I get the following error:

VerifyError: Error #1014: Class flash.display3D.textures::Texture could not be found.

at Basic_Load3DS/init()[C:\Users\Dave\Documents\away3dTest\src\Basic_Load3DS.as:125]
at Basic_Load3DS()[C:\Users\Dave\Documents\away3dTest\src\Basic_Load3DS.as:117]

   

hexaworld, Newbie
Posted: 14 November 2011 06:26 AM   Total Posts: 4   [ # 2 ]

I found the answer :

in project properties,
compiler options,
Additional Compiler Otptions

add : “-swf-version=13”

regards

Jean Luc Meurou

   

davivid, Newbie
Posted: 15 November 2011 02:13 PM   Total Posts: 12   [ # 3 ]

Thanks, I had tried that but with no luck. It turned out if I run the application within a web browser it worked fine.

as described here:
http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=5&subindex=2&aid=293

Although I am wondering why it has to be within the web browser? does this mean AIR is not currently supported?

   

John Brookes, Moderator
Posted: 15 November 2011 02:43 PM   Total Posts: 732   [ # 4 ]

It used to have to be in the web browser as adobe didnt release a standalone player (content debugger thang)
They have now released one. So you dont have to view in the broswer.

Air and stage3D works in flash develop.

Make sure you have the air 3 sdk and set compiler options

+configname=air
-swf-version=13

The latest flash develop 4.0.0 rc2 should have these already as well as standalone flash player.

   

davivid, Newbie
Posted: 15 November 2011 03:58 PM   Total Posts: 12   [ # 5 ]

Thanks. A new install of Flash Develop with AIR 3.0 did the trick.

I also had to add

<renderMode>direct</renderMode>


in the application descriptor.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X