Module load order

Since kernel 3.4 I get this error at boot time:
Errata AE18 not fixed, update BIOS or microcode of the CPU!
the microcode update module is listed in /etc/rc.conf but it is loaded *after* coretemp. How do I change the order modules get loaded?

Oh dear, I had not found the manpage for modprobe.conf, because it is under
man modprobe.d
Now, I get this:
Jun 17 12:34:46 localhost kernel: [ 2.630305] microcode: CPU0 sig=0x6e8, pf=0x20, revision=0x0
Jun 17 12:34:46 localhost kernel: [ 2.801118] coretemp: Errata AE18 not fixed, update BIOS or microcode of the CPU!
Jun 17 12:34:46 localhost kernel: [ 2.801202] coretemp: Errata AE18 not fixed, update BIOS or microcode of the CPU!
Jun 17 12:34:46 localhost kernel: [ 2.853903] microcode: CPU0 updated to revision 0x39, date = 2005-11-15
Jun 17 12:34:46 localhost kernel: [ 2.853919] microcode: CPU1 sig=0x6e8, pf=0x20, revision=0x0
Jun 17 12:34:46 localhost kernel: [ 2.869176] microcode: CPU1 updated to revision 0x39, date = 2005-11-15
Jun 17 12:34:46 localhost kernel: [ 2.869245] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
not quite solved...
Last edited by wombat23 (2012-06-17 10:38:31)

