How to load different modules of moduleLoader - some with others without unloading?

OK, so I read a lot on the modules and I decided to build a site where I have a menu button on the bar and a unique moduleLoader, where all my pages are separate modules. Some of the modules will be preloaded with technical moduleManager then they will be in memory should appear instantly and others should be unloaded because they will be rarely used. Imagine that you have 50 pages, 45 of them use the same 3 modules and the rest 5 use the other 5 modules.

So I need 2 things:

1) these 3 preloaded modules (loaded into memory) and then used - is not a problem. In the button bar change manager, I put just the url of the moduleLoader =""; and just after that line, I set moduleLoader.url = "module1.swf" for example. In this way the event ready triggers whenever I have change the button selected in the buttonBar and because the module is loaded into memory, it changes immediately, this is great.

(2) I have no need of rest 5 modules that are not preloaded, to be loaded by the moduleLoader and when the user clicks another button, the module unload and the new module for the selected new button be loaded on it takes place. So here's the old module unloading and loading of the new needs to happen with 1 - button click user interaction. How do I do that?

I ask this because I discovered that there is some difference when the module has been preloaded or not that changes the way it unloads. Also, in some cases if a module has been once unloaded and loaded again, it stops shooting the unload event by changing only the moduleLoader.url and you will have to specifically call the moduleLoader.unloadModule () function to get called.

And all of this led me to the idea that perhaps the only way to make it work in case 2 is to have moduleLoader.unloadModule (); and on the next line after moduleLoader.url = "newModuleUrlHere";

But then I came across a problem with twinkle in my transition from buttonBar selected button that I describe and give the example online here:

http://forums.Adobe.com/thread/760347?TSTART=0

So is there any technique to combine those who need to be loaded and unloaded and all this to work with just a moduleLoader instance + preloaded modules which must not be unloaded?

I really expected to have so many problems with the modules... If anyone can suggest me an example I'll post every case that I have described here to help me to get the resolution to this cause, I can't get my project and it is very important.

Thanks in advance!

I tried your sample code. Is a matter of usability, in that you ran

definition of the url of the module to a string empty in an attempt to unload it. On the contrary, this causes the ModuleLoader attempting to load a module that does not exist. This, of course,

generates an error that causes the ModuleLoader unload the existing module. Try to set the url of the module to null instead of an empty string and see if it makes more sense:

{label: "no module", url: null}

I've written a bug for the issue of usability: https://bugs.adobe.com/jira/browse/SDK-28274. He has to fix in the next few weeks.

-Darrell

Tags: Flex

