Flash actionscript 3.0

Isometric depth Swaping in AS3.0

0

Posted by Sankar.G | Posted in | Posted on 9:49 PM

In AS3.0 always we facing the problem in depth swaping if it is in isometric view it take so troubles ,so below file is used to you to do isometric depth swaping easily

isoDepth.zip

depth.swf

Custom Event Dispatcher in AS3.0

0

Posted by Sankar.G | Posted in | Posted on 8:39 PM

The EventDispatcher class is the base class for all classes that dispatch events. The EventDispatcher class implements the IEventDispatcher interface and is the base class for the DisplayObject class. The EventDispatcher class allows any object on the display list to be an event target and as such, to use the methods of the IEventDispatcher interface.

We Can create a Custom Event Dispatcher in as3.0
we can send the Object,string through Event Dispatcher Class...


Below Link is Used to you to get the Example of the Custom Dispatcher in as3.0...

Custom_Dispatcher.zip

A Star path finding Algorthim in Actionscript3.0

6

Posted by Sankar.G | Posted in | Posted on 12:14 PM

A star is a Computer Algorithm that is widley used in path finding
the process of plotting an eficiently traversable path between
points called nodes A* is a very general and flexible graph traversal algorithm noted for its performance and accuracy.
As such,it is the most widely used graph traversal algorithm
A* is uses best-first search and finds the least-cost path from
a given initial node to one goal node

we are going to use this A* in our actionscript3.0
Note:
1) Click ok the grid you will place a green box
2) second click you place a Blue Box in the Grid
3) And After the Third Click you will place a black
boxes in the Grid ....

First Green box is the Orgin and second Blue box is the
desitination and black boxes are the Hurdles....
after place this press spacebar in the keyboard ....

Orgin Box will move to the desination box in the correct Path...

Below Link is used to get the a star path finding algorithm in AS3.0

pathfinding.zip

Add a External SWF library item using AS3.0

2

Posted by Sankar.G | Posted in | Posted on 11:47 PM

if we want to add a External SWF Libraries item to another SWF file using AS3.0.
we want to create a loader and URLRequest and load the external SWF file
and put addEventListener for loader.contentLoaderInfo with Event.COMPLETE

create a class and catch the event.target.content.loaderInfo.applicationDomain.getDefinition("box")as Class
box=external SWF library item linkage name & convert it in to object like below

var clsObj:Object=new cls();
cls=class name

Below link is used to add a items from external swf library

Externallibrary.zip

Adobe Stratus

0

Posted by Sankar.G | Posted in | Posted on 11:16 PM

Adobe Stratus enables peer assisted networking
using (RTMFP) Real Time Media Flow Protocol using this protocol
we can communicate the another SWF with out any server
using (RTMFP) the communication establish between client to client
with out any main server

Most Important features in stratus is
1)Low latency
2)end-to-end peering capability
3)security and scalability

But this RTMFP Protocol works only in flash player 10 or greater

More Information