Similar Messages

  • Daemons and modules loaded at boot problem

    Hi all, i have a problem with my booting time and modules / daemons loaded at boot
    This is my bootchart:
    [IMG=http://img195.imageshack.us/img195/4701/bootchartpw.th.png][/IMG]
    This is my rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="it_IT.utf8"
    HARDWARECLOCK="localtime"
    USEDIRECTISA="no"
    TIMEZONE="Europe/Rome"
    KEYMAP="it"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(lib80211_crypt_tkip wl !snd-pcsp !pcspkr)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="neplero"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    eth0="dhcp"
    INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng netfs crond hal !dbus !bluetooth @alsa)
    How can i modify my modules loaded and daemons to lower some boot time.
    And why is that bluetooth is still loaded even if it's !bluetooth? And is it possible to background ntfs-3g?
    Thanks all for advices!

    Please clarify what you mean. If the bluetooth service is started, then there is a bug or something very very odd. IF on the contrary you mean that the bluetooth-related modules are loaded by udev, this is perfectly normal: udev autoloads modules according to your hardware, not to your services. You need to blacklist the loaded bluetooth-related kernel modules (check them with 'lsmod') and to blacklist them in the MODULES array.
    Last edited by patroclo7 (2010-01-30 19:14:51)

  • System boot occasionally hangs at module loading

    Since I installed Arch, about 43% of the time that I have attempted to boot my computer the boot process hangs at module loading. I assumed that the problem may have been that I was autoloading my modules. I tried turning autoloading off and manually loading them instead but that did not help. Then (as a shot in the dark) I tried having autoloading on, with my modules still defined in rc.conf, but that only made things worse (understandably, I did not think that this would help, but I figured that it couldn't hurt to try).
    Here is my /etc/rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.UTF-8"
    HARDWARECLOCK="UTC"
    TIMEZONE="America/New_York"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="no"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(ac battery button processor thermal video cdrom intel-agp tpm_bios tpm tpm_tis tpm_tis tpm_tis drm_kms_helper drm i915 hid i2c-algo-bit i2c-i801 i2c-core evdev joydev pcspkr psmouse serio_raw uvcvideo v4l1-compat v4l2-compat-ioctl32 videodev pci_hotplug shpchp wmi rtc-cmos rtc-core rtc-lib output iTCO_vendor_support iTCO_wdt snd-mixer-oss snd-pcm-oss snd-hwdep snd snd-page-alloc snd-pcm snd-timer snd-hda-codec snd-hda-intel soundcore scsi_mod ahci atl1e mac80211 rfkill iwlagn iwlcore cfg80211 usb-storage usbhid usbcore ehci-hcd uhci-hcd sd_mod sr_mod st)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="foster.laptop"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (wlan0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    #wlan0="dhcp"
    INTERFACES=(!wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(@alsa @syslog-ng @network dbus hal networkmanager @cups @netfs @crond @laptopmode)
    Last edited by nothinggoespast (2010-06-28 00:47:01)

    I have the same problem on my thinkpad T500 after I upgrade the wireless card (intel wifi link 5300).
    For a long time I didn't understand the why of this behavior, but some weeks ago I realise that the problem can solve it hard-locking the wireless card and unlocking after the step: "loading modules".
    For more information this is the complete thread on thinkpad forum that I wrote when I try to solve this issue: http://lnv.lithium.com/t5/T400-T500-and … 870#M26238
    I apologize if you do not understand what I mean, the problem is that I have some difficulties to express myself in English

  • Controlling  JAR loading order in OC4J

    I have a WAR file ,which contains 2 JAR files namely, BASE.JAR, IND.JAR(among others).
    BASE.JAR is used in our base application and IND.JAR is the industry specialization of BASE.JAR.
    IND.JAR & BASE.JAR do have many overlapping classes.
    In my industry application WAR ,i neeed OC4J to load IND first and then look at BASE. that way i will always invoke the IND variant and then if a class is not in IND then BASE gets invoked.
    how do I set this ? ( weblogic has a load order ,does OC4j have anything like that ?).
    Thanks in advance.

    Hello,
    If your application can be packaged into an EAR file I recall sometime I employed the standard application.xml file (that tells the container to load each module in the order specified therein).
    Nevertheless that addresses a deploy time issue, not runtime like this one. If you are using OC4J 10.1.3, you can edit the deployment plan for your WAR file; in the webAppClassLoader wizard you can change the "searchLocalClassesFirst" or "includeWarManifestClassPath" setting. By finding adequate values for those above and by using the shared libraries mechanism accordingly you may work it out.
    RB

  • Target Load order is not working properly in 11.2.0.2

    Hi,
    Mappings whihc are migrated from OWB10.2 version to 11.2 which contains multiple targets are not working in accordance with the target load order given in the mapping.
    The order in which targets are loaded changes between execution.
    To test is this a problem with migration we had created a smaple mapping containg 3 targets and mentioned loading order in each target table as well as in mapping property.
    The order in which the targets are loaded was random. But when we have 2 targets it seems to be working. But for migrated maps this is also not working.
    Is there any bug reported in 11.2.0.2 for this issue? Any help is highly appreciated.
    Thanks and Regards,
    Pnreddy

    Target load ordering is set to false by default in 11.2.
    You need to set it to true if you want your mapping to use it.

  • ERROR: Module load completed but symbols could not be loaded for Adobe AIR.dll

    Does anyone know what causes this error? The application installed on my machine is using Adobe Air.dll version 2.0.3.13070
    This dump file has an exception of interest stored in it.
    The stored exception information can be accessed via .ecxr.
    (2b84.2908): Application hang - code cfffffff (first/second chance not available)
    eax=00000000 ebx=05105dbc ecx=0c013503 edx=00002b84 esi=77f15b70 edi=00000002
    eip=00a68972 esp=0012e03c ebp=00000000 iopl=0         nv up ei pl zr na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00040246
    Unable to load image c:\Program Files\Common Files\Adobe AIR\Versions\1.0\Adobe AIR.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for Adobe AIR.dll
    *** ERROR: Module load completed but symbols could not be loaded for Adobe AIR.dll
    Adobe_AIR+0x58972:
    00a68972 8bec            mov     ebp,esp

    Hi,
    Check weather its right path or not.Even check the call interface,weather you are giving the right one or not.
    Regards,
    Srikanth

  • Undesired Load order of  FLV and MP3s

    Hello
    I have added a scrolling Flash page with a FLV and several
    MP3 files in each their own player to site below.
    I have set the video to autostart.
    The MP3s are set to not autostart.
    When I export the FLA the swf nicely plays the video first,
    and the mp3s are loading in the background simultaniously.
    When viewing the page in Firefox and Netscape the same
    happens, just as intended.
    Problem:
    But in IE and Safari all the sound files are loading first
    (and not playing) and not until they are fully loaded will the
    video start loading and playing. This results in viewing an empty
    video window for a long time.
    1) Is there are way to make all browsers load the video first
    and play it first?
    2) And in general manage load order of video and audio files
    in a Flash file?
    Thank you on beforehand.
    ggaarde
    http://www.corpstory.com/video.htm

    no, the sounds wouldn't be playing until you used the start()
    method of those sound instances or you assigned the source property
    of your mediaplayer and you wouldn't want to do either until your
    flv completed play.
    in fact, it would be optimal to first load one sound: the mp3
    that follows the flv. then when that sound completed loading, load
    the 2nd sound.

  • Problem of Query of Module Purchase Order, Good Receipt PO, Good Return

    Hi,
    I would like to seek for assistance regarding double entries of documents,  I have used the query and found out lately the it has a problem, Please refer to thread "Query of Module Purchase Order, Good Receipt PO, Good Return" for details.
    You help is very much appreciated.
    Regards,
    Clint

    Hi Clint,
    Try this one:
    SELECT DISTINCT 'GRPO' AS TYPE, T1.DOCNUM
    'GRPO/RET#', T3.DOCNUM 'PO#',T1.CARDCODE,
    T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE, T0.QUANTITY,
    T0.PRICE, T0.LINETOTAL
    FROM DBO.PDN1 T0
    INNER JOIN DBO.OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN DBO.POR1 T2 ON T0.BASEENTRY = T2.DOCENTRY
    INNER JOIN DBO.OPOR T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE T1.DOCNUM = '[%0]' AND T0.ITEMCODE IS NOT NULL
    UNION ALL
    SELECT DISTINCT 'RETR', T1.DOCNUM,T3.DOCNUM,
    T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE,
    T0.QUANTITY, T0.PRICE, T0.LINETOTAL
    FROM PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN RPD1 T2 ON T0.TRGETENTRY = T2.DOCENTRY
    INNER JOIN ORPD T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE T1.DOCNUM = '[%0]' AND T0.ITEMCODE IS NOT NULL
    If you still have duplicates, let me know any differences in those lines.
    Thanks,
    Gordon

  • Query of Module Purchase Order, Good Receipt PO,  Good Return

    Hi,
    Like to ask assistance regarding Module Purchase Order, Good Receipt PO,  Good Return under Purchasing A/P.
    I have a hard time to linking the tables above:
    PO Module have table : OPOR and OPOR1
    GRPO have table : OPDN and PDN1
    Good Return have table : ORPD and RPD1
    Its very mind bubling linking this 6 tables can anyone please can assist regarding the situation, a query that shows that they are connected to each other.
    Thank very much!
    Clint

    Clint,
    Like Suda said, this query assumes your have normal business practise.
    One more thing to mention, the lower part of union all needs some other change.  Here is the complete query:
    SELECT     DISTINCT 'GRPO' AS TYPE, T1.DOCNUM "GRPO/RET#", T3.DOCNUM PO#,T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE, T0.QUANTITY, T0.PRICE, T0.LINETOTAL, T0.TOTALFRGN, T0.RATE
    FROM         PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN POR1 T2 ON T0.BASEENTRY = T2.DOCENTRY
    INNER JOIN OPOR T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE    T1.DOCNUM LIKE '[%0]'
    UNION ALL
    SELECT     DISTINCT 'RETR', T1.DOCNUM,T3.DOCNUM, T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE, T0.QUANTITY, T0.PRICE, T0.LINETOTAL, T0.TOTALFRGN, T0.RATE
    FROM         PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN RPD1 T2 ON T0.TRGETENTRY = T2.DOCENTRY
    INNER JOIN ORPD T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE    T1.DOCNUM LIKE '[%0]'

  • Load Order in a mapping

    any one has done a SINGLE MAPPING WITH multiple SOURCE TO multiple target
    like      source a TO target a
         source b TO target b
         source c TO target c
    in an order, which is first a should be feeded, THEN b and so ON...
    we have load order in Paris to resolve this, I'd like to know is there ANY way we can do it with 10GR1

    I dont think there is anything like load order in 10gR1 but when i had similer problem we sorted that out with use of process flow by spliiting the mappings.
    If you know a better way out then do let me know.
    I have come across a previous thread in the forum on the same issue which says that we can not control load control WITHIN the mapping and OWB decided it by default in the order in which objects are drppoed on canvas!!!!!!!!!!!!!!

  • SWF Load order.

    Hello all,
    I have a group of FC outputs that I have used to create a virtual tour of my client's showroom here:
    electronic-lifestyle.com
    But the SWF files I have linked in the FXP are loading from back to front.  The last Page is loading first and the first loads last creating some issues.  I have one more pass I need to maker to fix some glitches with the vertical scroll bar and several other points but I need to know if I can adjust the order in which the SWF files load into the page.  I would prefer they load when called for but if that is not possible I would like to load from the first page to the last.
    On an associated thought, is it possible to create a progress bar in FC or Flash that will give the viewer some feed back on the SWF files loading in.  Right now the area is blank until they arrive.
    I have a feeling that this level of control is something achieved in Flash Builder, not in FC.  That is fine, I am planning on importing the file into FB to enable deep linking anyway but since there is no round trip function I figured I would get all of the FC work finished first, then go into FB and make whatever changes need to happen there.
    It is starting to seem silly that the two programs were separated to begin with.  It seems a natural evolution that Catalyst and Builder be joined into the same application sometime in the near future.  Once the round trip issue is taken care of, why not just work toward combining the two apps?
    Anyway, if someone could give me a pointer on the load order issue that would be wonderful.
    Thanks,
    Brett

    dmcdonald wrote:
    > Is there a way to dictate load order of html page?
    No.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Problem with module loading another module

    I have run into what appears to be a bug in Adobe Flex 3.3, but would like others opinion.  I have a simple application which loads a module.
    If a user checks a box, then the module loads a submodule and calls a funtion in that submodule which modifies the UI slightly.
    It really is simple code, but not easy to explain, so bear with me on this :-)  All code is attached.  Rename from *.txt to *.mxml.
    I have added an event listener to the submodule loader for the ModuleEvent.READY event so that I can call a function in it once it is loaded (the function modifies the UI):
    private function onModuleReady(event:Event):void{     Alert.show(
    "Module load successful", "Success");
         if (loader2.child is SubModule) {
              var module:SubModule = loader2.child as SubModule;          module.createCompleteHandler();
              module.modifyUI(pnlMain);
         }else {          Alert.show(
    "loader is NOT SubModule", "Failure");     }
    Stepping through the debugger, loader2.child IS INDEED a SubModule Class, yet I consistantly step into the else clause.  As I debugged this, I added a similar event listener for the READY even on the loading of the first module.  By just defining a new function in the main module, this code now works.  I don't have to actually call that function, just define it, meaning that if I comment out the entire function onModuleReady (the one defined in the main application that is just printing out a trace), I get the error stated above.
    <?xml version="1.0" encoding="utf-8"?><mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="createCompleteHandler()">
    <mx:Script>
    <![CDATA[
    importMainModule; 
    importmx.events.ModuleEvent; 
    private function createCompleteHandler():void{loader.url =
    "MainModule.swf";
    // loader.addEventListener(ModuleEvent.READY, onModuleReady);loader.loadModule();
    private function onModuleReady(event:Event):void{ 
    if (loader.child isMainModule) { 
    trace("here");}
    Please try the attached code, and try running it with the function onModuleReady implelented in the Application body and with it removed.  Why would defining a function that is never called for the first module affect the second module?

    I figured this out.  I needed to add loader.applicationDomain = ApplicationDomain.currentDomain;
    This fixes the problem.
     

  • Function Modules for Order Settlement

    Hi,
    I need simulate the transaction KO88 for Order Settlement with a function module but without batch input. Please, somebody can tell me which function module I can use and give me a example?
    Also, I need another function module for order release...
    Thanks in advance,
    Regards,
    Irina

    Here`s the way to find out how its using ...
    GO to TR.SE93-> give "KO88" 0>  click display
    Double click program name and find "call fucntion" when list come up "serach "Settlement" . You`ll get idea.
    Hope this’ll give you idea!!
    <b>Pl... award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • Pass Parameter to Module Loaded with ModuleManager

    Is it possible to pass a parameter to a module loaded with ModuleManager?

    80sRelic,
    First, to answer a lingering question from your last post, the reason simIndex was 3 for each module (as opposed to 1,2,3) has to do with timing. When you ran getDataFromParent() within the module you probably did so after an event like the creationComplete event. The for loop (with simIndex++) executed almost instantly while the asynchronous events for each module kicked in a few ms later, so '3' across the board.
    Also, as far as the IModuleInfo::factory.create() method goes, yes you can pass a slew of parameters in here, but this is NOT the way to pass data to the module. I don't know what this parameter is all about, I thought it might pass variables to the module constructor (it does not), the documentation says something about 'let building factories change what they create,' but I never figured it out. Sorry. All I know is that whatever this is, it is not the way.
    BTW, the general topic we're dealing with is 'passing data' between module and application and more info can be found here and in the flex 3 cookbook.
    But, I'm guessing you already know this. (Just in case!!! )
    Of all the ways to pass data, gettingDataFromTheParent() is probably the worst method, or so they say. In general, passing data between module and application couples the two objects together and so they are no longer are they black boxes to each other. And I'm guessing the reason gettingDataFromParent() is the least preferred method probably has to do with change, where changeOverTimeOfApp > changeOverTimeOfModule.
    I wrote a small app, which might help demonstrate a nice way for you to pass data in your project. Please note that the app, as it stands doesn't make much sense. Modules should only be used when there's a really good reason to do so, for instance if the module is prohibitively large and only a fraction of the users will actually ever need to employ the module. In my particular example, using a custom component would be simpler and make much much more sense.
    Well, here it is (with .fxp appended at the bottom). Hope this helps,
    - e
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo" >
      <fx:Script>
        <![CDATA[
          import modules.ColoredRectangle;
          import mx.collections.ArrayCollection;
          import mx.events.ModuleEvent;
          import mx.modules.IModuleInfo;
          import mx.modules.ModuleManager;
          private var myModInfo:IModuleInfo;
          private var myColor:uint;
          private var colorCollection:ArrayCollection = new ArrayCollection(
               [{colorName:"Red",    hex:"0xFF0000"},
                {colorName:"Orange", hex:"0xFFA500"},
                {colorName:"Yellow", hex:"0xFFFF00"},
                {colorName:"Green",  hex:"0x008000"},
                {colorName:"Blue",   hex:"0x0000FF"},
                {colorName:"Indigo", hex:"0x4B0082"},
                {colorName:"Violet", hex:"0xEE82EE"}] );
          protected function fetchModules():void     {
            myModInfo = ModuleManager.getModule("modules/ColoredRectangle.swf");
            myModInfo.addEventListener(ModuleEvent.READY, moduleReadyHandler);
            myModInfo.load();
          private function moduleReadyHandler(event:ModuleEvent):void {
            for each(var colorObj:Object in colorCollection) {
               var myModuleInstance:ColoredRectangle = myModInfo.factory.create() as ColoredRectangle;
               myModuleInstance.myColor = uint(colorObj.hex);
               tileBox.addElement(myModuleInstance);
        ]]>
      </fx:Script>
      <s:HGroup verticalCenter="0" horizontalCenter="0"
                width="750" height="400" gap="50">
         <s:Border width="100%" height="400">
            <s:layout>
               <s:VerticalLayout />
            </s:layout>
            <s:Button id="seeModulesButton1" label="fetch modules!"
                   click="fetchModules()" width="100%"/>
            <s:Scroller width="100%" height="100%">
               <s:Group  id="tileBox" height="100%" width="100%">
                  <s:layout>
                     <s:TileLayout columnAlign="justifyUsingGap" />
                  </s:layout>
               </s:Group>
            </s:Scroller>
         </s:Border>
       </s:HGroup>
    </s:Application>

  • How to call a function defined inside a module loader

    I wanna know...the method of calling a function defined
    inside a module loader component?
    Th
    <mx:ViewStack id="myViewStack" >
    <mx:Canvas id="Mgmt1">
    <mx:Label text="Gopher"/>
    </mx:Canvas>
    <mx:Canvas id="Mgmt2" >
    <mx:Label id="gopherlbl" top="-2" left="0"
    height="40"/>
    <CustomComp:MgmtGrid id="ManageCom"/>
    </mx:Canvas>
    <mx:Canvas id="Admin">
    <mx:ModuleLoader id="adminModule" url="{adminModUrl}"
    width="100%" height="100%" />
    </mx:Canvas>
    where adminModUrl="admin.swf";
    Thru the MangeCom id reference,I am able to call the fucntion
    defined inisde the CustomComponent File MgmtGrid...But I am unable
    to call the funciton defined inside adminModule
    ModuleLoader...(using id reference).Anyone pls suggest a solution
    for this..

    Ensure the module is loaded before calling the method in
    particular if you are calling it at the initialization of your
    app.

Maybe you are looking for