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......

The only idea that comes to mind is to keep the file on the dvd, then have your app install (copy) it on first launch.
Thanks for adding the bug.  For others affected by this, please visit the bug and add your vote.  All feedback is appreciated!
https://bugbase.adobe.com/index.cfm?event=bug&id=2938315
Chris

Similar Messages

  • Adobe Air package damaged -problem

    Hi!
    I packaged my Adobe Air HTML/JavaScript -application with Dreamweaver CS 5.5 AIr Extension. Packaging with homemade signature went without any problems, but installing the application doesn't work. I get the error #1000 during installation. I suspect that problem relates to same bug that has been discussed in this thread: http://forums.adobe.com/thread/778613#3405543 (internal bug number 1674848). I thought that the bug has been resolved, but the installation works if I remove large (420MB) sqllite-db-file from package. The package's compressed size is ~ 95MB.
    My developing enviroment:
    Windows 7 x64 (4GB RAM)
    Adobe Dreamweaver CS5.5
    Latest Adobe Air Extension for Dreamweaver
    Latest Adobe Air runtime  / SDK (2.7; I have also tried building from command line with same results)
    Is the bug still there or should I try something else?

    The only idea that comes to mind is to keep the file on the dvd, then have your app install (copy) it on first launch.
    Thanks for adding the bug.  For others affected by this, please visit the bug and add your vote.  All feedback is appreciated!
    https://bugbase.adobe.com/index.cfm?event=bug&id=2938315
    Chris

  • Adobe air on mac problem.

    Hello,
    I have an older version of adobe air. I downloaded from adobe.com a new one, but after install i get this message, look my print screen:
    I also tried to delete the old one but the folders are staying and the app folder in Utilities. Tell me how to download the new version and
    to delete the old one. If you know also the terminal code for that even better. 
    I

    Never mind. I have fix it by going to system preferences > energy saver > and switching automatic graphics off.

  • Cairngorm events dispatch problem

    Hi,
    We are developing a Flex 3 AIR application on Cairngorm and
    LCDS 2.6. The problem is some Cairngorm events don't get fired
    which results in null reference errors. But when we put an Alert is
    starts working. Can you suggest any solution and reason why its
    happening.
    Thanks,
    Oleg

    One thing that will cause events to appear not to fire is
    when you forget to instantiate your controller somewhere on your
    mxml file. The events will dispatch, but the command won't get
    executed.
    Another one - if you create custom events and override the
    constructor, you have to to call super(MyController.EVENT_TYPE) or
    else your event doesn't get bound to the command.

  • Adobe air iOS touch problem

    In my air projects I am using MouseEvents (MouseEvent.CLICK)  for touch functions.
    It is working well on Android devices but, it is not working on iOS devices properly.
    here are the videos for Android and iOS:
          android: http://youtu.be/ccWdsoqCY80
          ios    : http://youtu.be/5NERQbO7DJM

    Did this ever get resolved?  I have an app waiting to go to the app store right now but I can't release it until I get this figured out.  I'm noticing that the MouseEvent firing isn't consistent.  The ActionBar is the problem area for me.  My application is using RobotLegs and FB 4.6 (MXML based app)  but I don't think that has anything to do with my issue.
    Here are my trace statements from testing which actions get fired and if the action I am trying to take was successful or not.
    1 - Works
    mouseOver
    mouseDown
    focusIn
    buttonDown
    click
    mouseOut
    touchTap
    2 - Works
    mouseOver
    mouseDown
    focusIn
    buttonDown
    click
    mouseOut
    touchTap
    3 - Works
    mouseOver
    mouseDown
    focusIn
    buttonDown
    click
    mouseOut
    touchTap
    4 - nothing happening, no click or touchTap event
    mouseOver
    mouseDown
    focusIn
    buttonDown
    mouseOut
    5 - nothing happening, no click or touchTap event
    mouseOver
    mouseDown
    buttonDown
    mouseOut
    6 - nothing happening, no click or touchTap event
    mouseOver
    mouseDown
    buttonDown
    mouseOut
    7 - Working, repeated actionbar clicks
    mouseOver
    mouseDown
    buttonDown
    click
    mouseOut
    touchTap
    Partial code block:
    <s:navigationContent>
      <s:Button id="btnList" skinClass="spark.skins.mobile.BeveledActionButtonSkin" includeIn="map" width="40" height="40"
                                                        click="trace('click');dispatchEvent(event);"
                                                        touchTap="trace('touchTap')"
                                                        buttonDown="trace('buttonDown')"
                                                        focusIn="trace('focusIn')"
                                                        focusOut="trace('focusOut')"
                                                        mouseDown="trace('mouseDown')"
                                                        mouseOut="trace('mouseOut')"
                                                        mouseOver="trace('mouseOver')">
      <s:icon>
                                                      <fxg:iconList width="17" height="17" />
      </s:icon>
      </s:Button>
    </s:navigationContent>
    Any help or suggestion will be greatly appreciated!!!
    Also, the TouchEvent.TOUCH_TAP doesn't solve the issue we are having.
    Markus

  • Adobe Air HelloWord Application Problem

    I build a app by referring the devappshtml.pdf instructions.
    The problem is when i use command "adt helloworld-app.xml", the cmd prompt says
    app:/HelloWorld.html:5 HTML ERROR: Unmatched </head> encountered.  Ignoring tag.
    app:/HelloWorld.html:6 HTML ERROR: Extra <body> encountered.  Migrating attribut
    es back to the original <body> element and ignoring the tag.
    E:\Team\ALog\2011.03.18\HelloWorld>adl HelloWorld-app.xml
    app:/HelloWorld.html:5 HTML ERROR: Unmatched </head> encountered.  Ignoring tag.
    I am make sure there is nothing wrong with the html script. Is there something wrong with the "adt" debugger?

    The only idea that comes to mind is to keep the file on the dvd, then have your app install (copy) it on first launch.
    Thanks for adding the bug.  For others affected by this, please visit the bug and add your vote.  All feedback is appreciated!
    https://bugbase.adobe.com/index.cfm?event=bug&id=2938315
    Chris

  • Event Dispatch Problem With Classes

    I have a custom Timer class that pops up an inactivity alert
    after 3 minutes. The user can then choose 'yes' if they are still
    editing a record or 'no' if they are done. If they do not respond
    within 2 minutes of the alert it assumes 'no'.
    A 'yes' refreshes the timer and closes the alert.
    A 'no' kicks them out of the edit state in the component that
    the timer is called from.
    The logic of the timer is working fine but it doesn't seem to
    be sending the event to the component that called it so clicking
    'no' (or remaining inactive) does nothing. I feel like I'm missing
    something really simple or just misunderstanding the
    eventDispatcher function. Advice please??
    Code From LockTimer class:
    public class LockTimer extends Sprite
    private var threeMinuteTimer:Timer;
    private var twoMinuteTimer:Timer;
    public function LockTimer()
    // creates a new threeMinute Timer
    threeMinuteTimer = new Timer(1000, 180);
    twoMinuteTimer = new Timer(1000, 120);
    // designates listeners for the interval and completion
    events
    threeMinuteTimer.addEventListener(TimerEvent.TIMER, onTick);
    threeMinuteTimer.addEventListener(TimerEvent.TIMER_COMPLETE,
    onTimerComplete);
    twoMinuteTimer.addEventListener(TimerEvent.TIMER, onTick);
    twoMinuteTimer.addEventListener(TimerEvent.TIMER_COMPLETE,
    onTimerCompleteB);
    // starts the timer ticking
    threeMinuteTimer.start();
    public function refresh():void{
    restart(threeMinuteTimer);
    twoMinuteTimer.reset();
    private function onTick(evt:TimerEvent):void{}
    private function onTimerComplete(evt:TimerEvent):void{
    //trace("first timer");
    Alert.show('You have been inactive for several minutes. Are
    you still editing this record?', 'Inactivity Alert',
    Alert.YES|Alert.NO, null, alertListener,null, Alert.YES);
    twoMinuteTimer.start();
    private function onTimerCompleteB(evt:TimerEvent):void{
    //trace('second timer');
    //Alert.show('TIME UP', 'Inactivity Alert', Alert.OK);
    dispatchEvent(new Event("timeUp",true));
    private function restart(tim:Timer):void{
    tim.reset();
    tim.start();
    private function alertListener(eventObj:CloseEvent):void{
    // Check to see if the YES button was pressed.
    if (eventObj.detail==Alert.YES) {
    refresh();
    }else{
    //exit edit mode
    //Alert.show('TIME UP', 'Inactivity Alert', Alert.OK);
    dispatchEvent(new Event("timeUp",true));
    Code From Component:
    private var theTimer:LockTimer;
    private function initializeHandler(event:Event):void{
    addEventListener("timeUp",timeUpHandler);
    private function timeUpHandler(event:Event):void{
    Alert.show('TIME UP', 'Inactivity Alert', Alert.OK);
    //editDone();
    }

    so here is what i had to do to make this work:
    1. I had to attach the listener to theTimer rather than the
    component
    2. I had to initiate the LockTimer constructor outside of the
    function
    3. I had to call the handler initialization function from the
    component MXML
    below is the revised code (with excess cut out)
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HDividedBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="780" height="515" liveDragging="true"
    creationComplete="initializeHandler()">
    <mx:Script>
    <![CDATA[
    import mx.controls.Text;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    import mx.controls.Alert;
    import classes.LockTimer;
    public static const millisecondsPerMinute:int = 1000 * 60;
    public static const millisecondsPerHour:int = 1000 * 60 *
    60;
    public static const millisecondsPerDay:int = 1000 * 60 * 60
    * 24;
    //IMPORTANT!!!////////////////
    private var theTimer:LockTimer=new LockTimer();
    private function initializeHandler():void{
    theTimer.addEventListener("timeUp",timeUpHandler);
    private function timeUpHandler(event:Event):void{
    editDone();
    private function refreshLock(theLock:int):void{
    var theTime:Date=new Date();
    if(theLock==1){
    theTimer.refresh();
    theTime.setTime(theTime.getTime() +
    (millisecondsPerMinute*5));
    }else if(theLock==0){
    theTime.setTime(theTime.getTime());
    }else{
    return;
    form1.request.firmlockedTime=String(theTime.valueOf());
    form1.request.firmisLocked=String(theLock);
    private function editIt():void{
    //see if it's being edited
    if(checkLock()){
    //if its being edited send a message
    Alert.show('This record is currently being edited by another
    user. Please try again later.', 'Record Locked',
    mx.controls.Alert.OK);
    }else{
    theTimer.startMe();
    refreshLock(1);
    form1.send();
    currentState="AdminEdit";
    private function editDone():void{
    refreshLock(0);
    form1.send();
    currentState="Admin";
    ]]>
    </mx:Script>
    </mx:HDividedBox>

  • Adobe installer files remain as windows after Reader installed, I've gone to Adobe Chat and they had me uninstall and reinstall Adobe AIR but the problem presists in Firefox only, not AOL or IE browsers.

    After uninstalling/reinstalling AdobeAIR I now not only get the Adobe Reader install window but also get the AdobeAIR install window upon bootting up Firefox.

    Attached are the two windows I get, Firefox hangs for a couple of minutes while these windows load, a real annoyance.

  • Event dispatching problem

    I have a panel with a button. The panel have a MouseMotionListener registered, but when the mouse is over the button the MouseEvent stop to go to the panel and go to the button. How can i let the panel understand to "keep the event also for me" ?
    This solution seems not optimal ....
    //my button class
    protected void processMouseMotionEvent(MouseEvent ev)
    MouseEvent trick=new MouseEvent((Component)ev.getSource(),ev.getID(),ev.getWhen(),ev.getModifiers(),this.getX()+ev.getX(),this.getY()+ev.getY(),ev.getClickCount(),true,ev.getButton());
    this.getParent().dispatchEvent(trick);
    super.processMouseMotionEvent(ev);
    Suggestions?
    Thanks in advance.
    -Marco Bagnaresi

    I'm no expert but I would have thought that the best way to do this would be to have your panel listening for mouse events on the button aswell.

  • Installation problem any program that requires Adobe Air

    Installation problem
    I just purchased a new HP Pavilion Laptop running windows 8
    If I try to install any program that requires Adobe Air I get a failure message that says
    "Sorry an error has occured
    The applcation could not be installed because the installer file is damaged.  Try obtaining a new installer  file for the applciation author"
    I have version 14.0.0.110 of Adobe Air Installed.  
    I have installed all widows updates.
    I have removed and re installed Adobe Air but the problem persists
    Very frustrating problem, any help or direction is appreciated

    I have a similar problem and a possible workaround. Take a look at my reply: Installing air applications returns error

  • Use Raphael Vector Graphics Library in Adobe AIR

    Have you used the Raphael Vector Graphics Javascript Library in Adobe AIR? What problems, pitfalls and challenges have you encountered?
    To the Adobe AIR Team: It would be tremendously helpful and will be much appreciated if you can create a sample Adobe AIR application using Raphael.
    ~Oscar

    Hi again jackson@mja.
    I've given your scroll component a try just for some static texts, and I've found quite a few important bugs:
    1. If the referenced sprite/movieclip is shorter than the scrolling area, it starts bouncing infinitely in a quite funny way,
        which renders the component unusable. Sometimes it even happens when the content is not shorter.
    2. If your component is used inside another sprite/movieclip which is added dynamically from code ("addChild(mySprite);"),
        it doesn't work and stops with an error, because the EventListener for mouseDownHandler is being added to this.stage
        in the constructor, but a dynamic movieclip doesn't have access to the stage while in the constructor step (unless it is
        already in the stage added in the Flash IDE, such as in your FLA example). To fix this, I've added the following code
        to the ScrollArea() constructor:
    this.addEventListener(Event.ADDED_TO_STAGE, init);
    this.addEventListener(Event.REMOVED_FROM_STAGE, close);
        And then I've added the following listener functions:
    private function init(event:Event):void {
    this.removeEventListener(Event.ADDED_TO_STAGE, init);
    this.stage.addEventListener(MouseEvent.MOUSE_DOWN, this.mouseDownHandler);
    private function close(event:Event):void {
    this.stage.removeEventListener(MouseEvent.MOUSE_DOWN, this.mouseDownHandler);
    3. Also, the scrollbar is only correctly rendered if the scroll area is located at the up and left corner of the stage. To put text somewhere else, the component must be put inside a movieclip.
    4. This is not really important, but I've found the following variables are never user and so I've removed these lines:
    var xy:Point = this.localToGlobal(new Point(this.x, this.y));
    var wh:Point = this.localToGlobal(new Point(this.width, this.height));
    var sign:int = sign(obj[i]);
    I hope this can help you improve your classes.
    Best regards,
    OMA2k

  • Why do I receive error messages when installing Adobe air installation packages?

    I have Adobe Air Applications installed on my Dell XPS laptop but when i try and add new applications I get an error messaage that the installation file is corrupt.
    I am not convinced that this is the case, it is happening too often. I think that Adobe Air is the problem but Adobe seem oblivious and not offering any support.

    Thanks. I tried it and got the same error message. To me it's obvious that Adobe upgrades and programs have serious bugs in their install programs. I find this incredible from a company that creates such sophisticated programs and they cannot create install programs that actually work!!

  • Incorrect functionality of Embedded tag in html page, displaying object on top of all layers of Adobe air application native window

    Title
    Incorrect functionality of embed tag in html loader for adobe air development
    Description
    Problem Description: If we had loaded youtube.com video url in a view stack and navigate to other index of stack or away from we UI screen within the same native window video or embeded tag of flash player or any other embed object will be displayed on top of all screens layer in same position of where the object should be placed in side of html loader only.
    Steps to Reproduce:
    1) go to http://get.straweb.com/StraWebBrowser/StraWebBrowser.air download and install
    2) load 2 tabs and in the 3 tab load video player of youtube.com which will a sample video
    before completing the load of 3 tab which trying to load video from youtube.com, navigate to other tabs 1 or 2 in few second once the flash player of youtube.com video player is load it will display in the current tab or UI screen.
    3) Try navigating to other tabs than youtube.com loaded tab you see the flash player is on top it stable.
    4) navigate to 3 tab and try to navigate to other tab you can observe that so how it will not show that flash player and only visible in that 3 tab which is fine.
    Actual Result: Embedded tag of html page displaying on top of all layers of Adobe air application native window
    Expected Result: Embedded tag of html page should only displayed in side htmlloader
    This you can replicate in any adobe air plugin update and on any Hardware and Environment.
    Applicable to all sdk versions of adobe air.

    Adobe Bugbase: Bug 3823839 Incorrect functionality of embed tag in html loader for adobe air development

  • [advance question] loading a swf in adobe Air, which loads an image with "componentloader"

    Good evening all,
    I think this is a complex issue.
    I have adobe air application which loads a SWF I made.
    Inside this SWF I have used the "component LOADER" to load
    something with "ContentPath=image.jpg" for example.
    But the swf loaded in the Adobe air works, but does not load
    the "ContentPath image"...
    (it does load and display it when it this swf is run outside
    adobe Air)
    I need it to be dynamic like this, so if eventually I Include
    it in the package it won't help much...
    I just intend to replace an image background from this loaded
    swf file!
    Thanks!
    Edit:
    At this time of the editing, I fear and realize
    something....I have been using Actionscript2 for the .SWF file,
    could it be why it does not works???
    If its problematic, is there a simple way like telling it to
    read actionscript2, rather than transforming everything??
    edit2:
    I found this on the official AIR FAQ:
    Will Flash version 8 and below SWF files run in Adobe AIR?
    Yes. However, the Adobe AIR APIs are only exposed to Flash
    content via ActionScript 3 / AVM2, and thus Flash 8 / AVM1 SWFs
    will be able to run, but they will not have direct access to the
    Adobe AIR APIs.
    source:
    source
    faq Adobe
    it seems it should works!!??
    Edit3:
    nope I confirm at least some code made in Actionscript2
    works.
    I am sure this code needed to be changed for working in
    actionscript3, so "actionscript2" code works in Adobe Air.
    The problem of not loading my image must come from something
    else!!??

    Good Morning all!
    Hilarious....
    I tried so much to think maybe Adobe Air does not like a SWF
    using actionscript2, or it does not load any "external image from a
    swf", etc...
    None of that!
    I just in FLASH in the ComponentLoader....I did put simply
    the ContentPath at "myimage.jpg"....
    Of course I had to use the absolute path like
    "c:\\myfolder\\myimage.jpg"
    Of course aswell it works now!!!

  • Flash and Adobe Air weird display on Ubuntu

    I installed Flash on Ubuntu 12.04, and it has a very strange display. Here the way any flash application looks :
    You can see in this image the same page displayed on the left by flash on Ubuntu, and on the right by flash on Windows.
    I am experiencing the same problem with air installer and air applications. Here the way Adobe Air (2.6) installer looks :
    The version 1.5 of Adobe Air displays right, but it's the only one.
    Anyone experienced the same problem ?

    I finally find what the problem was. It has nothing to do with either the server, neither Flash Player or Adobe Air.
    The problem came from mstc window (remote desktop software). By default it was set to display 16bit colors. I might have changed it sometime to 15bit.
    By setting it to 16bit, it solved the problem.

Maybe you are looking for

  • Report language problem

    Hi all, I have a strange problem and hope that someone can help me out. My system consist of a BW and a BO (3.0) system. I have one user (A) that exist in BW and BO, when I run a report in CR i can see the dutch descriptions of the materials. To be a

  • Supply Chain Management

    Hello SAP guru's,                           I am looking for job. In one job posting the requirement is SAP MM experience with a strong emphasis in the Supply Chain Management area. Can anyone tell me how much do I need to know about Supply Chain Man

  • E business suite module

    Hi, I am new to EBS field and i wanted to learn EBS financials. which is the popular module available in market I mean which is the best one to go for ? Please help thanks

  • Regarding simple date format

    Hi, Can any one please tell what is simple date format for below format. 2008-11-04T11:49:04.312-04.00

  • Kernel parameter for zones

    Hi everybody, I trying to install Oracle Application server in solaris native zone. I am getting the following error " Oracle application Server 10g Web Cache requires the kernel parameter rlim_fd_max to be set to a valuse of 65536 or higher. Please