Problem with dynamically created in a loop function

Hi, the project is to create a thumbnail image dynamically from a xml file and display an overview with the event delivery. My problem is that I dynamically create a delivery for each thumbnail and inside the function the name of the image to load. I get no error, but the loaded image is always the last of the loop. Where is my mistake? Is there a solution?
Any help will be welcome. I work hard on it but not more idea. Thank you very much for you reply

Thank you very much Pajaroplus, it works with your help!

Tags: Adobe Animate

Similar Questions

  • Problem with dynamically creating an end-to-messageStyledText

    Hello.

    I have an advanced array and there is a bean MessageStyled of text inside that. Now im trying to put the message of the art to the message text style using the following code in processrequest

    OAMessageStyledTextBean helperText = (OAMessageStyledTextBean) QuesTbl.findChildRecursive ("Question");

    OADataBoundValueViewObject helptxt = new OADataBoundValueViewObject(helperText,"HelpText","QuestionDetailsVO");

    helperText.setAttributeValue (SHORT_DESC_ATTR, helptxt);

    But when im running the page, unable to see the end.

    Please help me solve this problem

    1)

    try using OAWebBeanConstants.TIP_ATTR

    helperText.setAttributeValue (OAWebBeanConstants.TIP_ATTR, helptxt);

    (2) and make sure you use the correct name of the ViewObject.

    'QuestionDetailsVO '.

    the name of VO is probably in your AM 'QuestionDetailsVO1 '?

  • problem with dynamic mask.

    I have a video with green screen. I removed the green part of the video. in this way, I have people in the video without background,

    I want to get this effect: Morgan - after - YouTube 01:02 I want to insert a video or an image on top of the population with green screen, but this new video should stay only on the people and it should not cover the bottom.

    I get this with a simple mask for 1FPS, but the people themselves moves and I can change the mask of each image.

    I am looking for an effect that create a dynamic mask or a way of excluding the background in the new video.

    Sorry for my English, but explained a problem with sequels in a another language is very difficult.

    I hope that everyone knows the effects or a video tutorial

    I'm sorry, but I can't see the video in the USA.  However, I think I know what you want to do.  You want the Green people shielded to become invisible.  In their shapes, you want to put the new video.

    It's easy.  Add the video you want to fill the hole of people-shped on your comp.  On the top layer, add the green screen of people.  Now go to the bottom layer and use the layer screen green people as an Alpha inverted Matte.  You will see your video of replacement in a hole in the form of people.

  • Weird problem with dynamic text

    Hello

    I created a dynamic text field - mediaImportName001 (created and it contains the name of a file that I have chosen to import them using a browser (as3 and AIR) button.)

    It works very well - I can import the file, and the name appears in the field.

    I would now like to pass the content of the text field to another text field.  But I'm not content. If I try to find the contents of the textField trace("mediaImportName"+thisNum).text - Flash returns "undefined" (even though I'm him asking to draw once the field has been filled).

    I use the following code to check that the material is really there and named correctly (the code returns the children):

    for (var i: uint = 0; i < this.numChildren; i ++) {}
    trace (this.getChildAt (i) .name + "\t type:" + typeof (this.getChildAt (i)) + "\t" + this.getChildAt (i));
    }

    It returns:

    object: type instance370 [object, form]
    object: type mediaImportName001 [TextField object]
    object: type mediaFiletype001 [TextField object]

    How can I get Flash to give me the text in mediaImportName001?

    It's weird - this.getChildAt (i) .name

    from above gives me...

    mediaImportName001,

    yet

    trace (['mediaImportName' + thisNum] .name);

    returns undefined (thisNum represents an increment I used to name several clips and text fields and in this case trace (thisNum); return 001)

    Any ideas why this happens?

    Thank you

    Shaun

    No logic problem, just a problem with describing the problem (as far as the fix goes) and using the property name (as far as the issue goes).  There is a difference between the creation of a dynamic textfield (a type of textfield) and dynamically a textfield (using code to create).

    In AS3, the name property is a property and it is not the same as the name of the instance that you can assign to an object on the stage.  To target an object using its name property, you must use the getChildByName() method, or alternatively, you can use the variable you used to create it.  You may need to cast as a TextField object as well as to operate...

    trace (TextField (this.getChildByName ("mediaImportName" + thisNum)). (Text);

    which would produce the same result as the use of...

    trace (mediaImportName.Text);

    I don't know how the numbering disperses on "001", but you might find it easier to work with by storing just the instances of an Array by using the media_file_num to set the index where they get.  Then, you would be able to target the textfield to help...

    trace (tfArray [thisNum]. (Text);

  • Problem with the movieclip by double loop

    Hello, this is more a problem of logic programming that actually a problem with the code.

    I'm building a schedule where each month are built on the fly with the movieclip duplicate for each day (with an empty textfield). I am building the calendar according to the number of days of the month has, he begins to what day of the week, etc, etc..

    Then I load an external xml with the new arrivals. Subsequently, I need to check the days of this month were new. At the moment I have 2 parts in stock in my xml stream ( http://s50699.gridserver.com/xml/news_en.xml). It all works very well.

    However, I only manage to highlight a day of this month, the last news item-, which means that the loop runs twice, but he recorded only the last number, so the day highlighted that shows on the calendar, is, therefore, of this last point news.

    I attached the code below and will be really grateful for any help or general advice.

    _root ['dot' + s] does not know he has a report any with the number i after the advances of your loop. in particular, by releasing _root ['dot' + s] I'll be the last value of your loop.

    to remedy this, use a variable that stores the value of i when _root ['dot' + s] is created:

    .Ivar _root ['dot' + s] = i;

    and use this.ivar rather than I in your onRelease handler.

  • Problems with dynamic links between Premiere Pro and After Effects

    Hello

    dynamic binding (insertion of After Effects compositions on a Premiere Pro schedule) rarely worked properly since it was introduced. Problems vary (for example "media disconnected" made plates, old versions of comps rendered).

    What's worse, is that you can never tell what will be ultimately made out of Premiere Pro. Thus, a typical professional workflow to several projects together to finish during the day and batch overnight rendering can cause a catastrophe.

    Of course, the option is to not use dynamic link. Which makes then less competitive whole adobe.

    This subject has been widely discussed for years has been a dynamic links. I'm not the only one having this problem, and the problem is far from new.

    My only question is:

    Adobe: have you ever fix dynamic links?

    I don't really understand how you focus on software development in your company. The vast majority of the features of CC is little or not useful. The most important thing in a professional environment is consistent and reliable - performance can you please focus on that?

    I'm inspired to write this post because I just arrived in my edit at 07:00 only to find that my night makes is the wrong versions. All bed very well in the body and AE, damage the final rendering off Media Encoder used an older version of one of my compositions, and that I have nothing to send to my client.

    Janne

    Title edited by Kevin Monahan.

    Management of files Adobe seems to rely on the names and the last path of known files. Body loses links Dynamics (and other files) with frightening regularity in a situation where nothing has changed in the hierarchy of files, the files.

    16, when a hard disk of 8 GB was a huge drive, Pro Tools has been littering files on several disks because, as was the creation of audio files in real time, she had to. Digidesign introduced into a system which incorporated a unique program generated number in each file. Since that day I have never had a problem with lost files or correlate. I can move them anywhere, on any system and any PT session concludes that they are with total reliability - and we are talking about a lot of projects with thousands of files, through several studios. If you are looking for files, you can choose to use the identification number, the name of the file, the length of the file, or any combination of these. Which allows for the substitution of file.

    Until Adobe address this problem with a solution similar to that of Pro Tools, we'll be constantly beset by problems.

  • Problem with vacuum created during a photomerge of 8 jpg images

    Hello

    I have a problem with a panoramic picture created using photomerge and 8 photos (with photoshop cc)

    The result was very good with the exception of a segment not very much aligned.

    I managed to put in place a few pixels and the picture is almost 'perfect', unless I have a sewing little empty space that I can not complete by any tools such as stamping, brushing, patch, or even paint.

    Now, I have a suspicion of snicking the problem lies in the layers, but I can't understand to create duplicated layers, and where possible.

    (I should try to merge the psd pcictures instead of jpg?

    Any ideas would be very welcome.

    Thank you

    Serge


    After you create the photomerge you have 8 layers.

    If you merge the layers into a new layer at the top of the layer stack by pressing Ctrl + Alt Shift + E (Cmd + Option + Shift + E), does make a difference?

  • Problems with forms created with LC Designer, Adobe Reader 10.1 and Windows 7 7.1

    Hello

    I have an application that runs on Flex 3.5 and some xdp created with LC Designer 7.1.

    FRAMEWORK

    The application should work in Windows XP and Windows 7.

    It allows the user to submit an order and view/print the order confirmation.

    The order confirmation is a pdf file generated by a xdp created with LC Designer 7.1 (and a connection via an xml data file).

    Some pdf need to display Japanese fonts, others not (let's call them jpPDF and usPDF).

    The XP and 7 environments have Japanese fonts installed.

    USING XP

    When you use a XP environment, there is no problem to create and display the pdf, the jpPDF and the usPDF. Everything works fine and as expected.

    WITH THE HELP OF 7

    When you use a windows environment 7, I have different issues according to the generated pdf:

    jpPDF: Adobe Reader tells me that I don't have the fonts installed. When I accept to install the fonts, nothing happens and the pdf file appears completely empty.

    usPDF: Adobe Reader tells me that the created pdf file is not compatible with the latest version of Adobe Reader, so I need to upgrade. But I have the latest version available...

    Someone of you have encountered similar problems? Is there really something wrong between LC Designer 7.1 and Windows 7?

    Thanks in advance for your time and help.

    Kind regards

    BS_C31

    Hello

    I had problems with the installation at the request of the language packs, which I presented something on our portal of the company.  Seems to work fine if I download them manually, I think that there are five, it's one, Japanese http://www.adobe.com/support/downloads/detail.jsp?ftpID=4881.

    I had no problems using Windows 7 however.

    Concerning

    Bruce

  • Problem with dynamic text

    Hello, all.

    I'm having trouble with dynamic text not displaying only not on the scene during execution.  When I test the scene, fields of text but loading, but when I test the movie, or run publish a snippet, the text is not there.  Some figures appear unstable in the text fields, but are often completely empty. --J' did ensure that the fonts have been included and I can't understand why this is happening.

    Any ideas or suggestions are greatly appreciated.

    Thank you.

    Try another font which has called to work correctly, such as Arial and see if you still have the problem. Not all fonts can be embedded correctly...

  • unexpected problem with the permission of type plsql function scheme

    Hello
    I created a schema authorization function plsql type returning a Boolean. Authorization scheme is for pages only. p2_user_priviledge is a textbox control on the home page that retrieves privilege (list of the pagenos) to the user of the database connection. Homepage has no required permissions. SCHEMA AUTHORIZATION always returns false. I am not able to trace problem in my code. same code works fine for failure to the 'c' of return area.

    -CODE OF AUTHORIZATION SCHEME-
    declare
    PageID varchar2 (10);
    VARCHAR2 (300) of privilege;
    c number (3);
    Start
    PageID: = ": P" | to_char(:app_page_id) |': '; -NUMPAGE stored in format *: P2: *
    privilege: = trim(:p2_user_priviledge); ++-List contain privileges like: P2:P13:P67:P23: etc +++ select instr (privilege, pageid) in c to double;
    If c > 0 then
    Returns true;
    on the other
    Returns false;
    end if;
    end;

    ------------------------------------------------------------------------------------------------------------------------------------------

    Another problem is again related to the authorization scheme.
    I created an application and schema of an authorization (auth_aug), which worked fine. Then, after a few days, I added more than 10 pages for the same application, but now autho_aug always returned false for new pages. Then I copied the code from the "autho_aug" to the new "autho_sept" regime, and it worked for new pages. I do not understand if code is the same for both system, why had to use two different schemas.
    Now, I've added a few pages more enforcement and problem mentioned earlier.

    any solution to the two problems...

    Hello

    You can create a component of demand through the shared components in your application, elements of Application option. All you do here is to create a new item and give it a name.

    Once this is done, the element can be used as if it were a page element. You can use an Application (also available through shared components) calculation to set the value of this element in the list of page numbers and the value can then be retrieved in a SQL statement or PL/SQL.

    You cannot use the popup window Session to change elements from page or application - you will need to create a calculation or process to do.

    Andy

  • Problem with 'Add a new value' component functionality

    Hi all

    I'm having a problem with the component feature 'add a new value '.  The component is designed to add an instructor for the purposes of accreditation.  When a new teacher is added using the component, it is added to a table for certification.  The search folder search this table allowing the user to update an existing record of instructor. Add the search folder for the component is a view of PS_PERSONAL_VW, which excludes the entries in the table of accreditation.  The only key to scroll 0 is emplid accreditation file. When an attempt is made to add a new employee, I get the error - "the value that you have tried to add already exists. Please specify a new value in the above fields. ", despite the fact that the selected employee was not added and is not in the table of accreditation.

    Someone has an idea of what the problem is here?

    PTools Version: 8.53.08

    PS App Version: 9.0

    Oracle DB Version: 11.2.0.3

    Version of the operating system: Win7 64 bit

    Thanks in advance.

    Too bad! I thought about it. It was a problem with the quick table of the emplid field.

  • Problem with PDF created with Captivate 6

    I've been using Captivate since version 4 and this is the first time that I had this problem. The generated PDF (which is the expected file size) displays a blank page with only the button table of contents who is sitting there flashes quickly. I tried to change the version of the Flash Player targeted without a bit of luck.  Previews and HTML output is fine and so is the .exe file. I use Adobe Acrobat 11 on a 64-bit Windows System. It is a quite small with about 15 slides project and FLV videos. I have no problem with distill with any of my other programs (FrameMaker, LiveCycle, Photoshop etc.). All settings, I can tinker with?

    Any ideas?

    Nadeem

    Hello

    You can refer to this thread for a solution.

    http://forums.Adobe.com/message/5244355#5244355

    Anthony

  • Problem with dynamic table

    That users write a lot in the text fields, the table to a different page breaks (it seems not nice) and overflows. The users cannot see the rest of the table.

    The problem seems to be the subform below. You have any ideas to prevent this, without much changing the interface?

    See you soon,.

    Edigo

    PS: I could not find the attachment button to download form... It used to be down!

    Please click here for the form

    http://www.Megaupload.com/?d=OKGA03VE

    Edigo,

    Here is the updated file for the problem with the global field.

    https://Acrobat.com/#d=gDwYFDJIa6zSQ9JAtAaXUQ

    See if the column suggessitions works according to your requirement...

    One thing is that if you enter more text in the field, the Table row / will do a page break, if it extends beyond the height of the page.

    So, if you enter a smaller length text in another field, then it appears on the first page but since the line has been "Broken Page", if you click the same field in the second row it also displays the same text. (Once you remove your mouse on this second page of field, the text disappears. But it will appear in the first page all the time. The text in this field was not "Broken Page", this is the reason for this kind of behavior).

    Hope I explained it's better for you...

    Let me know if you need help...

    Thank you

    Srini

  • Help with dynamically created components (turning point properties on or off)

    Hi all! I'm working on an application with a bunch of delegates of control is created dynamically.

    Here's my use case-scenario:

    I do a type app GPA calculator, and instead of hard coding a lot of drop-down lists for students select notes, I created a custom component. According to the documentation, each component created dynamically are destroyed until the parent TI auto is destroyed. ControlDelegate seems to be a better option that you can set the flag to false to make the component to go.  I created a delegate of control that uses the custom of the list drop-down and added a few aliases to give each a name of object on creation. Now, my problem is that I can't understand the correct item call to the property delegateActive set to false to make the element disappear.

    Here is the delegate of the control:

    import bb.cascades 1.2
    
    Container {
        property alias cT : classTitle.text
        property alias oN : obName.text
        property alias dN : dDown.objectName
        property alias cdF : dDown.delegateActive
        property alias dDown : dDown 
    
        topPadding: 10.0
        bottomPadding: 10.0
    
        ControlDelegate {
            id: dDown
            sourceComponent: droDwn
            delegateActive: true
        }
        attachedObjects: [
            ComponentDefinition {
    
                id: droDwn
                GpaDD {
                    ddPro {
                        title: cT
                        objectName: oN
                    }
                }
            }
    
        ]
    
        Label {
            id: classTitle
            text: ""
            visible: false
        }
        Label {
            id: obName
            text: ""
            visible: false
        }
    
        onTouch: {
            console.log(dDown.delegateActive + " " + dDown.objectName)
        }
    }
    

    on the home page, I have the following code to create a new component:

    Page {
        id: gpaCalc
        actions: [
            ActionItem {
                id: addDD
                title: "Add Class"
                imageSource: "asset:///images/add.png"
                ActionBar.placement: ActionBarPlacement.OnBar
    
                onTriggered: {
                    var nn = ddContainer.count();
                    var newDD = defDrop.createObject();
                    newDD.cT = "Class " + [ nn ];
                    newDD.oN = "_" + nn;
                    newDD.dN = "_" + nn;
                    ddContainer.add(newDD);
    
                }
            },
            ActionItem {
                id: remDD
                title: "Remove Class"
                imageSource: "asset:///images/Edit.png"
                ActionBar.placement: ActionBarPlacement.OnBar
    
                onTriggered: {
                    console.log();
                }
    
            }
        ]
        attachedObjects: [
            ComponentDefinition {
                id: defDrop
                DropDelegate {
                }
            }
        ]
        Container {
    
            /* ImageView {
             * horizontalAlignment: HorizontalAlignment.Fill
             * verticalAlignment: VerticalAlignment.Fill
             * imageSource: "asset:///images/rect_overlay.png"
             * opacity: 0.65
             * }*/
            ScrollView {
                horizontalAlignment: HorizontalAlignment.Fill
                verticalAlignment: VerticalAlignment.Fill
                scrollViewProperties {
                    scrollMode: ScrollMode.Vertical
    
                }
                Container {
                    horizontalAlignment: HorizontalAlignment.Fill
                    verticalAlignment: VerticalAlignment.Fill
                    topPadding: 50
                    leftPadding: 50
                    rightPadding: 50
                    id: ddContainer
    
                    onCreationCompleted: {
                        if (ddContainer.count() < 2) {
                            var nn = ddContainer.count();
                            var newDD = defDrop.createObject();
                            newDD.cT = "Class " + [ nn ];
                            newDD.oN = "_" + nn;
                            newDD.dN = "_" + nn;
                            ddContainer.add(newDD);
                        }
                    }
                    Label {
                        text: "Select Your Grades"
                        textStyle.fontStyle: FontStyle.Normal
                        textStyle.fontWeight: FontWeight.W100
                        verticalAlignment: VerticalAlignment.Top
                        horizontalAlignment: HorizontalAlignment.Center
                        textStyle.fontSize: FontSize.XXLarge
                    }
                }
                accessibility.name: "TODO: Add property content"
            }
        }
    }
    

    How can I find the last delegate of control created to define the delegate tag as wrong?

    Any help is appreciated!

    You have so much you need to do it this way?
    Why not just have a placeholder for * each * drop-down list and turn them on and off individually using delegateActive?

  • Problem with dynamic setting where the clause OFA

    Hi all

    I have a view object with the following query:

    SELECT rownum LINENUM,

    B.line_id LINE_ID,

    B.INVENTORY_ITEM_ID INVITMID,

    B.QUANTITY_DELIVERED PICKQTY

    MTL_TXN_REQUEST_HEADERS a,.

    MTL_TXN_REQUEST_LINES B

    WHERE A.HEADER_ID = B.HEADER_ID

    AND A.MOVE_ORDER_TYPE = 2

    AND "on" =: 1

    AND B.TO_SUBINVENTORY_CODE = NVL(:4,B.TO_SUBINVENTORY_CODE)

    AND A.request_number = NVL(:5,A.REQUEST_NUMBER)

    UNION ALL

    SELECT rownum LINENUM,

    a.wip_entity_id LINE_ID,

    a.INVENTORY_ITEM_ID INVITMID,

    a.QUANTITY_ISSUED PICKQTY

    WIP_REQUIREMENT_OPERATIONS has

    eam_work_orders_v b

    WHERE a.wip_entity_id = b.wip_entity_id

    AND "on" =: 2

    AND a.ATTRIBUTE2 = NVL(:4,a.ATTRIBUTE2)

    and b.wip_entity_name = NVL(:6,b.wip_entity_name)

    I need to dynamically pass a condition to my where clause that I can manage it by setting two binding settings in the query of vo and can pass it on but the problem is the connection variable contains a string like 1311,13112,14445 that I need to spend for a domain like B.line_id in the first query and b.wip_entity_id in the second query , so when I'm passing the string as a value it works fine, but it gives for value separetd by comma prob.

    so I tried passing dynamic where clause, but there is every time that the execution of the first clause only how can I dynamically pass both queries.

    vo.setWhereClause ("LINE_ID in" + wherclause);

    Please help me

    Thnaks

    Deb

    Hello

    Actually I'm passing the parameter to the basic page popup, so in page popup page and the base, I was using the VO even to run then, probably due to that he was running again for all data, so for the basic page I created a new VO and tried to pass the parameter like when clause for questioning now it runs very well Thank you for all your help

Maybe you are looking for

  • I want to search in the address bar

    I have the new firefox 43, when I type things in the bar recipient, my most used web sites pop up at the top and I press down arrow once and get the website, I want, but now article 1 is always the search option, I don't don't need or want it to be t

  • Using external triggering NI 5762, 7966R

    Hello We use the FlexRIO system to acquire and analyze data from the digitizer. To do this, we are triggering off an external source. I noticed that when you use this external trigger, the trigger for entry remains true for several clock cycles we ex

  • HP lj 6040

    Hi I m help hp color laser jet 6040 in my office but the past 2 days its works don't all speacially color is not clear brand new cartridge can somebody help me pls

  • Printer HP Vista. Slower is it credible suddenly

    I use a Toshiba Equium on Vista laptop, an HP F4180 printer.  None are new (obviously) and the printer worked fine in the past.  It has caused problems in the past months and I have updated drivers when HP Web site said to do.  It worked OK for basic

  • Windows mail asking for user id and password but get error they are incorrect. When I go directly to the e-mail provider web site I can connect fine.

    Windows mail password username error all of a sudden windows mail asking userid and password but get error they are incorrect.  When I go directly to the web site of the email provider, I can log in fine so I know that the username and password are c