How add/edit/remove UI Components (i.e. not text values) in a UIContainer according to the XML data by using mxml.

Hi all

Asked me to make a request to monitor a remote and data devices are accessed through XMLSocket, devices of remote system could be added/removed during execution. and the user Web interface must act accotdingly. What is the best way to approach to apply it? is it by using the mxml or action script? I've already implemented using mxml and may display devices in the Web for addiotion/deleting/editing dynamics of devices and its properties, I am looking for your input/suggestion.

Thanks in advance.

Hi Anthony,.

Set unique name to each of the UIComponents added to the container (default stage)

by using the name property of the components , you can get the object from the container to aid

container.getChildByName ("name assigned to the property") , this function will return as DisplayObject

The DisplayObject instance to the target conversion type for the class that you can Edit the object.

example:

var sp:Sprite = myContainer.getChildByName ("one") as Sprite;   Here I am reference sprite with the name "a" to "myContainer".

SP.x = SP.x + 10;  Here I am to change the property 'x' of the Sprite whose name is 'a '.

Note: Similarly, you can perform any operation on the sprite

Removal of UIComponent:

removeChild will serve to remove the child from the container where it is added

container. removeChild (container.getChildByName ("assigned to the property name"));

If this post answers your question or assistance, please mark it as such

Tags: Flex

