Changing a parameter in a sprite behavior at runtime

I have a sprite that has a behavior on it.  In the message window I type:
  ScriptListToUse = sprite("test").scriptList
put ScriptListToUse
results:
  -- [[(member 17 of castLib 2), "[#myButtonName "revealButton"]"]]
I wish to change the button name from "revealButton" to "testButton" and then use setScriptList() to put it back on the sprite.
How do I do this?
Thanks!
Carl

Personally I find it easier just to declare the property at the top of the behavior. Example
property myButtonName
Then you can simply change the property directly without using setScriptList().
Sprite(spritenumber or name).myButtonName = "some string"

Similar Messages

  • Change cast member of another sprite on rollover?

    There is probably a really easy answer for this question but I just have NO IDEA how to approach it and am about ready to blow my brains out ... (new at this, yes) so ANY HELP would be greatly appreciated.
    When rolling over or "on mouseEnter me" of a certain sprite, I would like to change the cast member of ANOTHER sprite as well as the current one (having no problems with the current one as it's all set up in the behaviours lol) is this possible? and how would the lingo go for this?
    thanks

    Don't do what Multiduck suggests. Sprites should never change the properties of other sprites. That is a bad practice prone to creating nasty bugs.
    Create a behavior for the second sprite that has a handler for changing its member. You might call it "showRollOver". Then your first sprite simply calls that handler.
    sprite(x).showRollOver()
    If you want the second sprite to react to mouse overs, then just use the mouseEnter method and call that handler from the first sprite.
    sprite(x).mouseEnter()
    Note: You can directly call any handler that is added to a sprite, ie,
    sprite(x).mouseDown()
    sprite(x).beginSprite()
    sprite(x).setText()
    sprite(x).fadeOut()

  • How  change NLS_NUMERIC_CHARACTERS parameter for load external table

    Hi,
    I use this version:
    OWB 11gR2
    Database 11gR2
    Parameter NLS_NUMERIC_CHARACTERS Database ., Instance ,.
    When I created database with wizard and in this moment I don't set spanish language, later I changed this parameters in instance parameters.
    Now I want load data from a file to external table, but I've an error when I try load data with decimal point.
    why does it use the database parameter instead of instance parameter?
    Is possible to change this parameter?
    Cheers
    Marisol

    At this moment , this is not possible . You can see metalink note ID 268906.1.
    It says:
    Currently, external tables always use the setting of NLS_NUMERIC_CHARACTERS
    +at the database level.+
    Cheers
    Marisol

  • When to change COMPATIBLE parameter while upgrading to Oracle 11G

    We are planning to upgrade from Oracle 10.2.0.4 on AIX to Oracle 11.2.0.2 soon.
    While reading oracle upgrade documents and from oracle upgrade blog, it is mentioned that once we change compatible parameter,
    we will not be able to catdwgrd.sql to downgrade.
    However, if we don't change compatible parameter after an upgrade, all the testing efforts during upgrade process wont be complete
    as we may need to do another round of testing after changing this value.
    So what is the best time for changing this compatible parameter? 1 week or 2 weeks after upgrade?
    We are considering catdwgrd.sql as our option to fallback if something goes wrong.
    Thank You
    Sarayu

    Hi,
    It's a difficult question. If your applications are validated with 11gR2, if your OS is certified to work with Oracle 11gR2, if you adjusted the requirements etc. it will work. Will it work 100% well ? Maybe not but downgrading is really an extreme solution. 11gR2 is a fully supported version and anyway you will obtain efficient support from Oracle if you encountered a bug etc.
    If you have doubts change when you are sure every critical activity/charge you expect went well for example. We cannot know if it will be after 1 week or 2 weeks : it's up to you.
    Be sure you check what Tom says about the COMPATIBLE parameter (it's interesting to know exactly what it covers, it does not cover the optimizer features etc.) : http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:485421569569
    Best regards
    Phil

  • Can you please tell me how can i change the parameter of Applet using Aspec

    Respect Members
    Can we apply Aspectwerkz on Applet? In our project we have to
    change the method parameters before its execution(Around Advice) , can we do this in applet using Aspectwerkz?
    Can you please tell me how can i change the parameter of Applet using Aspectwerkz or AspectJ ?
    I did it by for Java Application using the AspectJ And Aspectwerkz But not able to do for Applet.
    For Applet I Am setting the parameter in JAVA plug in for Aspectwerkz e.g. -Xdebug -Xrunaspectwerkz -Xbootclasspath & path for xml file in which pointcut is defined.
    If you any Friend working on it or any author who might be helpfull for me please Forward this mail to him/her
    THANKs in Advance
    [email protected]

    hello rodale, what you're seeing is probably a side effect of firefox not being able to save certain preferences into its profile folder.
    go to ''firefox > help > troubleshooting information'', click on ''profile folder/show folder'' and close all firefox windows afterwards. a windows explorer window should open up - in there delete the file named '''user.js'''.
    in case this didn't solve the issue yet please also refer to [[How to fix preferences that won't save]].

  • How to change timeout parameter value in Oracle 10g R2

    Anyone knows how to change timeout parameter value in Oracle 10g Database R2?

    Waheed Azhar wrote:
    actually i am getting ORA-01013 exception which directly relates to the timeout value but i think it's hidden parameter...What makes you think it's a hidden parameter?
    A search of MetaLink for that error turns up a number of hits, most of which a very situational specific. Exactly what are you doing when you get this error? Are you connecting over an ODBC connection? Are you getting it on a connection request? At db shutdown? During a long-running query?

  • SQL 2012: change startup parameter without GUI

    I would like change SQL startup parameter like -l, -d,-e without using SQL Server Configuration Manager. I want to use command line...how can I do it ?

    If its SQL server 2008 R2 SP2 and higher we have DMV(dm_server_registry). As the Registry holds the startup parameters can be different for different
    instances using dm_server_registry DMV will return the correct path for startup parameters.
    select * from sys.dm_server_registry where value_name like 'SQLArg%'
    SQLArg0 identifies the master db data file.
    SQLArg1 identifies the Errorlog folder.
    SQLArg2 identifies the master db log file.
    xp_regwrite to change startup parameter.

  • How to change date parameter field in crystal from YYYY-MM-DD to DD/MM/YY

    Hi
    I want to change a Parameter field in Crystal report from YYYY-MM-DD format to DD/MM/YY format

    >
    Sukhi Singh wrote:
    > Hi
    > I want to change a Parameter field in Crystal report from YYYY-MM-DD format to DD/MM/YY format
    What do you mean by Crystal Report?  Are you sure you posted this to the correct forum?

  • Can we change log_buffer parameter online e.g. when all users are working..

    Hi,
    Can we change log_buffer parameter online e.g. when all users are working.. ???
    What is relation between redo buffer in sga and log_buffer parameter ?
    SQL> show sga
    Total System Global Area 3758096384 bytes
    Fixed Size 1983152 bytes
    Variable Size 553655632 bytes
    Database Buffers 3187671040 bytes
    Redo Buffers 14786560 bytes
    SQL>
    SQL> show parameter log_buffer
    NAME TYPE VALUE
    log_buffer integer 14338048
    SQL>
    SQL>
    If the log_buffer parameter is 14 MB then why redo buffer is no as same size e.g.
    14 MB
    SSM

    I am hoping your Oracle Consultant know what he's talking about.
    According to Oracle Performance Guide,
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref654
    "On most systems, sizing the log buffer larger than 1M does not provide any performance benefit. Increasing the log buffer size does not have any negative implications on performance or recoverability. It merely uses extra memory.
    The best method to determine if bigger redo buffer is needed is
    SELECT NAME, VALUE
    FROM V$SYSSTAT
    WHERE NAME = 'redo buffer allocation retries';
    The value of redo buffer allocation retries should be near zero over an interval. If this value increments consistently, then processes have had to wait for space in the redo log buffer. The wait can be caused by the log buffer being too small or by checkpointing. Increase the size of the redo log buffer, if necessary, by changing the value of the initialization parameter LOG_BUFFER. The value of this parameter is expressed in bytes. Alternatively, improve the checkpointing or archiving process.
    Other than that, hight log file sync event indicate you need faster disk for your redo logfiles. However, please also post your commits per second and redo per second from your AWR report.
    100M redo logs might be small for your environment.

  • SQL REPORTING 2008, 2012 - WHEN I CHANGE A PARAMETER WE HAVE ALWAYS A SCREEN REFRESH (POSTBACK)

    hi,
    my name is Pedro Mesquita, from Portugal Europe.
    i have this problem with my client and it seems it is common to all other projects : i have a report with parameters depending on each other (but curiously this happens also with reports without depending parameters and the order for which thay are created
    counts!) and when the user changes one parameter the screen (sql reporting front-end) does a postback and refreshs! is this by design by microsoft ?! the client wants to keep the previous rendered report to help him build the new one.
    how can i avoid this?
    microsoft help please?
    best regards
    Pedro Mesquita

    Oh Microsoft.....
    This means that we must build our front-end to control this "feature"....
    AJAX would solve this....
    Thank you.
    Best Regards,
    Pedro
    Pedro Mesquita

  • Transaction/program to change AVAILABLEFLAG parameter from table UJ0_PARAM_APP

    Hi Experts,
    Do you know if is there a transaction/program to change BPC environment status (for example, a transaction/program that changes AVAILABLEFLAG parameter from table UJ0_PARAM_APP to "0" or "1").
    Regards,
    Danilo

    Hi Danilo,
    i'm trying to use the same method as you in BPC 7.5.
    Did the method worked for you to set offline and online the application?
    Could you please tell me how you used it?
    Thanks.
    Amine

  • How to change any parameter in gradient?

    Why I can not change any parameter in an existing gradient?
    For example: one pageitem have gradient and i can see (in vba locals) its parameters:
    FillColor.Angles
    FillColor.Matrix
    FillColor.Origin
    FillColor.Length
    But nothing change.

    setListVOBoundContainerColumn method can be used on poplist bean to set value from current row of table dynamically.
    Regards,
    Ram

  • Change the Parameter as Select option

    Hi Guy's,
    Please help me friends, present requirement is like this : change the Parameter into Select-Option.
    Here they are using one function module, this function module import parameter taking single value, how  loop this function module with in this select-option.
    PARAMETERS p_fictr LIKE fmfctr-fictr.
    START-OF-SELECTION.
    Move the select options to internal tables (import parameter for fn)
      move_sel_option  : sel_buk   s_bukrs ,
                         sel_pern  s_pernr ,
                         sreinr    s_reinr ,
                         spdatv    s_pdatv ,
                         sberei    s_berei .
    Call the function to get all trips corresponding to sel criteria
      CALL FUNCTION 'ZHR_GET_FUND_TRIPS'
        EXPORTING
          p_fictr = p_fictr
          p_sub   = p_sub
        TABLES
          s_bukrs = s_bukrs
          s_pernr = s_pernr
          s_reinr = s_reinr
          s_pdatv = s_pdatv
          s_berei = s_berei
          i_trip  = i_trip
        EXCEPTIONS
          OTHERS  = 1.
    Thanks and Regards,
    Sai

    hi,
      You can first the field values using the select statement and then loop that internal table and pass the values to the function module.
    try this
    *PARAMETERS p_fictr LIKE fmfctr-fictr.
    select-options: s_fictr for fmfctr-fictr.
    START-OF-SELECTION.
    Move the select options to internal tables (import parameter for fn)
    move_sel_option : sel_buk s_bukrs ,
    sel_pern s_pernr ,
    sreinr s_reinr ,
    spdatv s_pdatv ,
    sberei s_berei .
    select fictr
       from fmfctr
       into tabel itab
    where fictr in s_fictr.
    loop at itab.
    Call the function to get all trips corresponding to sel criteria
    CALL FUNCTION 'ZHR_GET_FUND_TRIPS'
    EXPORTING
    *p_fictr = p_fictr
    p_fictr = itab-fictr
    p_sub = p_sub
    TABLES
    s_bukrs = s_bukrs
    s_pernr = s_pernr
    s_reinr = s_reinr
    s_pdatv = s_pdatv
    s_berei = s_berei
    i_trip = i_trip
    EXCEPTIONS
    OTHERS = 1.
    endloop.
    regards,
    Veeresh

  • How to change USE_INDIRECT_BUFFERS parameter

    Hi,
    on 10g R2 :
    how to change USE_INDIRECT_BUFFERS parameter :
    SQL> alter system set USE_INDIRECT_BUFFERS=TRUE scope=spfile;
    alter system set USE_INDIRECT_BUFFERS=TRUE scope=spfile
    ERROR at line 1:
    ORA-02065: illegal option for ALTER SYSTEMThank you.

    1. Create pfile from Spfile
    2. Edit your pfile, put the line USE_INDIRECT_DATA_BUFFERS=TRUE there
    3. Create spfile from pfile

  • What is the maximum size of the application to download to iPad via GSM. Is it 20 Mb? Is it possible to change this parameter?

    What is the maximum size of application to download to iPad via GSM. Is it 20 Mb? Does exist any possibility to change this parameter? In the towm where I live there is lack of wifi and the only possibiluty to download something from Apple Store is to use GSM/3G.

    It has partly to do with the carrier.  From what I've summized from reviews & feedback online is since Apple iPhone was the most advanced phone on the market when it was initially released the carriers were concerned about using up bandwidth with the apps & movie downloads so a limit was intially set for 10mb max on 3G connection.  Later apple raised the limit, against the carrier's advice, to 20mb max.
    The interesting part is the limitation doesn't exist on Android phone when they also have large apps & movies which are available for download & they use the same networks the iPhone uses!  So why are the iPhone users still limited to the amount they can download at once while the Android users are not.  They pay the same for thier data plans, if not less in some cases, that iPhone users do!

