Away3D Forum 0 Copyright (c) 2018 ExpressionEngine,2018:01:08 Loading swf files created using away3D into swf files made using flash GUI,2017:forum/viewthread/.6282 2017-12-31T12:47:44Z 0 O_MEGA Hello, recently I made an AS3 project using FLASHDEVELOP and AWAY3D everything works fine. However when I tried to load created .swf file (which is located in bin folder) into another .swf file produced using flash GUI(ADOBE FLASH CS6) I get this Error!

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Main/initEngine()[]
at Main/init()[]
at Main()[]

Is there anyone who knows how I can solve this problem? I thought if I copy swc version of away3D in lib folders of installed flash CS6 will help me overcome this problem, I was wrong!(or maybe I have copied them in a wrong folder, does anyone know where shall I copy them?)

Is there anyone who knows how to load an swf made using away3D into another swf ?

Best Regards

AWD file Issue,2017:forum/viewthread/.6281 2017-12-21T14:37:05Z 0 O_MEGA Hi,
I was trying to make an android project(apk)(AIR mobile AS3 app), using Flashdevelop (5.3.0) and AIR_SDK(28)and android sdk ( Revision 23.1.0 (December 2015)), my project uses AWAY3D + minimalcomps and it includes some .awd models ( I made two 3D models in blender then textured them and then imported them in AWAYBuilder and finally exported them as .AWD files) but I recieve the following ERROR!

Error: Error #2032: Stream Error. URL: app:/assets/mymodel.awd
at away3d.loaders::AssetLoader/onRetrievalFailed()[F:\away3d-core-fp11-4.1.6\src\away3d\loaders\]
at away3d.loaders.misc::SingleFileLoader/handleUrlLoaderError()[F:\away3d-core-fp11-4.1.6\src\away3d\loaders\misc\]

NOTE: when I make an AS3 project(targeting flash player) everything works fine! and I don’t receive an ERROR!

I hope somebody can help me. I even considered to remake the 3D models!

[closed] Dispose vertex animation,2017:forum/viewthread/.6263 2017-11-28T11:24:09Z 2017-11-28T14:03:57Z yomyom Hello !

I would like to dispose a vertex animation. When i take a look to the function dispose() of the vertexclipnode or vertexanimationset, I find an empty function.

only the frames have something in it, and there is something I dont understand :

public function dispose():void
var numSubGeoms:uint _subGeometries.length;
   for (var 
i:uint 0numSubGeoms; ++i{
var subGeom:ISubGeometry _subGeometries[0];

It disposes only the first subgeom. Is it an error? How to dispose properly the animationset and all the animations inside? frame by frame and then just by setting the animationset and the nodes as “null”?

thank you.


modifying global axes orientation,2017:forum/viewthread/.6261 2017-10-29T13:41:09Z 2017-10-30T15:52:20Z klinek3 Is it possible to change the orientation of global axes in away3D? (like in the attached jpeg)

It’s different from the orientation in most of 3d softwares (like 3ds max) - sometimes it’s little confusing when you build your scene inside desktop 3d software and try to transfer it into away3D.

GameTools Examples Away3D Version?,2017:forum/viewthread/.6260 2017-10-07T13:58:49Z 0 Raster Hi, I was wondering what specific version of Away3D and AwayPhysics that was used in this old github game tools example:


How to apply a texture inside a CylinderGeometry,2017:forum/viewthread/.6259 2017-09-07T07:48:31Z 0 dakota I am using the following code to apply a texture on a CylinderGeometry

_plane = new Mesh(new CylinderGeometry(10010020064,,falsefalse), new TextureMaterial(Cast.bitmapTexture(FloorDiffuse)));

This code is applying the texture on the outside of the cylinder. Is there any way I can apply the texture to the inside surface of the CylinderGeometry?

How can we extract the animation of a web game Unity 3d .AWD,2017:forum/viewthread/.6249 2017-06-20T16:05:51Z 0 vietnamese I live in Vietnam, Currently I have a problem is a file v_file.awd contains the animation of a web game that I play, I do not know how to unpack it or open with what software. I hope you can help me to extract this file and exploit the resources from them (I mod Counter-Strike game) (I at the link:[1].awd) I need to be able to covert out .obj ... Looking forward to helping me. Thank you

How to render two mesh in different projections simultaneously at the same time?,2017:forum/viewthread/.6248 2017-06-17T01:38:35Z 0 Vacuum bulb slave Question

How to render a plane in orthogonal, and a figure in a perspective projection?,2017:forum/viewthread/.6247 2017-06-16T07:35:17Z 0 Vacuum bulb slave How to render a plane in orthogonal, and a figure in a perspective projection?

This code not work.


//   OpenFL   
import openfl.display.*;
import openfl.geom.Point;
import openfl.geom.Rectangle;
import openfl.text.TextField;
import openfl.text.TextFieldAutoSize;
import openfl.text.TextFormat;
import openfl.text.TextFormatAlign;
import openfl.Assets;
import openfl.Lib;
import openfl.geom.Vector3D;
//   Away3D   
import away3d.containers.*;
import away3d.entities.*;
import away3d.materials.*;
import away3d.primitives.*;
import away3d.utils.*;
import away3d.debug.AwayFPS;
import away3d.cameras.lenses.LensBase;       
import away3d.cameras.lenses.OrthographicLens
import away3d.cameras.lenses.PerspectiveLens

Main extends Sprite {
private var _view:View3D;
 private var 
 private var 
 private var 

 public function new() 
_view = new View3D();
addChild(_view); -500; Vector3D());
  // = new OrthographicLens(); 
_plane = new Mesh(new PlaneGeometry(10241024 ), 
_plane.= -220
_plane.rotationX = -30;
_plane2 = new Mesh(new PlaneGeometry(10241024), 
_plane2.= -220
_plane2.rotationX = -30;
  // = new PerspectiveLens(); 

_plane3 = new Mesh(new PlaneGeometry(512512), 
_plane3.= -220.01
_plane3.rotationX = -30;
_view.scene.addChild(_plane );
_view.scene.addChild(_plane2 );
_view.scene.addChild(_plane3 );
//setup the render loop

private function _onEnterFrame(e:Event):Void {
private function onResize(event:Event null):Void {
.width stage.stageWidth;
_view.height stage.stageHeight;
loadermd5test & class which extends EventDispatcher,2017:forum/viewthread/.6239 2017-06-01T03:04:07Z 0 mkfui in away3d broomstick example, loadermd5test, if there are several animated mesh(several class which extends EventDispatcher), it didn’t work, why ? this message appear:

Error: Error #2032: Stream Error. URL: app:/players/pg3/model.png
at away3d.loaders::AssetLoader/onRetrievalFailed()
at away3d.loaders.misc::SingleFileLoader/handleUrlLoaderError()

because of the MonsterEvent ? i am using loader instead of assetlibrary for different class which extends EventDispatcher
can anyone help me solve this problem? any differences in coding by using different version of away3d? if yes, how ? now i am embedded all my enemies into the main file separate it with different loader
please demonstrate it