AttachMovie using variable target and source names

I've frequently used variable names for the target but is it impossible to do this:
holder.attachMovie(["mcButton"+i], ["box" + i + "_btn"], this.getNextHighestDepth()*200, {_x: arrBtnX[i], _y: arrBtnY[i]});
I can't get it to work and I haven't been able to find an example.  It doesn't work without the square brackets either.
Thanks
Marion

Thank you very much for replying.  I had tried that before without success but I discovered I had given the 'holder' a different name (doh!)   Now that I am using the correct name, I find that it's working but only the last target movieclip appears.   When I trace(i) I get the full trace.  When I trace(btnHldr["box" + i + "_btn"]._x) I get the correct figures.
I have double-checked the linkage names for the mcButton0-5 movieclips and they are correct.   I suspect it's looping through and replacing the same source with the target.  I'm a bit puzzled.
Rgds
Marion

Similar Messages

  • How to use variables in logical file name definition FILE

    Hi Friends,
    How can I use variables in logical file name definition (tcode FILE). The requirement is to pass value in these variables (based on selection criteria), and use it as part of file name. You quick response will be highly appreciated.
    Thanks,
    Kuldeep Joshi

    Hi,
    Thanks for your reply.
    In detail, the scenario is like I have created an Open Hub. Its working fine. Now I am planning to execute this open hub using process chain and for that I have to define the file output on application server along with logical file name (using tcode FILE). The logical file name contains two variables (defined in FILE) i.e. z_dept and z_fiscperiod.
    Filter value in DTP ( I will read these values from Ztable using routine )
    Dept = R&D
    Fisc period = 004/2009
    Variables defined in tcode FILE:
    z_dept for Dept
    z_fiscperiod for Fiscal Period
    Logical file name : <z_dept>_<z_fiscperiod>.csv
    Now the challenge is to populate filter values in these two variables so that the filter value can be used for naming the output file.
    My last option is to read/update SAP standard table used for storing variable values (i.e. PARAMVALUE)
    Please let me know if you can help me in this issue OR is there any standard method/FM to populate value in these variables
    Thanks,
    Kuldeep

  • Why do the foreign language Siri voices use English day and month names?

    I had picked French (Canada) and was ready to believe that "nous sommes le Sunday, June seize, deux mille treize" was correct in Quebec and Nova Scotia, until I checked in German and Japanese, and all the answers used English day and month names!

    Hutchpat wrote:
    is the Spellchecker language tied to the keyboard one is using?
    Yes, that is exactly how it works.  You can quickly switch among keyboards using the Globe key.
    I'm sure you will easily find the Region Formats if you have a look at Settings/General/International

  • Target and Source database

    Hi All,
    Can anyone please tell me what does Target and Source Database means ?
    Thanks

    It can get confusing! In RMAN the target is, usually, the database you wish to connect to to make, say, a backup.
    When cloning, the Target is the Source database (i.e. the database you wish to make a clone of) and the clone is the Auxiliary.
    However, terminologies can get a bit twisted in common parlance, with the Target database being referred to as the Source and the Auxiliary database being referred to as the Target!!!
    HTH.

  • Can you use Apple TV and source films/music from two different Macs in the home?

    Can you use Apple TV and source films/music from two different Macs in the home?

    not at the same time but yes.
    set up home sharing on both computers and Apple TV using the same Apple ID.
    Setting up Home Sharing on your computer
    Setting up Home Sharing for Apple TV (2nd generation)

  • Using variable with the same name as field name?

    I have a complex proc where I have variables with the same name as field name used on a query. something like this:
    SELECT a.id_table WHERE a.id_table = id_table
    where the last id_table is a parameter sent to the proc:
    declare procedure myproc(id_table int)
    Is there any way or notation to declare the variable inside the query as a variable or I have to use a different name?

    Well, variables are not the only thing you have to change if you want to switch to Oracle.
    Although I don't think it is good practice (to use variable name same as column name), here is one example how you can achieve it using EXECUTE IMMEDIATE and bind variable
    SQL> select deptno, count(1)
      2  from scott.emp
      3  group by deptno;
        DEPTNO   COUNT(1)
            30          6
            20          5
    10 3
    SQL> set serveroutput on
    SQL> declare
      2  deptno varchar2(10);
      3  i number;
      4  begin
      5  deptno:=10;
      6  execute immediate
      7  'select count(1) from scott.emp where deptno=:deptno' into i using deptno;
      8  dbms_output.put_line('OUT ---> '||i);
      9  end;
    10  /
    OUT ---> 3
    PL/SQL procedure successfully completed.
    SQL> Message was edited by:
    tekicora
    Message was edited by:
    tekicora

  • Using variables to build table names

    <p><font face="arial,helvetica,sans-serif" size="3">Hi, I&#39;m trying to build a report that I can easily adapt for different tables. For instance I have tables;</font></p><p><font face="arial,helvetica,sans-serif" size="3">cl_fra1_dynamic (France)</font></p><p><font face="arial,helvetica,sans-serif" size="3">cl_fra1_static (France)</font></p><p><font face="arial,helvetica,sans-serif" size="3">cl_ger1_dynamic (Germany)</font></p><p><font face="arial,helvetica,sans-serif" size="3">cl_ger1_static (Germany)</font></p><p><font face="arial,helvetica,sans-serif" size="3">cl_gbr1_dynamic (United Kingdom)</font></p><p><font face="arial,helvetica,sans-serif" size="3">cl_gbr1_static (United Kingdom) </font></p><p><font face="arial,helvetica,sans-serif" size="3">cl_usa1_dynamic (United States)</font></p><p><font face="arial,helvetica,sans-serif" size="3">cl_usa1_static (United States)</font></p><p><font face="Arial" size="3">and so on and on and on and on,</font></p><p><font face="Arial" size="3">All the reports I want to create are exactly the same apart from the table accessed.</font></p><p><font face="Arial" size="3">so in order to get data from  </font></p><p><font face="Arial" size="3">cl_fra1_dynamic.DATA and cl_fra1_static.VALUE I want to use something like, </font></p><p><font face="Arial" size="3"><a href="mailto:cl_{@country}1_dynamic.DATA">cl_{@country}1_dynamic.DATA</a> and <a href="mailto:cl_{@country}1_dynamic.VALUE">cl_{@country}1_dynamic.VALUE</a> where <a href="mailto:{@country">{@country</a>} = fra </font></p><p><font face="Arial" size="3">I hope Im not being to dopy. Quite new to all this - but I do know the database administrator needs shooting!</font></p><p>Im using Crystal 9.2</p><p><font face="Arial" size="3">Cheers,</font></p><p><font face="Arial" size="3">Andrew Holway</font></p>

    <p>Not sure if this will work in 9.2, as I only have CR XI. This is terribly messy, but if you can&#39;t change your data model to put all rows in one table and add a country column, then you can actually add an SQL command object that takes a parameter. Your SQL would be</p><p>select DATA, VALUE </p><p>from cl_{?country}1_dynamic, cl_{?country}1_static </p><p>where cl_{?country}1_dynamic.PKEY = cl_{?country}1_static.FKEY</p><p> </p><p>I think a better option would be to create two views... </p><p>create view dynamic as (select col1, col2, colN, &#39;FRA&#39; as country from cl_fra1_dynamic union select col1, col2, colN, &#39;GER&#39; as country from cl_ger1_dynamic union ...etc.)</p><p>and a corresponding view for the static tables. Use the views and you can use the select expert to limit the countries. </p><p> </p><p>If your DBA won&#39;t make the views for you, select from a derived table in a command object, i.e. make the views temporarily youself. </p>

  • How to use variables POST and personalize the fields form names

    Hi friends, I need to send POST values to a external URL from APEX application to proccess a credit card and later receive the POST values to save the transaction, also the fields require have a personalized name, APEX create the field with standar names properly from APEX.
    Any one can help me to solve this problem?
    Thanks
    Libio Balbin

    I'm assuming you mean that you will be posting your page form to an external URL. This also means that the items in the form will need to have the element name be a certain name expected by the external URL. Look at Re: item name isn't what i specified to how to do this.
    Basically, in the page HTML Header add a javascript function to change the name of the page items and then change the submit to go to the external website. Add to the On Load section to call the javascript when the page is loaded.

  • Target and Source Table - Query from ODI Repository

    Hi folks,
    Can anybody help me? I am trying to query the following from an ODI 11g work repository:
    All tables and for each table the tables that are listed in designer as “filled by” (don’t know the exact translation as I am using a german ODI designer) – in other words “all tables and the tables they are depending on”. The reason is to perform a connect-by query on that.
    There is a solution published on ODIEXPERTS: http://odiexperts.com/interface-mapping-query, but however it does not show me the expected results. Does anyone have an idea how to get a simple table like that:
    TARGET          SOURCE
    TAB1           TAB2
    TAB1           TAB3
    TAB2           TAB4
    TAB3           TAB5
    TAB3           TAB6
    TAB6           TAB7
    Using the Metadata Navigator is no option as we don’t have Weblogic installed and I need the data for further processing.

    If memory serves you have an SNP_POP table still in that release, join to the Model table (the joins cols are obvious if I recall) to get the datastore names and your more or less there.
    I dont have that table in 11.1.1.5 and we moved over a while back so cant really take a look anytime soon.

  • How to using variable in log file name on ODI 10.1.3.5?

    Hi,
    how can i put a my variable into my log file name?
    now I use this syntax --> ExRate_<%=odiRef.getSysDate("MMddyyHHmm")%>.log.
    But I have a variable for example #server, the value = "oracleProd" and i want to put the variable value into my log file name.
    so the result that i want to get is --> ExRate_oracleProd_<%=odiRef.getSysDate("MMddyyHHmm")%>.log
    so how can I apply the variable value to my log file name? I try using odiRef.getSessionVarList(#Month) but it didn't work.
    Thanks.
    Regards,
    chris
    Edited by: 877142 on Aug 3, 2011 9:36 PM

    hi,
    You can by
    ExRate-#server-<%=odiRef.getSysDate("MMddyyHHmm")%>.log
    Note that I have changed the underscores to dashes. This is because ODI will assume that this is a wildcard/escape character.
    Hope this helps!!
    Bos

  • XI 3.0 File receive comm.channel using variable for folder/file name schema

    Hi,
    I prepared a integration message to produce .txt file output of message.
    I prepared message successfully, it's running properly and producing .txt file.
    My problem is to set .txt file name.
    I must set file name using by some information in .txt file.
    I must get some part of the first line of .txt to set filename.
    I declared a variable to do it.
    How can i set referance of variable?
    payload:..?
    Thanks.

    Hi,
    this blogs might be helpful:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417800%29ID0935780750DB11281184595516315205End?blog=/pub/wlg/13704
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417800%29ID0935780750DB11281184595516315205End?blog=/pub/wlg/2664
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417800%29ID0935780750DB11281184595516315205End?blog=/pub/wlg/1888
    http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
    Regards
    Patrick

  • Using variable as schema / table names?

    Hello all -
    First time poster :)
    I would like to use PL SQL to do something like so
    --***************RUN MAIN******************
    DEFINE SCHEMA_NAME = 'SCHEMA_NAME' CHAR;
    DEFINE FINAL_TABLE = 'FINAL_TABLE ' CHAR;
    BEGIN
    SELECT DISTINCT COLUMN FROM SCHEMA_NAME.FINAL_TABLE
    END
    However this doesn't work. I've googled and found other ways like producing a prompt but those are always in the string to search for and not the name of the schema or table to run the SQL on. I am not sure if this is even possible. Any help would be appreciated.
    Thanks!
    Edited by: 813738 on Nov 19, 2010 11:02 AM

    Also I am running this in Oracle SQL Developer in the SQL Worksheet not in the commandline.
    This is the error I got.
    Error starting at line 3 in command:
    BEGIN
    CREATE OR REPLACE SYNONYM SCHEMA FOR BMSAPIX_GRPA_DEV.AE_CV185060_FINAL;
    SELECT DISTINCT COLUMN FROM _SCHEMA;
    END
    Error report:
    ORA-06550: line 2, column 3:
    PLS-00103: Encountered the symbol "CREATE" when expecting one of the following:
    ( begin case declare exit for goto if loop mod null pragma
    raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    continue close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge pipe purge
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    Edited by: 813738 on Nov 19, 2010 1:10 PM Sensitive info

  • Issue using variable in Datastore Resource Name

    I am trying to use a variable - let's call it MyVar - in the resources name of a datastore as the value for a database link that is dynamically generated.
    Let's say I have a hypothetical table called MyTable that may exist in multiple databases and in the Resource Name field of the DataStore definition I have the following syntax: MyTable@#GLOBAL.MyVar
    So I would assume that if the value of MyVar is 'DBLINK' then the end result would be that it would resolve to MyTable@DBLINK
    The issue is that when it is used in an interface where I am trying to create a view from this datastore I get an error because it puts the following value in the FROM clause: "MyTable@#MyVar" . It resolves to that exact value with quotes and all and doesn't resolve the variable name. My question is why is the variable not being replaced with the correct value and also why is it putting quotes around the Resource Name value when using it in an interface.

    Can you try to change the variable name and put it in upper case as well ? Same thing for your table if possible.
    I guess you're using 10g. It's a good practice to always use upper case for your variables because 11g only allows upper case.

  • Using variable as a table name

    hi i want to use a variable as table in plsql block
    like
    declare cursor c1
    select to_char(to_date(substr(appl_uid,21,2),'MM'),'MON')||'_'|| as v_Tab,ename from my_table;
    v_ename = varchar(55);
    vv_table =varchar(6);
    begin
    open c1
    fetch c1 into vv_table,v_ename
    select ename into v_ename from vv_table;
    DBMS_OUTPUT.PUT_LINE (v_ename);
    close c1
    end;
    please help me to correct this block

    As mentioned by BlueShadow above the following statement will fail if the table has more then one row.
    EXECUTE IMMEDIATE 'select ename from ' || vv_table INTO v_ename;So I would suggest you use ref curosr to execute a SELECT dynamically which is likely to return more then one row.
    SQL> create table my_table (appl_uid VARCHAR2(30),ename varchar2(30));
    Table created.
    SQL> insert into my_table values ('123456789012345678901234567890','SCOTT');
    1 row created.
    SQL> insert into my_table values ('123456789012345678901123456789','WARD');
    1 row created.
    SQL> create table nov_ (ename varchar2(30));
    Table created.
    SQL> insert into nov_ values ('SMITH');
    1 row created.
    SQL> insert into nov_ values ('JAMES');
    1 row created.
    SQL> insert into nov_ values ('JONES');
    1 row created.
    SQL> create table dec_ (ename varchar2(30));
    Table created.
    SQL> insert into dec_ values ('ALLEN');
    1 row created.
    SQL> insert into dec_ values ('ADAMS');
    1 row created.
    SQL> insert into dec_ values ('KING');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> set serveroutput on
    SQL> declare
      2        cursor c1 is
      3        select to_char(to_date(substr(appl_uid, 21, 2), 'MM'), 'MON') || '_' as v_tab,ename
      4        from my_table;
      5        type ref_cur is ref cursor;
      6        c2 ref_cur;
      7        v_ename   varchar(55);
      8  begin
      9        for rec in c1 loop
    10          open c2 for 'select ename from ' || rec.v_tab;
    11          DBMS_OUTPUT.PUT_LINE('********************'||rec.v_tab||'********************');
    12          loop
    13              fetch c2 into v_ename;
    14              exit when c2%notfound;
    15              DBMS_OUTPUT.PUT_LINE(v_ename);
    16          end loop;
    17          close c2;
    18        end loop;
    19 end;
    23 /
    ********************DEC_********************
    ALLEN
    ADAMS
    KING
    ********************NOV_********************
    SMITH
    JAMES
    JONES
    PL/SQL procedure successfully completed.And at last as suggested by fellow members that it is a bad idea, I would agree and suggest you to relook your design.
    Edited by: zahid79 on Jul 22, 2010 10:28 PM

  • Reimporting Target and Source structures

    Hi,
    We recently applied an OSS note (new field) and added a few fields to VBAK table and this is impacting an interface. I would like to get some help on reimporting the source and target structures. Following is the message I get in the processing log inside Message Mappings.
    Target structure has no such path:
    Greatly appreciate your help with this.
    Thanks in advance,
    Vish

    Hi,
    Right click on the Namespace and click on export, it will show you next steps, select whole Namespace to move, that way you wouldn't miss anything, or else you can select individual objects in the drop down and select the message mapping that you changed.
    you need to export idoc structures too, right click on software component version and click export and go to individual objects in the drop down and select only the idocs that you want to move, or else you can move whole software component version so that there is no need to move namespace separately.
    if you have CTS+ configured already it will create a TR, go to abap stack and type tcode SE09 and you will see a TR which is created. click on it and release the TR (there will be a truck fig on top of the screen after menu bar).
    once released contact basis to import it or you can go to STMS and import it from there...
    I am trying to post this since yesterday but it is not allowing me to
    thanks.
    Karna....

Maybe you are looking for