Problem in determining the details of the scene immediately after scrolling

Hi all

I have a widget and I am trying to get details from the scene using the localToGlobal or contentToGlobal methods.

My problem is when scrolling of a container, these methods do not return the correct values, but to return the old rays widget coordinates. Later, after that everything seems stable, trying to use the methods they return correct value so in other words, at the point where I use them after scrolling
not all the necessary information in the calculation has been committed.

In the case of the Container class I studied, and although it goes through the scrollChildren method, the calculation is wrong.
In the case of the Tree component when scrolling with the wheel, the methods return the correct value, but when you press the button the arrow of the scroll bar methods return an incorrect value.

So far, I tried to listen to scrolling and full events updated when they are shipped, but without success.

So my problem is that I would need to know a time after scrolling (event to be streamed or something else) that I can call the methods and the output to be ok. I would like the final solution is uniform.

Has anyone else had this problem? What solution do you recommend me.

Thank you all for your time and patience,
Claude Bur.

It is classified as a bug.  I don't know no other way.

Tags: Flex

Similar Questions

  • Coding of a button in a movie clip problems to navigate the scenes

    Hello! I have an another probably noobish question to ask on the CS6.

    My goal is very similar to the mentioned in this forum question described above: http://forums.Adobe.com/message/837995#837995 and also in this issue http://forums.Adobe.com/message/4172919#4172919

    I'm trying to make a button inside a clip in my first scene when you click in the first frame of my second scene. I appointed menu_button_1 instance of the button, and I think that the stage 1 and stage 2 are the names of the scenes. (If they should have special names or instance names, I do not see where type them.) Because of the similarities, I tried to follow the suggestions on these pages. However, I did probably some small thing wrong, (or heck, maybe one thing huge.) that I what I would like to help find.

    Stop();
    myButton.addEventListener (MouseEvent.CLICK, clickHandler);
    function clickHandler(evt:MouseEvent):void {}
    Stop (1, "scene 1");
    }

    This seems to be what has been proposed to enter. I tried to change it works as well for me. That's what I typed to the button action.

    menu_button_1.addEventListener (MouseEvent.CLICK, clickHandler);

    function clickHandler(evt:MouseEvent):void {}

    gotoAndPlay (1, "scene 2");

    }

    (I removed the stop function because I have music on a loop in the clip I want to play until the mouse is clicked). (Also, I took gotoandplay because I wanted to stage 2 to start playing immediately when clicked, rather than to stop.)

    I tried variations, including the "2" instead of "scene 2" and whatnot. I also tried connecting to differnet places just to see if that would work. It seems that she would be able to join if I only asked a frame in the clip of the film itself, but he couldn't go to all other executives in stage 1 or stage 2. When I try this message appears in the output:

    ArgumentError: Error #2108: stage 2 was not found.

    at flash.display::MovieClip/gotoAndPlay()

    at interactivestgermant_fla::menu_1/clickHandler()

    It seems that not finding my scene 2. (She also can't find scene 1 when I invite you to do so.) I'm afraid that I'm not sure of what I entered incorrectly, although I imagine that this is how I typed the navigation of the scene. Should have an instance name or something? I was very muchappreciate a little nudge in the right direction. If you need more info, I'll be happy to provide. Thanks for the help! I appreciate that very much.

    The first image you provided shows that you have assigned an image tag, not an instance name.  You must select the menu object on the stage and then you should see a section of the properties panel at the top which has a field with "", said inside (assuming it's a movieclip symbol).  This is where you enter the word 'menu'... which is by assigning a name to the instance of the menu you have on the stage.

    The way you seem to have a number of keyframes that precedes in the timeline may mean you need to do this in each keyframe where there is this menu item.  IF you do not, then it can inherit the lack of a name of a previous frame.

  • makemenu problem: display of the menu, but after selecting an item, menu disappears and pops up again in the Middle after the code is executed

    Hello

    I have a very strange problem on BB9700 running OS5:

    1. application with 2 screens, each with menu (makemenu)

    2. second screen is pushed by the first screen

    3. menu of second screen works as desired

    4. menu of the first display shows the following behaviors:

    Click on BB-let the menu appear in the lower left corner. So far so good.

    After clicking the item(own item-run block is empty) menu, the menu disappears and appears back in the middle of the screen.

    This is my code (even in second screen-but working there):

       protected void makeMenu(Menu menu, int instance) {
            super.makeMenu(menu, instance);
    
            menu.add(new MenuItem("fix menus",10,20){
                public void run(){
                }
            });
    
                    menu.add(new MenuItem("Options",20,10) {
                public void run() {
                }
            });
    
        }
    
        protected boolean onSavePrompt()        {           return true;       }  
    

    In the second screen, the menu works fine, but with the first!

    Any idea?

    Thanks in advance

    Hey Ted_hopp, simon_hain,.

    I found something after commenting on overridden methods (one after another):

    I have replace onFocusNotify. If I comment I out completely, the menu works as it should.

    If I just use the following code:

    protected void onFocusNotify(boolean focus) {
    
    }
    

    with nothing else (not), the menu reappears after a click.

    So I put the forgotten 'Super.onFocusNotify (focus)' call to the first line, and all things are working properly.

    Thank you

  • Problem go to the next page after effect from scratch

    Anyone know what could be the problem we are having?  We did the scratch effect and it works on the page, we have created.  Very well.  But we are unable to move to the next or previous page.  Complete the wipe away, we're stuck on this page.  We cannot move out of it.  Any suggestions?

    Add navigation buttons to the page or leave an empty space at the top or at the bottom, which can be slipped.

  • Video comes forward on the scene automatically after application turn android

    Hello

    I have overlayyed TextField by video on stage.

    video and textfield is added on stage as

    stage.addChildAt(video,0);

    stage.addChildAt(textfield,1);

    video.attachNetStream (netstream);

    the above source code works perfectly for air android app if I don't turn on/off the application.

    But if I disable the application by typing House and then activate the soft (by tapping on the icon of the application), the video gets on top of textfield.

    How can I push the video below the TextField?

    I checked the video index its 0 and I have also tried to remove the video and add this back on stage at index 0, but also does nothing.

    Thanks for your help!

    I've written several apps that use of video and it has certainly known problems of orders.

    I think it has to do with the fact that the video object is able to use the GPU rendering (which is essentially run outside the display list).  As you described, the order number does not appear until you deactivate / reactivate demand.

    You might want to watch this message of December 11, 2012: http://forums.adobe.com/message/4914005

    There is additional information in the bugbase - here: https://bugbase.adobe.com/index.cfm?event=bug&id=3354849

    As described, there is a undocumented application.xml element, true which can be added manually to the file application.xml (with a text/Notepad editor) - it belongs inside the element.

    This may or may not solve your problem.  However in my case (very similar to your description), adding this item to the application.xml has induced demand respect planned order when deactivated and then reactivated.

    Hope this is useful information for you.

  • Strange problem - Timeline plays the empty frames after the last keyframe?

    Again, I thank you all for being so supportive for the beginner!

    So I have a weird problem at hand. Why is that on my calendar (and preview), my animation still plays after my last keyframe?

    In other words, my animation ends to frame 410 and there is nothing after that, but for some reason any, it continues to play until near 695?

    This causes my image to disappear in the frames after 410 when I intended to keep it even after that (with no loop).

    How can I realize what actually remain after image 410? Basically, it's only 3 roses in bloom. I just want that it to bloom when the viewer enters the Web page and stop after that. The last image will make the image stay still (with fully flowered roses). A loop of the bloom would be sticky and very unnecessary.

    Thank you!

    I thought about it.

    It turns out that it was a BUG.

    So I noticed that when I click on one of the folders, I put my layers in, it shows that it is 695 images for a long time. So weird because there is absolutely nothing after 410 chassis when I check the layers in the folder individually.

    So what I did I deleted one of the layers in the file to see if this would remove 695 executives. I just deleted and challenge then remove. And VOILA! He became 410 frames and works fine now. It was certainly a bug I didn't no other editing to fix. Just temporarily removed it and put this back layer by unscrewing the button Delete.

  • Problem Manager of the Oracle Applications after cloning 11i

    Hi all

    After cloning ebs 11.5.10.2 from AIX 5.3 to AIX 6.1, I have problem with OAM.
    When I call OAM, after logging in, I get a blank page with Oracle icon in the upper left.
    It seems that everything works fine.

    Acces_log, error_log is not an error message.

    Really appreciate your help

    Thank you
    Boris

    I have another question.
    Is it posible to install IAS 10 g (10.1.2) on the same server where is installed EBS 11.5.10.2. OPERATING SYSTEM: AIX 6.1

    It is possible (provided that install you in the new ORACLE_HOMEs and you have sufficient resources on the server), but this is not recommended.

    Installation of Oracle Application Server 10 g with Oracle E-Business Suite Release 11i [ID 233436.1]
    Oracle Application Server 10g with Oracle E-Business Suite Release 11i troubleshooting [ID 295606.1]
    Oracle Application Server with Oracle E-Business Suite Release 11i FAQ [ID 186981.1]

    Thank you
    Hussein

  • Firefox is very slow and takes a lot of time by opening a page. I have to move the cursor immediately after clicking on?

    Since then, yesterday evening firefox is not running at its normal pace. Initially, I thought that the problem comes from my laptop, but then I realized pages are open at normal speed in other browsers. Fireffox, I have to click and wait for the page to load. The page will not be charged unless that and until after clicking on remove the slider away!

    Upgrade your browser Firefox 8 and check

  • How do the records in the query immediately after committing?

    Hello. I have a form that saves the data in the two tables. After filling out the elements of a block, the file is saved and is generated a specific sequence number. Then immediately goes to another block to fill several items he is using some values of the previous block and using the generated sequence only. based on the record previously committed. The problem is, although I can see the recording of the first block in the database, my request on the following using the generated sequence block only. does not produce output, probably because I haven't left the form again and I use the same session. However, I need this in the same session. How can I solve this problem? Thank you very much and I hope you understand what I'm saying.

    Thanks, but I already did. And it just says: query caused no records to retrieve. Anyway, I solved the problem. I put my request in the trigger after posting and it worked fine. Thank you

  • Automatically add the word "immediately" after a title

    Is it possible to add the word "suite" automatically after a chapter title, on page 2, 3, etc.

    You need to have different master pages

    A master for the first page with the title on the subject

    then to duplicate A template to Master B

    On the Master B change the text block and insert 'suite '.

    You need to apply a Master to the first page, then B Master on the following pages.

  • Navigation of the scene!

    Hello

    I created a flash file contained 2 scenes, "Wheel_Slide_In" and "Wheel_Rotate". MU wants to play the scene "Wheel_Rotate" after "Wheel_Slide_In" finished playing.

    I put this code in the last image of the 'Wheel_Slide_In ':

    gotoAndPlay(1,"Wheel_Rotate");

    gotoAndStop(1,"Wheel_Rotate");

    MovieClip (parent), .gotoAndPlay (1, "Wheel_Rotate");

    and many many other random! combinations with parent and root to tell the flash this simple task!

    Hey dear Flash, please play "Wheel_Rotate" scene after scene of 'Wheel_Slide_In '! Simplz!

    Unfortunately, me and Flash don't speak the same language!

    could you please help me to write the correct code and understand how you play another scene of another?

    Thank you very much

    If the code is in the main timeline then gotoAndPlay (1, "Wheel_Rotate");  should work

    You should avoid using scenes and two movieclips use or do it all in a scene.  Navigation of the stage has always been a problem with Actionscript/Flash.

  • self-timer to aplpha 37 - portrait scene turn to the landscape of the scene

    I use Sony a37 with remote control and automatic timer to make the picures of myself. When I put the portrait of the scene and after setup remote control for self-timer (9pics), turn to the camera automatically from landscape to the scene and the result is that the portrait is blury and sharp background. I would have the opposite effect of the picures.

    It is recommended that set you the switches on the lens and the camera to AF. In this way, the camera automatically focuses on the subject.

    The camera will switch between the different scene modes if you have the mode selector set to smart auto, or the [i] with the Green camera on your dial icon. Make sure you have the mode set knob to SNA and select [Picture] from the options that appear on the screen.

    Another parameter, you can adjust is the setting for area auto focus (AF). You must set the camera mode dial Auto program (P). Refer to the illustration below for instructions.

    Taking portraits, you must make sure that the setting of AF area you will use will align with the subject. You can use [area] or [place], depending on the position of the subject.

    If this post answers your question, please mark "accept as Solution.

  • Script or command to determine the ESX installation date

    Hello

    I was responsible for getting the date of installation of each ESX host in my infrastructure. Y at - it a script or the cmdlet that is used to determine this information. I have looked around, but discovered nothing. Any help is greatly appreciated.

    G

    As I know there is no property that gives you the installdate.

    There are alternatives, but all do not give a solution that will always return the correct date.

    I prefer to look for the oldest statistical data for the host

    -This requires that statistical data are retained indefinitely

    -If the host has not added to the vCenter immediately after installation, the returned date might be off significantly.

    -due to a bug in the cmdlet Get-Stat, I use the QueryPerf method instead of the cmdlet Get-Stat

    $esx = Get-VMHost MyEsx $perfMgr = Get-View (Get-View ServiceInstance).content.perfManager
    $spec = New-Object VMware.Vim.PerfQuerySpec $spec.StartTime = (Get-Date).AddYears(-2)
    $spec.Entity = $esx.ExtensionData.MoRef
    $metric = New-Object VMware.Vim.PerfMetricId $metric.counterId = 2 $metric.instance = "" $spec.MetricId += $metric $stats = $perfMgr.QueryPerf($spec)
    
    Write-Host $stats[0].SampleInfo[0].Timestamp
    

    The script assumes that it must be less than 2 years since the host was installed, but you can easily change that by changing the setting to the AddYears method.

  • HP10 1901 Tablet: Tablet 10 1901 hp stops immediately after the start, despite the load fully

    Hello

    My hp 10 Tablet has less than two years, and I don't use much.  The problem started with the volume suddenly down to zero out of control, and even if I press the volume up button, the volume is just down once again, when I let the button.  And then the Tablet has started to close automatically, even when it has a lot of power left, as more than 50%.  Now, even if I have fully charged, when I press the power, immediately after the start, it says, 'stop' and he just stops.  I try to turn it on again, and the same story is repeated.  I'm just fet upward.  What is a mechanical problem or a software problem?  I don't understand.  Please help me.

    Hello and welcome to the HP support community!

    It is difficult on this side of the screen of remote diagnosis your problems!

    You should try to eliminate the causes of the problem.  Only thing we recommend is to first try a Factory Reset.  It recharges a clean copy of the OS.  If she solves problems, then you're done!

    If problems persist or get worse, then it is probably related to the material.  Damaged the volume button, USB port, due to lack of battery, etc.

    Perform a factory reset on your tablet.

    WyreNut

  • Freezes and the screen turns after stopping

    Hello

    I'm having a lot of trouble with my iMac, Retina early 2015, and I can't understand what is wrong with it. The problem is that if I use the mac for a period of time, it can sometimes be almost a whole day, at other times, it may be an hour. It has all suddenly freezes them completely and the only way to get it to work is to make a difficult stop (hold the power button until it turns off).

    But when I try to turn the screen does not light. And I still have to make a hard, sometimes stop, it takes about 5 - 6 times before the screen lights up. And if the problem occurred once and I try to use the Mac immediately after, it freezes in the first 10 minutes, and the whole procedure must be repeated for another 10 minutes of use. The only way for it to not freeze is if I use it for like a day, but it gives me only about 3-4 hours before the problem occurs.

    I sent it to a repair shop for repair, I thought that maybe it's the hard drive. They ran a few test Apple and was told that it is not the hardware, but the software causing the problem. Then they plant restores and gives back to me. But it does not solve the problem.

    Any thoughts on what could be the cause of this?

    It is impossible to say without knowing what siftware you may be running. A report of EtreCheck please http://www.etresoft.com/etrecheck

    You can also do a physical check of base using Apple's Diagnostics using Diagnostics - Support Apple Apple

Maybe you are looking for

  • I opened my phone i plwss send me password and id for Flavia

    I opened my phone i plwss send me password and id for Flavia

  • Impossible to get Jython to run

    If you don't know what's Jython, is a version of the Python programming language Java. When I type "python" in the Terminal, it starts to Python. Yet, when I type "jython" in the Terminal, I get the following response: new-host-2: ~ My1stMac$ jython

  • Lenovo G570 network card issues

    Good so I had this problem before and she came again. Basically the Atheros (or however spell you it) 9285 adapter will work with the driver and I checked with fn + f5 my wireless connection is on, but in the right bottom where it shows your connecti

  • Table cell editing mode

    When one of the cells of table in sub LV2009 click on the mouse, it's the editing mode in the cell. The cursor has changed in such as excel. If the key has been pressed, the edit mode has escaped. In any case, is there anyone who knows how to enter t

  • Multiple applications can run in Blackberry?

    Hello I would like to know if its possible to run more than 1 Blackberry application. If both applications must be run in the background so it will be possible to do? We hope to get a quick answer. Thank you & best regards Sunil