to access the dynamic created clips



I can't access the clips for the application of measures.

photAmount, thumb1xpo, thumb1ypo and sm_photo are variables.
thumbLdr is an mc holding the mc which are created. I know that they are created as they show their respective photos. I can't apply all actions.

Thank you



THANK YOU VERY MUCH!

You and your House can be blessed.

Tags: Adobe Animate

Similar Questions

  • Changing the property of all the dynamically created MCs at the same time

    I have a list of dynamically created MCs.  I have this function, which works very well:

    function onLoaded(e:Event):void {
    
         xml = new XML(e.target.data);
         var il:XMLList = xml.channel.item;
         var listItems:Array = new Array();
         for (var i:uint=0; i<il.length(); i++) {
              listItems[i] = new list_item_mc();
              listItems[i].x=0;
              listItems[i].y=i*60;
              listItems[i].list_txt.text = il.description.text()[i];
              listItems[i].addEventListener(MouseEvent.CLICK, listItemClick);
              addChild(listItems[i]);
         }
         
    }
    
    function listItemClick(e:MouseEvent):void {
         e.currentTarget.list_txt.setTextFormat(highlightText);
    }
    

    However, I would like to have this setTextFormat command be run on the list_txt text box in ALL dynamically created MC any ONE of them is clicked on.


    How to achieve this?  The number of dynamically created clips may change at any time, is not a defined number.

    Thank you!

    If you declare the array listItems outside the functions, you can access in your event handler function so that you can loop through it similar to the way you already do in the onLoaded function.

  • Time of design and of the dynamically created controls

    I have a project written in VC6 as a project of the MFC dialog box. In a particular area, I dynamically create several (the exact number depends on user input) CNiGraphs. There is also a two CNiButtons that were created at design time using the resource editor. The problem I have is that when this dialog box is open, a message appears saying it is an eval version and the control will go off after 5 minutes. After 5 minutes of waiting, the CNiButtons 2 go inactive (black tower), but the continuous CNiGraphs of work. I have a valid license of MStudio 8.1.6, version but it seems that these 2 buttons do not recognize the license. There are also other buttons from the moment of conception of the project, but these have no problem at all. When you create the dynamic creation of the CNiGraphs, give them a valid license string, and I was wondering if there is a problem with the time created and dynamically controls created in the same dialog box to design. Anyone know?

    I don't remember, but I can have created these 2 CNiButtons when I was with only an eval license. (All others were undoubtedly create when I got a full license) Could have an impact on them? I have a vague memory of reading somewhere that DTC create controls to check the license when they are created in the designer and store that info in them license. If this is the case does anyone know an easy way to update the license stored in control? I rather not just delete it and Add again because I would avoid having to redo the tab order (unless someone knows how to easily insert something in the middle of the order of tab instead of having to click through all the controls in the correct order)?

    In addition, I don't know if this would affect anything, but the project was originally built with ComponentWorks 1.0, we were forced to move to MStudio when we met a few bugs in CW, so all controls were originally CW controls which have been converted into control of CNi. I doubt that this is so like everywhere else, we changed during controls is not a problem, but I'm ready to try the suggestions.

    Hi JC,.

    I hope you had a good weekend!  I'm glad to hear that you're back running.  Add the extra button was, in fact, causing update the licensing information for the other buttons, as you can imagine.  After further research, I found that the license information are stored only the form of the control, and if this control doesn't change in any way (or in your case, adding a new project), he sees no reason when compiling to recreate a link to the license.  However, after the change of control and a new, it updates the link between the license information, which solved this problem in your case.

    I hope this helps, JC.  Have a great day!

  • How to calculate the dynamically created cells?

    Hello

    Please can anyone provide us with a simple code to calculate the cells created dynamically using Add button line?

    Thanks anyway

    Header
    1Quantity [1]
    2Quantity [2]
    FooterTotal

    Hello

    Write this script on the Calculate the value TotalAmount field event (using FormCalc):

    $.rawValue = Sum(parentRowName[*].Amount.rawValue);
    

    Hope this will help you.

    Thank you.

    -

    Afonso

  • Cannot access the table created

    Hi all

    I am facing a strange situation in oracle 10 g 2
    I create a few tables with commands below:

    CREATE TABLE 'ODS_TARGET '. "" TB_R2_PRE_VAS_FACT_GSM_New "...
    CREATE TABLE 'ODS_TARGET '. "" TB_R2_PRE_INTRCNS_FACT_GSM_New "...
    CREATE TABLE 'ODS_TARGET '. "" TB_R2_PRE_STATUS_FACT_GSM_New "...
    CREATE TABLE 'ODS_TARGET '. "" TB_PRE_VAS_UNQUSR_SRV_FACT_GSM_New "...
    CREATE TABLE 'ODS_TARGET '. "" TB_R2_PRE_INCDNT_FACT_GSM_New "...

    But when I give select * I get error saying "table or view not found.
    Here is the output from DBA_TABLES for table tops

    SQL > select owner, table_name, status

    * dba_tables 2 *.
    * 3 where upper (table_name) in ('TB_R2_PRE_STATUS_FACT_GSM_NEW', *)
    * 4 "TB_R2_PRE_VAS_FACT_GSM_NEW", *.
    * 5 'TB_PRE_VAS_UNQUSR_NEW ', *.
    * 6 'TB_R2_PRE_INTRCNS_FACT_GSM_NEW, *.
    (* 7 'TB_R2_PRE_INCDNT_FACT_GSM_NEW'); *

    TABLE_NAME OWNER STATUS
    ------------------------------ ------------------------------ --------
    ODS_TARGET TB_R2_PRE_VAS_FACT_GSM_New VALID
    ODS_TARGET TB_R2_PRE_INCDNT_FACT_GSM_New VALID
    ODS_TARGET TB_R2_PRE_INTRCNS_FACT_GSM_New VALID
    ODS_TARGET TB_R2_PRE_STATUS_FACT_GSM_New VALID

    SQL > select from ODS_TARGET. TB_R2_PRE_VAS_FACT_GSM_New; *
    Select ODS_TARGET. TB_R2_PRE_VAS_FACT_GSM_New *.
    ***
    ERROR on line 1:
    ORA-00942: table or view does not exist


    SQL > select from ODS_TARGET. TB_R2_PRE_INCDNT_FACT_GSM_New; *
    Select ODS_TARGET. TB_R2_PRE_INCDNT_FACT_GSM_New *.
    ***
    ERROR on line 1:
    ORA-00942: table or view does not exist


    SQL > select from ODS_TARGET. TB_R2_PRE_INTRCNS_FACT_GSM_New; *
    Select ODS_TARGET. TB_R2_PRE_INTRCNS_FACT_GSM_New *.
    ***
    ERROR on line 1:
    ORA-00942: table or view does not exist


    SQL > select from ODS_TARGET. TB_R2_PRE_STATUS_FACT_GSM_New; *
    Select ODS_TARGET. TB_R2_PRE_STATUS_FACT_GSM_New *.
    ***
    ERROR on line 1:
    ORA-00942: table or view does not exist

    can someone tell me why that error is coming...?

    Thank you
    ROCs Rossy

    That the user creates these tables?

    Also just noticed the double quotes. When you create tables with double quotes, they are case-sensitive. Therefore, query using the exact case and double quotes.

    Published by: Centinul on March 31, 2010 07:33

  • Read the dynamically created objects

    Hello

    I get my feet wet with development of Cascades, and I was hoping someone here could answer some questions I had.

    I am defining a container that contains a drop-down list and a zone of textfield and I need to repeat this containing three more times. I thought by using the ControlDelegate class to create three instances without writing the code three times. However, I don't know how I'd read the value of each instance of the drop-down list and the ControlDelegate textfield.

    Any Suggestions?

    If you instantiate the like this:

    Container {
        property variant control1
        property variant control2
        property variant control3
    
        id: rootContainer
        Label  {
            text: "Example Component Definition"
        }
        Button  {
            text: "Click to create dynamic component"
            onClicked :  {
                // Create the component and add it to the Container
                control1 = compDef.createObject();
                rootContainer.add(control1);
                control2 = compDef.createObject();
                rootContainer.add(control2);
                control3 = compDef.createObject();
                rootContainer.add(control3);
            }
        }
        attachedObjects: [
            ComponentDefinition {
                id: compDef
                textfield { id: text }
            }
        ]
    }
    

    Then components are accessible as control1.text, control2.text etc.

    If the number of objects is constant, then ControlDelegate might be more convenient.

    For ListView, you can use ArrayDataModel or GroupDataModel (for more complex models with sorting) and fill it with any type of data. Any kind of items can be added, it's just a picture of QVariantMaps. It is not necessarily Xml or SQL wrapper, but specialized models also exist for this. It is even possible to create a subclass of DataModel custom c++ to expose existing data objects.

  • How to access the nodes created recently in a DOM

    Hello

    I use:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    I create a XSL dynamically and I need to check if a node has already been created. My problem is not GETCHILDRENBYTAGNAME or SELECTSINGLENODE seem to find the nodes recently added to the document. For example, with this snippet of my code:

    SET SERVEROUTPUT ON
    DECLARE
    DOC DBMS_XMLDOM. DOMDOCUMENT;
    ROOT DBMS_XMLDOM. DOMELEMENT.
    ELEM DBMS_XMLDOM. DOMElement.
    NŒUD DBMS_XMLDOM. DOMNODE;
    ELEMN DBMS_XMLDOM. DOMNODE;
    TO THE VARCHAR2 (8 CHAR);
    DBMS_XMLDOM ATTR. DOMATTR;
    LIST DBMS_XMLDOM. DOMNODELIST;
    CLOB TMPCLOB;
    BEGIN
    -Create DOM document with < xsl: template mode = 'content' match = "xxx" / >
    DOC: = DBMS_XMLDOM. NEWDOMDOCUMENT (SYS. XMLTYPE ("< xsl: stylesheet version ="1.0"xmlns: xsl ="http://www.w3.org/1999/XSL/Transform">")
    ((< xsl: template mode = "content"match ="xxx" / > < / xsl: stylesheet > '));
    ROOT: IS DBMS_XMLDOM. GETDOCUMENTELEMENT (DOC);

    -Add new item < xsl: template mode = 'content' match = "yyy" / >
    ELEM: = DBMS_XMLDOM. CREATEELEMENT (DOC, ' xsl: template ',' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    ELEMN: = DBMS_XMLDOM. APPENDCHILD (DBMS_XMLDOM. MAKENODE (ROOT), DBMS_XMLDOM. MAKENODE (ELEM));
    ATTR: = DBMS_XMLDOM. CREATEATTRIBUTE (DOC, 'name');
    DBMS_XMLDOM. SETVALUE (ATTR, "content");
    ATTR: = DBMS_XMLDOM. SETATTRIBUTENODE (DBMS_XMLDOM. MAkeELement (ELEMN), ATTR);
    ATTR: = DBMS_XMLDOM. CREATEATTRIBUTE (DOC, 'match');
    DBMS_XMLDOM. SETVALUE (ATTR, 'yyy');
    ATTR: = DBMS_XMLDOM. SETATTRIBUTENODE (DBMS_XMLDOM. MAkeELement (ELEMN), ATTR);

    [- Check if / / xsl:template[@mode='content' and @match = 'yyy'] exists (it should because I just added it)
    To THE: = 'yyy ';
    NŒUD: = DBMS_XSLPROCESSOR. SELECTSINGLENODE (DBMS_XMLDOM. MAKENODE (DOC),'/ / xsl: template [@mode = "content"and @match ="' |] TO THE | '] ',' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    IF DBMS_XMLDOM. ISNULL (NODE) THEN
    DBMS_OUTPUT. PUT_LINE(ÀLES||) "There is NO');
    ON THE OTHER
    DBMS_OUTPUT. PUT_LINE(ÀLES ||) "Exists");
    END IF;

    [- Check if / / xsl:template[@mode='content' and @match = 'xxx'] exists (it should because I was in the original scanned document)
    To THE: = "xxx";
    NŒUD: = DBMS_XSLPROCESSOR. SELECTSINGLENODE (DBMS_XMLDOM. MAKENODE (DOC),'/ / xsl: template [@mode = "content"and @match ="' |] TO THE | '] ',' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    IF DBMS_XMLDOM. ISNULL (NODE) THEN
    DBMS_OUTPUT. PUT_LINE(ÀLES ||) "There is NO');
    ON THE OTHER
    DBMS_OUTPUT. PUT_LINE(ÀLES ||) "Exists");
    END IF;

    -Try with GETELEMENTSBYTAGNAME
    LIST: = DBMS_XMLDOM. GETELEMENTSBYTAGNAME (ROOT, 'template', ' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    DBMS_OUTPUT. PUT_LINE (DBMS_XMLDOM. GETLENGTH (List) | 'Node (s)');

    -Try with SELECTNODES
    LIST: = DBMS_XSLPROCESSOR. SELECTNODES (DBMS_XMLDOM. MAKENODE (root), ' / / xsl: template ',' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    DBMS_OUTPUT. PUT_LINE (DBMS_XMLDOM. GETLENGTH (LIST) | 'Node (s)');

    DBMS_LOB. CREATETEMPORARY (TMPCLOB, TRUE);
    DBMS_XMLDOM. WRITETOCLOB (DOC, TMPCLOB);
    DBMS_OUTPUT. PUT_LINE (TMPCLOB);
    DBMS_LOB. FREETEMPORARY (TMPCLOB);
    DBMS_XMLDOM. FREEDOCUMENT (DOC);
    END;
    /

    anonymous block filled
    YYY IS NOT Exists
    XXX exists
    1 node (s)
    1 node (s)
    < xsl: stylesheet version = "1.0" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" >
    < xsl: template mode = 'content' match = "xxx" / >
    < xsl: template name = "content" match = "yyy" / >
    < / xsl: stylesheet >

    [[Why SELECTSINGLENODE can't find ' / / xsl:template[@mode='content' and @match = 'yyy']' node that was dynamically added to the document, but he finds ' / / xsl:template[@mode='content' and @match = "xxx"]' which was originally in the parsed document?

    Y at - it an explanation or I do something wrong? "How can I check if I already added a xsl: template ' to avoid duplication?

    Thanks for your help
    Kind regards
    Ramón García

    Please read the FAQ link under your name on how to use the tag {code} (without the space) to keep the formatting of the code.

    If you look carefully at the XML output and what you are looking for, you can see the issue.

    
    
    

    Look at your attribute names. One is called the mode and the other name. Looking for your XPath

    @mode = "content"

    that does not exist on the node where match = "yyy". That's why your code can't find the match, since he's looking for something different than what you have built

    ATTR: = DBMS_XMLDOM. CREATEATTRIBUTE (DOC, 'name');

  • To access the dynamic MovieClips of the child

    Dev environment: Flash Pro 9

    Well, I have a movie that has a movieclip (imageHolder, this is defined in the library and is an empty movieClip used as placeholder) which is on the stage. I read in load images in the flash file and create in their own movie clips WITHIN imageHolder as follows:

    ========================
    NM var = imageHolder.createEmptyMovieClip ("swfHolder" + i,-(i * 10));
    nm.loadMovie (filename);
    ========================

    Obviously, this is a snippet of code, I use the LoadVars object to load these files. Once everything is loaded, it appears on the scene, with a depth in the order of the first image to last (first image on top, last picture down). After that, I have a set of intervals, to call a function called 'selectImage', which gets a variable called photonum and alter images for the number you passed in. In selectImage, I make sure that the image that is coming is then one level deep below the image currently displayed using swapDepths, and I am constantly incrementing a variable called "curdepth" which is global and always assign this depth to the image currently displayed at this depth. Thus, the image will be displayed in depth 30, and the following image upward will appear deep 29. Then I melted the current image using the tween object, and it works like a charm! To refer to these MovieClips, I use the following code:

    ====================
    var cmc:MovieClip = eval ("imageHolder.swfHolder" (curpho + 1));
    var nmc:MovieClip = eval ("imageHolder.swfHolder" (nexpho + 1));

    Current clip force forward
    cmc.swapDepths (curdep);
    Next clip force as below before
    nmc.swapDepths (curdepth - 1);
    ====================

    and it works perfectly... Flash. Once it is on the page, or displayed in the independent movie player, everything goes south. I assigned the typeof cmc and nmc in a text box, and I got "movieclip", Flash and on the page. However, if I store the "cmc.getDepth ()" in the text box, I get "[type function]" in flash, but on the page "undefined", it seems that all that is specific to the MovieClip object, such as getDepth() or swapDepths() is not defined when I plug it into the textbox, but the things that are inherited, as enabled, _x, or FLF are all available for my reading and setting.

    Does anyone have an idea how to fix this? I can reach all my code in a few hours if necessary. I tried not to get the images loaded into the imageHolder, and I found that did not help. I also tried a combination to add "_level0." and "_root." to my cmc and nmc references, does not. Any help would be greatly appreciated.

    Seems he had something to do with my Installation of Flash... I tried on another computer and everything was fine. What a pain!

  • What is the default user name and password of the dynamically created edge NSX gateway?

    Hello

    I created a NAT device on request and as part of it, but an edge gateway. What is the default user name and password to connect to the edge device?

    Thank you

    Pankaj

    I do not know the password by default, but you can either define easily. Just go to the network security &--> NSX edges, select your edge, click actions and identification of Climate change information. You can also enable SSH from there.

  • Permission to access the dynamic views v$ users not sysdb

    Hello

    I am a beginner in Oracle and this is my first post in this forum, so please be gentle

    I am trying to give some capacity on certain points of view a user not sysdba like this:

    What worked well:

    create view V_SYS_SESSION_LONGOPS as (select * from v$ session_longops);

    GRANT SELECT ON V_SYS_SESSION_LONGOPS TO myuser.

    What has not worked:

    create view V_SYS_SQL as (select * from v$ sql);

    GRANT SELECT ON V_$ SQL to myuser.

    GRANT SELECT ON V_SYS_SQL TO myuser.

    The problem is that these SQL commands are accepted by oracle, but my user does not see this second view (while the first works very well).

    I did something in a wrong way?

    Thank you

    What is the error?

    Having the MYUSER account run select * from SYS. V_SYS_SQL

    Hemant K Collette

  • Trouble accessing the dynamic XML of the API with a CFC

    Please see my example at the source of http://67.199.18.39/test.html and the view (to big to post here). I'm back XML returned by a dynamic call to an API through a ColdFusion CFC.

    You are looking for a generic name like dog. Click OK. I display the XML for you to see. I tried several different XMLList dataproviders but unable to get anything to work.

    Can someone indicate on the 'mistakes' of my ways?

    Thank you.

    It turns out that it was a matter of namespace. I found the answer from a tutorial of Bruce Phillips at -For-Each-Statement-And-The-Descendent-Accessor--Operator http://www.brucephillips.name/blog/index.cfm/2006/12/5/Processing-XML-in-Flex-20-Using-The

    I had to add:

    namespace private yahooNS = "urn: yahoo: Prods."
    Using namespace yahooNS;

  • Apart from the question of access partner newly created the workspace

    Hello

    The external vendor I work was able to successfully create an account of the hive and the connection to the following page:

    https://beehiveonline.Oracle.com/

    When she tries to access the workspace created by one of these links, it gets an error in the browser:

    https://beehiveonline.Oracle.com/workspaces
    https://beehiveonline.Oracle.com/TeamCollab/overview/PDSi_Workspace

    IE 8 error she gets is as follows:

    Internet Explorer cannot display this webpage

    The most likely causes:
    You are not connected to the Internet.
    The Web site encounters problems.
    There could be a typing error in the address.

    What you can try:
    Check your Internet connection. Try visiting another site to ensure that you are connected.

    By disabling its cookies and history, the issue has not disappeared. Other browsers such as FireFox and Chrome have also resulted in error messages as well.

    The workspace it is trying to access is:
    Synopsys_Spice_and_FastSpice_Simulation_and_Analysis_Workspace

    His email address is:
    [email protected]

    Any help on how to solve this problem would be greatly appreciated.

    Kind regards

    Mike

    Any help on how to solve this problem would be greatly appreciated.

    Hello

    [email protected] does not have an assocuiated account oracle.com with this email address, so will not be able to access the system. https://beehiveonline.Oracle, .com is a open a URL with no connection required for anyone can access this page.

    Ask your user to go to https://myprofile.oracle.com and create an account with this email - this is the provisioning is automatic within 10 minutes.

    Phil

  • To access the contents of reference in c# PropertyObject fails

    I'm trying to access the dynamic content of a PropertyObject in c# to search its subproperties. I can access the reference object itself, but not its subproperties (dynamic).

    To be more concrete, it is a handler for the UIMessage ModelState_PostProcessingComplete. This means that the context of the sequence is "ModelSupport.seq / done Call USE / lot.

    I'm trying to use the "Parameters.MainSequenceResult" object reference to find the first stage failed and assess the stepname. This information is used to detect errors repeated in a custom user interface.

    Just to test, I tried the same thing directly in this sequence by using expressions, and it works. It seems that the .net code is not able to track the content of an alias.

    This is the c# code I use:

    SequenceContext seqc;
    Search for research results;
    PropertyObject searchStart;
    [...]
    If (seqc. Parameters.Exists ("MainSequenceResult", 0))
    {
    seqc. Parameters.GetPropertyObject ("MainSequenceResult", PropertyOptions.PropOption_NoOptions);

    Search ("",
    "True," //search chain
    SearchOptions.SearchOptions_MatchCase | SearchOptions.SearchOptions_WholeWordOnly, //search options
    SearchFilterOptions.SearchFilterOptions_All, //search options filter
    SearchElements.SearchElement_BooleanValue, //search item type
    limit null, adapters
    New String() {"StepCausedSequenceFailure"}, //limit to named properties
    limit null in the properties of named type
    (null); subproperty to exclude channels

    image search. IsComplete (true, true);
    If (search. NumMatches > = 1).
    {
    This never happens...
    }
    ...
    }

    The code runs without error, but no search results. The equivalent within a TestStand sequence code is the 4 correct search results.

    If I use MainSequenceResult.TS (which exists at run time) I get a parcel COM "Variable or unknown name"TS"property."

    It also works in c# if I use a property not referenced like this:

    searchStart = seqc. Parameters.GetPropertyObject (string. Format ("ModelData.TestSockets [{0}].") (MainSequenceResults.TS", myIndex), PropertyOptions.PropOption_NoOptions);

    But I want to avoid that, because then I need to know which model is used.

    I hope someone can explain to me the difference or what I'm doing wrong...

    I think I solved it:

    After validation, I found a similar problem which seemed to contain the solution:

    https://forums.NI.com/T5/NI-TestStand/how-to-access-to-PropertyObject-throught-two-referenced-object...

    I changed my code to

    searchStart = seqc. Parameters.GetPropertyObject("MainSequenceResult",0). GetValInterface ("", 0) PropertyObject as;

    and it worked!

    Experts: is this the right solution or there at - it an easier way to dereference the object in c# references?

  • Dynamically create and assess controls.

    I have an ArrayCollection collection in my application that I use to dynamically create controls for.  Each row of the table must create four controls.  The following code is what I used to create the items.  Problem is that I don't know how to evaluate when the time comes to deal with the values entered in each control.

    for (i = 0; i < model.) BudgetDetails.length; i++){
    If (i > 0) {}
    offset = offset + 25;
    }

    var TmpName1:Label = new Sun;
    TmpName1.text = modΦle. BudgetDetails [i]. BudgetCategory;
    TmpName1.name = "Label" + i;
    TmpName1.x = 5;
    TmpName1.y = offset + 6;
    TmpName1.width = 200;
    TmpName1.styleName = "LabelRightAlign";
    addElement (TmpName1);

    var TmpName2:TextInput = new TextInput();
    TmpName2.text = modΦle. BudgetDetails [i]. BudDesc;
    TmpName2.name = "Input_BudDesc" + i;
    TmpName2.x = 215;
    TmpName2.y = offset;
    TmpName2.width = 200;
    TmpName2.styleName = "TextInput_Desc";
    addElement (TmpName2);

    etc...

    }

    It works very well to create the controls, but I don't know how to loop through the controls to find the values entered into the TextInput controls.  I have to either assign names to controls before I create or I need to know how a loop on all of the items on my page.

    Well, it is not the most elegant solution out there, but it does not work...

    Code to delete the dynamically created controls *.

    var MyNumElements:int = numElements;          numElements decreases every time you delete an element

    var x: Object;

    var CurrentElement:int = 0;                              elements becomes the they are deleted

    for (i = 0; i< mynumelements;="">

    x = getElementAt (CurrentElement);

    TMPNAME = x.name;

    TMPNAME = tmpname.substring (0, 5);

    If (tmpname == 'Label' | tmpname == "Input") {}

    removeElementAt (CurrentElement);

    } else {}

    CurrentElement = CurrentElement + 1;

    }

    }

    Enter code to inspect the text controls *.

    for (i = 0; i< numelements;="">

    x = getElementAt (i);

    TMPNAME = x.name;

    TMPNAME = tmpname.substring (0, 5);

    If (tmpname == "Input") {}

    DoMyStuffHere

    }

    }

    Deletion of items was a little complicated numElements declines because by one whenever you remove an item that mess up your loop counter.  Also items get becomes the they are deleted.  Please also make sure that all THE OTHER ELEMENTS on your form are not named with the same string as the most dynamic. In my case, I named everything with Labelxxx or Input_xxx if all the other names had ti be assigned.  For example, I had a few other labels in my module so I had to name them.  Oh... an id is not the same as a name either!  (learned that the hard way...)

    If you have any suggestions on how to make code that dynamically adds, removes or inspects more elegant controls, please let me know!

  • access the properties of a movie on the timeline

    I'm trying to buil a project that contains two clips and I need to access the clipA clipB period properties.

    If the parent property specifies a path to display objects that are above the current display to the screen object the list hierarchy, property that points to objects that are below?

    I m sure it must be easy to answer. I have just can´t seem to figure it out.

    Any help would be appreciated.

    I do not know how to interpret your description above / below, but to access the properties of clipA clipB, assuming that they share the same parent timeline...

    AS2: _parent.clipA.property

    AS3: MovieClip (this.parent).clipA.property

Maybe you are looking for