Using variables within GETurl

Having issues with getting a simple script working...
I've created a 'flashvars' tag in my embed code (aid=test), which I simply wish to add to the end a GetUrl statement, contained in within a button (which is on the first level of the flash movie). This is the code I've added to the button...
on (release) {
    getURL("http://www.platinumselect.com?id="+aid);
But this doesnt seem to work!? Is there anything else I need to do?
Thanks in advance! (p.s. using actionscript 2.0)

Where are the 3 places?? I've got it in two at the minute.
Date: Tue, 10 Nov 2009 07:53:55 -0700
From: [email protected]
To: [email protected]
Subject: Using variables within GETurl
in as2, there is no LoaderInfo class and you don't need to do anything in flash to parse the flashvars.
but, as i mentioned in a duplicate post, you do need to define your flashvars in 3 places in your embedding html file.  failure to do that is the most common reason for a problem with flashvars.
>

Similar Messages

  • Using variables within the definition of ExcelWorkbook in the Data Services 4.2

    Hi Together
    We have installed the Datas Services 4.2 with a matching SAP BO 4.1 Installation
    The Repositories are hosted on a MS SQL Server 2012R2.
    The System is a Windows 2012 R2 Server
    Within a Repository I try to define an ExcelWorkbook.
    Within this Definition I need a
    Format name,
    the Directory where the Excelfile is in the File System,
    the name from the ExcelFile.
    To define the Access method I will use the Namend Range.
    Is it possible to use for the Namend Range a defined variable with a namend Range.
    I’ve tried a lot notations, but I am not able to use that Variable.
    What is a possible Solution ?
    Regards
    Ralph

    Hello Friend,
    You indicate to go to the Central Management Console (http://server/BOE/CMC), click the Data Services option.
    Select the Configure a new Data Services Repository, complete all fields and click Test Connection. If everything is ok and return success message, click save.
    The repository created will appear in your repositories list, then right click it and select the User Security option. Make sure that the Data Services Administrator Users group is present and with Full Control access. To ensure that your user has access, you can also add it through the Add Principals option. Select the desired user, pass to the other side and click the Add option and Assign Security and include Full Control permission and apply.
    In version 4.2 the ability to create access groups within the Central Repository was added.
    To create and manage such groups need access SAP Data Services Management Console:
    http://server/DataServices/launch/launch.do
    Once you have successfully logged on, click the Administrator button.
    On the left side there are some options, espanda the Central Repositories option and if you have properly created the Central Repository it will appear in the list.
    Click User and Groups note that by default comes a set created (digroup), select the User tab and click the option later add.
    Then enter the information which user, group, status and description and apply the changes.
    Made these procedures you can enable your central repository through the DS Designer and create new groups.
    Hope this helps.
    Hugs

  • Use variable in getURL command

    I have some links and I want to use them in flash I put them
    into the XML file and i read them and save into a Array variable
    now I put them into getURL like this " getUrl(myArr[1]) " I don't
    have problem when I used them in flash I press CTRL+ENTER and run
    flash file with out any problem but when I use it in out of Flash
    for example goto the folder flash_sample and run it the links don't
    work!!!
    please help me.

    are you trying to use myArr before it's defined? ie, loading
    files is asynchronous, so the data from the file isn't available
    immediately after you start loading.

  • Using Variable within Filter expression will not parse.

    IN ODI 11.1.1.3.0, I defined a Variable (SelectionDate) of type "Alphanumeric", Default Value = 01-JAN-1970 with the select query: select to_char( SYSDATE , 'DD-MON-YYYY') from dual.
    I intend to use this variable as a scenario variable (parameter) that receives a value in the form of 'DD-MON-YYYY', from the execution environment.
    I refreshed the variable and it received the value 16-JUN-2011 (today's date). So far so good.
    I then defined an Interface and used the variable in a filter expression:
    Active Filter: Checked
    Implementation Tab:
    SOURCE_VIEW.SELECTION_DATE BETWEEN TO_DATE('#PROJECT1.SelectionDate', 'DD-MON-YYYY') AND (TO_DATE('#PROJECT1.SelectionDate', 'DD-MON-YYYY') + 1)
    Execute on :Source
    When verifying the expression (click on the checkmark in the implementation tab) I always get: Expression is not valid for this DBMS. java.sql.SQLDataException: ORA-01858: a non-numeric character was found where a numeric was expected.
    I cannot get the filter to parse. Thank you for your ideas of what might be wrong.
    Jose.

    Yes, it worked when placed in the package.
    I think the expression editor is sending the string as it is written to the database in order to parse it, without replaceing the #variable for the actual value. Anyway thanks.
    Jose

  • AdobeEdge - Using variables within a symbol

    I am completely new to Adobe edge, but I do have a little development experience (VB, VBA, C#). I would like to create a global variable when the animation starts (strClicked = "No" - or similar).  When one of the buttons is clicked on I would like to set this variables to "Yes".  Finally, I want several symbols to stop playing (their fade-out), if the variable has been set to "Yes".  I'm sure this is quite a straightforward thing to do, but have having a little trouble, and finding it difficult to find good documentation (any suggestions would be greatly appreciated).
    Any help would be greatly appreciated.

    Hi Andrew,
    You should nest each animation in a symbol, say pink, green, yellow. Each is instanciated on stage and given respectively the IDs
    pink1, green1, yellow1.
    Then your button has a click event handler with code
    sym.getComposition().getStage().getSymbol("pink1").stop();
    sym.getComposition().getStage().getSymbol("green1").stop();
    sym.getComposition().getStage().getSymbol("yellow1").stop();
    sym = the button's timeline
    getComposition().getStage() = back to the stage's timeline
    getSymbol("xxx") = select a symbol's instance with name "xxx"
    Here is an example : https://www.box.com/s/h38s2oexqdumm46v4q7d
    I didn't used any global variable : may be you have a good reason to use it ?
    Gil

  • Using variables in transform process

    Using file adapter to read multiple rows into the database. Its a basic transformation with a one to one match, e.g. what's on the left exist on the right.
    The issue is that I want to uniquely identify each file process with an ID. Therefore what I have done is set up a sequence which will be used as a batch ID. I assign this to a variable before I transform the file definition to the database definition.
    What I would like to do is assign this variable to a field in my database as a kind of dynamic constant. I don't seem to be able to use the getVariableData in the options. I want this ID to be loaded on every line without incrementing.
    Does anyone know if it is possible to use variables within the transformation.
    cheers
    James

    Using file adapter to read multiple rows into the database. Its a basic transformation with a one to one match, e.g. what's on the left exist on the right.
    The issue is that I want to uniquely identify each file process with an ID. Therefore what I have done is set up a sequence which will be used as a batch ID. I assign this to a variable before I transform the file definition to the database definition.
    What I would like to do is assign this variable to a field in my database as a kind of dynamic constant. I don't seem to be able to use the getVariableData in the options. I want this ID to be loaded on every line without incrementing.
    Does anyone know if it is possible to use variables within the transformation.
    cheers
    James

  • Use variables in a SELECT INTO FROM command

    Hi,
    How do I use variables within a select into from command? I want to loop through SYS.DBA_TABLES using a cursor and count the number of rows in a
    selection of tables an then insert into a cardinality table.
    The count of rows will be stored in a variable called CNT, that bit is easy however I need a variable in the FROM clause because that
    value changes with every iteration of the cursor.
    e.g.
    CNT := 0;
    TN := "MyTable";
    select count(*) into CNT FROM TN;
    insert into cardinality (table_name, row_count) values (TN, CNT);
    This is Oracle 9i and I need the row counts in a separate table as they are shipped over to a different environment for analysis purposes.
    Any ideas?
    Regards
    Dave
    Edited by: Yorky001 on Sep 15, 2010 10:32 AM

    Hi,
    Thanks for the info, unfortunately I can get neither example to work on this 9i system, could well be pilot error as I only ever get
    to do any Oracle about once per year. In the first query I have tried both "user_tables" and SYS.DBA_TABLES, same result.
    set serveroutput on size 1000000;
    DECLARE
    row_count INTEGER;
    vstr VARCHAR2(500);
    vstr1 VARCHAR2(500);
    BEGIN
    vstr := 'SELECT count(*) FROM ';
    dbms_output.put_line(vstr);
    FOR i IN (SELECT table_name FROM user_tables WHERE rownum < 10) LOOP
    vstr1 := vstr || i.table_name;
    EXECUTE IMMEDIATE vstr1
    INTO row_count;
    dbms_output.put_line(i.table_name || ':' || row_count);
    END LOOP;
    END;
    This one complains about the execute immediate line.
    Error report:
    ORA-00933: SQL command not properly ended
    ORA-06512: at line 12
    00933. 00000 - "SQL command not properly ended"
    *Cause:   
    *Action:
    BEGIN
    FOR i IN (select
    table_name,
    to_number(
    extractvalue(
    xmltype(
    dbms_xmlgen.getxml('select count(*) c from '||table_name))
    ,'/ROWSET/ROW/C')) count
    from user_tables
    where rownum<6) LOOP
    dbms_output.put_line(i.table_name || ':' || i.count);
    END LOOP;
    END;
    ORA-19206: Invalid value for query or REF CURSOR parameter
    ORA-06512: at "SYS.DBMS_XMLGEN", line 121
    ORA-06512: at line 1
    ORA-06512: at line 2
    19206. 00000 - "Invalid value for query or REF CURSOR parameter"
    *Cause:    The queryString argument passed to DBMS_XMLGEN.newContext was not a valid query, or REF CURSOR.
    *Action:   Rewrite the query so that the queryString argument is a valid query or REF CURSOR.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Using variables to go to a section of a swf

    Hi,
    I have been working on a project that I finally realized
    could have been, and will be, easier if I used variables within my
    AS. So I came home this evening and started working on my idea and
    after several hours of it not working, working part way, and
    googling like mad I decided to try you all. I hope you can help.
    The site I'm working on I've actually split up into multiple
    swfs for easier maintenance and I'm using one container swf to load
    everything in. The problem I have is that there is a "past" section
    where the user can select a year and view everything about the
    company that happened in that year (containing text, links to
    photos, sometimes video, etc.).
    So the past section is loaded into level 1 and when the user
    clicks on a year I'm creating a variable called year given the
    value of that year (2007, 1984, etc). The year button also unloads
    the past section swf and loads another swf in level 1. I have some
    actionscript at the beginning of that swf that says
    if (year=2007) {
    gotoAndPlay("2007");
    } else if (year=2006) {
    gotoAndPlay("2006");
    For each year I'll have some links, more buttons, and/or
    video come in and there's also a button to go back to the past
    section. One of my problems is that it always goes to the frame
    labelled "2007". I did get it to go to 2006 once, but I was using
    two if statements instead of the if and else if. The second problem
    is that when the user clicks back to the past section I need to
    empty out the variable so that they can choose another year and
    pass that variable.
    Can anyone offer any advice, suggestions or examples?
    Thanks!
    phej

    I have been having a similar problem, and being quite new to
    Flash, I'm at a loss on how to fix it. My issue is with a template
    I purchased. This template has the main content pages nested a
    couple layers deep. I need to be able to send people to a specific
    URL that I'm hoping to get to load the movie and bring up the one
    specific clip and not the main start.
    I had tried using a dynamic text field to check if the
    variables I was passing in through the URL were making it in (with
    the correct code placed in the embed and object tags). I gave the
    var box of the dynamic text the name of the variable I was passing
    in: showPage.
    This is what was displayed in the text box instead:
    _level0.pages001.pages.instance115.showPage
    Can I glean any information as to how to get this one clip to
    be bookmarked? I have tried by passing in variables and also by
    setting a Named Anchor in the key frame that loads this clip. That
    code worked only as far as putting the NA in the url like it was
    supposed to, but the actual link when pasted back in the browser
    brought you back to the main start.

  • Using variables: Statement must appear within on handler

    I would like to use variables in my flash app. The app is quite simple, has many buttons, and on each of those buttons I have a simple script: on-rollover and on-release. For both actions I use the same value, which I want to put in a variable. The following script results in an error message: Statement must appear within on handler. When I have to declare the variable inside the on-handler, I have to declare it twice, which makes it useless as I have to enter the value twice. How can I get this working?
    country = "uk"
    on (rollOver)
        gotoAndPlay(country)
    on (release)
        getURL("/"+country+"/", "_self");

    try:
    Select a frame on the timeline where your buttons live and then move the buttons handlers there:
    e.g.
    myButton1.onPress = onPressFunction
    myButton2.onPress = onPressFunction
    myButton3.onPress = onPressFunction
    etc.etc.
    myButton1.onRelease = onReleaseFunction
    myButton2.onRelease = onReleaseFunction
    myButton3.onRelease = onReleaseFunction
    etc.etc.
    country = "uk"
    function onPressFunction(){
         this.gotoAndPlay(country)
    function onReleaseFunction(){
        getURL("/"+country+"/", "_self");
    If you use this approach you MUST remove the scripts from buttons themselves.
    I hope this helps.

  • How do I use a variable within a sql statement

    I am trying to use a local variable within an open SQL step but I keep getting an error.
    My sql command looks like this "SELECT BoardDetailID FROM BoardDetails WHERE SerialNumber = " +  locals.CurrentSerialNo
    If I replace the locals.CurrentSerialNo with an actual value such as below the statement works fine.
    "SELECT BoardDetailID FROM BoardDetails WHERE SerialNumber = " +  " 'ABC001' " 
    Can someone tell me how to correctly format the statement to use a variable?

    Hi,
    Thanks for the reply. I have changed the required variable to a string, but with no success. I have reattached my updated sequence file and an image of the error.
    When looking at the Data operation step I see that the sql statement is missing everything after the last quotation mark.
    Thanks again,
    Stuart
    Attachments:
    Database Test Sequence.seq ‏10 KB
    TestStand error.JPG ‏37 KB

  • How to Set and Use a global variable within a session?

    Dear All,
    I'm new to jsp, and would like to ask how to set and use a global variable within a session?
    Thanks in advance.
    Regards,
    Cecil

    With session.setAttribute("name",object) you can store a Attribute in the session object.
    with session.getAttribute("name") you can get it.
    That's it.
    Regards,
    Geri

  • Using jsp variables within JSP tag

    I have a variable defined within a JSP:
    <%
    String cust_id = request.getParameter("cust_id");
    %>
    I want to use this variable as a parameter to a custom tag:
    <%@ taglib uri="/tlds/DBTags.tld" prefix="db" %>
    <db:MultiColumnSelect columns="c.id, c.po" name="ccar_id" table_name="ccar_headers c, ccar_rmas r" selectString="r.ccar_id = c.id AND c.cust_id = <%= cust_id %>"/>
    The selectString value that is passed to my tag is:
    r.ccar_id = c.id AND c.cust_id = <%= cust_id %>
    The <%= cust_id %> is not replaced by the actual variable value.
    How would I accomplish using this variable within my JSP tag?

    Your definition of the selectString attribute must indicate that it can accept runtime expressions.
    <%
    String cust_id = request.getParameter("cust_id");
    String selectString = new String("r.ccar_id = c.id AND c.cust_id = " + cust_id);
    %>
    <%@ taglib uri="/tlds/DBTags.tld" prefix="db" %>
    <db:MultiColumnSelect columns="c.id, c.po" name="ccar_id" table_name="ccar_headers c, ccar_rmas r"
    selectString="<%= selectString %>"/>

  • How to read a variable within a VC code.  I am using BADI based VC code.

    How to read a variable within a VC code.  I am using BADI based VC code.
    Lets say I have a variable for a fiscal period that holds cumulative month.
    If user enters 03/2014 in that variable, it will have month starting from Jan till March.
    Within VC code I would like to read the last month which is
    03/2014 and based on this month I would like to do some calculation on all the records using the last month.
    Since VC code runs for one record at a time and there is no way I can store this value.
    Is there a way to go about it....any suggestions would be of great help.
    Thanks.

    Any suggestions would be highly appreciated.
    Thanks!

  • How do i use variables for javascript pop up window?

    hi,
    i want to open a popup window from flash,
    as advised before i used this line :
    getURL("javascript:NewWindow=window.open('imylink.html','title','width=890,height=660,left =10,top=5,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=Yes,fullscreen=No');
    void(0);");
    BUT, in flash, the URL that has to be open as do the height
    and wdth are stored as variable... imageURL, imageWidth,
    imageHeight, since i have quite a few different pages that have to
    open and they change. how can i use the values of the variables in
    the javascript code??
    is it possible at all?

    try:

  • Using variables in procedures

    hey guys
    I'm trying to create a procedure to insert data into certain table
    what i want to do is :
    1)get the max(ID) of a certain table so i can increase it by 1 and insert a new record
    2)check a condition and depending on that some execution will be run
    here is what i have reached so far but of course it gives a compilation error as I'm not very good at PL/SQL
    create or replace procedure Add_Asset(TABLE_NAME VARCHAR2, GEO varchar2)
    is
    DECLARE
    maxID number;
    geo_Type varchar(20);
    BEGIN
    select max(ID) into maxID from PUMP;
    select geom_type into geo_Type from geometry_type where table_name='|| TABLE_NAME ||' ;
    if geo_Type='POINT' then
    execute immediate 'INSERT INTO '|| TABLE_NAME ||' (ID,GEOMETRY) VALUES((geo_Type,SDO_GEOMETRY(3001, -1, SDO_POINT_TYPE('|| GEO ||' ),NULL,NULL))';
    end if;
    end;
    please correct what i have write wrong
    and i want to know if I'm using the declared variable within the procedure correctly in the insert statement or what...
    thanxxxx a lot

    I don't see yet where your max(id) comes in exactly and I am not sure how to pass the SDO_GEOMETRY object in (but I'll give two alternatives):
    create or replace procedure add_asset (table_name varchar2, geo varchar2)
    is
       maxid      number;
       geo_type   varchar (20);
    begin
    /* please specify where to use this one: */
      select max (id)
         into maxid
         from pump;
       select geom_type
         into geo_type
         from geometry_type
        where geometry_type.table_name = add_asset.table_name;
       if geo_type = 'POINT'
       then
          /* either this:  */
          execute immediate 'INSERT INTO ' || table_name || ' (ID,GEOMETRY) VALUES (:1,SDO_GEOMETRY(3001, -1, SDO_POINT_TYPE(:2 ),NULL,NULL))' using geo_type, geo;
          /* or this:  */
    --    execute immediate 'INSERT INTO ' || table_name || ' (ID,GEOMETRY) VALUES (:1,:2)' using geo_type, sdo_geometry (3001,-1,sdo_point_type (geo),null,null);
       end if;
    end add_asset;
    /

Maybe you are looking for

  • ISS não pega alíquota

    Pessoal, 1. Criei um IVA com ISS, marcando estas condições Cód IVA     Denominação do IVA     Tipo de imposto     Cálculo de imposto: utilização de material     Serv S1     Serviço ISSIRRFCSLL/PIS/COF CSRF+INSS     V Input tax     2 Consumption     X

  • Error while settlement of Internal order

    Dear All I am getting the following error while executing KO88 "Choose transaction type and base value appropriate for asset values". The settlement and posting period are 12 and the processing type is "Partial Capitalization". Pls advice Rgds Nitika

  • PowerBook G4 - 12" can't connect via AirPort (WiFi)

    For 18 months I've had WiFi at my home and I connect my MacBook (OS X 10.5.6), my iPod Touch; my daughter connects a PC running Vista! I used to be able to connect my PBG4-12" running Tiger 10.4.11 - but today I was trying to connect and it doesn't e

  • How to launch an adapter with an external software ?

    Hi everybody, Is it possible to launch an adapter thanks to an EXTERNAL tools (software or Java program)? and how ? But... I have some constraints:    :-((   - no use of BPM   - no use of PCK   - no use of "poll interval" option for a file adapter  

  • Workflow on Email shoot for Un-Attended Lead more than 24 hours in MS Dynamics CRM 2011?

    I want to create Workflow for Un-Attended Lead more than 24 hours then Email will shoot Automatically to User as {BM(BranchManager)} My Business Unit Hierarchy is :         Main Organisation  >>  RBH Trading(Head)  >>  BM Trading(Branch Manager)  >>