Author Topic: how work tuto demo  (Read 194 times)

crom M   «   on: April 20, 2012, 08:41:17 AM »
hi,
I would like test tutorial demo
http://wiki.flare3d.com/index.php/Embed_F3D_Files
but i have problem, copy past source code in flash configurate with flare3D
i have error 1037 les package ne peuvent etre imbriqué.
how to do that
best regard
crom

Ivan Vodopiviz   «   Reply #1 on: April 20, 2012, 11:56:18 AM »
Hi,

The example code from the wiki is meant to be compiled using the Flex SDK, so you have to make some minor changes in order to get it to work in Flash Pro. You can't use "package", no private / public modifiers, etc.

I wrote a quick "translation" of the code to work in Flash (tested in CS5), you can find it here.

Hope it helps!

crom M   «   Reply #2 on: April 20, 2012, 02:06:39 PM »
Hi Ivan,
i copy and past your code
sorry i have another error
VerifyError: Error #1014: La classe flash.display3D::Context3D est introuvable.

thanks

Ivan Vodopiviz   «   Reply #3 on: April 20, 2012, 02:33:04 PM »
Hi,

That means that your project isn't correctly configured for Flash Player 11 and Stage3D. We have a tutorial about that and you can find it here.

crom M   «   Reply #4 on: April 21, 2012, 04:19:46 AM »
yes my project is correctly configured i see cube in the end tutorial



crom M   «   Reply #5 on: April 23, 2012, 04:44:40 AM »
Hi Hiavn,
I Restard All, and i'ts work

thanks

crom M   «   Reply #6 on: April 23, 2012, 08:20:40 AM »
hi,
how to make to install Flex SDK because all exemple do work it ?
and no to do translation to work
thanks

Ivan Vodopiviz   «   Reply #7 on: April 23, 2012, 11:06:49 AM »
Hi,

There are a number of ways you can do this:
  • You can use FlashDevelop as seen here. This will download Flex SDK and the FlashDevelop IDE.
  • Use a recent version of Flash Builder.
  • Keep using Flash, but putting your code in external classes. This requires some care, but it works and you wouldn't need to rewrite the examples.