Use a movieclip from library in 3D tutorial

Discussion about FLARManager, the ightweight framework that makes it easier to build augmented reality applications for Flash

Moderator: ericsoco

Use a movieclip from library in 3D tutorial

Postby heaversm » Thu Jun 09, 2011 12:37 pm

Hi - I just wanted to try swapping out the cube in FLARKit's tutorial (found here: http://words.transmote.com/wp/flarmanag ... d-reality/). I added a standard movieclip, which I exported for actionscript as "bunny". In the FLARManager Tutorial 3D .as file (FLARManagerTutorial_3D.as) - I then commented made the following code changes and ran the file, but it's saying that the class "bunny" is not a compile time constant. Why isn't this working?

Code: Select all

//var cube:Cube = new Cube({material:mat, width:40, height: 40, depth:40});
//cube.z = -20;
//this.cubeContainer.addChild(cube)


var bunny:bunny = new bunny();
this.cubeContainer.addChild(bunny

heaversm
 
Posts: 3
Joined: Thu Jun 09, 2011 9:20 am

Return to FLARManager

Who is online

Users browsing this forum: No registered users and 1 guest

cron