Loading...
Uploaded by RomanEpishin on Nov 25, 2010
Alternativa3D 7 engine tutorial 02. Interactivity.
Science & Technology
Standard YouTube License
your code is wrong i fix it
bedirhan 5 months ago
public class hello extends MovieClip { public var container:ConflictContainer = new ConflictContainer() public var camera:Camera3D = new Camera3D(); public var controlET:SimpleObjectController;
wont work....
TypeError: Error #1009: Cannot access a property or method of a null object reference. at hello/onEnterFrameHandler()
@luizihoster there is another tutorial I found that works! let me know if you need it.
Thet3 9 months ago
it is important to remove "var" and ":Type" words from the function.
i cannot place code here which will look fine. because of newlines and length of message
pechenyap 9 months ago
Check the Interactive function: public function Interactive() { //container container = new ConflictContainer(); //camera camera = new Camera3D(); camera.view = new View(550, 400); addChild(camera.view); container.addChild(camera); camera.x = -300; camera.y = -50; camera.z = 100; camera.rotationX = -1.8; camera.rotationZ = -1.4;
WE NEED MORE TUTORIALS!!! NOT MUCH INFORMATION ON THE INTERNET!!!
Hi. Can you post your source code on alternativa's forum please? So we try to help you.
forum alternativaplatform com
pechenyap 10 months ago
hi friends I have this problem : in the private function onEnterFrameHandler
at hello/onEnterFrameHandler()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
luizihoster 10 months ago
I couldn't get it to work at first. Got it working by changing the second variable reference of camera.
should read camera = new Camera3D(); in the Interactive function
amah4444 1 year ago
Load more suggestions
your code is wrong i fix it
bedirhan 5 months ago
public class hello extends MovieClip { public var container:ConflictContainer = new ConflictContainer() public var camera:Camera3D = new Camera3D(); public var controlET:SimpleObjectController;
bedirhan 5 months ago
wont work....
TypeError: Error #1009: Cannot access a property or method of a null object reference. at hello/onEnterFrameHandler()
bedirhan 5 months ago
@luizihoster there is another tutorial I found that works! let me know if you need it.
Thet3 9 months ago
it is important to remove "var" and ":Type" words from the function.
i cannot place code here which will look fine. because of newlines and length of message
pechenyap 9 months ago
Check the Interactive function: public function Interactive() { //container container = new ConflictContainer(); //camera camera = new Camera3D(); camera.view = new View(550, 400); addChild(camera.view); container.addChild(camera); camera.x = -300; camera.y = -50; camera.z = 100; camera.rotationX = -1.8; camera.rotationZ = -1.4;
pechenyap 9 months ago
WE NEED MORE TUTORIALS!!! NOT MUCH INFORMATION ON THE INTERNET!!!
Thet3 9 months ago
Hi. Can you post your source code on alternativa's forum please? So we try to help you.
forum alternativaplatform com
pechenyap 10 months ago
hi friends I have this problem : in the private function onEnterFrameHandler
at hello/onEnterFrameHandler()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
luizihoster 10 months ago
I couldn't get it to work at first. Got it working by changing the second variable reference of camera.
should read camera = new Camera3D(); in the Interactive function
amah4444 1 year ago