a loop in a table to change the visibility of the MC

Hey to anyone, let's say I have a loop for (), which creates an instance of a movieClip newText that contains the textfields on the inside that is pushed through a table and displayed by the table when my application is restarted.

and newText, I also have a button inside of it deletes the information (options), and when this button is pressed a different MC (delete) appears on newText.

What is my best way to check if this key has been pressed? should I create another table which moves to 'true' in the table and check if (arrayCheck ["?"] == true) {what I'm doing here};... etc I'm lost.

because I want to do MC (delete) visibility = true; When the application is restarted for instances of newText, when (options) button has been clicked. any ideas would be highly appreciated?

HERE'S MY FOR LOOP, I HAVE ALREADY

__________________________________________________________________________________________ ______________________________________________________________________________________

Kellog var: number = - 5;

This variable defines array to 1 index

general var: number = - 1;

for (var i: number = 0; i < mySaveNewT.data.myNText; ++ I) {}

newText = new tbox();

newText.x = - 220;

newText.y =-513 + i * 0 * 69 + 3.8.

Kellog += 6;  as a result, each correct index in array to textfield in newText

Kellogs += 6; / / as a result, each correct index in array to textfield in newText

trace (kellogs, "total cereal");

newText.CN.text = String (unwrap.mySaveData.data.myDataArray [kellog]);

newText.DF.text = String (unwrap.mySaveData.data.myDataArray [2 + General kellog]);

newText.Ad.text = String (unwrap.mySaveData.data.myDataArray [3 + General kellog]);

newText.PN.text = String (unwrap.mySaveData.data.myDataArray [4 + General kellog]);

newText.tap.text = String (unwrap.mySaveData.data.mynText [kellogs]);

newText.tip.text = String (unwrap.mySaveData.data.mynText [kellogs + General]);

newText.OT.text = String (unwrap.mySaveData.data.myDataArray [5 + General kellog]);

VWD.addChild (newText);


myDataArrayInProgram = unwrap.mySaveData.data.myDataArray;

myNTextAddition = unwrap.mySaveData.data.mynText;

}

then why are assign you to I have?

again, use the code I suggested, but change the btn to options (if that's really your name of buttons).

var so:SharedObject = SharedObject.getLocal ("kellogs", "/");

If (SO. Data.btnClickA & so. Data.btnClickA.Length > 0) {}

for (var i: int = 0; i<>

trace ("button", so.data.btnClickA [i], "has been clicked")

}

} else {}

[from = so.data.btnClickA];

}

for (var i: number = 0; i)< mysavenewt.data.myntext;="" ++i)="">

newText = new tbox();

newText.x = - 220;

newText.options.addEventListener (MouseEvent.CLICK, buttonF);

newText.ivar = i;

.

}

function buttonF(e:MouseEvent):void {}

var i: int is MovieClip (e.currentTarget.parent) .ivar;.

{if (SO. {(Data.btnClickA.IndexOf (i) ==-1)}

so.data.btnClickA.push (i);

}

}

Tags: Adobe Animate

