Changing modules with url property of moduleLoader causes buttonBarButtons transition to flicker?

http://filip.nedyalkov.net/moduleLoaderTesting1/ - source code view enabled - the mxml file is testing2
So as topic says, I am using moduleLoader to load 2 different modules with the use of buttonBar which has custom skin for the mid button which I use for all 3 buttons in it. In that skin there is a transition defined for up, over and selected states, which is fairly simple.
In order for the problem to be seen, I use another default buttonBar under it. Clicking on it's buttons will change the selectedIndex of the custom button bar so he has the same selected button as the bottom buttonBar.
So if you click on "no module" you will see that the transition is fluent, the icon goes a little darker and it's fine. But if you click to load module1 or module2, there is flickering with the icons that get in the selected state which kinda matches when the new module child pops up.
So my question is simple - how do I fix this?
Any suggestions are welcome. Feel free to download the code and test yourself.

Hi, thanks for the reply.
If you checked my example source code you would see that both of my modules are alike just the rectangle fill has different color:
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
           xmlns:s="library://ns.adobe.com/flex/spark"
           xmlns:mx="library://ns.adobe.com/flex/mx"
            width="100%" height="100%">
    <s:Group width="100%" height="100%">
        <s:Rect width="100%" height="100%">
            <s:fill>
                <s:SolidColor color="0x000000" />
            </s:fill>
        </s:Rect>
    </s:Group>
</mx:Module>
How more lightweight the modules can be...
I did some more testing and there is no flickering when the module is unloaded only when loaded. And also if I set a timer to load the module after the transition is over there's no flickering. Also there is no flickering for texts and also there is less but still sometimes flickering if the transition target is not rect but group. And also if I set the transition to be not 200 ms as in my example but 1000 ms or more then there is no flickering again which doesn't make any sense to be, cause the flickering in a slower animation should be way more obvious that in a very fast one but it is in the countrary.. no flickering at all. Any ideas ?
So to fix the problem I have 2 options:
1) setting at least 1000 ms transition where I don't have flickering
2) use a timer for shorter transitions and load the module after it's ended
But this "hacking" doesn't seem very appealing to me so that's why I am asking here if this is a bug or what ?
Message was edited by: FM_Flame

