As3 (Flash CS4) Actionscript array/mc display order
Hi there,
Im trying to amend this actionsscript so the rollover part appears above the image gallery. Ive tried everything i can think of and the rollover appears below the images.
If anyone can help I would be eternally grateful!
Here is the actionscript...
import fl.transitions.Tween;
import fl.transitions.easing.*;
var filename_list = new Array();
var url_list = new Array();
var url_target_list:Array = new Array();
var title_list = new Array();
var description_list = new Array();
var i:Number;
var tn:Number = 0;
var no_of_column:Number = 8;
var no_of_row:Number = 4; // number of rows showing at a time
var no_of_extra_row:Number;
var scale_factor:Number = 0.8;
var tween_duration:Number = 0.6;
var new_row:Number = 0;
var total:Number;
var flashmo_xml:XML = new XML();
var folder:String = "thumbnails/";
var xml_loader:URLLoader = new URLLoader();
xml_loader.load(new URLRequest("azwebgallery.xml"));
xml_loader.addEventListener(Event.COMPLETE, create_thumbnail);
var thumbnail_group:MovieClip = new MovieClip();
stage.addChild(thumbnail_group);
thumbnail_group.x = tn_group.x + 20;
var default_y:Number = thumbnail_group.y = tn_group.y + 60;
thumbnail_group.mask = tn_group_mask;
tn_group.visible = false;
fm_previous.visible = false;
fm_next.visible = false;
tn_title.text = "";
tn_desc.text = "";
tn_url.text = "";
function create_thumbnail(e:Event):void
flashmo_xml = XML(e.target.data);
total = flashmo_xml.thumbnail.length();
no_of_extra_row = Math.floor(total / no_of_column) - no_of_row;
for( i = 0; i < total; i++ )
filename_list.push( flashmo_xml.thumbnail[i][email protected]() );
url_list.push( flashmo_xml.thumbnail[i][email protected]() );
url_target_list.push( flashmo_xml.thumbnail[i][email protected]() );
title_list.push( flashmo_xml.thumbnail[i][email protected]() );
description_list.push( flashmo_xml.thumbnail[i][email protected]() );
load_tn();
function load_tn():void
var pic_request:URLRequest = new URLRequest( folder + filename_list[tn] );
var pic_loader:Loader = new Loader();
pic_loader.load(pic_request);
pic_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, on_loaded);
tn++;
function on_loaded(e:Event):void
if( tn < total )
load_tn();
else
fm_previous.visible = true;
fm_next.visible = true;
fm_previous.addEventListener( MouseEvent.CLICK, to_previous );
fm_next.addEventListener( MouseEvent.CLICK, to_next );
stage.addEventListener(MouseEvent.MOUSE_WHEEL, on_wheel );
var flashmo_bm:Bitmap = new Bitmap();
var flashmo_mc:MovieClip = new MovieClip();
flashmo_bm = Bitmap(e.target.content);
flashmo_bm.x = - flashmo_bm.width * 0.5;
flashmo_bm.y = - flashmo_bm.height * 0.5;
flashmo_bm.smoothing = true;
var bg_width = flashmo_bm.width + 10;
var bg_height = flashmo_bm.height + 10;
flashmo_mc.addChild(flashmo_bm);
flashmo_mc.graphics.beginFill(0xFFFFFF);
flashmo_mc.graphics.drawRect( - bg_width * 0.5, - bg_height * 0.5, bg_width, bg_height );
flashmo_mc.graphics.endFill();
flashmo_mc.name = "flashmo_" + thumbnail_group.numChildren;
flashmo_mc.buttonMode = true;
flashmo_mc.addEventListener( MouseEvent.MOUSE_OVER, tn_over );
flashmo_mc.addEventListener( MouseEvent.MOUSE_OUT, tn_out );
flashmo_mc.addEventListener( MouseEvent.CLICK, tn_click );
flashmo_mc.scaleX = flashmo_mc.scaleY = scale_factor;
flashmo_mc.x = thumbnail_group.numChildren % no_of_column
* ( bg_width + 2 ) * scale_factor;
flashmo_mc.y = Math.floor( thumbnail_group.numChildren / no_of_column )
* ( bg_height + 2 ) * scale_factor;
thumbnail_group.addChild(flashmo_mc);
function tn_over(e:MouseEvent):void
var mc:MovieClip = MovieClip(e.target);
var s_no:Number = parseInt(mc.name.slice(8,10));
thumbnail_group.addChild(mc);
new Tween(mc, "scaleX", Elastic.easeOut, mc.scaleX, 1, tween_duration, true);
new Tween(mc, "scaleY", Elastic.easeOut, mc.scaleY, 1, tween_duration, true);
tn_title.text = title_list[s_no];
tn_desc.text = description_list[s_no];
tn_url.text = url_list[s_no];
function tn_out(e:MouseEvent):void
var mc:MovieClip = MovieClip(e.target);
new Tween(mc, "scaleX", Strong.easeOut, mc.scaleX, scale_factor, tween_duration, true);
new Tween(mc, "scaleY", Strong.easeOut, mc.scaleY, scale_factor, tween_duration, true);
tn_title.text = "";
tn_desc.text = "";
tn_url.text = "";
function tn_click(e:MouseEvent):void
var mc:MovieClip = MovieClip(e.target);
var s_no:Number = parseInt(mc.name.slice(8,10));
navigateToURL(new URLRequest(url_list[s_no]), url_target_list[s_no]);
function to_previous(e:MouseEvent):void
if( new_row < 0 )
new_row++;
new Tween( thumbnail_group, "y", Strong.easeOut, thumbnail_group.y, default_y + new_row * 100, tween_duration, true );
function to_next(e:MouseEvent):void
if( Math.abs(new_row) < no_of_extra_row )
new_row--;
new Tween( thumbnail_group, "y", Strong.easeOut, thumbnail_group.y, default_y + new_row * 100, tween_duration, true );
function on_wheel(e:MouseEvent):void
if( e.delta > 0 )
new_row++;
else
new_row--;
if( new_row >= 0 )
new_row = 0;
else if( new_row < - no_of_extra_row )
new_row = - no_of_extra_row;
new Tween( thumbnail_group, "y", Strong.easeOut, thumbnail_group.y, default_y + new_row * 100, tween_duration, true );
Anyone got any odeas on how I can get this to work?
Looking at the code this part is the part which i need to appear on top of everything else.
function tn_over(e:MouseEvent):void
var mc:MovieClip = MovieClip(e.target);
var s_no:Number = parseInt(mc.name.slice(8,10));
thumbnail_group.addChild(mc);
new Tween(mc, "scaleX", Elastic.easeOut, mc.scaleX, 1, tween_duration, true);
new Tween(mc, "scaleY", Elastic.easeOut, mc.scaleY, 1, tween_duration, true);
tn_title.text = title_list[s_no];
tn_desc.text = description_list[s_no];
tn_url.text = url_list[s_no];
Similar Messages
-
Java Applet in Flash CS4 (ActionScript 3.0)
Hi Guys,
I wonder if anyone can help me as I am a little confused.
Is it possible to insert a Java Applet into Flash CS4 (ActionScript 3.0)
Any advice is much appreciated
ThanksI wouldn't swear to it, but I don't think you can "import" and run an applet internally in flash, but you can call it as an external file from flash and display/run it in an html container for example.
Just as flash (swf) is run through FlashPlayer as the runtime environment, Applets use the Java Console as its runtime environment. -
Java Applets in Flash CS4 (ActionScript 3.0)
Hi Guys,
I wonder if anyone can help me as I am a little confused.
Is it possible to insert a Java Applet into Flash CS4 (ActionScript 3.0)
Any advice is much appreciated
ThanksPerhaps one can do it using AIR but not Flash IDE (CS4) or ActionScript.
-
Display results of MySQL query from AMFPHP by ArrayCollection in AS3 (Flash CS4)
Hi, i am using Flash CS4 (AS3) + AMFPHP + MySQL to do own flash frontend for Wordpress CMS. Everything is going fine but i`ve got one problem. Problem with properly display of result of query in AS3 by using ArrayCollection.
When i check my service in "amfphp/browser/" in web browser i`ve got this (with all needed data):
(mx.collections::ArrayCollection)#0
filterFunction = (null)
length = 2
list = (mx.collections::ArrayList)#1
length = 2 source = (Array)#2
That is the reason that i suppose that service work fine. Problem is when i try to display result in AS3. In actionscript i have got this:
function getNewsListHandler(result:Object):void{
trace(result);
This function displays: [object Object].
I know that "result" is an ArrayCollection type but i don`t know how to get rows and columns from this. I know that my data is there but i have no idea how to get it.
Clarify: I don`t know how to get to Arrays and simple data variables which are in ArrayCollection.
Could anyone help me with that problem. I would be gratefull
P.S. I tried also change query type in service.PHP for mysql_fetch_query but in that case i`ve got only one row (not all data).Thanks for fast reply,
arr_coll:ArrayCollection = new ArrayCollection ({col1:"data1",col2:"data2"}, {col1:"data3",col2:"data4"});
you would get the data like
var resultstr:String = arr_coll[1][1].col2;
trace(resultstr);
//results in data4
could you explain me how it was happen (arr_coll[1][1].col2)? It`s not clear to me. I thought in this case rather something like this :
var resultstr:String = arr_coll[1]['col2'];
It should give me "data4". I know it wasn`t but i don`t understand ArrayCollection in level which is needed to use your advice in my case. Could you clarify "arr_coll[1][1].col2" a bit?
What would it look like when you would have something like this:
arr_coll:ArrayCollection = new ArrayCollection ({col1:"data1",col2:"data2"}, {col1:"data3",col2:"data4"},{col1:"data5",col2:"data6"},{col1:"data7",col2:"data8"});
and you would want know f.e. position in ArrayCollection of "data6". How would you code this? arr_coll[1][2].col2? -
Need help displaying images with List component for Flash CS4 (ActionScript 3.0)
Hi folks:
I am an inexperienced user of Flash CS4 Pro (v10.0.2). I am attempting to use the List component with ActionScript 3.0 to make a different image display when a user clicks each item in a list.
I did find a tutorial that showed me how to make different text display using a dynamic text box and the following ActionScript:
MyList.addEventListener(Event.CHANGE, ShowSelectedItem);
function ShowSelectedItem(event:Event):void {
ListText.text=MyList.selectedItem.data;
...where My List is the instance of the List component and ListText is the dynamix text box. In this case, the user clicks an item in the list, defined by the label value in the dataProvider parameter of the List component, and text displays as defined in the data value in the dataProvider parameter.
However, as I mentioned to start, what I really want to do is make images display instead of text. Can anyone provide me the steps to do this?
I appreciate your help (in advance)!!
CindyHi...thanks for responding! I was planning on using images from the Library, but if there is a better way to do it, I'm open. So far, I just have text in the data property. This is part of my problem. I don't know what I need to put in the data value for an image to display. Do I just put the image file name and Flash will know to pull it from the Library? Do I need to place the images on the stage on different frames? I apologize for the "stupid user" questions, but as you can tell, I'm a newbie.
Appreciate your patience and any help you can offer!
Cindy -
Flash cs4 Actionscript 2 support
Hello,
Can someone please tell me if Flash CS4 supports Actionscript 2?
Many thanks, DamienYes, you can edit or create files in any version of Actionscript with CS4
-
Flash CS4 and ActionScript 2.0
Hello
Was wondering if you could recommend the publish and save
settings in Flash CS4 when working with ActionScript 2.0.
What are my publish settings?
Flash Player 8 or 9?
Script: ActionScript 2.0
Should I be saving the project as CS4 or CS3?
- I no longer have the ability to save the file as Flash 8 in
CS4.
- It looks like I lose my XML files when I save as CS3
Are there any other settings that need to be changed?
Thanks in advance
Mtroika22,
> Was wondering if you could recommend the publish and
save
> settings in Flash CS4 when working with ActionScript
2.0.
Ultimately, it depends on what version of Flash Player
you're aiming
for.
> What are my publish settings?
> Flash Player 8 or 9?
> Script: ActionScript 2.0
There are numerous reasons you might decide to code a
project in AS2.
You might, for example, not yet have "taken the plunge" to
AS3, so you may
not be comfortable with it yet. Your project requirements
might dictate
that you support as low as Flash Player 6 (may ad agencies
have such
requirements). You might be updating an existing project,
already built in
AS2.
In any of these cases, your publish settings will be
determined by the
version of Flash Player you're targetting. Flash Player 8 was
the first to
support blend modes and filter effects (drop shadow, etc.),
so in order to
support that, you would have to publish to Flash Player 8. If
you don't
need those, and if your code itself doesn't rely on features
that require
Flash Player 7, you may as well publish to Flash Player 6 and
reach the
greatest number of potential viewers. (The farther back you
go, the more
likely your viewer will have Flash Player installed, because
not everyone
decides to upgrade. That said, most people seem to upgrade.)
> Should I be saving the project as CS4 or CS3?
If you're working with a team and some of those people use
Flash CS3,
you'll have to save it as CS3 any time you want to share the
file;
otherwise, save it as CS4. The FLA settings are independent
from the SWF
publish settings.
> - I no longer have the ability to save the file as Flash
8 in CS4.
Correct. Each edition of the IDE only save to the previous
edition, as
far as source files go. But each edition of the IDE is
capable of
*publishing* as far back as you like.
> - It looks like I lose my XML files when I save as CS3
Which XML files are those?
David Stiller
Co-author, Foundation Flash CS4 for Designers
http://tinyurl.com/dpsFoundationFlashCS4
"Luck is the residue of good design." -
Flash CS4 plug in for swf array?
Hey everyone. Does anyone know if there's a free Flash CS4 plug in that creates a swf array that loads external swfs in order and can control the timeline without having to mess with Actionscript? I'm not even sure what to put in Google to search for such a plug in.
Right now, I have an array like that. I got the code from some very helpful people on here. I still don't understand the majority of the code, though, so I was wondering if a plug in could do the same job that Actionscript does. I have the code for my Flash file in another discussion thread, and I'm trying to get my file to stop looping the swfs when it reaches the end of the array. If anyone's curious about seeing the code I'm talking about or if they know how to solve the loop problem, here is the link to that thread:
http://forums.adobe.com/message/3417613#3417613use:
var listener:Object = new Object();
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.addListener(listener);
// When the swf loads, set it up to constantly check its current frame
// against the total frames, and if those match, the swf is done playing.
// If that's the case, then load the next one.
listener.onLoadInit = function(targ:MovieClip):Void {
targ.onEnterFrame = function():Void {
if (this._currentframe == this._totalframes) {
loadNext();
delete this.onEnterFrame;
//Previous and Next Swf Buttons
function loadNext():Void {
if (currentSwf <swfs.length-1){
currentSwf++;
loadSWF(currentSwf);
function loadSWF(nextSWFToLoad){
mcl.loadClip(swfs[nextSWFToLoad],theTargetClip_mc);
loadSWF(currentSwf);
function loadPrevious():Void{
currentSwf--;
if(currentSwf==-1) currentSwf = swfs.length-1;
loadSWF(currentSwf);
previous_btn.onRelease = loadPrevious;
next_btn.onRelease = loadNext;
//End Previous and Next Swf Buttons
//Play Button
play_btn.onRelease = function() {
theTargetClip_mc.play();
//Pause Button
pause_btn.onRelease = function() {
theTargetClip_mc.stop(); -
How to Display an Alert or Dialog Box in Flash CS4?
I would like to have a quick message displayed on the screen for a few seconds after a user clicks a button. I can't seem to find an Alert Box or Dialog Box option in Flash CS4...can anyone help?
Thanks.
Daveas2 has the window component. and for both as3 and as2 it's pretty simple to create your own movieclip to use as an alert window.
-
Flash CS4 loader class content not displaying in browser
Hello,
I'm very new at Dreamweaver and actionscript so any help would be greatly appreciated!
I'm on a PC and created a simple gallery in flash cs4 to load images on a button click. The images are being loaded with a loader class. When I test the gallery in flash the images load correctly. However, I inserted the .swf into Dreamweaver and when I uploaded the page onto the server, the buttons and the animation worked correctly, but none of the images were being displayed. I tested it in both Firefox and IE and it did not work in either browser.
I thought maybe the files were in the incorrect location, but everything is in the same file, including the .swf and the images. I'm also using TweenMax and all those files are also together with the .swf.
I also ensured that I had the latest version of the Flash player, but it still is not working.
Thank you!Thank you for the quick response! I am not actually using XML - I am loading the images from a folder. Here is my code:
function clicker(e:MouseEvent):void
var myMC:MovieClip = e.currentTarget as MovieClip;
switch(myMC.name){
case"_button1":
loader.load(new URLRequest("imgs/image01.jpg"));
break;
case"_button2":
loader.load(new URLRequest("imgs/image02.jpg"));
break;
//loader class
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,placeimage,false,0,true);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,errorhandler,false,0,true) ;
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,preload,false,0,true);
this.addChild(loader);
//handler for the loader
function errorhandler(e:IOErrorEvent):void
trace(e);
function preload(e:ProgressEvent):void
trace(e.bytesLoaded);
The imgs folder is in the same folder as my .swf and has been uploaded. Could there be something wrong with the links? -
How do I add flash cs4 game with AS3 to flash cs4 website??
I have created a game in flash with ActionScript 3 and now want to add it to a website I have created with pages seperated into keyframes. Ideally, I am trying to have the game start when a link on the home page is selected. I would also like the users to be able to download the game themselves??? Any ideas for a flash novice??
Thank you so much!!! I just added it with a UI Loader Component! Worked really well... although it looks like doing that picked up an issue with some of my code? It's now looping over and over again and the counter within my game (for giving players their score - highlighted in red), is not working?If you are a AS3 guru any help would be greatly appreciated, otherwise thank you so much for your earlier tips
package
import flash.display.MovieClip;
import flash.events.*;
import flash.utils.Timer;
import flash.text.*;
public dynamic class Gift extends MovieClip
private var dx:Number = Math.random() * 10; // make gift scurry
private var dy:Number = Math.random() * 10;
public function Gift ()
this.gotoAndStop(Math.ceil(Math.random() * 4));
this.addEventListener(Event.ENTER_FRAME, scurry);
stage.addEventListener(MouseEvent.MOUSE_DOWN, kill);
public function scurry (e:Event)
if (this.x < 0 || this.x > 550)
this.dx *= -1;
if (this.y < 0 || this.y > 576)
this.dy *= -1;
this.x += this.dx; // make gift scurry
this.y += this.dy;
public function die()
this.removeEventListener(Event.ENTER_FRAME, scurry);
parent.removeChild(this);
private function kill (e:MouseEvent):void
if(e.target is Gift)
e.target.die();
score += 10;
scoreText.text = score.toString(); -
Calling a variable from inside a movieclip AS3 in Flash CS4
I am trying to trace a variable string from inside a movieclip which is inside another movieclip on the main timeline using:
trace(VariableString);
and also
trace(stage.VariableString);
Neither work
The variable is an input textfield and traces fine when it is on the main timeline but will not work from inside the movieclip. I am using Actionscript 3 in Flash CS4.
I appreciate this has probably been discussed previously on this forum but I cannot find a difinitve answer that seems to work.
ThanksThanks for the reply. However this did not seem to work.
I think I had better explain a little better.
On Keyfrme1 I have a MovieClip1 containing a text input component. I have created a variable on keyframe 1 using:
var VariableString1:String = new String();
When clicking on a seperate button this happens:
VariableString1 = MovieClip1.text;
I can trace this correctly on the main timeline using:
trace(VariableString1);
However, if I try to trace this from another keyframe inside a movieclip2 which is inside another movieclip3 using:
trace(MovieClip1(root).VariableString1);
I just get the error 1180 call to a possibly undefined method MovieClip1
Sorry if this is not very clear but I am getting very confused with this.
Thanks again -
How can I use LCCS with ActionScript 3 and Flash CS4?
Hi,
Using Stratus I was able to create an an application using Action Script 3 and Flash CS4. The sample code on the Adobe site was quite straight forward and easy to understand. I now want to switch over to LCCS but can't find anything any where on how to use Action Script 3 and Flash CS4 with LCCS. Do I need to know Flex to be able to use LCCS? Everything was quite simple and easy to understand with Stratus and makes complete sense. But LCCS is really confusing. Is there any sample code on how to establish a connection in Action Script 3 and then stream from a webcam to a client. There is nothing in the LCCS SDK that covers Flash and Action Script 3. Please help! I found the link below on some forum but it takes me nowhere.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=75 9&threadid=1407833&enterthread=yThanks Arun!
Date: Thu, 29 Apr 2010 11:44:10 -0600
From: [email protected]
To: [email protected]
Subject: How can I use LCCS with ActionScript 3 and Flash CS4?
Hi,
Welcome to the LCCS world.
Please refer to the SDK's sampleApps folder. There would be an app called FlashUserList. The app demonstrates how LCCS can be used with Flash CS4. Its a pretty basic app, but should help you moving.
We are trying to improve our efforts to help developers in understanding our samples. Please do let us know if we can add something that would help others.
Thanks
Arun
> -
(Help) Using Input text in Flash CS4 AS3
I am trying to take a user's input (His Name) and then greet the user on the next frame using the name he previously entered. I googled for 2days and was unable to find a way to do this on flash CS4 AS3, i guess because im very new to flash (only 2-3weeks )
Any help would be greatly appreciated, and i am sorry if this was already answered in the forums.
thanks for reading.If your interested... here's some general "rules of the road" that are basically courtesies...
Don't post the same question in different forums (crossposting). Folks that help don't like that because they can waste their time providing the same response someone else already offered elsewhere, or their helpful info gets no attention because the OP (original poster) got wrapped up in the discussion elsewhere and never went back to the other forums. I saw one time where the OP suffered from doing this... the first person to respond in one forum said what they wanted couldn't be done, while my response in another forum showed them how to do it... but they accepted that it couldn't be done and never returned.
Don't post in someone else's posting unless the exact same situation applies to you and it is a current posting. It is a bit rude to step into someone else's posting just to get attention, which some people do... some with totally unrelated problems. Or if your problem is even slightly different, it can end up confusing matters for all involved... trying to juggle helping two people where different solutions are needed.
If you get one problem resolved and have another you want help with that does not involve the first, start a new posting. People search these forums so it helps to have topics match the postings, which will not apply if mutliple topics get resolved under one title. I recently saw one person tell someone to start a new posting even though they were following up to clarify something of the solution they received... that's wrong and is more likely someone with a case of points greed... as useless as points are, it happens. -
How can I NOT let collision happen in Flash CS4(AS3)?
I have been playing with collisions for quite a while, but cannot seem to get it just the way i want it to be.
I made a new rectangle into a Movie Clip, with an instance name : "block_mc"
I made a sphere into a Movie Clip, with an instance name : "ball_mc"
I made the sphere(ball_mc) movable with the arrow keys.(see post:http://forums.adobe.com/thread/491457?tstart=0 )
Now I wanted to try and make the sphere(ball_mc) stop moving so it wont hit the rectangle(block_mc), so that the rectangle(block_mc) would act like a solid object.
Meaning the sphere(ball_mc) would not be able to touch the rectangle(block_mc). It would act like a wall.
Now my problem is I don't know if there is a way of not letting objects collide?
I tried the ".hitTestObject()" but that did not work for me.
~ Thanks for Help and Advice~I apologize, for this confusing long question, I simply ment to ask:
Is there a way Flash CS4(AS3.0) will not let Objects on stage collide?
~Thank you for any Tips, Advice and Help~
Maybe you are looking for
-
Adobe AIR installation questions
Hi all, I'm looking into the possibility of distributing an application with Adobe AIR and I've a few questions about the Adobe AIR installation process. Just to give you some background on the situation I'm in - if a user wants to use the service I'
-
Using fields related to another fields in PLD
HELLO EVERYBODY: I got the following issue: A customer needs the Storage location (In ther Warehouse) from the AR Invoice is made printer in its AR invoice (Due to a quick search in its Distribution Center for sales) Fot this theme we (me and my cust
-
Frequence Problems / Line in the Screen ThinkVisio L2440x
Hello, I have a monitor ThinkVison L2440x. Since some weeks I have lines at the bottom of the sceen which are looking like a frequence problem. What should I do to fix these problem? Thanks for support Ralf
-
Weird behavior exiting fullscreen from IE need help
I have been making a cylindrical panorama with flash and away3d. I set up a fullscreen button that allows user to enter fullscreen and exit it. This works great in firebox and opera, but when I exit fullscreen from Internet explorer the flash documen
-
Adobe AIR Event Dispatcher Problem
I have created an AIR application, I have removed an component and again i added the same component. That time the event dispatcher of the removed component is been called again and again.How to resolve this problem. Urgent Reply ASAP......