Featured
-
No Featured Found!
Tags
How to convert .AIR file to .EXE?
Hi Developers,
How to convert .AIR to .EXE?, How to silently install the .AIR file on windows desktop when the system does not have pre-install Adobe AIR?, it's a basic problem faced by every flash developers when working on windows deskto...
TimelineLite in AS3
In starling we can easily used greensock library. Sometime we need to add two property at the same time on different objects, By using TimelineLite we can do this. here is the code which represents the following.
var timeline:TimelineLite = ...
Touch issue while drag or move object
If we move objects with touch.moved event then how can we differentiate the touch.begin and touch.moved event.
This problem generate when we touch down on object and move it , now the correct flow should be that if touch.moved occur then objec...
How to make a textfield multiline?
We have textfield of 150px and we have a string that is too long to fit into this 150px container, How can we make a textfield multiline if needed?
For this:-
There is property of textfield 'TextFieldAutoSize'.
var tf:TextField = new Te...
Types of Errors in ActionScript
The error is any mistake that we make while writing a program which hampers the proper functioning of the program. While creating and running any application we encounter different types of errors. An error produces undesired output or other beh...
Managing Date and Time in ActionScript
Managing Date and Time in ActionScript is done using the DATE class. The Date class in actionscript provides you the information of date as well as the time. The Date function has a great importance in actionscript. For example if we want to calc...
Working with 3D in ActionScript
WORKING WITH 3 DIMENSION
The 3D is a new feature of ActionScript. 3D basically stands for Three Dimensinal space. The major difference that comes between Two Dimension and Three Dimension is the addition of an extra dimension. With 2D we used to...
Cloning of array in ActionScript3
For the cloning of array in ActionScript there are no built in methods. Thus the cloning is done basically using two methods namely clone( ) or slice( ). For the shallow copy of the array these methods are used without any arguments. If in the or...
Concept of Functions in ActionScript3
Functions are very useful part of ActionScript3 as they save the time, reduce the code and also increases the re-usability of the code. Function is that block or piece of code which can be used reused at any point in the code. They save the time ...
Debugging in AS3
AS3 OVERVIEW
Action Script is a Object Oriented programming language which is used for developing the websites and software which uses Adobe Flash Platform as their medium. For the Flash designer or the animator this language has a great scope...
Flashing Effect on an Object
Now you can give your object(image, button etc.) a flashing or glowing effect. We can either play with the size by making shrink and grow effect of an object.
Greensock library helps us in various aspect to make the object animation. Their are ...
Make a Loading Screen
In app development their are many steps where we have to hang on for a while, like we are waiting for the server response, or the loading of assets or any other function to complete. Sometime to manage these such task we need a loading screen, wh...
Exception Hnadling
Exception handling in java is a way to catch error or exception
Exception is an event that can occur during the execution of the program.
We use try catch and final to catch error.
When an error occur in a method it creates an object of ...
Cumulus RTMFP
Cumulus RTMFP: CumulusServer is a open source and cross-platform RTMFP server. It is speed, light weight, cross-platform, scalable and elegant code.
You can install Cumulus and used for live streaming.
There is some pre dependency to inst...
Load And Parse XML in Action script
It is very easy to load and parse XML in Action Script 3.0
Suppose we have xml like this -
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <images>
<image>
<url>"first.jpg"</url>
</image>
&l...
How to play,pause and stop sound using as3.
To play,stop and pause sound using as3 we have to use following:
flash.media.Sound : Sound class is used to handle the loading and playing a sound.
flash.media.SoundChannel: SoundChannel object is used to handle the playback like play,pause
...
Drag and Drop movieclip using as3.
To drag and drop a movie clip we use two function:
1.startDrag()
2.stopDrag().
startDrag(): is used to drag a specified movieClip. MovieClip remain draggage until explicitly
stopped by making call to stopDrag().one movieclip is dragged at...
Internet Explorer(IE) Caching Flash SWF Problem
Sometimes we need to rapidly hit the same API . Like ,"http://myAPI.php?param=123456"
There is a caching problem in IE. Swf hits URL first time and store in to the cache and shows the same result in each response. So to resolved the issue we jus...
Terrain in Away3D (Part 1)
Terrain in Away3D (Part 1)
User are always curious with the heights of Hills, Mountains and Depth of river and wells in the game.
He always thinks how these things are done.
By this blog you will have a fair idea about Height Maps, Alpha Map...
Call JavaScript Function From Action Script 3
Some time we need communication between ActionScript and the SWF container for example, an HTML page with JavaScript . So Adobe Doc has a class ExternalInterface , which solves this problem.
First import :
import flash.external.External...
Loading an external SWF file and Instantiate Class From a swf in flex using as3
SWF files are loaded using the Loader class:
1.Create a new URLRequest object with the url of the file.
2.Create a new Loader object.
3.Call the Loader object's load() method, passing the URLRequest instance as a parameter.
4.Call the addChil...