Link to home
Start Free TrialLog in
Avatar of rgarimella
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

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);

Open in new window


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()
ASKER CERTIFIED SOLUTION
Avatar of rgarimella
rgarimella

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial