Clickhandler even between modules ....

I’m trying in a very simple way to find out how to activate a CLICK handler event between two modules! (From one to another)
Module one code: Btn calling submitHaqndler.
<mx:Metadata>
[Event(name="submit", type="flash.events.Event")]
</mx:Metadata>
<mx:Script>
<![CDATA[
public static const SUBMIT:String = "submit";
private function submitHandler():void {
dispatchEvent( new Event(SUBMIT));
]]>
</mx:Script>
Module two code:
<mx:Script>
<![CDATA[
private var myModCom:Object;
private function moduleComHandler(e:Event):void {
myModCom = step30.child as Object;
myModCom.addEventListener( "submit", ??? Calling ??? );
??? From here it schould automaticly do the CLICK
of the Btn which activates the module step30 ???
]]>
</mx:Script>
    <mx:ModuleLoader
         id="step30"
        url="ContactEntry.swf"
        ready="moduleComHandler();"/>
             <mx:Button id="btnToBeClicked"/>
             I did not include all the extra code which is in
             the Btn calling the module!
If somebody has an idea? Any help much appriciated aktell 2007

Some articles on the subject:
http://livedocs.adobe.com/flex/3/html/help.html?content=modular_7.html
http://groups.google.com/group/flex_india/browse_thread/thread/206833f932911665
http://www.actionscript.org/forums/showthread.php3?t=191536
Hope this helps
Dany

Similar Messages

  • Transaction Code to see the integration points between modules

    Dear Gurus,
    I came to know that, there is a trnsaction available in SAP ECC to see the integration points between modules.
    Eg. PP-MM & MM-PP
    If anyone found pls post it here.
    Regards,
    Siva.

    HI Siva
    Plz tell us from where you came to know, since we all havnt yet got that Tcode.Its various settings and configurations and Masters which intergrate the various  Modules like PP SD FI CO etc.
    BTW
    For  PP-SD
    Availability Check in Material master,MTO Scenario-MRP Run, thru Sales order 
    PP-MM
    Material Master ,Goods movement ,STO, Reservation , Purchase Requisitions, Purchase orders , MRP Run
    Quota arrangements etc
    PP HR
    In work Center capacity
    PP QM
    QM view Inspection type for each type of material
    PP CO
    Activities Confirmations COPA
    PP PM
    Euipment master, workcenter euipment
    I hope it is clear to you now
    Regards
    Anupam Sharma

  • Rc.conf: difference between MODULES=() and MOD_BLACKLIST=()?

    Is there any difference between
    MODULES=(!foo)
    and
    MOD_BLACKLIST=(foo)
    I just think that maybe the MOD_BLACKLIST could be ripped out of rc.conf and only use MODULES=() with a ! to disable a module like in DAEMONS=() to clean it up a little bit, if those 2 are the same...
    Of course there is a difference, since MOD_BLACKLIST can't load modules, but all the functionality of MOD_BLACKLIST can be done by MODULES, right?

    keeping only MOD_BLACKLIST wouldn't be good since you can't manually load modules then, but only NOT load them.
    with only keeping MODULES it would be more like DAEMONS: you can specify the stuff to load AND you can prevent stuff from being loaded by putting a ! infront of the name.
    but hwdetect would have to be rewritten to use MODULES and since hwdetect comes from tpwoa and he uses MOD_BLACKLIST, my guess is that this is not going to happen
    as seen in this thread there are some people that like the MOD_BLACKLIST and they wouldn't be happy when they'd have to put the stuff into MODULES, so you can't make everyone happy.
    I just thought that it doesn't really make sense to have two almost identically things in the rc.conf as it keeps all the other stuff so simple with ONE place to edit most of the system stuff in one file and imho the two ways of preventing a module from being loaded in the else so simple config file doesn't really fit in.
    I don't have a problem with both arrays staying since I don't have to look at them all the time but it just feels weird to me.

  • Error while changing between modules

    Dear Know-it-All out there.
    Iam a Newbie - Middlebie Photosop User , so to keep it short.
    We just installed CC with Lightroom & PS. The problem „Error while changing between modules“.
    is occurring while starting Lightroom and the program cannot be used properly.
    There seems no chance to create a catalog properly, the Library just
    does not open any menu which it should do.
    Adobe Support could not work it out either so roar, their suggestions was
    to restart in safety mode / deleting library 5plist / plus many more
    little stuff which actually did not help.  This is already the second installation ,
    same problem as with the first. We are working on a IMac 2.9GHz, i5, 8GB 1600Mh, OSX 10.9
    Any ideas? Thank you so much and kind regards.
    Julia

    Hi Atul Saini.
    It is unbelievable how miserable the ADOBE support is.
    Iam sorry - but Iam awaiting answers, as we are paying
    since nearly a month and Lightroom does not work at all.
    Can you help or what is happening?
    Thanks.
    Really angry.
    Julia Ufer
    2014-09-05 21:50 GMT+02:00 Jeff A Wright <[email protected]>:
        Error while changing between modules
    Jeff A Wright
    <https://forums.adobe.com/people/JeffAWright?et=watches.email.outcome>
    marked Atul_saini123
    <https://forums.adobe.com/people/Atul_saini123?et=watches.email.outcome>'s
    reply on Error while changing between modules
    <https://forums.adobe.com/thread/1566317?et=watches.email.outcome> as
    helpful. View the full reply
    <https://forums.adobe.com/message/6703771?et=watches.email.outcome#6703771>

  • An error occurred while trying to switch between modules.

    Everytime I want to change to the new book modul, I got this error "An error occurred while trying to switch between modules." Only with the book modules, the others work great! I installed lr4 new - nothing changed... and help?

    Have you tried booting from the Win7 installation DVD doing a Startup Repair?

  • Differance between module pool & report programming

    hi can any 1 tell me what is a big difference between module pool & report programs why is the need of module pool if we can do all the things with report program, please tell me technically how it behave
    Please search for available information before posting
    Edited by: kishan P on Sep 6, 2010 11:22 AM

    Hi, Ashwinv
    Welcome to SCN
    Please Search Before Posting any More
    Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!!
    Thanks and Regards,
    Faisal

  • Differences between Module Pool Programming and Reports and Scripts

    Hi,
    please tell me the Differences between Module Pool Programming , Reports and Scripts .
    Thanks nad Regards ,
    PavanKumar

    Hi
    Type 1 - is a report programming it can be executed by both transaction and program (F8). Hence its is also called as Executable program.You can start logical databases together with reports.
    Type M - Its a module pool program which is executed only by transaction code.
    Scripts - report with GUI interface. we can have graphics, watermark .
                SAPscript is a client dependent one.the Transaction for script is SE71.

  • Playbar Navigation between Modules

    I have set up an Aggregator Project with Captivate 5.5, where I have linked up several Modules/SWFs.
    When I click the Next Button at the Playbar, I can only jump to the next slide within a Module, but not to the next one.  This makes it look like an error.
    Is there a way to navigate with the playbar also between Modules?

    This is actually the way that Aggregated projects work.  You need to use the aggregated TOC to jump into a different module. 
    The Next button on the playbar will stop working once you reach the final slide of each module.  Your Project End settings for each published module should be to Stop Project (not Close Project).  Then you will find that when the final slide is finished, the aggregator will automatically continue on to load the next module, and then the Next button will again work to allow you to continue navigating.

  • Difrence between module pool and dialog programming

    Hi abapers,
    can plz tell me difrence between module pool and dialog programming.

    Hi,
    Actually Dialog Programming is Module pool Programming.
    Please go thru this , see if your dbout gets clear.
    Basic components of dialog program?
    - Screens (Dynpros)
    - Each dialog in an SAP system is controlled by dynpros.A dynpros consists of a screen
    And its flow logic and controls exactly one dialog step.
    - ABAP/4 module Pool.
    Each dynpro refers to exactly one ABAP/4 dialog program .Such a dialog program is also called a module pool ,since it consists of interactive modules.
    Regards,
    Priyanka.

  • Difference between module on request and module on input

    hi,
    what is the Difference between module on request and module on input
    can any one explain with some examples
    Thanks in advance
    Ganesh

    HI
    module on request is triggered when you press F4
    module on input is triggered when you enter any value to certain field or change it.
    refer this for more details
    http://www.jt77.com/development1/programming-19561.html
    reward if helpful
    thanks
    vivekanand
    Message was edited by:
            vivekanand meghmala

  • Keyboard shortcut: switch between modules?

    Hi all and thank you for your help.
    I have checked through the keyboard shortcuts and could not fint it: Is there a shortcut to switch between the different modules in LR 3? It will be very handy if there is something like that.
    Thank you so long.
    Deon

    Hi,
    You can also add your own shortcuts either by editing (or adding) TranslatedStrings.txt in the relevant subfolder of the Adobe\Adobe Photoshop Lightroom 3.4\Resources folder or by using the Keyboard Tamer plugin.
    As an example, here is my own version of TranslatedStrings.txt which I added to the Adobe\Adobe Photoshop Lightroom 3.4\Resources\en folder (this file doesn't exist by default for the english language - english shortcuts are hardcoded in LR) :
    "$$$/AgLibrary/Menu/Photo/RotateLeft/Key=Cmd+("
    "$$$/AgLibrary/Menu/Photo/RotateRight/Key=Cmd+)"
    "$$$/AgLibrary/Filter/Label/IncludeSubItems/Key=A"
    "$$$/AgLibrary/Menu/View/ShowFilterBar/Key=$"
    The first 2 lines allowed me to fix a problem with the Rotate command because I'm not using an english but a french keyboard. The third line allows me to quickly toggle between include and exclude subfolder view in the Library module and the third one is the shortcut that allows me to toggle the filter bar.
    You'll be able to customize your own version of TranslatedStrings.txt by looking at the same file in another subfolder. If your mother language is english, you'll have to look in the subfolder related to the foreign language you know best in order to have an overview of all the commands to which you can attach a shortcut (as mentioned above, TranslatedStrings.txt doesn't exist for the english language).
    Patrick

  • Same image - different appearance between modules

    I am struggling with migration of my LR2 catalogue etc to a new PC with Windows 7, using the same Eizo monitor. Setting aside annoying discrepancies between original and migrated development histories, I was examining a recent snow landscape scene whose white balance was not as I had adjusted it in 'old' computer. Development history appears to have gone yet the corrections appear to take effect when viewed in the Develop module. Good! But when I then switch to Library mode, the white balance changes slightly. What is going on?
    Can an image with embedded metadata transfer to new computer with the effects of past development work without revealing it in the new history? Certainly it seems so. But why should there be a visible difference when viewed in two modules? More important, where lies the truth?

    With Lr 2 the "truth" lies in the Develop module when image is zoomed so that image is being viewed at 100%. However, it's generally the case that Fit view and 1:1 view will match. The exceptions being when there is a high level of sharpening or colour noise correction.
    Development history appears to have gone yet the corrections appear to take effect when viewed in the Develop module. Good! But when I then switch to Library mode, the white balance changes slightly. What is going on?
    Try zooming to 1:1 in Library module. This forces the preview to refresh.

  • After the start of Lighroom I get the error message An error occurred while attempting to switch between modules. also uninstall and reinstall after a bvleibt the Fehlermedlung in lightroom receive

    ..can anybody help me ?....

    For what it is worth, I was unable to change to the Web and Print modules, and I was also unable to record new presets (though I had successfully done it many times before) though I could still use already created ones.  I was baffled, but found a workaround using hints from this and other forums.  Much thanks to those who provided me with a starting point as I never would have figured this out on my own.
    My wife is a separate user on the same computer, and I tried switching our catalogues and preference files, ... nada.  Looking at her folder structure under user/library/application support/adobe/lightroom, she had folders for Web Templates, Web Galleries, and Print Templates but I didn't.  So, simply copying her folders (not creating new ones of the same name, which may still have worked) into my own lightroom directory worked. 
    Where I screwed up initially was tryiong to use my own presets under her install of lightroom and then creating new ones (which worked) but then trying to import them back into mine.  I had the new presets working under my own install, but still couldn't create new ones under my own setup.  Finally, I realized that it was the "Develop Presets" folder under my own install that was in some way corrupted and copied her Develop Presets folder into my own install and every thing was fixed. I could even copy the subfolders from my own Develop Presets folder directly back in without issue.
    Hope this helps someone.

  • Passing custom events between modules through parent application

    I have created a custom event that I want to use to pass a string between two modules.  The event looks like this:
        package com.mypackage.events
              import flash.events.Event;
              public class ThumbDeleteEvent extends Event
                        public static const THUMBS_DELETED:String = "thumbsDeleted";
                        public var files:String;
                        public function ThumbDeleteEvent(type:String, files:String)
                        super(type);
                        this.files = files;
                        // Override the inherited clone() method.
                        override public function clone():Event {
                        return new ThumbDeleteEvent(type, files);
    In one module I dispatch the event like so:
        parentApplication.dispatchEvent(new ThumbDeleteEvent("parentApplication.thumbsDeleted", files));
    and in another module I listen for the event like so:
        public function init():void {
                        parentApplication.addEventListener("parentApplication.thumbsDeleted", onThumbsDelete);
    if I use ThumbsDeleteEvent as the type passed in to the listener function like this:
        public function onThumbsDelete(evt:ThumbDeleteEvent):void{
               trace("thumb delete event for thumbs: "+evt.files);
    I get the following error:
        TypeError: Error #1034: Type Coercion failed: cannot convert  com.mypackage.events::ThumbDeleteEvent@26748a31 to com.mypackage.events.ThumbDeleteEvent.
    if I just use Event as the type passed in to the listener function like this:
        public function onThumbsDelete(evt:ThumbDeleteEvent):void{
              if(evt is ThumbDeleteEvent){
                        trace("thumb delete event for thumbs: "+(evt as ThumbDeleteEvent).files);
              }else{
                        var type:XML = describeType(evt);
                        trace(type.toXMLString());
    It works but does not think it is a ThumbDeleteEvent type class (it hits the else statement) the xml output of describe type says its type is:
        type name="com.mypackage.events::ThumbDeleteEvent"
    What is going on here?  If I put a breakpoint in the debugger it says the event is a ThumbDeleteEvent and I can see the files parameter and its right???

    Sorry I have been trying all sorts of stuff and I cut and pasted the wrong version, I meant to put this:
    if I just use Event as the type passed in to the listener function like this:
        public function onThumbsDelete(evt:Event):void{
              if(evt is ThumbDeleteEvent){
                        trace("thumb delete event for thumbs: "+(evt as ThumbDeleteEvent).files);
              }else{
                        var type:XML = describeType(evt);
                        trace(type.toXMLString());
    Then it gets passed to the else condition (it does not recognize it as a ThumbDeleteEvent) and this is the output of the trace:
    <type name="com.helius.events::ThumbDeleteEvent" base="flash.events::Event" isDynamic="false" isFinal="false" isStatic="false">
      <extendsClass type="flash.events::Event"/>
      <extendsClass type="Object"/>
      <constructor>
        <parameter index="1" type="String" optional="false"/>
        <parameter index="2" type="String" optional="false"/>
        <parameter index="3" type="Boolean" optional="true"/>
        <parameter index="4" type="Boolean" optional="true"/>
      </constructor>
      <variable name="files" type="String"/>
      <accessor name="type" access="readonly" type="String" declaredBy="flash.events::Event"/>
      <accessor name="bubbles" access="readonly" type="Boolean" declaredBy="flash.events::Event"/>
      <accessor name="cancelable" access="readonly" type="Boolean" declaredBy="flash.events::Event"/>
      <accessor name="target" access="readonly" type="Object" declaredBy="flash.events::Event"/>
      <accessor name="currentTarget" access="readonly" type="Object" declaredBy="flash.events::Event"/>
      <accessor name="eventPhase" access="readonly" type="uint" declaredBy="flash.events::Event"/>
      <method name="stopImmediatePropagation" declaredBy="flash.events::Event" returnType="void"/>
      <method name="preventDefault" declaredBy="flash.events::Event" returnType="void"/>
      <method name="isDefaultPrevented" declaredBy="flash.events::Event" returnType="Boolean"/>
      <method name="clone" declaredBy="com.helius.events::ThumbDeleteEvent" returnType="flash.events::Event"/>
      <method name="toString" declaredBy="flash.events::Event" returnType="String"/>
      <method name="formatToString" declaredBy="flash.events::Event" returnType="String">
        <parameter index="1" type="String" optional="false"/>
      </method>
      <method name="stopPropagation" declaredBy="flash.events::Event" returnType="void"/>
    </type>
    This causes a TypeError:
    public function onThumbsDelete(evt:ThumbDeleteEvent)
    This causes a null pointer error because myevent is null:
    public function onThumbsDelete(evt:Event):void{
         var myevent:TumbDeleteEvent = (evt as ThumbDeleteEvent);
         var files:String = myevent.files;
    Here is what I see when I put a break point in and debug it:
    I tried upgrading my event extender as you suggested, that had no effect.  I removed the dot notation in the type and it does the exact same thing I.E. dispatching class:
                                                 parentApplication.dispatchEvent(new ThumbDeleteEvent("thumbsDeleted", files));   or
            parentApplication.dispatchEvent(new ThumbDeleteEvent(ThumbDeleteEvent.THUMBS_DELETED, files));
    and receiving class:
         parentApplication.addEventListener("thumbsDeleted", onThumbsDelete);
    I really appreciate your help, I am baffled by this, I have tried everything I can think of for two days and I am ready to start throwing things. 

  • Integration between modules

    Hello,
    How is the integration done between different modules in SAP or how does the data flow occur. Could anyone explain me with an example.
    Thanks in advance
    Aparna

    hi
    itegration is betwn FI MM SD and  PP
    MM integration with SD
    sales organization of a plant in a company creates sales order taking into account customer requirement of goods . sales order is then converted to purchase order in plant by the purchase organisation and it is send to vendor and vendor supplys goods. Payment is done to vendor with invoice created with respect to the purchase order as reference and goods are delivered to customer and billing is done with respect to sales order.
    MM integration with FICO
    MM is related to FICO in updating accounts during goods recipet,issue and goods transfer .
    valuation class ,account grouping ,movement type etc . are linked to general ledger accounts of FI for account posting in a company through automatic account determination. Accounting document generated after goods reciept "MIGO" transaction gives the FICO information like accounts updated like stock or consumption account etc...once invoice verification is done in MM then payment is done in FICO considering invoice as reference for paying vendor.
    The main integration between FI-MM is
    1) Valuation & Account determination
    main transactions are OMWB/OBYC
    Material price change -- MR21
    2) Purchasing -- Account assigned PO's & PR's
    Tax code integration with pricing schema
    3) CIN activities
    J1IT India localization
    for PP with others
    1.With FI Module - Through Valuation Class which allows to post the material's of same material type to
    different G/L Account or Which allows to post the material's of different material type to same G/L Account.
    or when some confirmations are made Accounting entries are made.
    2.With CO Module - Activity types are created and Activity type are linked to the cost centers in KP26 for
    defining the activity rate on hour basis,so for this combination entered cost center and activity type will be
    mentioned in the work center to capture the operation or routing cost.
    3.With SD Module,it happens thorugh the availability concept and Requirement Class in the Planning
    strategies.
    4.With MM Module it happens through the various movement types & material document posting.
    5.With QM,say if a particular inspection type is made active ,then the material's stock goes to Quality
    inspection stock and once cleared from Usage Decision,they go the respective stock's.
    For Eg: if inspection type 04 is active - Inspection lot for a goods receipt from production which means after
    production confirmation the posted stock goes into Quality inspection stock and once cleared goes to
    unrestricted stock.
    Likewise many integrations are there which can be used as per the business requirement.
    if u search on net u will many sites providing integration of FI MM SD ,check following
    http://www.sapcustomization.com/document/fi_mm_integration.pdf
    /message/5925020#5925020 [original link is broken]
    http://www.sap-basis-abap.com/mm/sap-mm-and-fi-integration.htm
    http://www.sapstudymaterials.com/
    http://www.sap-img.com/financial/integration-of-fico-with-other-modules.htm
    hope it helps
    regards
    kunal

Maybe you are looking for