I want to change the value of a text and this text is called by another text value..

i have a txt_blk1 up to txt_blk32 and i also have a txt_we  .. if the text_we.text has a value of 1 to 32  how can i change the value of txt_block0-32.text to 0.. the text we already generates its own value so i dont have to use for loop.  i've tried to use  _root["txt_blk"+txt_we.text] = 0; im using actionscript 2 .. can someone help me

i'm sorry sir.. its just that im on a hurry and i need all the help that i can get for my thesis.. so while i havent figure out what to do for this problem.. i have to move to another problem just to save time. and another thing is i don't really know where did i go wrong..
this is the code i've put inside the chips
on (press) {
                    blocknum=32;
          for(i=1;i<=blocknum;i++){
                    if (this.hitTest(_root["block"+i])) {
                                        this._x=_root["block"+i]._x;
                                        this._y=_root["block"+i]._y;
                                        trace("Source "+i)
                                        _root.txt_recent.text = i;
                                        break;
                              /*if (this._x==_root["block"+i]._x and this._y==_root["block"+i]._y) {
                                        _root.txt_recent.text = i;
                                        trace("block "+i);
                                        break;
          startDrag(this);
          //tempx=this._x;
          //tempy=this._y;
on (release) {
          blocknum=32;
          for(i=1;i<=blocknum;i++){
                              if (this.hitTest(_root["block"+i])) {
                                        trace("des1:"+parseInt(_root.txt_recent.text)+3 );
                                        trace("des2:"+parseInt(_root.txt_recent.text)+4 );
                                        trace("des3:"+parseInt(_root.txt_recent.text)+5 );
                                        trace("des4:"+parseInt(_root.txt_recent.text)-3 );
                                        trace("des5:"+parseInt(_root.txt_recent.text)-4 );
                                        trace("des6:"+parseInt(_root.txt_recent.text)-5 );
                                        if(i==parseInt(_root.txt_recent.text)+3 or i==parseInt(_root.txt_recent.text)+4 or
                                           i==parseInt(_root.txt_recent.text)+5 or i==parseInt(_root.txt_recent.text)-3 or
                                           i==parseInt(_root.txt_recent.text)-4 or i==parseInt(_root.txt_recent.text)-5) {
                                                  this._x=_root["block"+i]._x;
                                                  this._y=_root["block"+i]._y;
                                                  _root.txt_we.text = _root.txt_recent.text;
                                                  _root["txt_blk"+txt_we.text].text = 0;
                                                  _root.txt_recent.text = i;
                                                  break;
                                        else{
                                                  this._x=_root["block"+_root.txt_recent.text]._x;
                                                  this._y=_root["block"+_root.txt_recent.text]._y;
                                                  break;
and this is the code i putted on the block13
all block have corresponding txt_blk according to its number:
onClipEvent(enterFrame) {
                    chipnum=24;
                    for(i=1;i<=chipnum;i++){
        if (this.hitTest((_root["chip"+i]))) {
                              _root.txt_blk13.text = i;

Similar Messages

  • I recently updated my Iphone 5s to ios8 from ios7(.something) and lost all photos, text messages, etc. and then restored it using an old Icloud backup from 2014. I want to change the Icloud backup to one from this year.

    Is it possible to do this, and how? My iphone 5s is still restoring currently in the Backup settings and there's an option that says "Stop restoring Iphone" if I tap it, it says "any data that has not been downloaded will not be restored or backed up in the future"... AND I KNOW that if I update my iphone from ios7 to ios8 that it is a big jump and is the reason why I lost everything on it. So please don't tell me that is the answer to my question, because it's not. I am clearly asking if I can change the icloud backup date from 2014 to one from this year. This is because my iphone asked me which backup I want to use to restore my stuff from after the ios8 update. I hope this question isn't too confusing!!

    Lyncbane wrote:
    This exact same thing happened to me. Please help!
    Might be a better idea to look for more current threads that this one which is over a year old.

  • I want to change the back case of ipad2 is this could be done??

    HI
    THE BACK CASE OR COVER FOR MY IPAD2 IS ALMOST BROKEN AND I WANT TO CHANGE IT WITH NEW ONE.
    CAN I DO THAT AND WHERE CAN I GET THAT????

    Yes, you can do it.  Google for third-party iPad repair services.  Too, there are many iPad repair videos online.

  • I want to change the phone language n8

    Hello
    I want to change the phone language to Arabic and my Nokia phone Purify
    System where you install nokia belle
    Did not find the Arabic language
    So please help
    And I will be grateful to you

    rayhipkiss
    in algeria we have just nokia made in china
    and not original
    bcs the busnes mans here do that
    we near to finland and have no nokia center
    Moderator's note: We have edited your post and removed any profanity there may be. Please stick to guidelines when posting.

  • To change the TOC icons for books and pages

    I want to change the TOC icons for books and pages.
    How I do this?
    Thank

    Hi Christine and welcome to our community
    Even in traditional WebHelp output, these are simple images.
    I just created a non-skinned output to check. I'm using X5 and in
    this version you should be able to find the following images:
    * Closed book should be: whd_toc1.gif
    * Open book should be: whd_toc2.gif
    * Page should be: whd_toc3.gif
    So if you want to influence changes to these, you would find
    them in your output folder and simply replace (using the same file
    name) with the image(s) of your choice.
    Cheers... Rick

  • Hi there, I want to change the background-color of the browser, when a popup-picture is shown. This picture pops up by clicking a hyperlink in the text...can anyone help me please...thanks a lot

    Hi there, I want to change the background-color of the browser, when a popup-picture is shown. This picture pops up by clicking a hyperlink in the text...can anyone help me please...thanks a lot

    Hi,
    CSS is interpreted by your browser, so server cache seems unlikely in htis case. There is however some hierarchy in CSS, so parts of the APEX CSS, theme CSS or page CSS might overwright or block yours.
    Does changing the CSS on runtime affect your page? Eg, run the following in your browser console and see if your page turns black: $('#uBodyContainer').css("background-color","black")
    Also try moving up your css in the hierarchy labeling it as important:
    div#uBodyContainer { 
      background-color:#000000 !important;  
    See:Assigning property values, Cascading, and Inheritance
    Regards,
    Vincent
    http://vincentdeelen.blogspot.com

  • I want to change the final date format in MM/DD/YEAR.

    HI all,
    I want to change the final date format in MM/DD/YEAR. Even my profile will be in any format like DD.MM.YY or YY.MM.DD .
    can any body tell me the way..

    declare variable:
    DATA : gv_date(10) TYPE c.
    and assign value to it:
    CONCATENATE sy-datum+4(2) sy-datum+6(2) sy-datum(4) INTO gv_date SEPARATED BY '/'

  • I want to change the Legacy assest data through as92

    Hello  Sap Gurus
    I want to change the legacy Assest data for my client. While Changeing its give  error that Transfer the data or close the Year. year 2005 is closed. In Assest data Transfer , In date Parameters given data is 31-03-2007. For 2006 Dep is not at run.
    Can any one help me  in this Regards.
    Thanks
    Raj

    Hi Raj,
    Use transaction code <b>AJRW</b> to run the Fiscal Year change for 2005 and <b>AJAB</b> to run Year End Close. Do the same for 2006.
    Then, go back to <b>AS92</b>, indicate the Asset number, subnumber and the company code. Click on Take over values. Correct the APC and the Accummulated Depreciation value to what it should be and hit the enter button. This would determine your NBV for you. Save your entries.
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

  • I want to change the selection text in the standard report/transaction  .

    I have added one screen field to the standard report , now i want to change the selection text in the standard report/transaction

    Hi,
    >
    scoy123 wrote:
    > I have added one screen field to the standard report , now i want to change the selection text in the standard report/transaction
    Refer:-
    CONSTANTS : c_comment(20) TYPE c VALUE 'write your comment'.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) c_comment.
    PARAMETERS : p_matnr TYPE matnr.
    SELECTION-SCREEN END OF LINE.
    Hope this helps you.
    Regards,
    Tarun

  • I want to change the top level order of itunes playlists

    This is rather odd problem.  There is a lot of information available regarding organising tracks within playlists but I want o change the top level order of the playlist themselves.
    I have an ipod to car CD player adaptor that can select itunes playlists as if they were  single CDs.  The problem is that the adaptors works through the list of itune playlists in order i.e. the first "CD" is the "classical music smart playlist" followed by the other default smart playlists and then by my own playlists.  What I want is force the smart playlists to the bottom of the top level list so that the adaptor finds my playlists first.  I am considering deleting all smart playlists but I see some value in keeping them.  I think the answer is no it can't be done but I be interested to hear if anyone has some ideas on this.
    N.B. I am using itunes 12.01.26 on my Macbook to manage my itunes library.

    Hey guys m I got the answer for the below question.
    Oracle have few Restriction and limitation on such Advanced table in sorting the data,
    Few of them are as mentioned below ...
    1. Sorting is not allowed for tables that allow inserts.
    2. Sorting is not supported for tables containing updateable columns
    3. Sorting is disabled when the Select column is checked for a row in a table or when Hide/Show is present in a table.
    Because of the above limitations , we cannot sort or override the existing alphabetical name sort order to Date applied sort order on the View Applicant advanced table.
    You can observe that , View Applicant page is having an option called "Update Status" which allow us to update applicant’s status or rating in the Advanced table.
    On such updatable advanced tables, oracle does not allow us to override the sort order on any of the table columns.
    Keeping it in a nutshell , I can say it's does not allow us to change the sort order of the view applicant advanced table ( which is having updateable columns ) to sort them in Date applied instead of Name( which is default ).

  • MM 335 "You want to change the profit center...'

    Hi guys,
    in a material master I have the field profit center blank and I want enter a value but the message MM 335 '"You want to change the profit center but material stock still exists"...I have implemented OSS notes for release 6.03 but the message continues to go out..the stock for the Plant in which I want enter Profit center does not exist, is it correct that this message goes out?In your opinion which is the correct way to update material master?I have tried to transfer all stock present in all Plants on which that material is opned with mov type 309 but the message go out again..It is a strange thing , I don' think taht the unique way is to chenge the nature of message from E to W..
    thanks in advance for your attention
    Bye

    Stock may be there still under Plant Stock and  Storage Location stock, in previous period.
    TO make it Zero do the following things
    If previous period stocks exist, you can make a withdrawal posting as follows:
    1. Post the same amount to current period stock (for example, using movement type 561) so that previous period stock and current period stock are identical.
    2. Make a withdrawal posting in the previous period for the stock together with posting date (for example, using movement type 562).
    Hope the steps will help to resolve the problem.

  • What to do if I want to change the didSendBodyData bytesWritten size in NSURLConnection?

    I want to change the chunk size in http post.
    I am using [request setHTTPBodyStream:self.consumerStream] to send multipart file data.
    But it seems to be maximum value of bytesWritten is always 32768 bytes in the following NSURLConnection delegate method.
    (void)connection:(NSURLConnection __unused *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite

    TThen when you set up the phone create new   I.D.  You will lose everything though and have to start from scratch. Contacts etc

  • Want to change the default datafile permission (640) to (644)

    How datafile is created with 640 file permission by oracle software.(I know for security reasons it is created with 640 permission)
    example:
    -rw-r----- 1 orasd dba 104865792 Mar 15 01:17 users01.dbf
    I want to change the datafile permission as below. Please help me, how to change the default value of the datafiles permisison from (640) to (644) internally while creating the datafile from oracle side.
    example:
    -rw-r--r-- 1 orasd dba 104865792 Mar 15 01:17 users01.dbf

    988104 wrote:
    I want to know how I can change the default datafile permission.
    umask 022 is working only for the OS files other than oracle.
    datafiles created by oracle are having only 640 permission even we set umask value to 022.
    I just want to know how can we change datafile permission.
    Edited by: 988104 on Mar 15, 2013 4:56 AMI know that is what you are asking. What I am telling you is that this is not something you should normally be doing, which strongly implies you are taking the wrong approach to solve some other problem. If you asked me how to disable all the safety and operational warning devices on your car, would you expect to just get a straight answer without any further questions?

  • Want to change the storage parameters of a table

    Hi Friends,
    I have a problem.My tablespace is filled because i assigned larger intial size for each table.
    And now i want to change the storage parameter values.
    I would appreciate if anyone can help me out ASAP.
    Thankyou
    Sunil

    Hello Arun,
    Thanks a lot for the prompt reply. The thanks is accompanied by the points.
    After reading you answer I was searching for option to refresh variable. There I landed at the option where it says "Change variable values". After clicking it, just beside the variable entry box is a button (extreme right). If you click that you get another popup where you can reset the personalization.
    Regards,
    Prem.

  • Want to change the currency in PR generated thro PS .

    Dear experts ,
    I want to change the currency of the PR generated through PS module . But the currncy field in PR in PS system is greyed out & has default value of INR .
    Pls tell me how to do it ??
    regards
    Anis

    Hi,
    I hope u have created the PR with network you cannot  chage the currecy type.
    Moreover in the PR currecy ype is depend on the WBS created for the project if . you have consider INR in
    WBS - cost then it will automatically fetch INR for the same

Maybe you are looking for

  • In an alv report how to get data in next and previous pages.

    in my alv report i require the output such that when i will press the next button in the application tool bar the alv report will be displayed for the next inventory document number in the next page. like wise previous would anybody please help me ou

  • If you delete a large file from the mac hard drive does it also remove it from time machine on external hard drive

    if you delete a large file from the mac hard drive does it also delete it from time machine on the external hard drive ?

  • Hp pavillion g7-2269wm

    my hp pavillion g7-2269wm will not recover. it says my Boot Configuration Data is missing. it gives me a error code: 0xc0000185. when i try to recover it is when i get the BCD is missing. when i try system diagnostics it says SMART check: passed  and

  • Storing report document in Session

    Hi I have followed the advice on storing the Report document in the Session object. My code does this in the Page_Load event when not a postback. It all seems to work until I attempt to drill down to a sub report. I'm then asked for parameter info ev

  • Transforming xml data to cross tab in rtf template

    Hi everyone, Here is my requirement, I need the following output -------------------------------------------Date Territory-------District------Office---1/3/2011----1/10/2011---1/17/2011------Grand Total(Header row) Central ----------Chicago---Buffalo