Similar Questions

  • Table styles - change the color of filling table

    I have created a table style that works well in all of my document.

    However, in a future revision, I need to change the color of the header of fillings. How do I do this once, so it updates all tables in my document.

    Thank you

    You should have a Style of single cell applied to header cells. Just edit that.

  • End of question creating a table and change the format of date on the creation

    Hi all

    I'm Googling the hell out of this but either it cannot be done or im just not finiding it.

    I know how to interview and select to_char allows you to change the date format.

    My question is when you create a table as follows:

    CREATE TABLE myTable2
    2 (NAME VARCHAR2 (15),)
    3 CHAR (2) STATE,
    4 SALARY NUMBER (5.2).
    5 YEARSEMP NUMBER (2),
    6 DATE STARTDATE);

    How can I set the DATE format will be a four-digit year? It is even possible to make when you create or you do it only when inserting?

    Thank you!

    Hello

    791443 wrote:
    Okay, so I guess that you can't change the default value for more than one session? So that whenever I have connect the date MM/DD/YYYY came? I know how ALTER, I was wondering if I can schedule the date WHEN I'll get the value by default whenever I connect JJ/MM/AAAA

    Exactly.

    The DBA can change the default format, which will then apply to all the columns DATE for all users.
    If you are the ADMINISTRATOR of you own private database, which is an option.

    If you are using SQL * Plus, you can put the ALTER SESSION SET NLS_DATE_FORMAT command in a file, login.sql, so it will run automatically every time that you start a session.
    Other frontends probably have similar functionality.

    You can also create a view, which had a column VARCHAR2 with formatted data. If you do this, the view also have the actual DATE column — VARCHAR2 column won't be good for sorting or making comparisons of inequality.
    From Oracle 11, you can have a virtual column in the table itself.

  • With the help of 2 tables to change the information in the db

    Hello;
    I write a section of type form edit for a web site, and it uses the 2 tables. I did into pieces and is now working on sewing it together. Here's my problem.

    First of all, I have 2 paintings. We're categories, and the other projects. Here's what sections I have in these 2 tables:

    The categories table:
    CategoryID
    Name
    MYFile
    Description

    Table of projects:
    ProjectID
    CategoryID
    Name
    Description

    I have 2 types of edit pages, we're right and add the category table the other to add and modify the project table. Now what I'm trying to do the following. (I'm going to break it down into parts, make a part at a time. So it's a matter of multi part) I want to take the project page and the name of category to be the order of the page, which means I need an innerjoin. I'm kind of at a loss how I write that and still be able to edit the record without the innerjoin cluttering it up. (This will be used on the category as a link of nav page to change all the projects with the corresponding and category which will be the only projects that will appear is those assigned to this category.)

    But first I need just to ORDER BY Categories.Name in my Querry, so that if you just go to this page and view / change all the categories that you can.

    Here is my code so far. I need to have the page of the project manager to organize all of the projects of Category.Name

    "< name cfquery ="proMan"datasource =" "#sitedatasource #" username = "#siteUserID #" password = "#sitePassword #" >
    SELECT Projects.Name AS PName, Projects.CategoryID, Projects.ProjectID AS ID
    Categories.Name AS CName, categories. CategoryID
    INNERJOIN projects ON categories
    Projects, categories
    < / cfquery >
    < head >
    < / head >
    < body >
    < cfoutput query 'proMan' = >
    Project name: #PName #.
    Project category: #CName #.
    < do action = method of "project - Action.cfm" = "post" >
    < input type = "hidden" name = "ID" value = "#ID #" >
    "< input type ="submit"name ="proj_Edit"value =" Edit ">".
    < input type = "submit" name = "proj_Delete" value = "Remove" >
    < / make >
    < / cfoutput >

    I know it won't, so how can I make it work?
    (Then I'll go into the next phase of the question of being able to go in the category page Manager to change projects just associated with the category, unless it is easier to do this part now. So I'll post the code for the page categories so that we can make an innerjoin it and make a link to change projects in this category.)

    Thank you. I know it's conveluted, but it is a large section and lots of little bric to brac to tie.

    Phoenix
    < / body >

    Oh, and don't forget to ORDER your query correctly (on the fields you)
    use the GROUP attribute of the CFOUTPUT tag)

    ---
    Azadi Saryev
    SABAI - Dee.com
    http://www.SABAI-Dee.com

  • Form on the report on the table - dynamically change the region title

    I use a form on a report on a table to give me the standard features of add/change/delete a table.

    When I get to the page of the form, I want my title to say the addition or modification, whether I came to the form via clicking on the link change or create new button to the page.

    I thought it would be easy but I have mingled around with calculations, define objects hidden, etc., but can't seem to make it work.

    Is there a quick process, I can follow to get there? My first thought was to create a component hidden on my page of form and that fill the homepage depending on whether I clicked on edit or create. But the title of region doesn't seem to capture the hidden element. I put the title of region: P1_HIDDEN_ITEM_TITLE. and that is the question that I put my home page. The hidden element is fine but never gets picked up in the title.

    Specify the title of region

    & P1_HIDDEN_ITEM_TITLE.

    CITY

  • change the time loop from 5ms to 250 ms?

    are there ways you can replace the loop time 5ms 250 ms? While the test is running?

    sample code in the version of labview 8 are welcome...

    Are you referring to a timed loop? You can simply change the value of dt using the settings on the right.

  • Change the values of the cluster in while loop and in the face at the same time

    Hello.

    I have a little problem in a test program, that I'm working on. I'll try to simplify as much as possible. I have a cluster control that contains two controls A and B. I want to:

    1. switch to update the value of the command A a while loop
    2. allow the user to change the value of the B control through the face, while the loop is running

    To change the value of order in the while loop, I first get the cluster control cluster, update the value of the control for a way to group by name and finally rewrite the cluster in the cluster control.

    The problem is that if the user changes the value of the B control while control that is in the middle of the update, the new value of B control is lost because it was read before updating in the face. Is there a way to get around this?

    DennisBengs wrote:

    1. switch to update the value of the command A a while loop
    2. allow the user to change the value of the B control through the face, while the loop is running

    Then they do not belong in the same cluster.  They are disconnected obviously enough that they do not go hand in hand.

    Where it can get really complicated, it is that you're talking about the user and code changing the same cluster.  It is very dangerous and very difficult to manage.  You might be able to get there with a driving force.  But walk slightly, my friend.

  • InCopy CS4/Win: preventing the entry or change the text in tables

    Hello

    I have a plugin for InCopy CS4. In this plugin, I like to prevent the entry or editing text in the tables. It works in the window layout, I can detect if the user clicks in a table and then I stop.

    -How can I do this in the closet or article window?

    -Avoid the user to open a table to change the text? I mean the opening of the table through arrow.

    -Do not allow the user to enter text in a table cell?

    Thank you for any suspicion.

    Kind regards

    Hans

    Look for the CTextCommandPreProcess SDK.

    Your boss will be like this:

    IID_IK2SERVICEPROVIDER, kTextPreProcessService,
    IID_ITEXTEDITPREPROCESS, kMyTextPreProcessImpl,

    HTH

    Dirk

  • How to change the color of the elements of a digital picture (separately) programmatically by using the property node?

    For example, I have 3 digital controls, controlling 3 digital array elements (digital control is connected directly to the indicator). So if I change value in digital control 1, then the table item # 1 of the digital table should blush when the value is greater than 5. Similarly when I change NUM controls 2 item 2 of the table should turn red when the value control num 1 exceeds 10. Similarly for the 3rd element. In other words, I want to control the ownership of the elements of the array individually through the digital command separated.

    I did it for unique digital indicator.i.e. When I change the values of the control, then a single digital indicator changes color (text digital property BG) and with table values, changes the color of the entire table, but I want to change the color of the singles of the table element.

    Please help thanks.

    I hope you do well! You cannot change the properties of elements of an array. What you could do instead is probably using a table where you can change the background color of a cell?

  • Editable interactive report. To change the list column dropdown type filter.

    Hi all, I thought I had posted this, but I can't find my post, so apologies if it turns up to twice more...

    XE SUMMIT 4.2 11.2

    Ive created an editable interactive report... Everything works very well, and I have several Text, LOV and selection list columns...

    However when I now click on a column header to filter, sort etc drop-down list is the same format as the column itself. So if for example, I have a text box, then the drop-down list is also text boxes, if the column is a column LOV, the filter drop-down list is a list of fields LOV. (Im assuming this is correct behavior, because it simply inherits the column parent..)   So, I would change the lists to a list of standard display so that they are in order and can be used...

    I think so? I know I have to do, which is either to substitute the function that generates the dropdown filter... or probably more simply, write a bit of JS/JQuery that modify data for drop-down lists.  Im still to learn, some help would be appreciated...

    I think so. (and please correct me if I'm talkiing... garbage)   I need to find each of the appearance of the DIV with the ID that corresponds to the drop-down list box, and then loop through each entry and change the structure...

    Currently the source for drop-down fields resembles the following (for a text field...). :

    < div id = "apexir_rollover_content" >

    < a href = "javascript:void (false); ">

    < input type = "text" value = "24489" maxlength = size "2000" = "6" name = 'f06' > < / input >

    < /a >

    < a href = "javascript:void (false); ">

    < input type = "text" value = "N1021" maxlength = "2000" size = "6" name = 'f06' > < / input >

    < /a >

    < / div >

    How could I 1) browse each occurrence of div id = "apexir_rollover_content" on my page, so I found out about each other, how would I go through the list and change the line above an input to a standard list item text...? Or is there a simpler way to do it?

    Kind regards

    Richard

    Hello

    Problem was on your process to GET the VALUES of LOV.

    You did not bind the variable values of cursor.

    I created another process for your page that manages LOV BUDGET_CAT

    Kind regards

    Jari

  • Change the query to a display object

    I have a view currently, object based on an entity. It is the default view object, which means that the query the view object is frank, he grabs all the attributes of the table. And there is no WHERE clause.

    Actually, I only want to show a finite set of rows in my table. Whenever a record is modified/edited in this entity and committed, a new row in the database is created with the same information (I use CreateWithParams) with the exception of a few columns.

    I actually didn't really update it on this table, just creating new lines. But to the user, I want it 'looks' like they change something in the table.

    Example:

    12, 11:32, Thompson, 60 (changes to the user this information in a table of the adf and a new line is created in the comic book)

    12, 11:55, Thompson, 75





    I have a timestamp field (see above) in the database that is used as part of my primary key, while I know that is later.

    When executing the query of the VO, I want the user to only see as the last row of the db.

    12, 11:55, Thompson, 75

    Then...

    I went to my VO, and I changed the query WHERE to add this:

    where t1. TimeStamp = (Select MAX (t2. (TimeStamp) OF THE rcl.x t2 where t1.uid = t2.uid);


    Now, this isn't a question of mysql/sql. There is actually a better query I was running, but the editor of the VO does not allow me to change the query itself...

    When I save the new WHERE to my VO, rerun my page, I get the expected result (showing me only the latest recordings).

    However, when I try and do a sort on the table in which are displayed my data, I get now ORDER BY errors.

    I don't want my VO SQL read-only basis. I want to be able to update my table, so I have my VO running out of the entity.



    Why don't the VO allows me to change the query itself? (As do a subquery instead of having my where clause to do the job)

    Why are sorted by errors are thrown when I sort on my adf table after changing the where clause in my opinion?

    I hope I was not too complicated in explanation of my problem...

    Thanks in advance,

    Joel

    Hello

    You can switch the VO query editor based on an EO to expert mode. This allows you to change the entire query. Unless you change the use of the attribute, the update through this VO work. Open the VO query and choose the Expert mode option of the query to see what I mean

    Frank

  • change the data type of a column

    Since the previous post: how to change the data type of column number to varchar2 in oracle10g

    Measures may be:
    create table TestTable (ColA varchar2 (5));
    Insert into TestTable values('12345');

    ALTER table TestTable Add (ColATemp number (5));
    setting a day of TestTable set ColATemp = ColA;

    ALTER table TestTable remove column ColA;
    change the column in table TestTable rename ColATemp CLC;

    My question is:
    If the table half million records

    setting a day of TestTable set ColATemp = ColA;

    will it be a good solution? Any performance issues? There is no index on this column.

    Sort while you do DDL, you will not be able to do any operation on the table. You the best suites you. It's a time operation, you can change the table to change the data type, but it may not work if some of the data in the table confirms no new data type of column.

    Concerning

  • change the order of a table with another table

    I want to change the order of a 1 d table based on another table 1 d that specifies the order.  For example, I have a table including the following items: 12, 13, 14, 15, 16.  And I have another 1 d array that specifies the order of 3, 4, 0, 1, 2.  I want the table resulting in 15, 16, 12, 13, 14.  How can I do this?  It must be really easy.  Another example, I give myself a table in the order following 1,2,3,4,5,6,7 and I an order specifying the array containing the 0,6,1,5,2,3,4.  Therefore, the resulting table must be 1,7,2,6,3,4,5.  ???

    It is, in fact, quite easy.  Put an "Array Index" inside a loop and thread the two tables in it.  Disabled automatic indexing on the input array.  Wire of the array element located on the border of the for loop, and you'll have the desired table.

  • Is it possible to change the loop i for

    Hello

    A question of Labview. A defence should be repeated 10 times in a loop for. If the value of i in the for loop will go from 0 to 9. Sometimes, certain defences may repeat once extra. It there a way to change the value of i in the loop for?

    Thank you very much

    Parallel port wrote:

    Hello

    A question of Labview. A defence should be repeated 10 times in a loop for. If the value of i in the for loop will go from 0 to 9. Sometimes, certain defences may repeat once extra. It there a way to change the value of i in the loop for?

    Thank you very much

    literally, no.

    You can use a while loop where you control the number of iterations.

    It is possible to connect a value for "N" to limit the number of iterations, but if you are indexing a table via a tunnel of automatic indexation of the input array entry will also limit the number of iterations.

    Ben

  • change the loop condition and cursor

    Hi all

    We have the procedure below:

    PROCEDURE ext_UPLOAD IS

    v_colname VARCHAR2 (30);

    v_tl_colname VARCHAR2 (30);

    v_stmt VARCHAR2 (32767).

    v_stmt_no NUMBER;

    CURSOR DISTINCT_COLUMN IS

    SELECT DISTINCT T_STG DB_COL;

    BEGIN

    v_stmt_no: = 5;

    FOR DBCOL IN DISTINCT_COLUMN

    LOOP

    v_colname: = DBCOL. DB_COL;

    v_stmt_no: = 10;

    v_stmt: = ' MERGE IN EXT_B ED

    WITH THE HELP OF)

    SELECT TAG_DATA,

    EQUIPMENT_FK_KEY,

    WORKORDER_FK_KEY,

    SEGMENT_FK_KEY,

    SHIFT_WORKDAY_FK_KEY,

    HOUR_FK_KEY,

    ITEM_FK_KEY,

    READ_TIME,

    ATTR_GROUP_ID,

    RECIPE_NUM,

    RECIPE_VERSION,

    NVL (FND_GLOBAL. User_Id,-1) l_updated_by,.

    NVL (FND_GLOBAL. Login_Id,-1) l_last_update_login

    OF MTH_TAG_READINGS_T_STG

    WHERE DB_COL = ' | " ' || v_colname | " ' ||') TS

    WE (';)

    v_stmt: = v_stmt | "ED. EQUIPMENT_PK_KEY = TS. EQUIPMENT_FK_KEY AND

    ED. READ_TIME = TS. READ_TIME)

    WHEN MATCHED THEN

    UPDATE

    GAME ED.'. v_colname |' = TS. TAG_DATA,

    ED. LAST_UPDATED_BY = TS.l_updated_by,';

    v_stmt: = v_stmt | "ED. LAST_UPDATE_LOGIN = TS.l_last_update_login

    WHEN NOT MATCHED THEN

    INSERT ('| v_colname |', EXTENSION_ID, EQUIPMENT_PK_KEY, WORKORDER_FK_KEY, SEGMENT_FK_KEY, SHIFT_WORKDAY_FK_KEY, HOUR_FK_KEY, ITEM_FK_KEY, READ_TIME, ATTR_GROUP_ID, LAST_UPDATE_DATE, LAST_UPDATED_BY,';)

    v_stmt: =.

    v_stmt | ("LAST_UPDATE_LOGIN, CREATED_BY, CREATION_DATE, RECIPE_NUM, RECIPE_VERSION)

    VALUES (TS. TAG_DATA, EGO_EXTFWK_S.NEXTVAL, TS. EQUIPMENT_FK_KEY, TS. WORKORDER_FK_KEY, TS. SEGMENT_FK_KEY, TS. SHIFT_WORKDAY_FK_KEY, TS. HOUR_FK_KEY, TS. ITEM_FK_KEY, TS. READ_TIME,';

    v_stmt: = v_stmt | "TS. ATTR_GROUP_ID,' | '''|| SYSDATE | "'| ', TS.l_updated_by, TS.l_last_update_login, TS.l_updated_by,'|"' | SYSDATE | " ' ||', TS. RECIPE_NUM, TS. RECIPE_VERSION)';

    mth_util_pkg.log_msg ('v_stmt: ' | v_stmt, mth_util_pkg.) G_DBG_DYN_SQL);

    -DBMS_OUTPUT. Put_line (v_stmt);

    v_stmt_no: = 20;

    EXECUTE IMMEDIATE v_stmt;

    -VALIDATION;

    END LOOP;

    EXCEPTION

    WHEN INVALID_NUMBER THEN

    RAISE_APPLICATION_ERROR (-20008,'The Data Tag you are tyring to insert the character data is.) A number should instead. ") ;

    WHILE OTHERS THEN

    RAISE_APPLICATION_ERROR (-20008, SQLERRM |' to ' | v_stmt_no);

    END;

    In above query we conduct cursor on DB_COL OF DIFFERENT T_STG, but the above query fails if we have the same db_col, but for groups of different attributes. I want the merge request and loop to work for separate but with given db_col ATTR_GROUP_ID as I have attr_group_id 10 and 20, but two of them may have db_col as n_ext_attr1 and slider should be for db_col and also take into account attr_group_id. can you be it someone please let me know how to change the cursor above and also the loop as well as db_col and attr_group_ ID the two are taken into account.

    Thanks in advance.

    Maybe you need to take a step back and explain exactly what you're trying to reach, providing tables of the example and example, the production of these data in the example data.

    No offence not intended, but your statement dynamic MERGE is not well written, completely does not use bind variables (and why you think concatenating SYSDATE in a stirng as it will work properly, I don't know), and will be a nightmare to maintain in the future.  I'll ignore for now the use of waste from other exception ONCE (even if it's really cr * p coding) you clearly bigger problems to solve first.

    Thus, in addition to providing some data and tables of the example can answer you, why you do not know the names of the columns you try to merge?

    The mention of the ATTR in your instructions seem to feel a bit as if you use a type of entity-attribute-value architecture to your database, is this true? I hope sincerely that no, since it is known to be a performance killer and a nightmare to code and maintain when it comes to relational database engines. (I have a personal experience of having been victims of such a database design, and fortunately, we managed to convince management that the product was not fit for purpose and it was abandoned within months purchased (if only we could see before purchase)!)

Maybe you are looking for