Variable passed in movie param

I am having a troublesome issue that seriously affects a
paying client. Any help is greatly appreciated.
1. Built a FLASH 8 movie that has three frames. Each Frame
is a single form.
2. The movie param lists the SWF followed by a single
parameter (<param name="movie" value="
http://jyourchis.sc35.info/registrationForm.swf?formName=MailingList"/>)
3 The first frame has Actionscript that is stop() and then
gotoAndPlay(formName); [in reality, I am first converting to
lowercase]
As I test from various machines, the FIRST time visiting the
HTML page only the first frame appears (sometimes it is part of the
page). A Reload of the browser then operates correctly.
I am pointing to this with (eventually) almost a hundred
different pages. That is why it is in another domain.
I have the parameter "allowScriptAccess" set to "always".
Thanks in advance

Hi,
  Why do you need to pass the system variable to the form at the first place ? It would not be a good programming practice to pass a system variable to the form.
Hope this helps..
Thanks in advance,
Harikrishna.

Similar Messages

  • Passing a variable from a movie clip to the main timeline

    Hi,
    I'm having trouble passing a variable from a movie clip in my
    flash file to the main timeline.
    I have a movieclip with the instance name IntroNav which
    contains several buttons. Clicking a button sets the variable
    "page" to a specific name, i.e. page = "home"
    However, outside of the movie clip, on the main timeline I am
    unable to call this variable, and "page" seems to have no value.
    Can anyone tell me why this is and how to solve it?
    Thanks

    Umm, yes ... declare your variables correctly.
    var page:String = new String(); //proper complete
    var page:String; //strict typing
    var page:String = "home"; //stirct typing with value
    declaration
    Do not declare the variable in your buttons, you would have
    to do so in every button and be constantly resetting the value.
    Declare it on the main timeline at the lowest level. You do not
    need to use it as a _global, you just need to resolve your path
    issues. You can 'set' the variable value from a button, without any
    problem, but you have to call to the variable correctly.
    You do not 'name' a variable as "_root.page" , the '_root'
    refers to the lowest level of the SWF or the main timeline, as does
    a call to ' _level0' (that's a zero). If the variable is declared
    on the main timeline, and you're calling from the MC/button or
    anywhere you can refer to the variable by calling to it by
    the proper path of '_root.page'
    To set the variable from any of your button/MC instances
    call:
    _root.page = "value"; OR _level0.page = "value";
    But you must have the varibale declared on the main timeline,
    and only once and the playhead should be stopped or it will reset
    the value to the default upon looping.

  • Howto pass dynamic jsp:param value to applet

    Hi.
    I have a JSP page with 3 to 4 links... and an applet with jsp:plugin .
    So i want to pass the URL behind the link to the applet as a Request Param..
    My JSP code looks like
    <a link href="www.google.com">Google</a>
    <a link href="www.oracle.com">Oracle</a>
    <a link href="www.gmail.com">Gmail</a>
    <jsp:plugin type="applet"
                                code="MyApplet"
                                height="0" codebase="../../jars/" width="0"
                                name="MyApplet"
                                align="bottom">
                            <jsp:params>
                                    <jsp:param name="applicationURL"
                                               value="this should be the "/>
                            </jsp:params>
                            <jsp:fallback>
                                    <p>This feature should run on applet supported
                                       browser.</p>
                            </jsp:fallback>
                    </jsp:plugin>and my applet code looks like
    init()
              String appURL = getParameter("applicationURL");
                    System.out.println(appURL);
              }I have a similar thread in Java forums... Howto pass dynamic jsp:param value to applet
    Thanks,
    Murali.

    My JSP code looks like
    <jsp:plugin type="applet"
                                code="MyApplet"
                                height="0" codebase="../../jars/" width="0"
                                name="MyApplet"
                                align="bottom">
                            <jsp:params>
                                    <jsp:param name="applicationURL"
                                               value="applicationURL"/>
                            </jsp:params>
                            <jsp:fallback>
                                    <p>This feature should run on applet supported
                                       browser.</p>
                            </jsp:fallback>
                    </jsp:plugin>and my applet code looks like
    init()
              String appURL = getParameter("applicationURL");
                    System.out.println(appURL);
              }Now i want to have links on JSP pages clicking on which corresponsing url will be displayed in applet.
    Edited by: 635237 on Jan 24, 2011 10:44 AM
    Edited by: 635237 on Jan 24, 2011 10:45 AM

  • Export H264 pass-through movie with embedded text track QuickTime Pro 7 Windows?

    Using QuickTime Pro 7 for Windows, I add a text track with closed captions to my H264 .mp4 videos. 
    The text track works great until I try to export it.  After I've added the text track, the text track is displayed as long as the track is selected to be active using the Movie Inspector track GUI.
    My movies are encoded as H264 for cross-platform compatibility, and need to remain in this format.  The only way to save them in QuickTimePro 7 for Windows is to Export Movie to MPEG-4.  I select Pass-Through mode to retain the resolution and bandwidth parameters that I initially encoded the video with.
    Unfortunately, after I export to MPEG-4, the caption track is lost.  It disappears.  When I open the newly exported MPEG-4 caption file, and select Movie Inspector, the caption track is missing.  Inspector only shows video and audio tracks.
    If QuickTime Pro 7 for Windows correctly exported my text track with the video and audio tracks, then users would be able to view the closed captions upon playback in QuickTime Player by selecting View--> Show Closed Captioning (Ctrl+Alt+T).
    Anyone been able to export to MPEG-4 pass-through movie with embedded text track QuickTime Pro 7 Windows?
    Thank you!

    Sorry here is the code
    <body>
    div id="myAlternativeContent"
    a href="videofolder/video.mov"
    img src="videofolder/video-poster.jpg"
    /a
    /div
    </body>
    videofolder/video
    Message was edited by: SFlocation
    Message was edited by: SFlocation

  • Can a system-variable passed in the The syntax of the FoRM statement

    The syntax of the FoRM statement is
    FORM {TABLES <t1><t2><t3>......} {USING <U1><U2><U3>.....} {CHANGING <C1><C2><C3>.....}
    ENDFORM .
    As all these are vvariables can a system-variable passed here
    ---if not why?

    Hi,
      Why do you need to pass the system variable to the form at the first place ? It would not be a good programming practice to pass a system variable to the form.
    Hope this helps..
    Thanks in advance,
    Harikrishna.

  • How to pass  variables into flex movies form the url

    I used to do this in Flash 8 using swfobject, but it does not
    seem to work with Flex.
    Anyone can provide an example on how to do this.
    Thanks,
    Gilbert

    ZClaes,
    Thanks. But where do i put the following code on the html
    page (from the example of your link):
    <%
    String fName = (String) request.getParameter("firstname");
    String mName = (String) request.getParameter("middlename");
    String lName = (String) request.getParameter("lastname");
    %>
    Gilbert

  • Variables into flash movie  -  Urgent help needed, please

    I am hoping this is simple:
    Here is my HTML code:
    <param name="movie" value="orig2.swf" /><param
    name=FlashVars VALUE="sname=video1.flv"><param name="quality"
    value="high" /><param name="bgcolor" value="#ffffff" />
    I need to pass video1.flv to the flash movie.
    Here is the MOVIE data. I was told this is how to do it, but
    I am sure it's missing something basic.
    //insert sample link below
    mediaDisplay.directLink = "
    http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
    //pulls sname from param value in HTML
    mediaDisplay.simplePlaylist = sname;
    streamnameTxt.text = sname;
    So, it should pull the SNAME variable from HTML and feed it
    into player. If I type in SNAME variable and manually place it in
    DirectLink line above, it works, but I need it to feed from HTML.
    PLEASE HELP!!

    I know how to pass the variable TO flash, but how do I get
    the FLASH movie to receive it??
    Again, here is the code in the FLA file
    //insert sample link below
    mediaDisplay.directLink = "
    http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
    //pulls sname from param value in HTML
    mediaDisplay.simplePlaylist = sname;
    streamnameTxt.text = sname;

  • How do I use a variable to set movie clip properties?

    I'm building a simple contact page that allows users to
    select a city from a comboBox. I'd like to pass the selected
    comboBox data through a variable that controls a movie clip with
    the same name. (already on the stage)
    locationListener.change = function (loc_obj:Object) {
    var loc_mc = loc_obj.target.selectedItem.data;
    loc_mc._visible = true;
    So far this hasn't worked. I've tested hardcoding the movie
    clip instance name (Atlanta._visible = true) and it works, but I
    can't figure out why using the variable loc_mc won't trigger
    interaction with the movie clip.
    Something simple, I assume. Thanks in advance for any
    help.

    clbeech:
    I tried using your suggestion, but for some reason it doesn't
    recognize it as naming the movie clip instance. I traced the
    variable and confirmed that the correct value (Atlanta) is being
    passed.
    I assume this is because the variable is not declared as a
    MovieClip, but I can't figure out how to convert it inside the
    function.

  • Passing in movie to load via loadmovie from page

    Hi all,
    My page loads a default swf using SWFObject, which in turn
    loads other swfs containing page content. Using SWFObject, I have
    non Flash content for the default page that loads if the flash
    player is not present.
    I would like to have each flash page replicated as an HTML
    page, passing the flash page to load into the default Flash page.
    For example, if the user visits mysite.com/aboutus.cfm, the
    page should pass in aboutus.swf as the page for default.swf to
    load, or if the user visits mysite.com/services.cfm, then
    services.swf should be passed in to the default.swf movie.
    I have tried the method shown on
    http://blog.deconcept.com/swfobject/,
    using:
    <script type="text/javascript">
    var so = new SWFObject("default.swf",
    "flash", "760", "800", "9", "#FFFFFF");
    so.addParam("wmode", "transparent");
    so.addParam("allowscriptaccess", "samedomain");
    so.addVariable("movieToLoad", "homepage_v1.swf");
    so.write("flash");
    </script>
    but this fails to load the movie "homepage_v1.swf" using the
    following in my default Flash page:
    // LOAD DEFAULT PAGE
    loadMovie(_root.movieToLoad, 10);
    Any advice on where I am going wrong?
    TIA,
    Paul

    Thank you clbeech,
    I think you may have misunderstood me (if I have not
    misunderstood you).
    My reasoning for doing what I am is that each flash page will
    have its own search engine friendly html page, for example
    aboutus.html. All pages will contain an html version of the site
    complete with links, which will be replaced by the swfobject for
    browsers with Flash capabilities.
    So once google (without Flash player) has indexed all my html
    pages, if a user clicks on the google result for about us, the
    aboutus.html page will load, which will then load the default Flash
    movie, passing in a variable telling it to load aboutus.swf as the
    default page. If the user clicks the result for services.html, that
    html page will load, which will again load the same default flash
    page, passing in the variable telling it to load services.swf.
    It all works when hardcoding the swf to load into the first
    frame as outlined in my snippet above, but does not seem to like
    the variable name.
    Any other ideas anyone?
    Thanks,
    Paul

  • I need to delete a variable containing a movie clip class and recreate it with a different movie clip class

    Hello,
    I am creating a program that is going to help students learn to read. In my project are pages of text with each word having a button that when pressed will display a movieclip presentation about that word (its pronounciation and spelling etc..). In the project I am working on now I have over 450 unique presentations of words to deal with. I don't want to have all of these hundreds of movie clips on the stage and tell them one at a time to stop and rewind and then have one play each time a word button is pressed. That seems to be very inefficient to me. So I want to do this with some code in Actionscript 3.
    I know I can dynamically add movieclips to the stage using addChild(movieclipname) and remove them using removeChild(movieclipname) but there is a problem. I have hundreds of unique movieclips and I don't want to have to manage hundreds of variables containing the indivudual movieclip instancess. It is a real pain having to figure out what instance is still on the stage before i delete it.
    In Adobe Director all I have to do is this:
    on mousedown me
         sprite(me.spritenum).member = member("somenewmember:)
    end
    and that was it
    But if I do this in actionscript 3:
    removeChild(some_mc)
    some_mc still exists in memory. And I have to know exactly what variable it is to remove or else the movie will fail with an error. If I try to be brutish about it and try to implicitly remove all 450 movieclip instance variables from the stage I will get at least 449 errors.
    What I want to do is this:
    removeChild(some_mc)
    some_mc = void //or //delete some_mc
    var some_mc:MovieClip = new someother_mc();
    addChild(some_mc)
    but this doesn't work
    How am I going to remove one of 450 movie clips and add a new totally different movie clip without the code knowing exactly what the last movie clip was? I suppose if could remove a child from the stage based on a string name then I could hold that name in a variable for later disposal.Can I do this?
    Thanks for any help you can give me. I am new to actionscript.

    Hey I think I may have a solution:
    //begin code
    var myMC:MovieClip = new ball();
    var starMC:MovieClip = new star();
    var youpresseeditMC:MovieClip = new youpresseedit();
    starMC.name = "star";
    myMC.name = "ball";
    youpresseeditMC.name = "youpresseedit"
    addChild(myMC);
    box.addEventListener(MouseEvent.MOUSE_DOWN, replaceball);
    press_BTN.addEventListener(MouseEvent.MOUSE_DOWN, replaceballwithtext);
    function replaceball(event:MouseEvent):void {
        trace(myMC.name)
        removeChild(myMC);
        myMC = starMC;
        addChild(myMC);
        trace(myMC.name)
    function replaceballwithtext(event:MouseEvent):void {
        trace(myMC.name)
        removeChild(myMC);
        myMC = youpresseeditMC;
        addChild(myMC);
        trace(myMC.name)
    ///end code
    This works. I see the ball object replaced  by the star and I am able to do this by manipulating just myMC. Is there anything I should be concerned with in this approach?
    Thanks for your help

  • How to access variables passed in custom tag body

    I am developing custom tags in my application. I need to pass some variables from the .jsp file into tag file. I want these to be passed as body of the tag rather than as tag parameter. It seems the correct syntax for this is:
    <myTags:display> someVariable </myTags:display>
    Question 1: Can I not use this as: <myTags:display someVariable /> Since this tag will be used at many places in the jsp, I dont want to write myTags:display twice for every usage.
    Question 2:
    I want to call the tags from main.jsp like:
    <% String var1 = "Display Me Please"; %>
    <myTags:display var1 />I want the tag file to do some processing on the value stored in var1. I've written the following code in tag file, display.tag:
    <jsp:doBody var="theBody" />
    <% Object obj = (Object) request.getAttribute ("theBody"); %>This code snippet gives me access to obj which has the value "var1". Now how do I access the value that is contained in "var1".
    Edited by: coolkomal on Jun 3, 2009 7:45 AM

    coolkomal wrote:
    I am developing custom tags in my application. I need to pass some variables from the .jsp file into tag file. I want these to be passed as body of the tag rather than as tag parameter. It seems the correct syntax for this is:
    <myTags:display> someVariable </myTags:display>
    Question 1: Can I not use this as: <myTags:display someVariable /> Since this tag will be used at many places in the jsp, I dont want to write myTags:display twice for every usage.
    <myTags:display var="<%=someVariable>"/> is a valid syntax for performing respective action of that variable. You can also use EL to pass the variable ${someVariable} provided the custom tag provide support for EL.
    >
    Question 2:
    I want to call the tags from main.jsp like:
    <% String var1 = "Display Me Please"; %>
    <myTags:display var1 />
    Just ensure that you declare all the related variables in Main.jsp and statically include Main.jsp in your jsp such that you do the checking
    [http://java.sun.com/products/jsp/tags/11/syntaxref117.html]
    >
    I want the tag file to do some processing on the value stored in var1. I've written the following code in tag file, display.tag:
    <jsp:doBody var="theBody" />
    <% Object obj = (Object) request.getAttribute ("theBody"); %>This code snippet gives me access to obj which has the value "var1". Now how do I access the value that is contained in "var1".Can be done provided you code it the right way. Start learning basics of how to create custom taglibraries to gain more knowledge on how things can be managed.
    [http://java.sun.com/javaee/5/docs/tutorial/doc/bnalj.html]

  • Variable passing to an email activity

    Hi,
    In my simple process flow I have:
    START--------TRANSFORMATION (procedure call)--------EMAIL ACTIVITY--------END
    My procedure has an output parameter (which consists of an email address).
    In the transformation, the output parameter is passed into a variable VAR1.
    In my EMAIL activity, the TO_ADDRESS parameter is assigned VAR1.
    My problem is, when I validate the processflow it comes up with the error:
    "VLD-10034: Parameter TO_ADDRESS is bound to variable VAR1, but VAR1 has no default value set. For a processflow to be valid the bound parameter or variable should have a default value."
    So I assigned the variable VAR1 a default value (I entered a valid email address), the processflow validates successfully, but when I run it, it fails with an error.
    It's the variable that's causing a problem as when I hard-code an email address in the TO_ADDRESS parameter it runs without a problem.
    Do you have any ideas why the variable is failing when a default value is set?
    Thanks for any replies
    Ansel

    Hi Armands
    I managed to sort this one out.
    I stripped out the transformation from the processflow to simplify it as much as possible.
    So I had:
    START-------- EMAIL ACTIVITY--------END
    The problem was where it was forcing me to enter a default value for the variable VAR1 (where VAR1 was assigned to the TO_ADDRESS parameter in the email activity).
    I entered an email address as the default value in VAR1, and it failed. So I changed the value to 'aaa', and it failed.
    But it DIDN'T fail when I entered '1' (even though the variable is of a string type).
    So it's working now.
    Thank you for taking the time to try to understand my problem.
    Ansel

  • Value of user variable passed in sender/receiver queries

    Hello experts,
    I have to BEx queries, one sender and one receiver, I linked them in RSBBS
    The problem is that I have InfoObject 0FISCPER as a user variable in the sender query and I fill it with for example "avril 2010" but in the receiver query 0FISCPER is also a user variable but it always receive "#" as value, other values are passed without problems
    Regards,
    Thibault Jacobs

    HI Thibault,
    Try making the User input variable a Mandatory one and then Check ,it shud work.
    Hope u have made the necessary settings in RSBBS and activated it.
    Rgds
    SVU123

  • How to get name of variable passed to method

    How can I get the name of the variable that's passed into a method, in the method?
    for instance: the following code prints an array to a text file, and includes the name of the array in the name of hte text file. So, to call it, I have to do this:
    printarray(myArray, "myArray")
    so that the text "myArray" gets passed in & used in teh fileNM output.
    This is inelegant, and I'd like to just call it like this:
    printarray(myArray)
    and have the method extract that name.
    void printarray(String printstuff[], String arrayname) throws Exception
        String fileNM = "arrayprint_" + arrayname +".txt";
        FileWriter printme = new FileWriter(fileNM);
        String newline = System.getProperty("line.separator");
            String tab = "\t";
        for (int i = 0; i<printstuff.length; i++)
            printme.write(i + tab + printstuff[i]  + newline);
        printme.close();
        } // end printarray

    Let me try to put this in different words and see if I convince you...
    I think you are getting confused between variable names that you use refer a variable within your class and "names" that you associate with a variable based on the data it holds.... In your example
    String[] myArray;here 'myArray' is the name of the reference to the variable printstuff[]. When you call the method
    printarray(myArray) a copy of this reference is passed to that method.
    But you also want to pass another variable that represents the description of the array (which you are referring to as the name). In this case one of the ways of doing this what you had pointed out which is
    printarray(myArray, "myArray");If you don't like this and think its inefficient you should do a bit of reading on the basics of what a variable is, what a reference to a variable etc. Alternativel you can define your own class that convinces you like
    public class MyArray
          private String[] myArray;
          private String myArrayName;
          public MyArray(String myArrayName, String[] myArray)
                      this.myArrayName=  myArrayName;
                      this.myArray = myArray;
          public String[] getArray()
                    return myArray;
          public String getName()
                      return myArrayName;
    }Edited by: deepak_1your.com on 17-Apr-2008 14:12

  • What is the difference between using a global variable,passing a valuee and using a reference?

    I have created a project that consists of several VIs.  Only the main VI has a front panel and the others perform functions.  The function VIs are dependent on controls on the main VI's front panel.  I have several ways of passing the value of the controls.  One is to use a global variable and just place it on the dependent VIs.  Another option is to strictly connect the terminal from the control to a VI connector block and pass the value directly.  My last option is to create a reference of the control and reference it inside the dependent VIs, but this would also require connections to be made to the VI block.
    What are the advantages/disadvantages of these options?
    -Stephen

    5thGen wrote:
    I have created a project that consists of several VIs.  Only the main VI has a front panel and the others perform functions.  The function VIs are dependent on controls on the main VI's front panel.  I have several ways of passing the value of the controls. 
    1) One is to use a global variable and just place it on the dependent VIs.
    2) Another option is to strictly connect the terminal from the control to a VI connector block and pass the value directly. 
    3) My last option is to create a reference of the control and reference it inside the dependent VIs, but this would also require connections to be made to the VI block.
    What are the advantages/disadvantages of these options?
    -Stephen
    1) Globals are evil and introduce race conditions.
    2) The sub-VI only get the value when it was called and updates that occur while the sub-VI is runing are not sensed by the sub-VI
    3) This uses property node "value" or "value signaling" both of which run the user interface thread which is single-threaded and you incur a thread swap hit to performance. You also have a potential for race conditions.
    The are various methods for sharing dat to/from sub-VI which include Queues and Action Engines.
    I hope that hleps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for