Similar Questions

  • How to find the size of the scheme with or without fragmentation

    Hello Sir,
    How to find the size of the scheme with or without fragmentation?

    to find all of the bytes used by a schema, you can add the bytes for the owner of the dba_segments views.

    for fragmentation, I guess you want to know about the space left between the segments.

    finding depends on the design and standards of your database.

    Each scheme has its own storage space? If Yes, then you can take the total space used in storage and then subtract the number of the dba_segments.

  • How to give different Anyconnect profiles for some users

    Hello

    I am very new to Anyconnect but managed to configure our ASA5510 with connection files 2, one with split tunneling is active and the other without.  How to configure the ASA/Anyconnect client so that most users see the connection with split tunneling profile disable but others the chance to see two connection profiles in the client?  Currently, all users the chance to see the two profiles in the client and I'm stuck at the moment to try to understand how I control what they have a chance to see the profiles of connection...  Users are authenticated on a Microsoft IAS server if what counts and the ASA is running V8.2 (1) and ASDM 6.2 (5) 53.  Thanks for any help.

    Kind regards

    Terry

    Microsoft IAS is a good piece of information. Thank you.

    So I assume you are using for Radius Authentication.

    You have 2 options:

    (1) configure the radius server IAS user mapping to a specific group by using attribute radius policy.

    Here is an example of configuration using Cisco ACS radius for your reference server:

    http://www.Cisco.com/en/us/products/sw/secursw/ps2086/products_configuration_example09186a00808cf897.shtml

    (Sorry, can't find an example of configuration using the Microsoft IAS server, but the concept is the same)

    (2) as you run microsoft IAS, I assume you are using Active Directory? Assuming it's true, you can actually authenticate via the LDAP protocol and LDAP mapping to place the user in specific group policy.

    Here is the sample configuration for LDAP authentication:

    http://www.Cisco.com/en/us/products/ps6120/products_configuration_example09186a00808c3c45.shtml

    and here is the example of mapping of LDAP attributes configuration:

    http://www.Cisco.com/en/us/products/ps6120/products_configuration_example09186a008089149d.shtml

    Hope a using the option.

  • How to set the module to be above any other module

    Hello guys! I'm just beginner in flex, and charge cant figured out how to manage the modules to set that is above the other. If I load a module and then load another, the last loaded module is above what I want to do is when I click on the first module, it must be worn on top. How can I do this?

    Hello
    Looks like that you add the module to a container whose path is defined in absolute terms. Instead, you can try modules using PopupManager to burst or try adding them to containers like TabNavigator.

    I hope this helps.

  • ESXi 4.1, how to load a module at startup

    I found that my Broadcom BCM 5764 M NIC will work with ESXi 4.1 if I "vmkload_mod tg3. However, I lost the driver when I reboot, and I really want to this port to be the management port when the system boots.

    By using the site's search facility, I can't find how to change the list of loaded modules at the start of ESXi, I find using a ssh session in the server. What is the magic command sequence to cause an additional module to load?

    If the PCI bus enumeration turns to the top of the unit, which is the mechanism in ESXi to determine which drivers to load? Y at - it something wrong with my camera of 5764M that it does not get loaded automatically, or is there a setting that needs to be done?

    Thank you.

    You'll want to change simple.map, you can create an updated version and put it in oem.tgz (http://www.vm-help.com/esx40i/customize_oem_tgz.php), or simply edit the file and then turn on the sticky bit.  When you turn on the sticky bit on any file in / etc it will get backed up in the backup system file.

    Dave

    VMware communities user moderator

    Now available - vSphere Quick Start Guide

    You have a system or a PCI with VMDirectPath?  Submit your specifications to Officieux VMDirectPath HCL.

  • How to load different virtual machines with different network users?

    I have a class with a small network, Windows 2000 server with Active Directory and 30 workstations. During the student newspaper of day in different categories-topics.

    I would like that to a different VM to load at the newspaper, which is depends on the class to prevent access to the programs, they use students.

    The question is, is this a good idea and if so what is necessary to accomplish?

    I wasn't sure at this time where to post this, please redirect me if necessary.

    Thank you for your time.

    Welcome to the Forums - certainly - in fact, VMware has a new (renamed actually) product that allows you to manage virtual desktops called VMware View - check out http://www.vmware.com/products/view/ for more information including pricing-

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • How to load 10 adobe elements to a new laptop without a CD

    I buy a new ultrabook sony with windows 8 my old laptop is u/s

    I thought I could just download the software from the adobe Web site.

    I tried to download a free trial of 11 items, but there's a mssage of error where the download key must be

    Direct download links for Adobe software

    And make a backup. Keys USB arte at low cost.

    Mylenium

  • How can HDR-AS100V - I associate video files with GPS without PlayMemories House data?

    Video files are saved to:

    \MP_ROOT\100ANV01

    and newspapers GPS is found in:

    \PRIVATE\SONY\GPS

    • How can I connect without using PlayMemories House?
    • Is there an API for databases to \AVF_INFO?
    • How PlayMemories calculates the speed without having the GPS-log information? and also how correct without going through the Altitude in the GPS-log? Does this mean that the Altitude is stored somewhere else?

    Yes, it seems fair to extract still images from the camera will keep the GPS coordinates. This assumes, of course, Traore, the GPS is locked on the satellite. It may take a few seconds to several minutes to reach the lock, so the first photos that you take may not be labeled. I assume that you run an interval picture-taking.

    I and others have posted here and in other forums that the GPS coordinates are not very accurate. They may, or may not, be specific to a single shot, but you can't rely on the accuracy of the coordinates. This also applies to the video shot with the AS-100v and AS - 30V. Results on the ground of myself (USA) and a user in Germany confirm that GPS coordinates are not nearly as accurate as it should.

    Here's a comparison side by side (images of Google Earth with Garmin vs AS-30V tracks), and it is an analysis using time tag data (again, Garmin vs Sony AS-30V).

  • How to access the modules using the script?

    Hi can someone help me how to link to the module using script if you have ideas to share with the me...

    Thanks in advance

    (There are two ways to load the modules, 1) ModuleLoader class component ModuleManager 2).

    The ModuleLoader component's mxml, so I will not provide an example.

    The ModuleManger class is for loading modules via actionscript.

    Here is a link to resources on the loading of modules as well as the code example.

    http://help.Adobe.com/en_US/Flex/using/WS2db454920e96a9e51e63e3d11c0bf64277-7ffd.html#WS2d b454920e96a9e51e63e3d11c0bf69084 - 7 d 20

    -Darrell

  • How to load and Preview app?

    I followed all the steps described in the User Guide and built a test application... followed all the steps to sign. I'm back where I want to load it and post it on my devices iOS and need help.

    This is my first build of the app; the Guide says Adobe "use iTunes, Xcode or another method to load the application signed to your iOS device.

    1. can anyone recommend a tutorial online for this step? I don't know how to load the software for an overview with iTunes or Xcode.

    My application is signed - and I got the message that the signed copy is stored next to the unsigned signature tool App publication Adobe copy.

    2. where does it save these files? If the application is built in the cloud, where is the signed app files?  The publish.adobe.com/appbuilder screen still shows my application as an "application not signed."

    Thanks for any help.

    Hello

    To find out how to load the signed applet (.ipa) on the device iOS through iTunes, please refer to the "Installation of your App on Test Devices" section on this page Apple Developer.

    The Adobe Digital Publishing Solution platform only stores the version unsigned app. The signed app generated by the signature publication Adobe App tool will be local on your computer, in the same directory that the unsigned application has been downloaded. that is, if the unsigned application has been downloaded to the default of 'Download' folder, then the signed app (with the suffix "-signed") will also be in the "Download" folder

    -Mike

  • loading movie clip to the stage with AS3 button click

    I'm trying to figure out how to load a clip to the scene with a click of a button and have the movieclip close again with a close button. Does anyone have a step by step on how to do this or links to tutorials.

    Here is an example of what I'm trying to do.

    http://i30.photobucket.com/albums/c316/good_snow/FlashBoxSample_zps4e655414.jpg

    Looks like you are using a 'el' and a 'single '.  they are similar, but they are not the same.

    copy and paste from your code to your properties panel or vice versa to correct.

  • How nagivate values from one page to another page as well assured in different modules like po and pon

    How nagivate values from one page to another page as well assured in different modules like po and pon?

    I tried using the session values, hashmap, and Transaction. But none worked.

    Please help me on this.

    Dilip thanks.

    My problem is solved.

    I solved the issue.using the main concepts of java.

    By importing a package into other package and then instantiate the required class.

    Kind regards

    2793235.

  • Some time ago I bought Adobe Acrobat 9 Pro for my Samsung but have now moved to a Mac. Now the sftware (disk) won't laod on the Mac. Adobe 9 is quite adequate for me - how I load on my Mac please?

    Some time ago I bought Adobe Acrobat 9 Pro for my Samsung but have now moved to a Mac. Now the sftware (disk) won't laod on the Mac. Adobe 9 is quite adequate for me - how I load on my Mac please?

    Hey Barrie,

    Acrobat IX is no longer available for download. Acrobat 9 Pro license is platform specific, so it does not work on your Mac in any case.

    You buy Acrobat DC for your Mac.

    Kind regards

    Rahul

  • I was change in 'Basic' in the 'Development' of Lightroom module, but in some sort the 'Basic' program has disappeared, and I find myself with more detailed editing tools that I don't want. How to get back the menu basic edition?

    Question: I've been change in 'Basic' in the 'Development' of Lightroom module, but in some sort the 'Basic' program has disappeared, and I find myself with more detailed editing tools that I don't want. How to get back the menu basic edition?

    Hello

    Click on the window inside Lightroom go to control panel > and select Basic from there.

    Thank you

  • How warns we reconnect when switching in demand between different module in 6.1.1.1.11?

    How warns we reconnect when switching in demand between different module in 6.1.1.1.11?

    Please, help me to understand this or fix it?

    Be sure to check that your containing remote access service is running. If it's not, restart the service and if it breaks down again, check the event logs.

    Ensure that the AuthenticationBridgeService is enabled in your EnvironmentSettings.config, and the user to remote access container is configured by using the SetupAssistant.

    
             
                   
             
            
             
                 
    ....
    

    If the remote container Service fails, please contact Support with precision since the event logs.

Maybe you are looking for