Works ► AS3 ► My Projects ► Adobe Flash 02.Nov 7:16 pm by wissar


Flash 3D mini game, a small game which is so stunning.
Not to over rated, but this game can ensure developers that flash 3d game is works.
readmore »
Share on Facebook
AS3 ► Adobe Flash 24.Oct 1:40 am by wissar
Generally, collada model’s material in papaervision3d displays only one-sized whether you set it double-sized in maya or not.
Let’s modify Collada.as to display double-sized data from maya.
Open the file
org/papervision3d/object/Collada.as
//private function parseGeometry @ latest line
buildObject( semantics, instance, matrix ,(geometry.extra.technique.double_sided==1));
//private function buildObject @ first line
private funcction buildObject( semantics:Object, instance:DisplayObject3D, matrix:Matrix3D=null ,doubleSized:Boolean=false):void
/* private function buildObject, find the following line
var face:Face3D = new Face3D( faceList, _materials.getMaterialByName(materialName), uvList );
before this line add the script */
_materials.getMaterialByName(materialName).oneSide = !doubleSized;
In maya, the default of objects are displayed as double-sized. When you export them while double-sized is set, it’d be display an un-want effect in complicated object.
So, you should remove the double-sized setting when export them and I recommended you to use double-sized setting for the plane object only.
Share on Facebook
Labs ► AS3 ► AS2 ► Adobe Flash 19.Oct 12:24 am by wissar

Script to display currently framerate of flash movie for flash-developer.
AS2 version featured:
Display graph of framerate in the period of time. This graph is usually be the green but when the framerate is drop it will change the color to yellow and red.
TE (Time Elapsed) Use for examination the speed in millisecond of each single frame.
Enlarge mode and Compact mode
Changing its position, top-left and top-right
FPS isn’t reset, this helps you to test the looping movie.
AS3 version include a featured:
Display memory usage and its graph.
readmore »
Share on Facebook
AIR ► Labs ► AS3 ► Adobe Flash 18.Oct 11:38 pm by wissar

Because of possibility to create 3d games in flash with Papervision3d is not so far. This would be the time that a web/game-developper like me must start to do this. Back to the last month, I started to developed games and application in AS3 and leaved the old friend AS2 behind. I found some problems with depth manager of papervision which is needed to modify a little as well as its performance is quite limited. May be, I need to learn more about it, by the way, I was completely started with AS3.
Due to my current work, figure 3D models from Maya to use in flash game has some problems; size, face, rotation, texture etc..
I created a program from flash to test/view these models as well as include a little tuning with their size, rotation at the same environment of the game before placing them.
This program only* supports the file type *.dae collada with triangular faces.
And the program is BETA, I am waiting to the complete of AS3 AIR-Application to fix the browse and save method in this program. Now, you can type the absolute path to test your dae model and only browse them in the same directory. version 1.0 is completed.
Test the application here:
http://www.lifeztream.com/work/daeviewer/

DAE Viewer 1.0 is finished
Usage:
Double click a file which has the *.dae extension, the program will be opend.
This program support drag-drop to open a file or you can browse it directly from the program.
Installation:
First, downlaod AIR application runtime from Adobe at the link below:
http://labs.adobe.com/downloads/air.html
and here is DAEVIEWER 1.0
DaeViewer1.0 (2015)
Source code for flash developers, including AS3 with AIR Application scripting:
DaeViewer1.0 source as3 with air application (1043)
please come back to leave a comment for this program to enhance it in the next version 
Share on Facebook
Recent Comments