Similar Messages

  • Waveform Plot Name in Legend Reverts to default even if I change it with a Property node

    I have a waveform chart where I am trying to name the plots different titles, so that they appear in the plot legend with a meaningful name, rather than 'Plot 1', 'Plot 2', etc.
    However, no matter what I do, if I try to change plot 0's name to anything, the plot name changes for a split second, and then reverts to the name that it originally had.  I can succesfully control the names of the other plots, but not plot zero.  I have enclosed the VI with the graph control, which I cut and pasted from another VI. 
    It seems that the properties of this control (though it is not  a custom control) are set, and that these settings take precedence over the Propery Node Instructions.  Is this a bug, or am I missing something.
    Try it for yourself.
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI
    Attachments:
    Untitled 1.vi ‏14 KB

    Ignore attributes help says;
    If FALSE (default), the plot names in the plot legend automatically adapt to the plot names in the dynamic or waveform data attributes. If TRUE, the plot names do not adapt to the dynamic or waveform data attributes. Change this property to TRUE if you want to change the plot names. This property applies only to graphs and charts with dynamic or waveform data.
    Trying to help,
    Ben
    Message Edited by Ben on 11-28-2006 07:46 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    untitled.JPG ‏86 KB

  • Load modules using moduleLoader url property?

    My requirement is to load a module using URL like following
    '/somthing.swf?a=b&b=c'
    so that it can load the module and set a few values after it is loaded. But when i create an instance of the moduleLoader and set the Url property nothing is happening. My code is as follows
                            url += constructUrl()+"?"; // something like 'modules/vst/visitModule.swf' will be returned
                   if(_modLoader){
                        _modLoader.addEventListener(ModuleEvent.READY,readyMod);
                        _modLoader.addEventListener(ModuleEvent.ERROR,loadError);
                        _modLoader.addEventListener(ModuleEvent.PROGRESS,loadProgress);
                        _modLoader.addEventListener(ModuleEvent.UNLOAD,unload);
                        _modLoader.applicationDomain = ApplicationDomain.currentDomain;                    
                        _modLoader.url = url;
    Do you see something wrong here? I'm using Flex 3.2.
    I've read in the following forum for the solution http://forum.springsource.org/archive/index.php/t-65228.html but could not get it to work. Still trying.
    Thanks

    Well the if statement guarding the loadModule() call looks like this:
            if (_url != null && loadRequested)
                loadModule();
    Assuing url is not null, loadRequested must be false. This seems to imply that you don't have ModuleLoader declared in an mxml file. Is the ModuleLoader created using actionscript? If so you need to call loadModule().
    -Darrell

  • Modules with Halo Theme causes errors in other modules with Spark theme

    Hi,
    We have a large application which calls several modules, some old and some new.
    Most modules and the main App are using only MX components and were styled based on default mx theme, thus we want to compile these modules with the flag to use the old Halo theme.
    But when we did this our new module that contains spark components (Which isn't compiled with this flag) couldn't find the default skin for the spark components.
    Using the -keep-all-type-selectors flag didn't work in this case.
    Only when we removed the Halo theme flag from other modules and main app it worked.
    Is there any other option?
    Because using the old modules with spark theme causes major change in the appearance of our application.
    Thanks,
    Dafna.

    I think if you mix themes you'll need to specify more styles on the
    non-default theme because the set of globals and other defaults will be
    different.

  • Change in Office Online File URL property?

    When testing our integration with Office Online this morning, it appears something has changed within the /add(<relative_url> endpoint.
    Originally, the URL property of that response gave me a relative path that I could plug into getfilebyserverrelativeurl(<relative_url>). The response I'm now getting back is an absolute path that includes the SharePoint domain.
    According to the documentation:
    Url
    String
    R
    Yes
    Gets a value that specifies the relative URL of the file version based on the URL for the site or subsite.
    The URL property of a File object is generally suppose to be a relative URL -- according to the FileVersion object.
    Can someone confirm this change? And whether or not the URL property is suppose to be absolute or relative? 

    Hi,
    If you want to use the getfilebyserverrelativeurl method to get the all files from a folder in document library, we can use the relative URL of folder.
    Example, we can get all files from the FolderA in Shared Documents(default document library) using this:
    https://sharepoint/_api/web/getfolderbyserverrelativeurl('/Shared%20Documents/FolderA')/files
    More information:
    http://www.c-sharpcorner.com/UploadFile/anavijai/how-to-get-all-the-files-from-the-folder-in-sharepoint-2013/
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.web.getfilebyserverrelativeurl(v=office.15).aspx
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How to change WebAs Java URL with which it is called

    hi all,
    I am trying to activate the standard web templated for integration between BI 7.0 and EP 7.0 to execute the BEx report in Web.
    I am getting the following error:
    <b>The URL for ABAP customising table RSPOR_T_PORTAL : http://eimreymdd0.eimskip.net:50000 is not compatible with the URL  with which you call the WebAS Java : http://eimreymdd0:50000</b>
    Now, I want to change the URL of WebAS Java with which it is called.I want to change http://eimreymdd0:50000  to http://eimreymdd0.eimskip.net:50000
    How can I change this ? I want to know the location through which I can change this URL.
    Thanks in advance for your suggestion.
    Best Regards,
    Yogesh

    Hi Yogesh,
    I think you need to change you DNS server mapping.
    You can also try to change to virtual hosts property in the UME
    i.e.
    http://<host name>:<portnumber>/nwa
    Under System Management --> Configuration
    you'll find the virtual hosts.
    Regards,
    Prashil

  • ???  I just installed Lightroom 5 from Amazon for my Mac with 10.10.1 software.  When I open it I get: "An error occurred when attempting to change modules".  It won't import photos and has no side panels under Library.  What should I do?

    I just installed Lightroom 5 from Amazon for my Mac with 10.10.1 software.  When I open it I get: "An error occurred when attempting to change modules".  It won't import photos and has no side panels under Library.  What should I do?

    I Nearly bought from Amazon too but I found a thread from Adobe stating that the only recognized outlet for lightoom is themselves and other outlets serial numbers will not be guaranteed.
    THat at was sufficient for me to buy direct from Adobe, hope you get it sorted.

  • I have cc but lights room is coming up with a error ,An error occurred when attempting to change modules. can you help please

    i have cc but lights room is coming up with  ,An error occurred when attempting to change modules. can you help please

    Error changing modules | Lightroom
    Mylenium

  • My new lr3 comes up with  the usual error changing modules....

    Hello. I've just purchased a lot of adobe software, cs5 Production Premium and Lightroom 3. Now adobe has loaded on fine and is working, but lightroom, asks for my serial number which i enter and then continues to try open, only to come up with the frequently common issue of errors with changing modules.
    Now i have only just brought a new Imac this week as well, so i have no idea how to get around it yet and from other discussions on the forum i am so confused and have no idea how to find all the files for the software.
    I've deleted and reinstalled now around 9 times, even tried installing it on my external hard drive which had the same thing happen. It works fine from my guest account, but i don't want to access it all the time in there as i have nik software which i need to use through it and every time i go to use nik i have to enter my product codes, which don't seem to save as it is a guest account.
    Please help, i have about 3 shoots of images i need to go through, i swapped over from my pc with cs2 on it for this software only to have these issues. I am useless as to how to even move about on the mac yet so i really need step by step instructions i am that bad!!
    thanks
    bigsarg.7

    It is some kind of permissions issue, and weirdly it often seems to be linked to Nik software.  I wonder if Nik's putting a file there with different permissions - did you install Nik first, by any chance?
    Anyway, to fix, you can just copy the files over from the other account.  Copy the folder from the guest account after you've entered your serial number in LR3 in the guest account.  You might need to transfer them to another shared location temporarily.
    From memory, primary folder to transfer is Macintosh HD / Users / [username] / Library / Application Support / Adobe / Lightroom /
    Give that a shot and see if it does the trick.

  • I just installed Lightroom 5 but can't import photos, there is no import option anywhere. Get pop-up saying error attempting to change modules  ?? Any help with this??

    I just installed Lightroom 5 but can't import photos, there is no import option anywhere. Get pop up saying error attempting to change modules.
    I had this with the trial , then I purchased license and still happens.  Any help with this ??

    <moved from Downloading, Installing, Setting Up to Photoshop Lightroom>

  • How can I change the color of the font with the Property Inspector?

    In Dreamweaver CS6, can one change the font color with the property inspector?  How?
    I don't know if I will automatically be notified when someone responds, and I don't want to be running back to this site every day to check.  So if you have an answer for me, would you be kind enough to email me at [email protected]?  Many thanks.

    mike agranoff wrote:
    A font color button was available in a previous version of Dreamweaver I had been using.  But that version was incompatible with Windows 7, which is what my newer machine uses. 
    "Upgrade" and "improvement" are rarely synonymous.
    Mike Agranoff
    There is still a font color button in DW. In the Properties window, click the CSS button in the lower left when you have text selected. There is a little gray square with a tiny black arrow in the corner for font colors. It still uses css, but will muddy up your text with inline styles which isn't generally the best way to do things.
    One of the biggest advantages to using css is the ability to put all of your styles in one external .css file. That allows you to make a single change, to a color setting for instance, and have that change affect your entire site (everything you put a given css class on). As it stands, using the old html font-color attribute, or inline css forces you to go through the code with a fine tooth comb and change each individual setting.
    CSS is a massive upgrade and improvement over the old method.
    I would definitely suggest getting familiar with css, it really is required for any kind of modern website and ends up making your life much much easier while using the CSS Designer window in DW (which is where a lot of this stuff takes place now in a Design View development approach)...
    http://w3schools.com/css is a good place to start.

  • DNS url changes to with server name URL

    We have created  dns url for our sharepoint site, but users click on some links urls get changed to with server name URL
    Like http:\\server1:81\main\
    and i have created new subsite and all the pages comeu p with server name url instead on DNS URL
    Can someone help me with this?
    Thanks,

    Make sure the new DNS URL is in the Default Zone for AAMs. Also make sure none of your content is using hard-coded paths, instead using relative paths.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Despite it is claimed in Adobe forum that Lightroom is fully compatible with OS Maverics on my MacBook Air IT IS NOT. A message "an error occurred while attempting to change modules" appears and I cannot go any further. Can anyone help?

    Despite it is claimed in Adobe forum that Lightroom is fully compatible with OS Maverics on my MacBook Air IT IS NOT. A message "an error occurred while attempting to change modules" appears every time I try to open Lightroom. This happened immediately after upgrading to Mavericks. On my doughter's same machine Lightroom works perfectly. Can anyone help?

    Surely the Adobe forums are the place for help with Adobe applications. The fact that the problem doesn't occur on your daughter's machine suggests that it's not an issue with Mavericks but a local problem on your own machine.

  • I get an error message when trying to begin with Lightroom (trial on Creative Coud) that says, "An error occured when attempting to change modules."  What does that mean?

    I just downloaded the trial version and can't see anything that says initiate or upload to get images - also keep getting that darned error message.  I use MAC OS X 10.7.5

    Here are some suggestions:
    Error changing modules | Lightroom

  • Help with "An error occurred when attempting to change modules"

    Hi! I installed LR v2.6.632038 and I received " An error occurred when attempting to change modules" I could not do anything to make it work so I uninstalled it and then tried to reinstall. I never got to enter my serial number so I do not know if it ever uninstalled completely or if I needed to??? I have Mac OSX version 10.6.2 if that helps   Thanks! Kim

    Error changing modules | Lightroom
    Mylenium

Maybe you are looking for

  • My iphone 4 wont get out of recovery mode even after getting restored over and over again?

    .

  • OC4J, fop, and 11g

    I see some post on this though nothing is totally clear. I need to enable PDF printing. I am using the HTTP Server downloaded from Oracle I am going to install the latest version of oc4j since the default looks like 10.1.3.0 instead of 10.3.1.x. Has

  • In migrated IP form People picker not showing value

    i have a MOSS 2007 IP form migrated to SP 2013. I need to add a people picker control instead of dropdown. The newly added picker picker is showing up on the form but its value is not showing. It shows up when i change the value in existing people pi

  • Qn on SWCV and Technical System

    Hi All, My scenario was R/3-XI-JDBC. While creating the scenario, I figured there are no outbund interfaces listed for the Business System for R/3, though I have imported the IDOC inot IR and created all the required mapping. Hence I was not able to

  • Question about C array initialization

    I understand that the statement char string[] = "chars"; initializes string[5] to 0 ('\000'). My question is does the statement char *strings[] = { "string1", "string2", "string3" }; initialize strings[3] to (void *) 0, i.e. NULL? I can't find the an