HELP!!!!!  Sending variables

I am trying to send variables from a flash form. No trouble
for the normal form variables that sit at the root level, I press
my submit button (which is also on the root level), and they all
get sent fine. However, the variables that are inside a movie clip,
are not sent (they are in a movie clip as I have made a drop-down
menu for a multiple choice form question). This is the problem. Can
anyone please save the day and tell me how to send these variables
when I press submit?

what code are you using to send your variables?

Similar Messages

  • Need help sending variables from HTML to SWF...

    I have a header with tab buttons--- When you are on a certain
    page the coorisponding tab is a different color(as a locator).
    Right now I have like, 7 or 8 different headers that are the
    same thing minus the colored tab of the current page.
    Is there a way to code the flash so that I only need one
    header, but still keep the off-colored buttons when on the
    coorisponding page?
    Apparently, from what I have gathered I need to Send a
    variable to the SWF from the embedding HTML using FlashVars or
    SWFObjects' 'addVariable' method etc so the SWF knows which
    tab/color to use.
    But, I have no ideal where to start...uugggggg.
    Any Suggestions????
    I really, really need to figure this out.
    Thanks in advance,
    hutch

    the easiest way to pass vars to the flash is by appending
    them to the url of the flash:
    e.g your swiff is called "mymovie.swf" and you want a
    parameter "color" to be available on the _root level of your movie,
    so all you have to do is embed the flash with the following url
    into your html page:
    "mymovie.swf?color=black"
    now back in flash you can get the value of "color" like this:
    in _root timeline:
    color
    in any other timeline:
    _root.color
    the value will be filled once the movie is called from within
    the HTML as explained above

  • Error 1047 in LabVIEW 8.2: LabVIEW failed to send variable to the script server. Server:""

    I am working with the evaluation version of labVIEW as well and I have run into another error.  I am using a MATLAB script node within a for loop and attempting to pass the for loop counter variable into the script.  When I run the code it brings up a 1047 error and says "LabVIEW failed to send variable to the script server. Server:"" ".  I looked up the error online which seems to have roots in a failed auto initialization of MATLAB.  Is there something that I can do in labVIEW to fix the problem or is it strictly a MATLAB error?  
    I really appreciate your help.

    I'm using Labview 8.6 and Matlab 7.9 2009b on windows 7 (64bit)
    when I tried to open the Lorenz Diff Eq.vi....it woes not work and gives the error
    Error 1047 occurred at LabVIEW:  LabVIEW failed to send variable to the script server. Server:"" in MATLAB script node - Lorenz Diff Eq.vi
    I think there is no inital communication for opening the MATLAB server
     any can help?
    A.Hakim

  • ActiveX in BradySoft (CodeSoft) - What Class/Method/Object's would I use to send variable form data to BradySoft?

    What Class/Method/Object's would I use to send variable form data to BradySoft? I have a basic label setup in BradySoft and I want to send it variable form data (a serial number) from Labview ActiveX. I have attached Brady's ActiveX programmers guide but can't figure out what to use for this. P.S. I would call Brady or TekLynx tech support about this but they have a strict policy whereas BradySoft supports ActiveX but their tech support doesn't provide programming help with it. I figured I'd try the NI Forums.  

    Aaronb, I presume by publishing an ActiveX programmers manual the BradySoft software installs Active X objects. You may choose to interact with these objects within LabVIEW using Active X controls. The following link will provide a starting point for LabVIEW help topics on Active X communication: Select ActiveX Object Dialog Box
    http://zone.ni.com/reference/en-XX/help/371361F-01/lvdialog/insert_active_x_object/
    Building a Simple Web Browser Using ActiveX (Example of ActiveX arcitecture)
    http://zone.ni.com/devzone/cda/epd/p/id/81 Hope this helps provide a bit of guidance. Cheers!  

  • NativeProcess: how to send variables between AIR and C#?

    Hi, how do I make AIR send variables to C#? And how do I make C# send variables back to AIR?
    Please help!

    You can send arguments back  through the standard output of  your c# code.
    maybe this can help ?
    http://www.adobe.com/devnet/air/flex/quickstart/articles/interacting_with_native_process.h tml
    regards,
    Alain

  • Send variables between ICM scripts

    Hi,
    It is a UCCE environment with CVP.
    I have Post Call Survey configured and running.
    In the CVP survey script, I don't want the caller to select again the language.
    Is there a way to send variables between ICM scripts so the language selected in the first CVP script will be sent to ICM script1 then ICM script2 then CVP script2?
    Your help is highly appreciated.
    Thank you in advance
    Lara

    Hi David,
    I still have an issue with the above. In the initial CVP script the customer can choose to listen to announcements without the need to be transferred to an agent. In this case, the Survey script is launched but the call variables are not populated and the language is showing as Null in the log which is causing a bad fetch error.
    Kindly, is there a workaround?
    Thank you in advance.
    Lara

  • How do i send variables to a flash file using swfloader???

    hey guys... so im trying to load a swf using the SWFLoader, and i need to some how send a variable to that swf, and in that swf i need to capture that variable if that makes any sence...
    the swf is made in flash, and a function init is called everytime the swf loads...
    in that init function in the flash actionscript i need to capture the variable i send from flash builder....
    so far i have the following code...
    in this code i have no idea on how to send variables to my swf
            var swfLdr:SWFLoader = new SWFLoader();
            swfLdr.horizontalCenter = 0;
            swfLdr.verticalCenter = 0;
            swfLdr.source = "http://test-broadcast.apxinsider.com/Content/swf/office_weekly_UF.swf";
            swfLdr.addEventListener(Event.INIT, swfLoaded);
            swfLdr.load();
    now i was htining i could do somehting like office_weekly_UF.swf?id=1304 or somehting... but if i do that, how do i capture this in my swf???
    any thing would help! thank you so much!

    Hi,
    I'll put up what i think is the answer. Do tell me if this is what you are looking for. When I created the swf in Flash Pro.This is the code I used
    var keyStr:String;
    var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
    for (keyStr in paramObj) {
    urlText.text = String(paramObj[keyStr]);
    urlText is a text box whose content text is passed as a URL parameter. The parameters can be retrieved from paramObj. Is that what you meant by capturing the variables?
    Then on the flex side, this is the code i used to display from SWFloader
               import mx.controls.SWFLoader;
                private var swfLdr:SWFLoader;
                private function startSWF():void
                    swfLdr = new SWFLoader();
                    swfLdr.horizontalCenter = 0;
                    swfLdr.verticalCenter = 0;
                    swfLdr.source = "MySWF.swf?urlText=verbose";
                    addElement(swfLdr);
    I hope this helps.
    Nishad

  • How to send Variable from a web dynpro abap application to anthor

    HI all:
        I have two web dynpro abap applications .
        I want to send a Variable from a web dynpro abap application to another  web dynpro abap application  using post method.
        Because, now I have used append_field_url  to send Variable,but this method will display the Variable in the URL.
        I do not need this result.
        I need the Variable from a web dynpro abap application to another  web dynpro abap application  and the Variable will not display in the URL.
        Can you give me an example?
        Thanks.

    HI Nawal Kishor Mittal :
    I have tried your method,but I can not get the value of variable.
    My code is as follows:
    The first web dynpro abap application:
    DATA:BEGIN OF l_send,
         l_value TYPE string,
         END OF l_send.
    l_send-l_value = '400001'.
    EXPORT l_send-l_value FROM l_send TO SHARED MEMORY indx(aa) ID 'YTEST_MATNR'.
    The second web dynpro abap application:
    DATA:BEGIN OF m_send,
         s_value TYPE string,
         END OF m_send.
    IMPORT m_send-s_value TO m_send FROM SHARED BUFFER indx(aa) ID 'YTEST_MATNR'.
    DELETE FROM MEMORY  ID 'YTEST_MATNR'.
    Thanks.

  • Help sending out long email message from ORACLE PL/SQL

    Hello,
    I need help sending out long email message from ORACLE PL/SQL.
    My message(email body) contains about 4000 characters and comes out truncated somewhere on the middle.
    My business requirements do not allow me to send it as attachment.
    I am using oracle utl_smtp package and on oracle 10gR2.
    Is it possible to send out long text message from Oracle?
    Thanks!
    Ia

    Thank you very much for your responses.
    Even if I use email procedure below my message is getting truncated.
    Here is how I am trying to execute the procedure from sql plus:
    DECLARE
    P_SENDER VARCHAR2(32767);
    P_RECIPIENT VARCHAR2(32767);
    P_SUBJECT VARCHAR2(32767);
    P_BODY VARCHAR2(32767);
    BEGIN
    P_SENDER := 'xxxx@yyy';
    P_RECIPIENT := 'xxxx@yyy';
    P_SUBJECT := 'long text message';
    P_BODY :=
    '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    7 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    8 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    9 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    10 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    11 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    12 34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    21 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789';
    EMAIL ( P_SENDER, P_RECIPIENT, P_SUBJECT, P_BODY );
    COMMIT;
    END;
    SQL> @long_sp;
    PL/SQL procedure successfully completed.
    The email message is:
    long text message
    xxx@yyyy
    Sent:     Tuesday, May 25, 2010 6:52 AM
    To:     
    xxx@yyyy
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 7 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 8 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 9 12345678901234567890123456789012345678901234567890123456789012345678901234
    Message is getting truncated around 1000 characters.
    What am I doing wrong?
    Please help!
    Thanks!!

  • Is it possible to load and send variables to php at the same time?

    Hello, with this line:
    request.method = URLRequestMethod.GET; you can receive
    variables from php.
    and with request.method = URLRequestMethod.POST you can send
    variables.
    But is it possible to do this simultaniously ?

    they both send and receive data sequentially. ie, data is
    sent (if there is any) and then data is received (if there is
    any).

  • Sending variables to AMFPHP

    How would I send variables to php when I use AMFPHP?
    I'm trying to send mediaID and voteValue to my php file, but
    nothing seems to happen. I guess there's something wrong
    here..

    Why are you using URLVariables?
    How you do it depends on the method signature for the server
    method you are calling. See where it talks about arguments :
    ...arguments in the docs:
    ... arguments — Optional arguments that can be of any
    ActionScript type, including a reference to another ActionScript
    object. These arguments are passed to the method specified in the
    command parameter when the method is executed on the remote
    application server.
    if its addMyVote($id,$voteval) or something like that, then
    I'm guessing you should do it like this:
    gw.call("addVote.addMyVote", res, myMediaID,myVoteValue);
    But it really depends on what your serverside method is
    expecting.

  • Sending variables to other programs

    im trying to send variables to another program called math_problems
    however, im getting an error that says 'cannot resolve symbol'
    here's my code:
    public class Event_Listener implements ActionListener
              private control_panel idunno;
              public Event_Listener (control_panel t)
                   idunno = t;
              public void actionPerformed(ActionEvent ev)
                   if(ev.getSource() == idunno.done)
                        String operation, position;
                        String min = idunno.minField.getText();
                        String max = idunno.maxField.getText();
                        String digit = idunno.digitsField.getText();
                        String number = idunno.numberField.getText();
                        if(addBtn.isSelected())
                             operation = addString;
                        else if(subBtn.isSelected())
                             operation = subString;
                        else if(multiBtn.isSelected())
                             operation = multiString;
                        else if(divBtn.isSelected())
                             operation = divString;
                        else operation = addString;
                        if(vertBtn.isSelected())
                             position = "Vertical";
                        else if(horBtn.isSelected())
                             position = "Horizontal";
                        else position = "Vertical";
                        System.out.println("Min = " + min);
                        System.out.println("Max = " + max);
                        System.out.println("# of digits = " + digit);
                        System.out.println("# of problems = " + number);
                        System.out.println("Operation = " + operation);
                        System.out.println("Position = " + position);
                        math_problems mp = new math_problems(operation, position, min, max, digit, number);
         }

    dont worry about it.
    i solved it

  • Send variables to pdf form

    I am using Adobe Lifecycle Designer now to build my forms and am trying to send variables into the pdf document using URL query, variables. It worked with my old forms using fdf but now it seems that wont function. Is there a tutorial or document someone can point me to to do this. I am coming up with nothing.
    This is a double post from a Coldfusion forum, sorry bout that, i thought it had more relevance here.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7&threadid=1158231&ente rthread=y
    - Aaron

    Aaron,
    I have the same problem, and would like to know if you came up with a solution. It's hard to believe that it can't be done.
    socratis

  • Sending variables to swf

    I am loading swf with a Loader class. I also send variable to
    the swf like that:
    var request:URLRequest = new URLRequest("../Top/Top.swf")
    var variable:URLVariables = new URLVariables();
    variable.myVar= "self";
    request.data = variable;
    request.method = URLRequestMethod.POST;
    topLoader = new Loader()
    topLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onLoadComplete)
    topLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
    onLoadError)
    topLoader.load(request)
    In the loaded swf I am trying to get the myVar variable like
    that but I am getting undefined value:
    root.loaderInfo.parameters.myVar
    What do I do wrong????

    quote:
    Originally posted by:
    shikozel
    request.method = URLRequestMethod.POST;
    Hi. You want to go a GET, not a POST request. So eliminate
    that line.
    Jak sie masz

  • Help with 2D Graphics - How do I send Variable data to paint method?

    I am working on a program that figures mortgage payments and an amortization schedule when a user inputs the principle, APR, and term length in years. After it figures all of those, I want to be able to display a chart that shows the principle and interest amounts for each year. My problem is, how do I get my loan information into my paint method so that I can draw a chart using that data? Any help would be greatly appreciated. The graph class in the code below is called after pressing a "Display Graph" button from my GUI.
    I'm pasting my code below. This does not include my main method or my GUI method. I can post those if necessary. Here is my code so far:
    import java.util.*;
    import java.lang.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import java.io.*;
    import java.lang.Math;
    public class Graph extends JFrame
         public Graph(double dCurrentBalance, double dMonthlyPmt, double dRate, int iTime)
              final double balance = dCurrentBalance;
              JFrame graphFrame;
              int iCounter = 0;
              int iPmtNumber = 0;
              double dCurrentInt = 0.0;
              double dCurrentPrinciple = 0.0;
              double dMPR = 0.0;
              int yCoordInt = 0;               //integer for Y coordinate for Interest
              int yCoordPrinciple = 0;     //integer for Y coordinate for Principle
              iTime *= 12;               //determine number of months for this loan
              iCounter = iTime;          //set loop counter to number of months for this loan
              dMPR = dRate/12;          //determine monthly periodic rate
              graphFrame = new JFrame ("mCalc Graph");
              graphFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              graphFrame.setSize(800,600);
              graphFrame.setResizable(false);
              // center graphFrame on the screen
         Dimension ScreenSize = Toolkit.getDefaultToolkit().getScreenSize();
         Dimension FrameSize = graphFrame.getSize();
         if (FrameSize.height > ScreenSize.height)
         FrameSize.height = ScreenSize.height;
         if (FrameSize.width > ScreenSize.width)
         FrameSize.width = ScreenSize.width;
         graphFrame.setLocation((ScreenSize.width - FrameSize.width) / 2,
                   (ScreenSize.height - FrameSize.height) / 2);
              //Displays graphFrame
              Graphic graphicPane = new Graphic();
              graphFrame.add(graphicPane);
              graphFrame.setVisible(true);
              //This loops until all payments have been figured
              for (; iCounter > 0; )
         iPmtNumber++;
         dCurrentInt = dCurrentBalance * dMPR;
         dCurrentPrinciple = dMonthlyPmt - dCurrentInt;
         dCurrentBalance = dCurrentBalance - dCurrentPrinciple;
                   if (iPmtNumber%12 == 0)
    //           System.out.println("dCurrentBalance = " + dCurrentBalance);
    //                    System.out.println("Payment # = " + iPmtNumber);
    //                    System.out.println("dCurrentInt = " + dCurrentInt);
    //                    System.out.println("dCurrentPrinciple = " + dCurrentPrinciple);
         iCounter = iCounter-1;
              } //end for loop
         } //end Graph constructor
    /* This class needs to be personalized to include my own variable names,
    *     etc. I also need to find a way to bring in data from the Graph class.
         class Graphic extends JPanel
              public void paintComponent(Graphics comp)
                             int i; // Declare the variables used to generate the chart
    float xLoc = 50; // Location of the X Axis along Y
    float yLoc = 50; // Location of the Y Axis along X
    Line2D.Float LnA; //
    super.paintComponent(comp);
                   // Establish a tie between this subroutine and the Graphic
    Graphics2D comp2D = (Graphics2D) comp;
    // Cast the Graphics named comp to a Graphics2D as comp2D
    comp2D.setColor(Color.white);
    // Set the background color
    comp2D.fillRect(0,0,800,600);
    // Draw the X and Y axis
    comp2D.setColor(Color.black); // Set the pen color to black
    Line2D.Float YAxis = new Line2D.Float(50,50,50,getSize().height - 50); // Define the Y-Axis
    Line2D.Float XAxis = new Line2D.Float(50F,getSize().height - 50F, getSize().width -50F, getSize().height -50F); //Define the X-Axis
    comp2D.draw(YAxis); // Draw the Y-Axis
    comp2D.draw(XAxis); // Draw the X-Axis
    Font font = new Font("Dialog", Font.BOLD, 12); // Set the font for the Axis labels
    comp2D.setFont(font);
    float increment = 15;
    // Draw the line
    xLoc += increment;
    comp2D.setColor(Color.red);
    /* Need to find a way to bring in my own data to use for the
    * yLoc variables.
    for (i=1; i<=45; i++)
    { // Begin making the graph
    if (i < 30)
         yLoc += increment;
    } else {
         yLoc -= increment;
    // Scale the location to the graph height
    LnA = new Line2D.Float( xLoc, getSize().height - 50F , xLoc, yLoc); // Create the line
    comp2D.draw(LnA); // Draw the line
    xLoc += increment;
                             }//end for
                   }//end paintComponent
              } //end class Graphic
    } //end class Graph
    Any help would be GREATLY appreciated! Thanks.
    Message was edited by:
    russedl
    My email address iss [email protected] if you wish to reply privately. I can send my entire program code if that will help. Thanks!

    Hi Deca,
    You can use the CmdExecuteSync method of the DIAdem.TOCommand interface to set the value of a text channel. For example passing the string "CHT(1,1) := 'test'" as a parameter to the CmdExecuteSync method will set the 1st row of the 1st channel to "test". Please refer to the DIAdem help for more documentation on the CHT function.
    I hope this helps! Please post back if I wasn't clear enough in explaining how to do this or if you have any problems getting it to work.
    Regards,
    Sarah Miracle
    National Instruments

Maybe you are looking for