Solved

AWAY 3d Using BitMapCubeTexture

Posted on 2014-03-23
1
407 Views
Last Modified: 2014-03-24
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()
0
Comment
Question by:rgarimella
1 Comment
 

Accepted Solution

by:
rgarimella earned 0 total points
ID: 39951012
Ok, I figured it out. In Flash there is no need to call for bitmap data
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to record live broadcast.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question