Sending MovieClip name as function argument

I have a form in Flash that contains twenty form fields
comprised of a MovieClip.TextField pair. Each field has a unique
parent MovieClip name and a common TextField name. Upon submission
of the form, I want to write the data contained in each field to an
array.
Rather than write the same if-else if-else loop for each
field, I would like to write a function that accepts the unique
MovieClip name as an argument. Attached is a simplified version of
my code. What am I doing wrong?!?

Sorry... answering my own questions a second after asking
them. I needed to pass the MovieClip name as a MovieClip to the
argument. See attached code.

Similar Messages

  • Changing the Sender's Name of an Email Address

    Hello Experts
    I am sending Emails from an Activity in the Interaction Center WinClient and is working good. The thing is that i don't want to display the name of the person that is sending the e-mail once the e-mail is sent.
    For security reasons, i want to change the sender's name for a text.
    For instance, if Jose Perez is sending the e-mail, i want change that for Solution Center. That way, when the customer receive the e-mail, he will see Solution Center and the e-mail address ('[email protected]) of the sender.
    Can anyone help me solve this issue?
    Points rewarded
    Thanks

    Hello Alberto,
    In the function module SO_OBJECT_SEND, which is used to send e-mails, you can pass the parameter ORIGINATOR and ORIGINATOR_TYPE.
    ORIGINATOR = the email address that will appear as 'From'
    ORIGINATOR_TYPE = 'U' for internet e-mailadresses.
    Hope this helps,
    Kind regards,
    Joost

  • Workflow Issue : Email sender display name not as the same as alert email sender

    Dear Support,
    we customized a workflow for sending alert to some user when someone create a new item in the specified document library. 
    what we already done as below
    1. the email sender address has been setup at "Central Administrator", for example "[email protected]".
    2. team site title is "Customer Center Platform".
    3. we customized a new workflow to trigger system send a email to recipient when someone create a new record.
    what we expected is 
    Recipient will got a email which send from "[email protected]", the email display name should be "Customer Center Platform [[email protected]]", but in this case, the display name is "[email protected]".
    it's been our experience that when we used "Alert Me" function, system will send the email and used "Customer Center Platform [[email protected]]" as email display name.
    we want to change workflow email sender display name, what can we do? we are looking forward to your advice, many thanks.

    Dear Hemendra,
    thanks for your reply.
    we follow the below guide to setup the workflow step by step
    http://blogs.msdn.com/b/publicsector/archive/2007/05/22/document-workflow-how-to-sending-an-email-with-sharepoint-2007-moss.aspx
    we used "Send an email" Action, the recipient can receive email, but the email sender's display name is "[email protected]",
    we want to change to "Customer Center Platform [[email protected]]".
    There is a native "Alert me" function under sharepoint team site, we compared the email sender display name, we found the display name in "Alert me" notification email
    is "Customer Center Platform [[email protected]]". 
    we have no idea what is wrong when we setup the workflow.

  • Using variables for function arguments AS2

      Hello,
    I am trying to create a function in AS2.
    After creating the function, I want to use values stored in variables for the function arguments rather than manually typing static values for carrying out the function calculation. Also, I want to use the function to assign a new value to the existing variable.
    I have asked a similar question 2 days ago here and got the answer (thank you), but now I got one more question - How can I create the function to assign a value to the variable while that variable itself is also a function argument?
    For example, I have 6 numeric variables:
    var CoinA:Number = 10;
    var CoinB:Number = 20;
    var CoinC:Number;
    var CoinD:Number = 30;
    var CoinE:Number = 40;
    var CoinF:Number;
    Then I tried to create a function to assign values to variables CoinC and CoinF:
    function CalculationA(FirstCoin, SecondCoin, ThirdCoin):Void {
         FirstCoin = SecondCoin + ThirdCoin;
    CalculationA(CoinC, CoinA, CoinB);
    CalculationA(CoinF, CoinE, CoinF);
    The above code didn't really assign the values 30 and 70 to the variables CoinC and CoinF but instead, values of CoinC and CoinF are undefined.
    Please give me the correct code if there's a correct way of doing this.
    Thank you,

    Here is one way of doing it, by passing a string value of the variable name instead of the actual variable name....
    var CoinA:Number = 10;
    var CoinB:Number = 20;
    var CoinC:Number;
    var CoinD:Number = 30;
    var CoinE:Number = 40;
    var CoinF:Number;
    function CalculationA(FirstCoin, SecondCoin, ThirdCoin):Void {
         this[FirstCoin] = SecondCoin + ThirdCoin;
    CalculationA("CoinC", CoinA, CoinB);
    CalculationA("CoinF", CoinD, CoinE);
    (Note that in your second function call I changed the coins since CoinF (ThirdCoin) is undefined at that point.)

  • Sending .arb files to function generator

    Hi
     i am  very  fresh to labview  programming.
     I have  created some  waveforms  using  HP BenchLink software(and saved in .arb file  format).  Can i send  these  wave forms  to  a  function generater  through Labview  program . if  possible   how  can i do that
    Thanks
    jith

    Hi
     Yes  i have  downloaded the driver ag3xxx and  installed .  and   also got  some  advise from [email protected]
      Their  comments  follows .
                    Yes you can read the values from the .arb file into LabVIEW and store
    the values in 1D array or text file and then send it to the function
    generator you are using.
         Basically you would have to use APIs such as read from binary
    file(there are examples present in LABVIEW example finder which shows an
    example of how you could read a binary file.) After reading from the file
    you could store its values in an array or a text file and the read from
    this array and send the data to the function generator you are using. If
    you are using a function generator which is not made by National
    instruments you have to install the device drivers for that instrument fro
    LABVIEW, you could install them from www.ni.com/idnet.
                 i have  used  some  eg:  programmes   given in LV to read binary files .
                 The  function name is  "read binary files vi " .  the  out  put  of "read binary files vi "
                 is  data .  I am trying  to store this  data  in an array  , but   got  stucked  ,  in finding
                 a sutable  function to send  this  array valuse  to  the  function generator. Can  i send
                  the  array out  put  directly to a  FG  ?
     Thanks
     jith

  • How to change sender's name in  FM SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi Friends ,
    I am using FM "SO_NEW_DOCUMENT_ATT_SEND_API1"
    I want to change sender's name in this Fm. Actully when i am using this FM , in place of sender my name is goign but i want to send system name.
    Please help in this.
    point will be assign,

    Hi,
    Have a look on the following code,it sends an email with attachment to the SAP inbox
    Internal Table declarations
    DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    i_tline TYPE TABLE OF tline WITH HEADER LINE,
    i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
    i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
    i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
    w_objhead TYPE soli_tab,
    w_ctrlop TYPE ssfctrlop,
    w_compop TYPE ssfcompop,
    w_return TYPE ssfcrescl,
    w_doc_chng typE sodocchgi1,
    w_data TYPE sodocchgi1,
    w_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
    v_form_name TYPE rs38l_fnam,
    v_len_in LIKE sood-objlen,
    v_len_out LIKE sood-objlen,
    v_len_outn TYPE i,
    v_lines_txt TYPE i,
    v_lines_bin TYPE i.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZCS_FORM6'
    importing
    fm_name = v_form_name
    exceptions
    no_form = 1
    no_function_module = 2
    others = 3.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    IMPORTING
    job_output_info = w_return
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    i_otf[] = w_return-otfdata[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    IMPORTING
    bin_filesize = v_len_in
    TABLES
    otf = i_otf
    lines = i_tline
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    OTHERS = 4.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Convert PDF from 132 to 255.
    LOOP AT i_tline.
    Replacing space by ~
    TRANSLATE i_tline USING '~'.
    CONCATENATE w_buffer i_tline INTO w_buffer.
    ENDLOOP.
    Replacing ~ by space
    TRANSLATE w_buffer USING '~'.
    DO.
    i_record = w_buffer.
    Appending 255 characters as a record
    APPEND i_record.
    SHIFT w_buffer LEFT BY 255 PLACES.
    IF w_buffer IS INITIAL.
    EXIT.
    ENDIF.
    ENDDO.
    Refresh: i_reclist,
    i_objtxt,
    i_objbin,
    i_objpack.
    clear w_objhead.
    Object with PDF.
    i_objbin[] = i_record[].
    DESCRIBE TABLE i_objbin LINES v_lines_bin.
    Object with main text of the mail.
    i_objtxt = 'Find attached the output of the smart form.'.
    APPEND i_objtxt.
    i_objtxt = 'Regards,'.
    APPEND i_objtxt.
    i_objtxt = 'Chandu Valluri'.
    APPEND i_objtxt.
    DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    Document information.
    w_doc_chng-obj_name = 'Smartform'.
    w_doc_chng-expiry_dat = sy-datum + 10.
    w_doc_chng-obj_descr = 'Smart form output'.
    w_doc_chng-sensitivty = 'F'. "Functional object
    w_doc_chng-doc_size = v_lines_txt * 255.
    Pack to main body as RAW.
    Obj. to be transported not in binary form
    CLEAR i_objpack-transf_bin.
    Start line of object header in transport packet
    i_objpack-head_start = 1.
    Number of lines of an object header in object packet
    i_objpack-head_num = 0.
    Start line of object contents in an object packet
    i_objpack-body_start = 1.
    Number of lines of the object contents in an object packet
    i_objpack-body_num = v_lines_txt.
    Code for document class
    i_objpack-doc_type = 'RAW'.
    APPEND i_objpack.
    Packing as PDF.
    i_objpack-transf_bin = 'X'.
    i_objpack-head_start = 1.
    i_objpack-head_num = 1.
    i_objpack-body_start = 1.
    i_objpack-body_num = v_lines_bin.
    i_objpack-doc_type = 'PDF'.
    i_objpack-obj_name = 'Smartform'.
    CONCATENATE 'Smartform_output' '.pdf'
    INTO i_objpack-obj_descr.
    i_objpack-doc_size = v_lines_bin * 255.
    APPEND i_objpack.
    Document information.
    CLEAR i_reclist.
    e-mail receivers.
    i_reclist-receiver = sy-uname.
    i_reclist-express = 'X'.
    i_reclist-rec_type = 'B'. "SAP User
    APPEND i_reclist.
    Sending mail.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = w_doc_chng
    put_in_outbox = 'X'
    TABLES
    packing_list = i_objpack
    object_header = w_objhead
    contents_bin = i_objbin
    contents_txt = i_objtxt
    receivers = i_reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8.
    IF sy-subrc = 0.
    write:/ 'This is successful'.
    *MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Reward,if useful.
    Thanks,
    Chandu

  • How to link an e-mail address to a sender's name using SO_DOCUMENT_SEND_API

    Hi
    I am sending an e-mail using SO_DOCUMENT_SEND_API1. I changed sender address to an e-mail address. It works. But what I really need is the address linked to the sender's name. So when the e-mail arrives I would like to see the senders name and click on it to send the e-mail back.
    Here is my code:
    sender_addr = my_emil_address.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
         document_data                    = doc_chng
         put_in_outbox                    = 'X'
         sender_address                   = sender_addr
         sender_address_type              = 'SMTP'
       TABLES
         packing_list                     = objpack
         object_header                    = objhead
         contents_bin                     = objbin
         contents_txt                     = objtxt
    Can anyone help?
    Thanks
    Magda

    Hi,
    Creat the following internal table
    DATA: i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
    Pass the values to this internal table as follows
    i_reclist-receiver = '<give ur mail id>'.  "SAPoffice: Name of the recipient of a document (also ext.)
    i_reclist-rec_type = 'U'.                              "Specification of recipient type
    *U = INTERNET ADDRESS,
    *B = SAP USER,
    *P = PRIVATE DISTRIBUTION LIST,
    *O = SAPOFFICE USER,
    *R = SAP user in another SAP System
    *X = X400 ADDRESS
    *C = SHARED DISTRIBUTION LIST
    APPEND i_reclist.
    Pass the internal table to the Tables parameter of 'receivers'
    receivers = i_reclist
    Regards,
    Chandu

  • Using a variable in a js function argument

    Folks,
    This is very basic, but I still cannot get it...
    I have this js function in an ASP page:function MM_changeProp(objId,x,theProp,theValue) { //v9.0
      var obj = null; with (document){ if (getElementById)
      obj = getElementById(objId); }
      if (obj){
        if (theValue == true || theValue == false)
          eval("obj.style."+theProp+"="+theValue);
        else eval("obj.style."+theProp+"='"+theValue+"'");
    }i don't understand the function, as it was put in automatically by dreamweaver. right now, i am using this onclick event of an image:<div id="apDiv19" onclick="MM_changeProp('apDiv7','','backgroundColor','#FFFF00','DIV')"></div>the #FFFF00 is the color YELLOW. it is being passed to the theValue argument of the js. what i simply want to do is establish a global variable that will house a color string (like #FFFF00), and then use it in the function argument everytime i need the function. something like this:<div id="apDiv19" onclick="MM_changeProp('apDiv7','','backgroundColor',VARIABLE,'DIV')">i do not know how to do two things:
    1) initialize and assign the variable a value, and where to establish it (inside the script tags? in the head? in the body?)
    2) how to use the variable as an argument in the function
    any help greatly appreciated for this novice. thanks!

    ajetrumpet wrote:
    Folks,
    This is very basic, but I still cannot get it...
    I have this js function in an ASP page:This forum is not about ASP nor JavaScript. Please use Google to find an appropriate JavaScript forum.

  • Mail Inbox all Emails do not display sender's name or E-mail address

    After the last update in my Mail all the sender's names or E-mail addresses changed into No Sender. They are real E-mails not spam or junk E-mails. Once I open the E-mail I can see the Sender's name and E-mail address. It is very inconvenient not being able to see who is the sender befoer openning it. How do i fix this?
    Thank you.

    I am fighting with the same problem. In conversation mode my reply shows me as "From" on the left pane. I switched to Classic view which makes life a bit easier as I can see the "Subject" line and guess that this is an email I'm searching for. Can't find the way to put name of the Sender who started conversation in the info summary on the left.

  • How to read Sender Interface name in adapter Module in PI 7.31

    Hello All,
    I am working on Adapter module .it accomplish to generate file with message id,message key ,sent time,received time,FromService(Business system names),toServiece(Business system name),sender interface name,receiver interface name .
    i got all details in my file by calling module data by method get principal data,but i am fail to get sender interface in that file .
    can you please guide me how to get sender interface name in adapter module.
    I am getting some information from this following blogs
    https://scn.sap.com/thread/1583665
    How to read Sender Interface name in Adapter module
    but i am facing same error what they faced.
    Please guide me to how to get sender interface name in adapter module.
    Thanks
    Ganesh

    Hi Ganesh
    Write a module in the sender adapter and use this piece of code
    Message mes = null;
    mes = (Message) inputModuleData.getPrincipalData();
    String SI = mes.getAction().getName();
    Also you can read the same by creating a UDF in message mapping
    Following is the code
    InputHeader inputHeader = container.getInputHeader();
    String SI = inputHeader.getInterface() ;

  • Table Name or Function Module to find out all the Screens & Subscreens for

    Hello Experts,
          Table Name or Function Module to find out all the Screens & Subscreens for all T-Codes
    Helpful Answer will b rewarded
    Arif Shaik

    Hi Balaji,
       But TSTC only Gives the Program Name , T-Code and Screen but not all the Subscreen details
    Any other which U know

  • Reg : Table name of Functional Module

    Can some one sent me the table name where functional module details get stored

    HI,
    Check for Function Module.
    Tables
    TFDIR----
    > Table contains Function Modules.
    TFTIT----
    >Table contains Function Module Short Text.
    ENLFDIR-----> Additional Attributes for Function Modules.
    rewards if useful,
    regards,
    nazeer

  • How to change the sender's name/email-id in the scheduled report

    Hi,
    We have SCOM 2007 R2. In the Reporting tab (SCOM Console), we have some scheduled reports. I need to change the sender's name/email-id in a scheduled report. When we receive the report through email, receiving with the person's name who moved out of the
    team.
    I tried to change but could not find the option to change while editing the properties in SCOM Console under Reporting -> Scheduled Reports.
    When we are receiving mail from that scheduled report, instead of an individual name, would like to provide a generic name. Please help me out. Let me know, if you need more information.
    Thanks,
    Naren.
    Thanks & regards, Naren.

    Hello,
    the SCOM scheduled reports feature rely on SQL Reporting Services. So, if you would like to change the SMTP configuration, you should go in SQL Reporting Services Configuration Manager:
    Open in the Start Menu, Reporting Services Configuration Manager.
    In the connection window, click OK.
    Click on the tab E-mail settings.
    Change the Sender Address.
    Click Apply.
    Alternatively, you could also change in the Scheduled report properties the field
    Reply to. I think it should customize the reply address for each scheduled reports, but I have never used it. Anyway, doing it with Reporting Services Configuration Manager is more interesting in the long-run.

  • Size of sender's name in email messages

    When an email is open in Outlook 2013, the sender's name is in a very large font, much bigger than the subject. How can the font size be reduced? thanks.

    That is true in this thread, but there are a lot of threads complaining about the header size in the reading pane, mostly from users who like the reading pane on the bottom. I don't know if they will be working in the header size in an open message, but
    it is a separate process from the reading pane.
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Part of sender File name at the receiver side?

    Hello All,
    My requirement is like this.
    iam picking the file from FTP server and place the file in another FTP server with out mapping.
    I need to use part of sender file name to create the receiver side along with current date.
    for example.
    sender side file name : LM01000008.txt
    recevier side file name need to generate : LM01dd/mm/yyyy
    Please let me know how to achive this.
    i tried with the blog given below, but partial file name is not possible with that blog.
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID0229698450DB11989196758750510369End?blog=/pub/wlg/6400
    Thanks and Regards,
    chinna

    Hi Chinna,
    Use this code
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    SimpleDateFormat dateformat = new SimpleDateFormat("yyyyMMdd");
    String timestamp = dateformat.format(new Date());
    String newfilename=fileName+timestamp+".txt";
    // change to new file name
    conf.put(key, newfilename);
    return "";
    Regards
    Suraj

Maybe you are looking for

  • All music on ipod Deleted?!?!?!?!

    I've only had this thing for 3 months and i puged it in just a few hours ago to add a playlist and then it said"not all music will fit" and then it made a playlist to fit most of the music. But the music it put on there i didn't want all of it so i d

  • I have an Imac desktop and unable to start or boot with disk drive

    My new Imac desktop computer normally starts from the harddisk. Nevertheless, I have several new software programs that neet to start from the disk drive. I Insert the program in the drive but the program disk does not start to enable me to proceed w

  • Java in Safari but not in Firefox

    Dear Forum I have Java running in Safari, but the java.com test does not pass when I try to do it in Firefox. What can be wrong? What can i do? I require Firefox because I need the Firebug plugin. Thanks for any feedback.

  • Error when trying to load data from ODS to CUBE

    hi,   Iam getting a short dump  when trying to load data from ODS to CUBE. The Run time error is 'TYPELOAD_NEW_VERSION' and the short text is 'A newer version of data type "/BIC/AZODS_CA00" was found than one required.please help me out.

  • How to clean install Maverick

    How to clean install maveraick back from Yosemite.