Child Message ID in 1:N multimapping

Hi friends,
I have a scenario in which am creating 1:N messages.Everything is perfectly working.
When i check the message in Message Monitoring in the trace log i can find the
Message ID of the message and when i check in the Technical routing payloads, i can see the different MessageIDs for the created target message.
Assume, 1:3 messages are getting generated then
If the Main MesageID is =A then for the generated taget message i can see the 3 different MessageIDs.
My question is how can i populate the message IDs of the target message in the map..IS it possible to do that?
I can populate the main message ID by using below code
java.util.Map map          = container.getTransformationParameters();
// Message ID for this message
String sMessageID          = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
But i wanted the message IDs of the target messages to be populated in map, Is there a way to do that?
Thanks and Regards
Venkatesh

This is not possible by any standard means. You can only have one single value in the header and that will be the source value here.
Regards,
Prateek

Similar Messages

  • Can i monitor my childs messages on my own device

    Can I monitor my childs messages on my own device?

    If you go to settings, messages, send and receive than choose add email. Add an email for your kid and only active this email with iMessage on there device. Then go into there restrictions under settings, general and Choose accounts and lock it out. After go on to your device and active the same email on yours under messages. You will also have to choose your device for txt message forwarding from there device so you can receive those silly green txt too. As long as you have there restrictions set up right they can't tamper with it. I use to run something similar at one point.

  • Parent Child message passing

    I was hoping you guys could give me a little advice on message passing between child and parent classes.
    I'm working on a pretty basic booking system, with a front end GUI for data entry. Currently i have a basic JFrame GUI class, the back end of the system that deals with storing/manipulating data and other such stuff, and a controller class that contains both the GUI class and the back end classes.
    My goal was to keep the GUI and back end separate, however this is causing me problems when it comes to passing data around...
    I want to be able to search through customer details, and return the matching ones, but i'm stuck as to how I pass the message back properly.
    Basically i am asking how can i get a child class (the GUI) to pass messages back to its parent (the controler class)?
    I know i could just put the controller class in as an attribute of the GUI class, but i'd like to avoid that if at all possible.
    i'm pretty sure that it is possible as i remember a lecturer teaching us something similar to that at one point, but that was several years ago now and i do not remember any of the syntax or keywords.
    any links or advice would be greatly appreciated
    thanks

    Christof,
    yes keep the controller in control... the GUI should not be "coupled" to it.
    ** I think what you're after is the Data Access Object Pattern. It's extremely clever. Yep, I'm a fan.
    ** Yep, just pass back the dataset as an object, probably as a collection (maybe ArrayList) of data-transfer-objects... checkout the collections tutorial...
    Keith.

  • HT201304 Is there a way to check my childs messages when they are deleted and by not searching my childs iPod?

    Can I check my childs deleted messages without searching my childs iPod?

    To add a bit, the suggestion by IIIaass will work if you already have done this. It will not work if you are not already sharing the same Apple ID and you are looking for specific messages they have already deleted.
    Also if you are going to share the Apple ID you need to turn on Restrictions and lock down their device so they cannot go into the Touch and change to a different Apple ID when they leave the house.

  • How can i access my childs messages from my phone or computer?

    I need to access my childs phone messages, texts and photos, both out going and incoming. There has been activity late at night and i want to know if he is safe.

    Yes, a code is sent to the phone. You must enter this code into the web page or app in order to start receiving texts on the computer or another portable device. This is to prevent people from spying on you without your knowledge.
    I understand there is no single correct parenting advice, and we must adapt. In our house, the rules are: you do not own the phone until you pay the entire cost of service, no passwords on the device or any app that the parents do not know, random and on demand "safety checks" can be done at any time, and phone must be handed over at anytime. Removal of the phone is also a form of punishment. All apps are set up on the Apple family so we must approve before downloaded. Any app that I cannot get into due to a password that is not known gets deleted. I use the term "trust but verify" with them, but basically, if their age ends in "teen" truth gets distorted, no matter how good of a parent you are. They will always come back with "don't you trust me." (answer - most of the time, but not enough with real life situations that you won't get yourself in trouble) and I need privacy (answer - life lesson, anything you put on line is not private so you might as well start understanding that now)

  • No messages created from split mapping - Multimapping

    Hi,
    Getting the error in MONI saying that : No messages created from split mapping
    Sender is :
       <Purchase>
                <Number>007</Number>
                <Desc>RAJ</Desc>
                <Quantity>half</Quantity>
       </Purchase>
    Target should be 3 files such as:
      <Purchase>
                <Number>007</Number>
                <Desc>RAJ</Desc>
       </Purchase>
    <Purchase>
                <Number>007</Number>
                <Quantity>half</Quantity>
      /Purchase>
    <Purchase>
                 <Desc>RAJ</Desc>
                <Quantity>half</Quantity>
    </Purchase>
    Regards,
    Y.Raj.

    Hi,
    In your mapping select the cardinality of source message as 0..1 while that of target message should be 0..unbounded.
    Also since you are not using all the elements of source into all the target messages (seems using only two source elements in each target msg) do the mapping accordingly...i doubt whether you can achieve your requirement in one mapping itself....may be you will have to follow what Tarang mentioned:
    3. have 3 mappings between source structure and MT1(map only num,dec), source struc and MT2(map num,Qty) ....
    Exception to above statement:)
    If you set the target cardinality as 0..unbounded then duplicate the root target node thrice (as per your requirement)....and then map each target section seperately....
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Apr 7, 2009 9:12 AM

  • Duplicate Messages created on target with Multimapping(No BPM)

    Hi
    I am working on PI7.1 .
    My sceniro
    IDOC to JMS using message split
    Receiving IDOC with Header and Items, PI splitting IDOC and sending to Multiple JMS queues, Header segment data to header queue, Item segment data to Item queue
    PI Successfully Posting data to Queues, but duplicate messages creating on target sys(One IDOC with one header and one item date, PI sending 2 header messages , two item messages to target sys) .
    I did following steps
    ESR
    1. Created two target messages
    2. Created Two target inbound interfaces
    3. Created Message mapping using with multiple target messages, changed signature occurrence to 0 : unbounded , and mapped to source node to target nodes
    4. Created operation mapping with one source to two target interfaces
    EB
    1. Created one business components and assigned one sender and two receiver service interfaces
    2. Created Two receiver communication channel
    3. Created One receiver determination
    4. Created One interface determination , added two inbound interfaces with one operation mapping (Multiplicity is blank )
    5. Created two receiver agreement
    Please help .

    Thanks Gouri ,
    My IDOC structure (Source Message Type)
      HEADER_SEG Node (0:9999) -
    > MT_HEADER ( 0:unbounded) (this one of target message type)
                                                                    HEADER_FLDS  (Element - Main hierarchy)
             FLDS----
    >  FLDS
    ITEM_SEG Node (0:9999)  -
    >MT_ITEM(0:unbounded ) (this is another message type)
                                                                    ITEM_FLDS (Element - Main hierarchy)
             FLDS----
    >  FLDS
    I tried with the below mappings
                    HEADER_SEG Node -
    >MT_HEADER
                    HEADER_SEG Node -
    > HEADER_FLDS (element )
                    ITEM_SEG Node -
    >MT_HEADER
                    ITEM_SEG Node -
    > ITEM_FLDS (element )
    2. method
                    HEADER_SEG Node -
    >MT_HEADER
                                                           HEADER_FLDS (element )(not mapped)
                    ITEM_SEG Node -
    >MT_HEADER
                    ITEM_SEG Node   ITEM_FLDS (element )(not mapped)

  • Parent child message choice - tutorial needed

    Hi,
    I was wondering if the JDev team could come up with a clearly defined solution for parent-child messagechoice boxes. Seems like something people will commonly do and the ADF UIX howto's list changed/grown since September 2004. While faces will eclipse UIX soon, it would still be helpful to have something in the meantime, or perhaps a howto covering both technologies?
    cheers,
    Brenden

    Hi,
    I was wondering if the JDev team could come up with a clearly defined solution for parent-child messagechoice boxes. Seems like something people will commonly do and the ADF UIX howto's list changed/grown since September 2004. While faces will eclipse UIX soon, it would still be helpful to have something in the meantime, or perhaps a howto covering both technologies?
    cheers,
    Brenden

  • How to track the Inbound child IDOcs in PI 7.4 Single stack

    Hi Friends,
    I would like to know the procedure of tracking the Inbound child IDocs in PI 7.4 Single stack.
    Here is the detailed description.
    Say we are getting the data from third party system and the message may have multiple IDOcs in it. The message has processed successfully from PI and reached to the target system(ERP). So, now my question is how to track the IDOc count with in that message.
    Please suggest on the same.
    Thanks in Advance,
    Venkateswarlu.

    Hi Hareesh,
    Thanks for your inputs. According to the link IDOC Status, Tracking in SAP PI/PO Single Stack I am thinking the required funcionality is not there in PO 7.4, but still i would like to have little more clarity before moving further.
    I will explain what what was happening in PI 7.11 so that you can understand what i am looking for in PO 7.4.
    We will get the data from third party system in xml format, we had to search for the messages based on interface name and time range within SXMB_MONI. After getting the result(say the output is 100 messages), we will download the values of "Outbound Reference" field(which is a key to find the child messages for messages resulting in an Interface Collection). Below is the snap of Outbound Reference field for your reference.
    Now we will go to the table IDXRCVPOR in SE16(within PI) and put the values of Outbound Reference field in Text 24 and execute. Here we will get all the child messages.
    Now please let me know if this kind of scenario is possible in PO 7.4.
    Thanks,
    Venkat.

  • Split mapping created no messages

    hi All,
    I have an issue while using multi- mapping runtime in PI 7.1. The messages work successfully in Operation mapping. However, during runtime it fails with the message "Split mapping created no messages".
    The issue is the same as we have in the below link :-
    Multi Mapping issue - *Split mapping created no messages*
    But there is a slight difference in the scenario. Please find the same below:-
    There were initially two mappings in the operation mapping.
    The first one is a shared mapping and 1:1 to 1:1 occurence
    The second one is a new mapping which should have 0:unbounded to 0:unbounded containing 4 different message types at the target
    Due to the first mapping being shared, and already in production, we can not do any updates on it. Hence a workaround was to add a Java mapping in between the two mappings simply  to add the Message - Message 1 header as for multimapping.
    This works in ESR but not during runtime or test configuration.
    Please let me know if this is the wrong perspective to it. I understand that the final solution can be to simply split all messages and have four different mappings in the Interface determination itself. But i would really like to know why this adding of message- message1 header is not possible.
    Regards,
    Ninu

    hi All,
    I have an issue while using multi- mapping runtime in PI 7.1. The messages work successfully in Operation mapping. However, during runtime it fails with the message "Split mapping created no messages".
    The issue is the same as we have in the below link :-
    Multi Mapping issue - *Split mapping created no messages*
    But there is a slight difference in the scenario. Please find the same below:-
    There were initially two mappings in the operation mapping.
    The first one is a shared mapping and 1:1 to 1:1 occurence
    The second one is a new mapping which should have 0:unbounded to 0:unbounded containing 4 different message types at the target
    Due to the first mapping being shared, and already in production, we can not do any updates on it. Hence a workaround was to add a Java mapping in between the two mappings simply  to add the Message - Message 1 header as for multimapping.
    This works in ESR but not during runtime or test configuration.
    Please let me know if this is the wrong perspective to it. I understand that the final solution can be to simply split all messages and have four different mappings in the Interface determination itself. But i would really like to know why this adding of message- message1 header is not possible.
    Regards,
    Ninu

  • Messages got stuck in inbound adapter engine queue

    Hi Experts,
    My senario is File - XI -SAOP reciever and we have 8 usecases of same type. For 7 usecase, we dont have any problem. But for only one use case we have having heavy delay in processing messages.
    All  my messages got stuck in inbound queue of Adapter engine in to be delivered state, wait state, delivering state.
    Please see the below logs and suggest some solution.
    To be delivered Message log  :
    Time Stamp Status Description
    2008-06-30 06:54:20 Success Processing child message of multi-message with message ID 8c597510-466f-11dd-92f9-000f203c93e0
    2008-06-30 06:54:20 Success Using connection AFW. Trying to put the message into the receive queue.
    2008-06-30 06:54:20 Success Message successfully put into the queue.
    Waiting Message log :
    Audit Log for Message: 4864ad2b-cabd-5891-e100-00000aa3fdb2
    Time Stamp Status Description
    2008-06-30 06:42:24 Success Processing child message of multi-message with message I
    2008-06-30 06:42:24 Success Using connection AFW. Trying to put the message into the receive queue.
    2008-06-30 06:42:24 Success Message successfully put into the queue.
    2008-06-30 07:46:16 Success The message was successfully retrieved from the receive queue.
    2008-06-30 07:46:16 Success The message status set to DLNG.
    2008-06-30 07:46:16 Success Delivering to channel: CC_SOAP_Receiver
    2008-06-30 07:46:16 Success SOAP: request message entering the adapter
    2008-06-30 07:51:24 Success SOAP: call failed
    2008-06-30 07:51:24 Success SOAP: sending a delivery error ack ...
    2008-06-30 07:51:24 Success SOAP: sent a delivery error ack 
    2008-06-30 07:51:24 Error SOAP: error occured: java.net.SocketTimeoutException: Read timed out
    2008-06-30 07:51:24 Error Exception caught by adapter framework: Read timed out
    2008-06-30 07:51:24 Error Delivery of the message to the application using connection AFW failed, due to: Read timed out.
    2008-06-30 07:51:24 Success The asynchronous message was successfully scheduled to be delivered at Mon Jun 30 07:56:24 GMT 2008.
    2008-06-30 07:51:24 Success The message status set to WAIT.
    Delivering Message log :
    Audit Log for Message: 4864ad2d-cabd-5891-e100-00000aa3fdb2
    Time Stamp Status Description
    2008-06-30 06:42:24 Success Processing child message of multi-message with message ID 7481f110-466f-11dd-b8ce-000f203c93e0
    2008-06-30 06:42:24 Success Using connection AFW. Trying to put the message into the receive queue.
    2008-06-30 06:42:24 Success Message successfully put into the queue.
    2008-06-30 07:46:24 Success The message was successfully retrieved from the receive queue.
    2008-06-30 07:46:24 Success The message status set to DLNG.
    2008-06-30 07:46:24 Success Delivering to channel: CC_SOAP_Receiver
    2008-06-30 07:46:24 Success SOAP: request message entering the adapter
    2008-06-30 07:51:24 Success SOAP: call failed
    2008-06-30 07:51:24 Success SOAP: sending a delivery error ack ...
    2008-06-30 07:51:24 Success SOAP: sent a delivery error ack 
    2008-06-30 07:51:24 Error SOAP: error occured: java.net.SocketTimeoutException: Read timed out
    2008-06-30 07:51:24 Error Exception caught by adapter framework: Read timed out
    2008-06-30 07:51:24 Error Delivery of the message to the application using connection AFW failed, due to: Read timed out.
    2008-06-30 07:51:24 Success The asynchronous message was successfully scheduled to be delivered at Mon Jun 30 07:56:24 GMT 2008.
    2008-06-30 07:51:24 Success The message status set to WAIT.
    Thank you
    Subbu

    Dear Subramanyam,
    Some message might be struck in the queue. Because of this reason furthur processing is not performed on time.
    Please try to do like this:
    Go to SXMB_MONI, or SXi_monitor, select QueueID in the row, which is showing green flag. In the next window belongs to queue select the queue and press unlock button on the panel.
    This could possibly release the queue which is struck.
    Best Regards
    Praveen

  • Messages are on HOLD in runtime workbench

    Hi All,
    I need your help. I don't know how to solve the following problem.
    We have a message (idoc xml with a standard business document header from a gs1 xml) which will be send from a logical system in XI to another logical system in xi (same system).
    The mapping is from one message - to more messages. This means one message comes in and dependent from the message two different message types could be go out (only one at one time). If the mapping is to one of these interface then it is also possible that one incoming message can create two or more output messages (same message type). And with this I have the problem. If more then one message is created in this mapping then this messages stay on hold in the runtime workbench. (If only one message is created, it is working fine). The QoS is for the messages "Exactly Once In Order" - thats what I see in the runtime workbench. The QoS in the sender communication channel is "Exactly Once".
    Do you have any idea?
    Thanks and regards
    Manuela

    Hi Mathias,
    thats the information in the rwb:
    Attribute     Value
    Status     Holding
    Repeatable     Yes
    Cancelable     Yes
    Error Category     
    Error Code     
    Start     07.02.2008 10:46:59
    End     
    Sender Party     
    Sender Service     EU_GBO
    Receiver Party     
    Receiver Service     EU_GBO
    Interface     http://unilever.com/Xproc/ProcComm/GS1/ItmDtaNot/xi
    Align_Item_Data_Notification_V2_1_ABS
    Quality of Service     Exactly Once in Order
    Message     47aa17db-8e63-0158-0000-000091374080
    Reference     
    Conversation ID     MMFSERIALIZE0018
    Version     0
    Edited     No
    Serialization Context     INBOUND_MMFSERIALIZE0018__
    Direction     INBOUND
    Message Type     Recv
    Profile     XI
    Connection     SOAP_http://sap.com/xi/XI/System
    Transport     HTTP
    End Point     http://ex1c002a:58300/MessagingSystem/receive/AFW/XI
    Authorization     
    Sequential Number     105
    Number of Retries     3
    Failed     0
    Retries     300000
    Valid to     
    Persist Until     14.02.2008 10:46:59
    Schedule Time     07.02.2008 10:46:59
    2008-02-07 10:46:59     Success     Processing child message of multi-message with message ID 47aa0c4f-ce91-0122-0000-000091374080
    2008-02-07 10:46:59     Success     Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2008-02-07 10:46:59     Success     Message successfully put into the queue.
    2008-02-07 10:46:59     Success     The message was successfully retrieved from the receive queue.
    2008-02-07 10:46:59     Success     The message status set to HOLD.
    MMh external I think is not possible. Because it comes from a logical system in XI and goes from a logical system to XI. But on step before it comes from a SAP system. COuld it be there?
    REgards
    Manuela

  • Principal Propagation Issue - J2EE_GUEST being used in some messages

    Hi guys !
            I have the following situation, my customer have a SAP PI 7.1 Ehp 1 and, some interfaces are configured to run under Principal Propagation.
            What is occurring is, for an interface that uses principal propagation and works correctly, the message enters in PI using an authenticated user for principal propagation(for example, USER0001) and this authentication is propagated until the receiver system(eg, SAP ECC), but in some cases, this same interface shows the following behavior: the authenticated user USER0001 send a message, the message starts to be processed in the PI pipeline propagating this user but, when the message will be delivered to RFC Adapter, we receive the following error:
    Adapter Framework caught exception: failed to generate ClientPoolcom.sap.aii.adapter.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: could not create JCO Pool com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: could not get JCOProperties com.sap.security.core.server.destinations.api.DestinationException: [_DestinationServiceAuthorization1004] User-based destination service access denied to principal J2EE_GUEST. Assign the UME action Destination_Service_Write_Permission if the user should have the permission to save, update or remove destinations. The action is available already to the Administrator role.
          And after one message stop with the error above, any message of any interface using principal propagation starts to show the following error, that is only solved running a full cache refresh:
    Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not get functiontemplate from repository: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Repository pool 'RfcRepository[RfcClient[RFCReceiverAutoCommit_ECC]]f0264787314535c0a27cf29d108f5860' does not exist or was removed..
          The question is, why do PI pipeline is trying to use J2EE_GUEST in some task for an interface configured to use Principal Propagation ? Why this occurs in some cases and not in anothers(for the same interface) ? Why the cache is being lost ?? And of course, how can I solve this annoyng situation ?
          All configurations needed to run Principal Propagation was done according the help.sap.com documentation(http://help.sap.com/saphelp_nwpi711/helpdata/en/48/a9bbb97e28674be10000000a421937/content.htm), and as I said, it works in most cases. All messages are sent using SOAP Adapter for the Sender System, and RFC Adapter for the receiver, and there are synchronous and asynchronous interfaces. Basically the interfaces that only read data from SAP, does not use principal propagation and, the ones that create/update/delete data in SAP, uses principal propagation.
          Somebody already saw something like this ?
          Thank you in advance, and best regards,
          Wilson

    Hi guys !
    I have continued with some tests in environment trying to understand what
    is happening and, I did the following, as the first error mentioned is
    "User-based destination service
    access denied to principal J2EE_GUEST. Assign the UME action
    Destination_Service_Write_Permission if the user should have the
    permission to save, update or remove destinations", I entered on UME Admin,
    created a new Role named J2EE_GUEST_ROLE, assigned the UME Action
    Destination_Service_Write_Permission to it, and assigned this new role to
    the user J2EE_GUEST, and ran new tests.
    After some executions, one message stopped with this error:
    Adapter Framework caught exception: error while processing message to
    remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException:
    could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (101)
    RFC_ERROR_PROGRAM: 'user' missing
    I have observed that, in all messages that stops in error, we have the
    following line in Audit Log:
    Processing child message of multi-message with message Id
    000c2936-6a89-1ed0-aebe-c262ae7d412e.
    And this interface doesn´t have multi-message to be processed, is a
    single message only.
    I checked on configuration and see that the interface determinations for all interfaces has the flag "Maintain order at runtime", what is usefull basically when a Interface Determination has more than one interface,
    what is not my case, so I will unmark this flag in all interfaces and run
    new tests trying to identify if this solves the problem.
    Any idea for this annoyng issue ?
    Thank you and regards !

  • Retrieving Message ID of previous message

    Hi,
    I have created 2 Message Mappings and 2 Interface mappings in my scenario.
    Hence three messages(one branched message and two child messages) are getting generated.
    I need to retrieve msg ID of first child msg in MM of second message:I have used this:
    String headerField;
    java.util.Map map;
    map = container.getTransformationParameters();
    String key = "RefToMessageId";
    (I have read that ReftomsgID gives msg ID of previous msg)
    headerField = (String) map.get(key);
    But it gives 0000000000000000000000000000  as msgID.
    Can anyone pls help.
    Thanks,
    Regards,
    Shweta

    Hi Matias,
    Thanks a lot for the reply.
    However ,I am able to realize this in another way:
    I have created a BAPI in XI system:
    FUNCTION Z_ZBXI_GET_PRE_MSG_ID.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_CURRMSGID) TYPE  SXMSMGUID
    *"  EXPORTING
    *"     VALUE(E_PREMSGID) TYPE  SXMSMGUID
    DATA: lv_currmsgid LIKE SXMSPMAST-MSGGUID,
          lv_parentmsgid LIKE SXMSPMAST-PARENTMSG,
          lv_premsgid LIKE SXMSPMAST-MSGGUID.
    lv_currmsgid = i_currmsgid.
    select single PARENTMSG from SXMSPMAST into lv_parentmsgid where MSGGUID = lv_currmsgid.
    select single MSGGUID from SXMSPMAST into lv_premsgid where PARENTMSG = lv_parentmsgid and MSGGUID ne lv_currmsgid.
    e_premsgid = lv_premsgid.
    ENDFUNCTION.
    and I am calling this in my MM using RFC lookup.
    Thanks again for your help.
    Best Regards,
    Shweta

  • How a SWF Child can control a Parent's function/variable ?

    For instance, in the below code a parent can control a SWF
    child’s function “alert ()”.
    But how a SWF child can control parent’s function
    “ReceivingChildMsg()” ?

    Hi clbeech
    I simplified the code to simply get the swf child controlling
    its parent variable tp ( textfield ) and its content.
    I used your suggestion (parent.ReceivingChildMsg( ) and
    root.ReceivingChildMsg( )) but I get an error message:
    quote:
    “1061: Call to a possibly undefined method
    ReceivingChildMsg through a reference with static type
    flash.display:DisplayObjectContainer.”
    Here is the code:
    package
    import flash.display.MovieClip;
    import flash.text.*;
    import flash.events.*;
    import flash.display.SimpleButton;
    public class Child extends MovieClip
    public function Child():void
    btn.addEventListener(MouseEvent.CLICK,clickHandler);
    public function clickHandler(event:MouseEvent):void
    //root.ReceivingChildMsg( "Received Child Message");
    parent.ReceivingChildMsg( "Received Child Message");
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    package
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.display.LoaderInfo;
    import flash.display.Sprite;
    import flash.text.*;
    import flash.display.SimpleButton;
    public class Parent extends MovieClip
    private var loader:Loader;
    public function Parent():void
    loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onLoadComplete);
    loader.load(new URLRequest('Child.swf'));
    private function onLoadComplete(e:Event):void
    var loaderInfo:LoaderInfo = e.target as LoaderInfo;
    addChild(e.target.content);
    var swf:Object = loaderInfo.content;
    swf.x = 75;
    swf.y = 50;
    public function ReceivingChildMsg(msg:String):void
    // tp textfield object is created directly in flash
    tp.text = msg;

Maybe you are looking for

  • How to make menu in jsp ?  urgent

    how can i make a menu in jsp? i have made one js file and one css file and included them in my jsp file. but its not giving any results . please help me out its urgent

  • Jsp is faster that servlets

    hi why people will prefer jsp instead of servlets.. and also what are all the prons and cons of servlsts and jsp.. while using tomcat ... can any body specify with good examples and good reasons iam very thank full to them.. .... i hope iam clear in

  • IOS7.0.2 bug???

    I updated to iOS 7.0.2. But I cannot use play/stop /like for music that on the lock screen. I cold do that before updating. This is very inconvenient.

  • Query to get combinations of column values

    -- Input Data with t as (select 'H' as symbol, 1 as id from dual union all           select 'H' as symbol, 2 as id from dual union all           select 'H' as symbol, 3 as id from dual union all           select 'H' as symbol, 4 as id from dual ,s as

  • How can i view the photos detials?

    is there any means i can view the photos details on my iphone 4? thanks