Similar Questions

  • Win 2003 error - try to add and remove windows components I get this error. IIS.dll Setup library could not be loaded

    When you try to add and remove windows components I get this error. IIS.dll Setup library could not be loaded, or function OcEntry could not be found. code error 0x7e is on a system win 2003

    Hi MickRl,

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • "Add or Remove Programs ' opens but does not fill.

    original title: "ADD or REMOVE PROGRAMS ' opens but does not fill.

    I bought a rebuilt SONY DESK TOP and have used it for over a year and it ran ok. The unit was pre loaded with Windows XP Home Edition and it came not with a XP disc.

    Get the fixit . You may need to install powershell before running

  • How can I remove a program which will not move to trash?

    How can I remove a program which will not move to trash?

    What program? If she has an uninstall program, which allows to remove it.

  • How can I remove a racing line in a text box

    How can I remove a racing line in a text box.  I use a Windows PC.

    Fantastic that worked.  Thank you very much

    Concerning

    Miriam

  • How to edit pdf file (in indesign) without having to re-export then and redo all the fields of the form and formatting?

    How to edit pdf file (in indesign) without having to re-export then and redo all the fields of the form and formatting?

    Edit PDF files in InDesign is not a good idea. If the file was originally exported ID, then change the original and then create a new PDF file.

    Open an old, and then use the command replace Pages to insert the new pages on the 'old'. The fields that you have already created will remain in place when you do this.

  • R12 payment process Request Status Report add additional columns to the XML data.

    In 11i, we had modified the preliminary report of payment to include additional columns (distributions of invoice). R12, this report is obsolete and Oracle introduced a new report 'Payment process Request Status Report'. This query uses BI Publisher to generate the release of the final report. I can't edit the template for the output XML to the report has not
    contains data for distribution invoice account. We need to know how we can modify the XML data to include additional columns.

    For the disbursement of funds (payment instructions file) process, Oracle provides extensibility IBY_FD_EXTRACT_EXT_PUB package to build the custom XML element structure that can be added to the extracted XML payment generated by the Oracle payments. Do we have something similar to this report? Are there other options available?

    Thank you

    Hello

    The same "IBY_FD_EXTRACT_EXT_PUB" package also works for the payment request process status report. Please add the logic to get the distribution data in this package, and you'll see the new XML tags in this report also.

    I hope this helps.
    Serge

  • I just replaced my MB Pro with a MB Air. Air has less memory and will not support a full restore of files and the saved data. How to do a partial restore

    I just replaced my MB Pro with a MB Air. Air has less memory and will not support a full restore of files and the saved data. How to do a partial restore

    Do you still have the MBP? If so you can manually copy and paste the files you need.

    If you do not have the pro more, you need to buy a USB key and plug it into the MBA... use it as a target. Once you have a system file of the previous laptop again, you have to manually choose what to copy across.

  • How to keep the HTML text (i.e. Peragraph) according to the proportions?

    How to keep the HTML text (i.e. Peragraph) according to the proportions?

    Do not disturb (coming down / up) even a letter / word

    Do not disturb (coming down / up) even a letter / word

    Due to levels of zoom browser and personal user settings, there is no possible way to ensure an alignment of text on the web, unless you use images of the text.  Of course, this isn't an option because images of text cannot be indexed by search engines, screen readers or translators of language.

    Nancy O.

  • How to add or remove Windows components in Windows 7

    Can someone tell me where to go to install or remove components such as IIS or Telnet etc windows in windows 7

    Hello

    Open Control Panel, go to programs and select "Turn on or off Windows features" and uncheck Windows components, you do not need.

    André

    "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • How is - a removes all components of a project in Jdeveloper?

    Hi all

    I am new to using JDeveloper. I would like to know how to remove a JDeveloper project until the end. Even when I delete the project using the browser of the Application and then create another, earlier JDeveloper invites a warning that such file already exists and should he be crushed. This happens with xml and transformations, a little.
    I would like to delete all the components of the project. Is there a checklist when you remove?
    Once again, since I'm new to the forum, I hope I posted this in the right place and apologies if this sounds too basic.

    See you soon,.
    Saida.

    When you delete a JDeveloper project, you are really only to remove the reference to the definition file for the project (*.jpr) from the application definition file (*.jws). This means that even if you want to start over, maybe you want to keep certain files in the original project. If you really want to clean up everything, and then after you remove the project in JDeveloper, use normal file of your system (for example Windows Explorer) management tools to remove the project directory and everything what it. Use your version control for this do if the project or whatever it is that he is under version control.

  • Dates of the EXIF - how add/edit using exiv2... is there a better way?

    Hello world!

    INTRO: I'm new to Lightroom. I went through a few books and a lot of tutorial on lynda and youtube, so I feel very uncomfortable with the LR 5 import process. This post and the issue is a matter of pre-importation / organizational.

    I have more than 30,000 photos old, digitized (scanned) which dates back to the 1950s. Of course, most are taken with older, analog devices. They are now organized in folders by date.

    AIM: I want to import those pictures into LR and be able to find the dates of metadata (Capture Date & time).

    PROBLEM: Of course, scanned old (or even more recent manipulated) pictures often do not have the correct creation date of EXIF information. Worse, many (or most) of these old images don't even have a date field EXIF!

    What I've LEARNED: Immediately to use exiv2 file name or name file evix2 - pt indicates whether it is or is not info date for the photo. Otherwise, exiv2 - pt filename shows nothing. If there is a date field EXIF, it will be shown.

    For all these pictures with no date field, if I import them into Lightroom, there is of course no date information that is displayed in the Panel (by default or EXIF) metadata, and you can change the date (because the field is not there).

    If exiv2 - pt filename indicates the field of Exif.Image.DateTime, then in Lightroom, you will see the time of Capture and Date of Capture fields, and you will see an icon to the right of these dates, which allows you to change this date.

    Exiv2 - pt filename if no IS NOT this Exif.Image.DateTime field, you can ADD this domain by using the command line:

    "" exiv2 - M ' Exif.Image.DateTime 1965:01:25 15:45 Ascii value "file name (or whatever your time/date).

    Now, if you import this image in LR, you will find the fields Date of Capture and capture in metadata > default Panel... AND you can change them if necessary. In other words, the command above-M exiv2 added the date field EXIF than LR needs to search by date.

    WHAT is MY point of VIEW, AND WHAT the QUESTION is? I have no problem using exiv2 for add/edit an EXIF DateTime field creating a folder at a time prior to importation in LR. This will allow me to search on these date fields *.

    My question is this: is there an easier way?

    Surely there must be dozens (hundreds?) of thousands of photographers 'old' like me who have found old photos with incorrect fields EXIF creation date or missing the date on the ground completely (in which case, as I said earlier, can not be added/edited using LR, PS, FileMultiTool, Graphic Converter, etc..).

    I realize that I could look at images based on file names or file, or I could enter dates in tags, but these methods to find images are not nearly as practical the use of metadata. So, if I know that an image was taken in June 1962, then I would like to that metadata EXIF to have this info so that I can get on this subject. Have no field of EXIF date or have a date field that is incorrect is useless.

    I would love a LOT YOUR FEEDBACK! If there is a way easier or better, I'd love to help you! It is has so many photographers experienced on this forum, and more than probably a lot of them have old photos with the date fields incorrect or missing EXIF they brought in LR.

    Thank YOU! I'll appreciate really any help you can offer.

    David

    * there are other EXIF date fields that can be changed using exiv2: Exif.Photo.DateTimeOriginal , Exif.Photo.DateTimeDigitized , etc. But the main date that LR uses to search for files is described above.



    P.S. I also tried jhead-filename ds1965:01:25 (or whatever your date) to change the date. This only works IF there is already a date field this EXIF. Otherwise, jhead will report an error and not create a. Exiv2 - M will create the field.


    When I put the date and time for about 10 pictures, menu option assigned LR (seemingly random) time to each of them. Why LR do this? I can see perhaps compensate for each photo in 1 second (00, 01, 02,...), but simply assign random times makes no sense at all. At least in testing, I have just done, LR did not pass during the same amount, but totally affected times (randomly?) to each photo.

    Normally, when you change the time of the capture of several photos, LR shifts each picture the difference between the time that you register and the time of the most selected photo.

    I suspect you're tripping over a bug known to the LR with digital photos that are EXIF:DateTime but not EXIF:DateTimeOriginal.  In this case, LR indicates a time below the thumbnail, but uses the other for its internal capture time.  In this case, things can get very confusing.  The best way to clean, it's to make sure that all your photos are EXIF:DateTimeOriginal before you import it.

  • How can I remove a strange shadow after each text/image/icon? (with picture)

    After each image, icon, text, etc. I have a shadow after her. It is very annoying and I don't know how I got it. How can I remove this? Thank you!

    Hello FayKhan,

    Thanks for the quick response.

    I would recommend you try the troubleshooting steps below.

    1. press the keys Windows + R to open the Run dialog box type regeditand press ENTER.

    2. If prompted by UAC, then click Yes (Windows 7/8).

    3. in regedit, navigate to the location below.

    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced\\\

    4. in the right pane, double-click on ListviewShadow.

    5. to not ""shadows fall to use the desktop icon labels " "

    6. close regedit.

    7 close the session and log on, or restart the computer to apply the changes.

    Note:

    This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    You can use the following link to back up and restore the registry in Windows: http://support.microsoft.com/kb/322756/

    We know the results.

  • How can I remove albums that I did not create

    I have now 5 albums on my phone all have the same pictures, how I can remove some of these albums

    If the albums have been synced from your computer using iTunes, you will need to reverse the process and perform a synchronization with no selected albums. They cannot be deleted directly from the phone.

    I had a problem where the additional albums are created automatically with a new update to iOS and removes the above procedure.

  • I am trying to remove turbo tax 2008 add and remove programs, and it does not alter

    I am trying to remove a program with add and remove and it does not alter

    Try this tool.

    Revo Uninstaller
    http://download.CNET.com/Revo-Uninstaller/3000-2096_4-10687648.html

