Export classes to another frame – bug or feature?

Posted by Den Ivanov on May 18th, 2007

Looks like there problem with creating preloaders for complex flash applications in Flash CS3. When we export Classes to frame other then 1, we have some problems with library assets graphics. classes are here bu graphics doesnt shown. Looks like not only me have this problem (post about preloaders at hiddenresource)

But looks like we have solution now, Denis Kolyako find workaround for preloading problem (russian blog). Source here.

in short:

use

var programClass:Class = loaderInfo.applicationDomain.getDefinition(”Program”) as Class;
var program:Sprite = new programClass() as Sprite;
addChild(program);

instead of

var program:Program = new Program();
addChild(program);

I test this. it work. Maybe there is easy way. I check help, Google and dont find another way. If you know how to make it better, please comment.

Very nice flash site.

Posted by Den Ivanov on May 17th, 2007

Very nice flash site.

EARTH GUIDE

Sources for my 3D voxel terrain.

Posted by Den Ivanov on May 13th, 2007

Sources for my 3D voxel terrain.

Here the sources for my 3D voxel terrain. Enjoy. I hope this will be helpful for someone. )

AS3 3D Physics engine

Posted by Den Ivanov on April 14th, 2007

Jerome Birembaut introduced his AS3 3D Physics engine. Looks like it use Papervision3D. )

Intro page http://www.wow-engine.com/ dont have physics AS3 3D Physics engine so check some demos:

http://dreammania.net/datas/swf/WOWBoundAreaSphereDemo.swf
http://dreammania.net/datas/swf/WOWPlaneSphereDemo.swf
http://dreammania.net/datas/swf/WOWRotPlaneSphereDemo.swf
http://dreammania.net/datas/swf/WOWSphereDemo.swf
use arrow key for this one http://dreammania.net/test/wow/elidemo/Eli.swf

Another voxel terrain demo

Posted by Den Ivanov on April 13th, 2007

Another voxel terrain demo

Just quick test of perspective voxel terrain. Will add more details soon. )

watch here (9Kb) Another voxel terrain demo Click on screen to recreate random terrain.


Wordpress Theme by Tech Replies
Copyright © 2007 Den Ivanov blog.. All rights reserved.