Solved

AWAY 3d Using BitMapCubeTexture

Posted on 2014-03-23
1
435 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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.

739 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