Dispatchig event from one module and listen it in an other module

Hi,
I would like to know if it's possible to dispatch event from module for example "M1" and listen this event to call the corresponding command but in an other module "M2". Knowing that M1 produces an swf "SWF1" and M2 produces an other swf "SWF2". For example :
In the view of a module M1, I should have this statement : CairngormEventDispatcher.getInstance().dispatchEvent(new MyClassEvent(parm));
know in module "M2" I would like to know how to recover this event and then executing command corresponding to this event.
If it's not clear enough I can explain it again.
I need really your help for the rest of my development.
Thank you in advance. :)
Ziad.

Hi Ziad,
Sorry, but this forum is for discussing the future of cairngorm, not how to use it today.
I suggest you post your question on the FlexCoders mailing list or on the Cairngorm Documentation Group :
http://tech.groups.yahoo.com/group/cairngorm-documentation/
Thanks ;)

Similar Messages

  • I have the same songs showing up on 2 playlists on my Ipod. How do I remove the songs from one playlist and leave them on the other playlist?

    I have the same songs showing up on 2 playlists on my Ipod. How do I remove the songs from one playlist and leave them on the other playlist?

    Hi tmilbut,
    Welcome to the Support Communities!
    The information below may be able to answer your questions about how to delete items from a playlist on an iPod.
    iPod Nano User Guide - Remove items from a playlist - page 23
    http://manuals.info.apple.com/MANUALS/1000/MA1624/en_US/ipod_nano_user_guide.pdf
    Remove items from a playlist:
    1 On the Home screen, tap Music > Playlists, then tap the playlist you want to edit.
    2 Flick down, then tap Edit.
    3 Tap next to the item you want to delete, then tap Delete when it appears on the right.
    4 When you finish, tap Done.
    Delete a playlist:
    1 On the Home screen, tap Music > Playlists.
    2 Flick down, then tap Edit.
    3 Tap next to the playlist you want to delete, then tap Delete when it appears next to the playlist.
    If you tapped the wrong playlist, tap the one you want to remove.
    4 Tap Delete, or tap Cancel if you change your mind.
    5 When you finish, flick up, then tap Done (or swipe right to return to the Home screen if you cancel).
    Cheers,
    - Judy

  • Fire event from one class to another.

    I have a Login JFrame class that allows users to enter username and password. I then have another JFrame class which will monitor when someone logs in. I am trying to get the username and password to appear on the monitor login frame text area when the user presses enter on the login frame.
    I can get it ot work by passing the Monitor class into the Login classes constructor but I want to be able to open the classes separately.When I try to open separatley at present I get java.lang.NullPointerException
         at project.LoginGUI.actionPerformed(LoginGUI.java:70) which is referring to the following code:      
    if(listen.equals("OK")){
         GymMonitor.username.setText(username.getText());     
    Both classes are in the same package. What I want to know is how to fire an event from one class to another? when the class you are firing to is constructed separately.
    I hope this question is not too verbose.
    Thanks

    Generally for something like this you would use a listener.
    Your login window is its own entity--it has a user interface, and it gets some information which someone else could ask it for. It could even generate its own events, such as when the user presses "OK". You would first define an interface for anyone who wants to know when someone logs in:
    public interface ILoginListener extends java.util.EventListener
      public void login(LoginEvent event);
    }You would then define the LoginEvent class to contain information like what the user entered for username and password. You could give your login dialog a couple of methods:
      private Vector myListeners = new Vector();
      public void addLoginListener(ILoginListener listener) {
        myListeners.add(listener);
      public void removeLoginListener(ILoginListener listener) {
        myListeners.remove(listener);
      protected void fireLogin(LoginEvent event) {
        for (Iterator it = myListeners.iterator(); it.hasNext(); ) {
          ILoginListener listener = (ILoginListener)it.next();
          listener.login(event);
      }You'd have your login dialog call fireLogin every time the user logged in.
    Then, you could implement ILoginListener in your monitor window:
      public void login(LoginEvent event) {
        // now do something with the event you just got.
      }All the code I put in here is really generic stuff. You'll write this kind of stuff hundreds of times probably during your career. I haven't tested it though.
    Hope this helps. :)

  • Can you send custom events from one form to another?

    I have a compli
    cated application, where I about hundred inp
    uts organized in several input forms. Some of the forms
    require data which has been input in other forms. I have tried to
    dispatch custom events from one form to another, but it dispatches the
    whole form and I only need one or two items.
    Ha anybody else come across such a problem?
    Svend

    One way is to share data in a static singleton

  • Can you move events from one drive to another easily?

    I've just bought an external firewire drive to dedicate to my Sony HD camcorder material.
    I've only imported 30 mins or so of stuff onto the Mac's internal drive with iMovie '08, and would like to know if anyone's managed to easily copy 'events' from one drive to another to merge/split content.
    Is it just a case of copying event folders from the iMovie Events folder to the external drive, but if so do you have to specify a particular path?
    Similarly, can you just move the individual 'Projects' or archive to DVD etc as they will invariably take up lots of space for longer footage? Does the projects file just hold references to the assembled clips, in which case moving events would scupper things as I seem to have several movie files in there already though these may just be things I uploaded to .Mac to test out.
    This may all be a bit of trial and error. Hopefully clips are only references unlike the pretty huge but self-contained iMovie 6 HD project packages. This also raises issues about how to easily backup all your 'events'.
    AC

    Observation:
    Just imported 15mins of video from the Sony.
    When you click import you are asked which drive to save to.
    As well as the Mac's internal drive, all my attached USB drives which are formatted as Mac OS Extended (journaled) appear as targets to save to as well as teh Firewire drive.
    I selected the Firewire drive and don't recall an option to create a sub-folder. After import a new top level folder of iMovie Events was created, but no others.
    Presumably iMovie Projects/Shared folders only exist on the boot drive.
    I'm assuming that this structure will allow you to share movie Events between Macs using external drives.
    Again, an assumption but I suspect iMovie scans all available suitable hard drives and checks what content is available in top level iMovie Events folders for non-boot drives as well as this folder in the user's Movies folder.
    Rambling observations over for now.
    AC

  • How do I transfer events from one iphoto library to another?

    I have  2 iphoto libraries.  How do I transfer some events from one to the other?

    Either:
    1. Export from Library A to the Finder and then import to Library B - this means you won't get the edit history of the images nor will you get all the metadata
    or
    2. Use iPhoto Library Manager for the job, which will get all versions and all metadata
    or
    3. If you have Aperture, use that.

  • Moving events from one iPhoto library to another

    I want to move some events from one iPhoto library to another.  Does anyone know that this is possible and if so, how do I do it?

    iPhoto cannot do it . The full version of iPhoto Library Manager can transfer events between libraries, or Aperture can do this.
    You can download iPhoto Library Manager here:  iPhoto Library Manager
    If you want to save the money for additional tools, doit manually: 
    Export the photos from each event you want to transfer to a folder.
    Import the folders with images to your other iPhoto library.
    You have to make up your mind, if you want to move the original files to your other library or the edited versions.  Only exporting the original files instead of the edited files will preserve the full quality. Actually, you want to export both. Using iPhoto library Manager will ensure, that both will be transferred and paired as one photo.

  • I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?

    I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?  Any help will be appreciated.  Thank you.

    This should give you some good insight, I'd probably store them on an External HD on the old machine and then just drag and drop to the new machine.
    https://discussions.apple.com/docs/DOC-4141

  • IMovie 10 - how do I move an event from one library to another?

    Greetings,
    I have updated all of my projects and events from iMovie 9 to iMovie 10.0.1. They now all sit in different libraries on different external HDDs.
    How do I move an event from one library to another library in iMovie 10? How do I copy an event from one library to another library in iMovie 10?
    Thanks,
    John

    Simply drag and drop from one library to another.  See:  http://help.apple.com/imovie/mac/10.0/#mov3fa25bae7
    Geoff.

  • Moving events from one calendar to another

    Is it possible to move events from one calendar to another?
    Here is our scenario:
    User abc123 has set up a calendar abc123:boardroom for other users to book slots in the board room (he didn't know about resource calendars at the time and so didn't request one be created).
    Now abc123 is leaving the company, so his calendars are going to disappear, along with all the bookings for the board room.
    So my question is, can these events (and tasks) be moved to another calendar?
    I've tried creating a resource calendar and exporting/importing the calendar data, but this appears to leave the organizer of each event set as abc123:boardroom, with the result that the owner of the new resource calendar cannot modify the imported events.
    Maybe I'm missing something blindingly obvious here, but there doesn't seem to be any way to actually move events from one calendar to another. Does anyone have any advice as to how I might achieve this?
    Many thanks in advance.
    Regards,
    Mike.

    here is one way:
    Click on a meeting to get a Compose window. In the upper right Calendar box, click on the dropdown icon and select the calendar you want to move to from the list. Click on OK to save.
    Of course, if you have a lot of meetings to move, this will be a pain, but it does work.
    Note: before you do this, make sure you are an "owner" of the calendars(s) you want to move meetings to (or otherwise have access), and are subscribed to those calendars.

  • How do I print a list of my events from one of my calendars for tax purposes?

    How do I print a list of my events from one of my calendars for tax purposes?

    I actually began this process by creating a new calendar called "Medical" and then each event was assogned to this calendar but the program still wants to print out every day of the month for even those days that have no events.  The list view gives me the look I want and I have even tried deselecting all of the options and then reselecting them one at a time to no avail.

  • Send PO from one system and create a SO in another system

    Hello Gurus
    ii am learning ALE IDOC and would like to do a complete hands on practice. I have been doing some basic scenarios and so far i am progressing well.
    What i am planning to do:
    Now i would like to do an end to end scenairo of sending a PO idoc from one system and this should create a SO in the other system.
    Steps i am planning to do:
    1). Configure the sending system for a outbound PO idoc
    2). Configure the receiving system for a Inbound SO idoc
    3). Maintain VOE2(EDPAR) and VOE4(EDSDC) tables for partner information and organization information respectively.
    Questions:
    1). Am i missing any steps?
    2). I am confused on what to maintain in VOE2 and VOE4. Which information of PO should i maintin in VOE2 and VOE4 in the receiving system?
    ~Suresh

    Hi Suresh,
    this might be of some help.
    ALE IDOC
    Sending System(Outbound ALE Process)
    Tcode SALE - for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 - Create Model View
    Tcode BD82 - Generate partner Profiles & Create Ports
    Tcode BD64 - Distribute the Model view
    Message Type MATMAS
    Tcode BD10 - Send Material Data
    Tcode WE05 - Idoc List for watching any Errors
    Receiving System(Inbound ALE )
    Tcode SALE - for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 - Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 - Idoc List for inbound status codes
    ALE IDOC Steps
    Sending System(Outbound ALE Process)
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 - Create Model View
    Tcode BD82 - Generate partner Profiles & Create Ports
    Tcode BD64 - Distribute the Model view
    This is Receiving system Settings
    Receiving System(Inbound ALE )
    Tcode SALE - for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 - Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 - Idoc List for inbound status codes
    Message Type MATMAS
    Tcode BD10 - Send Material Data
    Tcode WE05 - Idoc List for watching any Errors
    1)a Goto Tcode SALE
    Click on Sending & Receiving Systems-->Select Logical Systems
    Here Define Logical Systems---> Click on Execute Button
    go for new entries
    1) System Name : ERP000
    Description : Sending System
    2) System Name : ERP800
    Description : Receiving System
    press Enter & Save
    it will ask Request
    if you want new request create new Request orpress continue for transfering the objects
    B) goto Tcode SALE
    Select Assign Client to Logical Systems-->Execute
    000--> Double click on this
    Give the following Information
    Client : ERP 000
    City :
    Logical System
    Currency
    Client role
    Save this Data
    Step 2) For RFC Creation
    Goto Tcode SM59-->Select R/3 Connects
    Click on Create Button
    RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
    give the information for required fields
    RFC Destination : ERP800
    Connection type: 3
    Description
    Target Host : ERP000
    System No:000
    lan : EN
    Client : 800
    User : Login User Name
    Password:
    save this & Test it & RemortLogin
    3)
    Goto Tcode BD64 -- click on Change mode button
    click on create moduleview
    short text : xxxxxxxxxxxxxx
    Technical Neme : MODEL_ALV
    save this & Press ok
    select your just created modelview Name :'MODEL_ALV'.
    goto add message type
    Model Name : MODEL_ALV
    sender : ERP000
    Receiver : ERP800
    Message type :MATMAS
    save & Press Enter
    4) Goto Tcode BD82
    Give Model View : MODEL_ALV
    Partner system : ERP800
    execute this by press F8 Button
    it will gives you sending system port No :A000000015(Like)
    5) Goto Tcode BD64
    seelct the modelview
    goto >edit>modelview-->distribute
    press ok & Press enter
    6)goto Tcode : BD10 for Material sending
    Material : mat_001
    Message Type : MATMAS
    Logical System : ERP800
    and Execute
    7)goto Tcode : BD11 for Material Receiving
    Material : mat_001
    Message Type : MATMAS
    and Execute --> 1 request idoc created for message type Matmas
    press enter
    Here Master Idoc set for Messge type MATMAS-->press Enter
    1 Communication Idoc generated for Message Type
    this is your IDOC
    Change Pointers
    I know how to change the description of a material using ALE Change Pointers.
    I will give the following few steps
    1) Tcode BD61---> check the change pointers activated check box
    save and goback.
    2) Tcode BD50---> check the MATMAS check box save and comeback.
    3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
    4) Tcode BD52---> give message type : matmas press ok button.
    select all what ever you want and delete remaining fields.
    save & come back.
    5) 5) go to Tcode MM02 select one material and try to change the description and save it
    it will effects the target systems material desciption will also changes
    6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
    give Message type : MATMAS and Executte
    ALE/IDOC Status Codes/Messages
    01 Error --> Idoc Added
    30 Error --> Idoc ready for dispatch(ALE Service)
    then goto SE38 --> Execute the Program RBDMIDOC
    29 Error --> ALE Service Layer
    then goto SE38 --> Execute the Program RSEOUT00
    03 Error --> Data Passed to Port ok
    then goto SE38 --> Execute the Program RBDMOIND
    12 Error --> Dispatch ok
    Inbound Status Codes
    50 Error --> It will go for ALE Service Layer
    56 Error --> Idoc with Errors added
    51 Error --> Application Document not posted
    65 Error --> Error in ALE Service Layer
    for 51 or 56 Errors do the following steps
    goto WE19 > give the IDOC Number and Execute>
    Press on Inbound function Module
    for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
    kindly reward if helpful.
    cheers,
    Hema.

  • Export event from one cpu to another in final cut

    I am trying to export an event from one computer with finalcut, to another computer with finalcut.  I exported xml, and imported xml on the other computer.  When the xml imports within finalcut on the second computer, the time stamps come along with a red image with yellow exlamation ! and says "no data".  The event plays just find on machine #1 in final cut.  What am I doing wrong?

    Sounds like you're using FCP-X (the term "events" points to that).  If so, the FCP-X forum is located here: https://discussions.apple.com/community/professional_applications/final_cut_pro_ x?view=discussions
    -DH

  • In iPhoto, can I file individual events from one year into one main event withouthout m muddling them up?ing them up

    In iPhoto, can I file individual events from one year into one main event without muddling them up?

    Perhaps I misunderstood you. You want to have a hierarchy
    Folder: 2000
    ->Contains Event for January, February, etc
    Folder 2001
    -> Contains Event for January, February etc
    That sort of thing? Well with Events, no you can't. Yes you can do that with Albums, but not Events.
    That said, it's a pretty limited way of organising your photos - in fact you might as well just use folders in the Finder. You can find the photos from any year, month, day with the Calendar tool. Simply click on the Search icon on the bottom, then on the the wee drop down and select the calendar tool.
    Want the photos from a particular range - say, June 11 1999 to September 30 2001? Then a Smart Album will do that.
    But the problem is that it's often hard to remember the year/month something happened. Did we go to Disney in 1997 or 98? There are other more useful ways that make your snaps more searchable.
    Here's a canned answer that I offer that suggests some of the richer organising possibilities of iPhoto. It might spark something.
    I use Events simply as big buckets of Photos: Spring 08, July - Nov 06 are typical Events in my Library. I use keywords and Smart Albums extensively. I title the pics broadly.
    I keyword on a
    Who
    What
    Where basis (The When is in the photos's Exif metadata). I also rate the pics on a 1 - 5 star basis.
    Using this system I can find pretty much find any pic in my 50k library in a couple of seconds.
    So, for example, I have a batch of pics titled 'Seattle 08' and a  typical keywording might include: John, Anne, Landscape, mountain, trees, snow. With a rating included it's so very easy to find the best pics we took at Mount Rainier.
    File -> New Smart Album
    set it to 'All"
    title contains Seattle
    keyword is mountain
    keyword is snow
    rating is 5 stars
    Or, want a chronological album of John from birth to today?
    New Smart Album
    Keyword is John
    Set the View options to Sort By Date Ascending
    Want only the best pics?
    add Rating is greater than 4 stars
    The best thing about this system is that it's dynamic. If I add 50 more pics of John  to the Library tomorrow, as I keyword and rate them they are added to the Smart Album.
    In the end, organisation is about finding the pics. The point is to make locating that pic or batch of pics findable fast. This system works for me.

  • Ical keeping both events when I move events from one google calendar to another

    Hi all!
    I use multiple google calendars and sync them with my iPad, iPhone, and MacBook Air. I like to move events from one calendar to another (for color coding purposes), and am coming across a unique issue that I hope someone has a solution to.
    When I edit an event by moving the event from one calendar to another the events show up correctly on the iPhone and iPad, but not in my iCal on MacBook Air. (Only when I make the changes on my iPhone and iPad). For example, when I switch an event originally created in my 'appointments' calendar to my 'done' calendar the event shows up appropriately on iPhone and iPad, and even in my Google calendars on the web. But, the iCal on my MacBook Air keeps both events. This only happens when I make the changes from the iPhone or iPad. If I make calendar changes on my computer, then there are no hiccups on any of the devices.
    It seems like a syncing issue with iCal, and I can't figure out how to prevent the duplications in my iCal on my computer from showing up. Quite annoying because I have to go in and delete all of the duplicated events on the computer at the end of the day.
    I have the Mavericks OS on my MBA and the software on my iPad and iPhone are updated to the latest software.
    If you have any suggestions, please let me know! Thanks!

    Petrill,
    Thank you. I was trying to do that yesterday, but it was grayed out. It seemed to work alright today.
    Thanks,
    Sheena

Maybe you are looking for

  • Questions on SPACE on the output list...

    Hi, A report program... If i defined a data like this: DATA: Helloworld(26)     TYPE c. Helloworld = space. Then when i output this variable, i will get this field filled with space for 26 characters length??? Or just a space in 1 characters length??

  • Is it mandatory to use Business object for data transfer and work flow?

    <font size="3"> <pre> In our enterprise projects we deal with some screens where we add or update some data and again we retrieve that data and display to user in various ways like displaying on screen as a report or viewing in excel etc.. Most of th

  • Can't install the 9.0.3 update.

    I can't install the 9.0.3 update.  I get the following message:  Adobe Photoshop Elements 9.0.3 Update   There was an error downloading this update. Please quit and try again later. I have Windows 7 64 bit.  I've been working on this for a while!  An

  • Getting "warning" -- "Late bound resolution, runtime errors could occur" with a line referencing a Word document

    The problem line is:             Dim Author$ = wd.ActiveDocument.BuiltInDocumentProperties(WdBuiltInProperty.wdPropertyAuthor).value.ToString "wd" is my program's instance of Microsoft Word. I've encountered this error before and could always fix the

  • SQLPLUS DISCONNECTIONS

    A very Happy New Year to all of you !. I have already asked this but i didn't get any proper answer . 1) If i submitted an anonymous sub program to the server from my client (client machine is far away from the server ) 2) If i invoked a stored sub p