Maybe you are looking for

  • Cannot restore my Satellite C660-1ZM

    Hello I hope you can help me. Currently, I used the boot on my laptop recovery mode, as my laptop computer had been infected by somesort of malware, which slows my laptop down, making it unusable, it's why I turned to recovery, after I did the restor

  • Satellite P300 - question about HARD Disk Partition

    Hello. I just bought a P300-1 Satellite has very nice portable 8. Everything has been restored to the original state. The thing is, I'm sure someone has resized the partition of HARD drive on the disk "D". It has a 160 GB hard drive, but the "D" driv

  • Where can I find the line start/run in the box start Windows

    I want to use the Msconfig function but cannot find the start/run line in which to enter.  When I hit the start icon (the microsoft logo), it is not clear.  I'm looking in the wrong place.  If this is the right place where it appears.  If this is not

  • Strangeness of IPsec

    Hello guys,. I just set up an IPsec Site to Site VPN on the following topology in GNS3: IPSec.jpg All configs are OK on both routers and ping test show that the VPN tunnel works correctly. My question would be, why routers use policies automatic conf

  • Not understood

    explain plan for select student s.*from s, class c where s.id = 1 and s.class_id = c.idSelect * from table (dbms_xplan.display)Hash value of plan: 644178906---------------------------------------------------------------------------------------------|