Solved

AWAY 3d Using BitMapCubeTexture

Posted on 2014-03-23
1
424 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Embedding Flash App/Movie on Website 3 508
Adobe Acrobat Pro: chasing the white background wallpaper dimensions 3 211
PDF: Display my cards game? 8 135
PDF edit software 2 35
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

735 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