Maybe you are looking for

  • MSI K7N2 Delta-ILSR Nforce2

    A friend on Mine is having problem with his setting up of MSI K7N2 Delta-ILSR Nforce2 mobo. Everthing is installed however, on powering up pc monitor goes into stand by, please note new windows Xp not installed on yet due to no screen cmos output. An

  • Conversion of string 20080315 to 2008-03-15

    Hi all, I have a string in this format 20080315 , but i want it to get displayed as 2008-03-15, how to fit this "-" in between this string using string function ? Few more examples below YYYYMMDDhhmmss   should get displyed like this "YYYY-MM-DDThh:m

  • Next item not working in siri location services

    When using Siri location services to find for example "I feel like chinese food tonight" siri responds with a list  of restaurants and asks if you want to call the first one on the list or go to the next one. If you say "next" or "go to next one" sir

  • Working Mac in a Windows Network

    I'm just switching over to where i'll be the only mac guy in a large windows business network. i've just gone from using a windows machine as my primary business computer for the last 3.5 years. i utilize windows' business version of outlook for dail

  • Solaris 10 root RAID-1 support totally broken!

    I have been configuring Sun Blade 1500 with two IDE drives (each on their own IDE bus) as RAID-1 for the /, swap and /export/home partitions. This has worked well and I have always been able to test the RAID-1 recovery ability of such a configuration