(FP Bug?) - Mc's/Sprite's events triggered when mouse leaves SWF area

Hi guys,
I wonder if somebody had a similar problem and can help out. I have a button on y=0 (may be either Movieclip or Sprite) with two events: ROLL_OVER and ROLL_OUT. Now when the mouse pointer leaves the SWF area, both of these events get triggered, even if the button is not hovered at all. There is no MOUSE_LEAVE event defined nor anything like that (see the code below). I realized that changing the y position of the button helps, strangely small numbers don't - if I set y=1 the bug still occurs, but y=20 solves the problem. What the hell? This happens only in Firefox on Mac, Safari seems to work alright. (FF 5.0.1 and 6 tested, on OSX 10.6.8 and 10.7)
I uploaded a video to youtube in case somebody would be interested of seeing this from Windows (where I assume this doesn't happen, but cannot test at the moment - please leave feedback if you could - http://www.youtube.com/watch?v=YKWl50v_MIo - first 10 seconds are kinda crappy, sorry)
Is this a Flash Player bug or am I missing something really badly here? Thanks!
package {
    import flash.display.Sprite;
    import flash.display.Stage;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.text.TextField;
    public class Main extends Sprite {
        private var field:TextField;
        public function Main() {
            stage.align = StageAlign.TOP_LEFT;
            stage.scaleMode = StageScaleMode.NO_SCALE;
            //Set up the textfield
            field = new TextField();
            field.x = 200;
            field.y = 200;
            field.border = true;
            field.width = 200;
            field.height = 100;
            field.wordWrap = true;
            addChild(field);
            //Create and set up the MovieClip or Sprite - the MovieClip/Sprite must have content,
            //cannot be empty, otherwise the bug doesn't appear!
            var b:MovieClip = new MovieClip();
            b.graphics.beginFill(0xCCCCCC);
            b.graphics.drawRect(0, 0, 50, 50);
            b.graphics.endFill();
            addChild(b);
            b.y = 0;
            b.addEventListener(MouseEvent.ROLL_OVER, rollOverHandler);
            b.addEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
        private function rollOverHandler(e:MouseEvent):void {
            field.appendText("Over"+new Date().getTime()+"\n");
            field.scrollV = field.maxScrollV;
        private function rollOutHandler(e:MouseEvent):void {
            field.appendText("Out"+new Date().getTime()+"\n");
            field.scrollV = field.maxScrollV;

Yep, strange thing. I filed a report so feel free to vote. https://bugbase.adobe.com/index.cfm?event=bug&id=2944625

Similar Messages

  • Triggers (When-mouse-leave; When-Validate-item; When-mouse-move)

    Hi everyone,
    I would like to validate some fields in my form before pressing the Save buttom.
    I have several numeric fields where I would like to check if their values equal ''0'', If yes I replace the 0 by an other value, else I do nothing.
    I used the W-M-L, it works sometimes but not all the time. I would like to use the right trigger that will fire everytime.
    Suggestion?
    Charly

    I 'm using this version version of form.
    Forms [32 bits] Version 10.1.2.0.2 (Production)
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    here is the code bihind my Save buttom
    if (button = 'SAVE') then
    do_key('COMMIT_FORM');
    Charly

  • Any event triggered when deletion happens

    Hi guys,
    I wonder is there any way how to handle following scenario:
    We have custom BO which has association to Activity BO.
    User deletes Activity's instance and here I want that my custom BO's instance would be deleted together with this activity, as we have 1:1 relationship between Activity BO and mine custom BO.
    As I know, than none of events on activity could be triggered when row from Activity's OWL is removed, right? As possible work around I see MDR usage on my custom BO, but it won't be real time check if my custom BO instance still has association to activity. So another thought what I had, but I couldn't find the way how to get it working, is there any chance to trigger on my custom BOs OWL any actions (mass enabled action which checks if my instances has set association to activity)?
    Thanks,
    Uldis

    In case of an internal communication used, you would not receive a delete event.
    The backend would delete your custom object.
    Explained simple, internal communication creates, updates and deletes instances of objects (the destination object) based on modifications of a source object asynchronously in the background (you can define additional conditions when to create, update or delete).
    So you might use it to create and delete instances of your custom object.
    The approach using internal communication is just a suggestion and might not be what you need.

  • "Presave" Event triggered when the form is loaded.

    Dear all,
    I created an interactive form with an XML interface and I use it into a Web Dynpro ABAP.
    The version of my Adobe LiveCycle Designer is 8.0.
    My problem is that the "presave" event is triggered when the form is loaded.
    For example, if I place a field in the form and add the script " this.rawValue = "123"; " to the "presave" event of this field, the field will have the value "123" when I launch the Web Dynpro application.
    Then, if the user does not make any input and directly save the form, the "presave" event is not triggered.
    Does anyone know why I get such a behavior?

    Steeven, I was unable to test this scenario as Adobe Credentials are not installed in my system. But something similar from Java Script is referenced here in the below mentioned link.
    Please look if you find it useful:
    http://careerabap.blogspot.ca/2011/02/custom-dialog-box-message-while-saving.html
    Please reward if you find it useful.
    Regards,
    Nitin.

  • What event fires when user "leaves" TextInput?

    I need to perform some calculations on data that the user is inputting into several text inputs.  I want to perform the calculations whenever the user leaves any of the TextInputs.  The user could leaves the TextInput by tabbing out of the box or clicking out of the box.  What event fires whenthe users leaves the TextInput boxes?
    Thanks!

    focusOut
    Dispatched after a display object loses focus. This happens when a user highlights a different object with a pointing device or keyboard navigation.

  • Triggering rollouts when mouse leaves stage

    Ever since I can remember, I have been frustrated by the fact
    that when the users mouse leaves the stage, the flash player
    doesn't properly trigger an event. That means any buttons at the
    edge of the stage stay in a rolled over state and any custom
    cursors you've created hang around idley when the user leave the
    stage. Can we please get something to solve this problem now that
    we're on a new architecture?

    In AS3 there is a Stage Class which has a mouseLeave event.
    "Dispatched by the Stage object when the mouse pointer moves
    out of the Flash Player window area."
    Within that event you should be able to properly set the
    state of your application or any controls.
    Hope that helps,
    -Ken

  • Re: AfterValueChange event triggered when it shouldn'tbe

    <[email protected]>
    Hi there,
    I'm hoping that someone out there has experienced the following (and
    knows why it is happening. ) :-)
    I have a couple of windows on which the AfterValueChange event is
    triggered on a field upon hitting the delete key.
    We all know that this should only happen upon leaving the field, ie. the
    field loosing focus. The problem is that I'm trying to recreate this in
    a simple test class, but now it won't happen. I still have the original
    windows on which it is happening, but I would like to construct
    something small and simple to send to Forte.
    Any ideas as to why this could be happening?
    Many thanks in advance.
    JacoIs the "Validate on KeyStroke" property turned on for the widget in the
    original window? I believe the AfterValueChange gets triggered every
    time you hit a key if it is.
    I can't think of anything else, off the top of my head. I haven't had my 1st
    pot of coffee yet....
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hello Jaco,
    i could not reproduce the problem you have. The best way for a help in your
    case is a little sample which may be modified by others (forte-users).
    Please attach your PEX-Code in your next reply and describe it.
    I'am absolutly sure that we are able to give an helpfull answer.
    One question forward: 'Do you use the FunktionKey-Event in your Window(s)?'
    Sorry, but no other way exists to resolve your problem (We/I'am too far,
    for making a visit :-) ).
    At 08:14 09.10.98 GMT, you wrote:
    <[email protected]>
    Hi there,
    I'm hoping that someone out there has experienced the following (and
    knows why it is happening. ) :-)
    I have a couple of windows on which the AfterValueChange event is
    triggered on a field upon hitting the delete key.
    We all know that this should only happen upon leaving the field, ie. the
    field loosing focus. The problem is that I'm trying to recreate this in
    a simple test class, but now it won't happen. I still have the original
    windows on which it is happening, but I would like to construct
    something small and simple to send to Forte.
    Any ideas as to why this could be happening?
    Many thanks in advance.
    Jaco

  • Events triggered when the cross on the top-right corner is tapped

    Hi all,
    I am writing a program for Pocket PC using Personal Profile. I am trying to use WindowListener to make my program do something when the cross on the top-right corner of a frame is tapped. However, neither windowClosing nor windowClosed is triggered. Could anyone give me some hints about doing something when the cross on the top-right corner is tapped?
    Thanks,
    Jokeshing

    the answe to this is to use the windowIconified event. This is what is actually trigged when the X is pressed.

  • Any event triggered when SM35 session completed?

    Hi Guys.
    I wanted to know if there is an event that is triggered after a batch input session has been processed? We want to do something as soon as the batch input sessions are completed - may be something like sending mails to users etc.
    I know we can make a separate program that can check system tables to see the status of the session. But I remember reading somewhere sometime that a batch input session's completion triggers an event.
    Please advice.
    Thanks in adv.

    You can use FUNCTION RS_SEND_MAIL_FOR_SPOOLLIST If UNIX is being used,
    you may send a report to any internet mail with the following:
    REPORT ZSNDMAIL.
    DATA: COMND (200) type c.
    DATA: RESULT (200) type c.
    PARAMETERS: FILE (60) type c lower case default '/sapdata/sd_outbound/testmail.dat'.
    PARAMETERS: SUBJECT (60) type c lower case.
    PARAMETERS: EMAIL (60) type c lower case.
    INITIALIZATION.
    TRANSLATE EMAIL TO LOWER CASE.
    START-OF-SELECTION.
    TRANSLATE EMAIL TO LOWER CASE.
    CONCATENATE 'cat' FILE '| elm -s "' subject '"' email into comnd seperated by space.
    CALL 'SYSTEM' ID 'COMMAND' FIELD comnd 'TAB' FIELD UNIX_RESULTS-SYS.
    Loop at Results.
    write: /1 results.
    endloop .
    end-of-selection.

  • Event Triggered when a Report is generated

    Hi ,
    When we execute a report is there a trigger which captures this event. I need to execute an APD once the report is executed.
    Could you please give me the name of the event when a report is generated?

    Thanks for the quick response.
    I have tried with POST-FORM event. But it is not working for me.
    Ihave defined a seq 10 with
    a) Condition
    Trigger Event = WHEN-NEW-FORM-INSTANCE
    b) Action
    Type = Builtin
    Builtin Type = Forms_DDL
    Argument = Script for creating a trigger
    I have created another seq 20 with
    a) Condition
    Trigger Event = WHEN-FORM-NAVIGATE
    b) Action
    Type = Builtin
    Builtin Type = Forms_DDL
    Argument = scritpt to disable the trigger
    When form is opened, trigger is getting created.
    But when the user closes the form, it is not disabling the trigger. User closes the form by clicking on 'X' on the window.
    As per your suggesion , I have changed the trigger event to POST-FORM in seq20. It is not working.
    I have tried with WHEN-WINDOW-CLOSED event also.
    Please help me in this.

  • Event triggered when a popup closes

    Hello All,
    I have a WD4A application. On one view(SECOND_VIEW) of a window(MAIN_WINDOW), there is a button. When the user clicks this button, a popup window displays.
    Now what i want is that when the popup closes, the previous view(second_view) does some action.
    So the question is how do i find out if the popup window has closed? I am able to close it, but how to inform the view that called it, that it is closed.
    P.S. The popup view is in a different window.

    HI Mithun,
    I had a similar requirement for which i used cross component programming technique. I am using the SUBSCRIBE TO BUTTON EVENT in the WDDOINT method of popup window to register an event handler to it's OK button.
      lo_window->subscribe_to_button_event(
                   button            = if_wd_window=>co_button_OK
                   button_text       = 'Select DOC NR.'
                   action_name       = 'SELECT'
                   action_view       = l_api
                   is_default_button = abap_true ).
    I have created a method TRIGGER_EVENT_NAV in COMPONENTCONTROLLER .In my event handle in popup windowr (action 'SELECT' in my case) i am calling the previously mentioned compcontoller method (TRIGGER_EVENT_NAV) by using this statement WD_COMP_CONTROLLER->TRIGGER_EVENT_NAV( ).
    Now create an event in your COMPONENTCONTROLLER ( eg. OP_SECOND_WDW  - this acts as your outbound plug ) and create a corresponding inbound plug in SECOND WINDOW ( IN_SECOND_WDW ). register this inbound plug (IN_SECOND_WDW) to event of component controller (OP_SECOND_WDW ).
    use this statement
    wd_this->fire_OP_SECOND_WDW_evt
    in the method TRIGGER_EVENT_NAV to trigger the event OP_SECOND_WDW from component controller. This event in  turn triggerrs the inbound  plug IN_SECOND_WDW of second window.
    Further naviagtion within the window is the normal INBOUND - OUTBOUND plug navigation.
    Let me know if you need any further input on this issue.
    Thanks,
    Vivek
    Edited by: Vivek Priyadarshi on Sep 29, 2010 4:45 PM

  • ItemEditEnd not triggered when Mousing out of a grid instead of tab

    The title says it all.  If the user tabs out of an editable grid cell, life is good, the itemEditEnd is triggered, however, if the user changes the value in the cell, then clicks with the mouse on a different control, the function is not called.  How can I make SURE it is called whenever a columnn in a grid is changed?
    Thank You
    Bruce

    I haven't heard of this issue before.  Make a small test case that shows the
    problem and post it.

  • How to remove event listener when all the MoviClip are off the stage

    Hi i am newbie to as3,
        I am creating animation using as3 in which i duplicate the circle ten time,then pushing into an array and giving random motion. When all the duplicate object goes outside the stage then i should remove the event listener. But right now when one duplicate object goes off the stage the event listener is removed. Thanks in advance

    //---------code for creating random bubble movement------//
    var bubbleNo:Number = 10;
    var vx:Number = .3;
    var vy:Number = .5;
    var bubbles:Array = new Array();
    var bubbleRadius:Number = 9;
    var myColor:ColorTransform = this.transform.colorTransform;
    init();
    function init():void {
    for(var i:Number = 0; i<bubbleNo; i++){
              var bubble = new newBall();
    bubble.x = Math.random() * stage.stageWidth;
    bubble.y = Math.random() * stage.stageHeight;
    //bubble.color = Math.random
    //trace("bubble.x=="+bubble.x+"bubble.y=="+bubble.y);
    bubbles.push(bubble);
    myColor.color = Math.random() * 0xFFFFFF
    bubble.transform.colorTransform = myColor;
    addChild(bubble);
              addEventListener(Event.ENTER_FRAME,createBubble);
    //addEventListener(Event.ENTER_FRAME,createBubble);
    function createBubble(event:Event):void{
    for(var k:Number = bubbles.length-1; k>0; k--){
              var bubble = (newBall)(bubbles[k]);
              bubble.x += vx;
              bubble.y += vy;
              if(bubble.x - 18 > stage.stageWidth || bubble.x + 18 < 0  || bubble.y - 18 > stage.stageHeight || bubble.y + 18 < 0){
                        removeChild(bubble);
                        bubbles.splice(k, 1);
                        //trace("out"+bubbles.length);
                        if(bubbles.length <= 0 );
                                  removeBubble();
                                  trace(bubbles.length);
                                  //removeEventListener(Event.ENTER_FRAME,createBubble)
                        trace("all Bubbles cleared");
                        function removeBubble():void{
                                  removeEventListener(Event.ENTER_FRAME,createBubble)

  • Bug in scrollbar event triggering?

    In LabVIEW 8.6, I am trying to fire an event when I finish moving the scrollbar of an array indicator.  I use the "mouse up" event to avoid having the event structure fire constantly the entire time I am moving the scrollbar.  However, there seems to be a bug (?) in the event detection.  It works fine as long as I have the mouse on top of the scrollbar when I release it.  However, Win XP allows you to continue to move the scrollbar even if the mouse is off to the left or right of the bar (when you click on the scrollbar it "locks" the focus onto it).  However, LabVIEW does not seem to realize this and if I have the mouse slightly off to the right of the scrollbar when I release, the event doesnt fire. LV seems to base the event off of whether the mouse is on top of the pixels of the indicator rather than whether I still have control of the scrollbar.

    Technically it is not a bug.  There is no event triggered because when you do the Mouse Up, you are no longer on the scrollbar.  Unfortunately, the behavior in Windows that allows you to continue to move the scrollbar even when you aren't on it is conflicting with the desire to detect when you let go of the scroll bar.
    There was a recent thread discussingthis very issue and a way to get the behavior you are looking for.
    Re: Handle mouse up on numeric slider control - even when mouse leaves control

  • Event triggered for checkbox in cl_gui_alv_grid

    Hi All ,
    I have a requirement like ,i give PO number on selection-screen.After execution, the items should be displayed on second screen ,which has some options on the top like before GR or after GR .(custom screen designed with cl_gui_alv_grid for display)
    I desgined checkboxes for each row of the line item.user can click on multiple rows and click on EXECUTE button on the screen.After that smartform should trigger and print .
    Now my query is how to capture the checkboxes which the user has entered (thru cl_gui_alv_grid) . Is there any event that gets triggered upon clicking the checkboxes?? I need the data of the corresponding row to process further .User can click on multiple items.
    Please respond
    Thanks

    Hi Hemanth
    You should have a field in your internal table matching the checkbox column in ALV.
    Call method CHECK_CHANGED_DATA of CL_GUI_ALV_GRID on user command for execute button,
    it will set the field  = 'X' for ticked lines in your internal table.
    Then use a loop on your internal table and find selected lines.
    You don't need an event triggered when user clicks.
    Edited by: Bulent Balci on Aug 3, 2010 4:42 PM

Maybe you are looking for

  • Can't send email to an icloud group in address book

    Hi I have set up some groups in icloud. I called one of these groups "Test", with only myself as a group member. In address book, when I right click to send email to "Test", it fires up a new email with the word Test in the email "to" field. If I try

  • Sharing Aperture library with another user on the same mac

    Hi I just upgraded to Aperture 3.3, on a MBP running Lion (10.7.4) - I am trying to share the library with my wife so that each of us can retain our separate accounts and preferences and be able to edit/print/add pictures to the library I've seen som

  • Recipe for success in iWeb '08?

    Lucky me - I decided to mail order my copy of iLife and didn't get it until today. In the meantime I have been following the threads of this forum, adding my words of "wisdom" and trying to organize myself for the big day. In the past, I kept my indi

  • Top of the range: Mac Mini vs iBook

    Hey hey, I fell in love with Apple mid last year, and bought my first Mac ever mid November of 2005. It was a 20" G5 RevC 2.1ghz iMac w 1.5gb Ram. It's the best computer I've ever seen and used in my life! Amazing! Anyway, I've been working at my par

  • BRIDGE does not show every PNG with preview

    Hello there, my CS4-BRIGDE doesn't show my PNGs with a preview thumbnail. I use to export them from Illustrator files but even if I open them in Fireworks or Photoshop to save them again, there is no preview on my PNGs. The explorer preview shows all