rgarimella
asked on
AWAY 3d Using BitMapCubeTexture
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
I am getting the following Error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at away3d.textures::BitmapCub eTexture/t estSize()
at away3d.textures::BitmapCub eTexture()
at away3d_fla::MainTimeline/f rame1()
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::BitmapCub
at away3d.textures::BitmapCub
at away3d_fla::MainTimeline/f
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.