Hello Everyone,
I was trying to create the same example in Flash instead of Flex/Flash Builder
http://gotoandlearn.com/play.php?id=165 (TimeCode 10:53)
How do I instantiate the Images in Flash. I have the objects in the library and set the linkages
var onec = new one();
var twoc = new two();
var threec = new three();
var fourc = new four();
var fivec = new five();
var sixc = new six();
var bct:BitmapCubeTexture = new BitmapCubeTexture(onec.bitmapData,twoc.bitmapData,threec.bitmapData,fourc.bitmapData, fivec.bitmapData,sixc.bitmapData);
I am getting the following Error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at away3d.textures::BitmapCubeTexture/testSize()
at away3d.textures::BitmapCubeTexture()
at away3d_fla::MainTimeline/frame1()