How can I load images without XML, please?

Hello Everyone,
I would highly appreciate it if someone can point me into the right direction. I have some AS2 code which loads up the images via an xml file. I have been asked to eliminate XML entirely and have images be loaded from with in the library. Aside from images, there are other xml nodes such as:
image_name, image_description and such.
What would be the best way going about eliminating the XML and getting the code to load images and other related info from the library. I would highly appreciate your help on this, please.
Thanks a lot.

create arrays that contain the same info as the xml.
p.s.  and, you'll use attachMovie() instead of loadMovie().

Similar Messages

  • How can i load Client side XML file to Table

    Hi,
    How can i load the all the XML files (near 10,000 files) available in client machine to the XML table .
    I did try with directrory list in the Webutility demo form, but when the number of file is near to 1,500 its giving error.
    Please suggest the best method to implement my requirements.
    1. XML fies are in a folder in end users machine(Windows OS)
    2. I need to load all the XML files to table (Oracle Database is in Unix)
    I am using forms 10g
    Thanks in advance.
    Rizly

    Hi,
    What is the error you are getting when you reach 1,500 records? Can you post it? You mentioned you are using the webutil to load them. How you are loading? From the client machine you are loading to the database directly? Can you post the code you are using for that?
    -Arun

  • How can i find uuid without itunes please

    how can i find uuid without itunes please

    create arrays that contain the same info as the xml.
    p.s.  and, you'll use attachMovie() instead of loadMovie().

  • How can we load apps without creating an Apple ID for each employee?

    We have at least two apps that we'd like to distribute to our company iPads.  We would like to hand the employee the iPad with everything loaded.  We don't care if they create their own Apple ID and manage it after the fact but when the employee gets the iPad, it should have the apps they require.
    How do we load these apps without creating an Apple ID for each employee?  If we load the apps from App Store with our Apple ID, the app requires that username and password whenever there is an update.  The employee can not update the app without our username and password or they have to delete and reinstall the app with their own credentials.  Is there a way to load an app so that it doesn't require the credentials of the person that loaded it whenever there's an update?

    Turn on computer.
    Open itunes.
    Connect a device.
    Select what you want to sync.
    Sync
    Repeat for the otehr device

  • How do I MOVE images WITHOUT COPYING, please?....

    In Aperture 3.5.1 on Mac OS 10.9.1 and I have no accounts such as Flickr or Facebook listed in Aperture Account Preferences.
    Project A has no Albums and Project B has various Albums containing images which were directly imported from camera...
    I wish to MOVE only (not copy) some image/images from Project B's individual Albums to Project A.
    If I drag-n-drop the image, Aperture only creates a copy in the new destination. I don't want so much duplication.
    I have looked in the Help docs but cannot see an answer to my particular question, so I'm here.
    Any help appreciated.
    Many Thanks,
    Robin

    This is one of the places where Apple has disingenuously presented Aperture.  It _is_ confusing.
    Somewhat counter-intuitively, Albums (but not Smart Albums, which are different creatures in one important way) are always independent of Projects.
    The position of an Album in the Library Inspector is, in terms of your data, meaningless.  You can move any Album anywhere in the Library structure shown in the Library Inspector, and, other than where it is shown to you in the Inspector, nothing is changed.  Album location has no bearing on Album content or on Project content.
    (It may help to quickly review the parts of Aperture and how they inter-relate.)
    As such, even though you may organize the containers in your Library in the Library Inspector so that Albums are shown as children of Projects, they have no relationship to any Project.  (Selecting a Project will not show you the contents of any Albums that are children of that Project.  Moving an Album that is a child of a Project to be a child of another Project in no way changes the contents of either of the Projects or of the Album.  And so on.)
    I emphasize the above so that we can remove "Project" from your question, which becomes simple: how to move (not copy) an Image from one Album to another Album.
    As Ernie has pointed out, this cannot be done in a single action.  (I don't know why.)  You must copy the Image into the second Album, and then remove it from the first Album.
    I find it helpful to have two Browsers open when comparing containers and moving Images.  After selecting on of your Albums, hold down "{Option}" while selected the other one.  You can't drag images between the Browsers, but the container names are easy to find because they are highlighted in the Library Inspector, and you can drag images and drop them on the container name in the Inspector.
    HTH,
    --Kirby.

  • I have "Load Images Automatically" disabled. How can I load images for ONLY the page I am currently viewing?

    I have intentionally disabled "Load Images Automatically" so that it is easier to view my desktop remotely via VNC or Remote Desktop. Animations and other graphics kill the performance of these remote viewing apps. However, when I reach a desired web page (the one I really intend to read in full), I want to load all the images ***for that page only***.

    I don't think Firefox has that features. It views loading images as a permissions issues toggled on a site-by-site basis rather than a performance issue toggled on a page-by-page basis.
    Maybe an add-on would give you a better balance of features? These two popped up in a quick search:
    [https://addons.mozilla.org/en-US/firefox/addon/image-block/ Image Block :: Add-ons for Firefox]
    [https://addons.mozilla.org/en-US/firefox/addon/imglikeopera/ ImgLikeOpera :: Add-ons for Firefox]
    If you try either of these, let us know what you think.

  • How can I load the selected XML File (Selected from a Listview) into the correct Textboxes?

    Right, so I have a windowsform with lots of Textboxes, where the user can type in Information, and then hit "Save", once its saved it goes into a sortof XML Format 
    <?xml version="1.0" encoding="utf-8"?>
    <!--Database-->
    <Case>
      <Person>l<Driver></Driver><License-Holder></License-Holder><Address></Address><Phone></Phone><Date-of-Birth></Date-of-Birth><Registration></Registration>
    Like that.
    Now, on my Startup Form (The main form) there is a Listview that I gave the name Objectlist1. This list displays ANY file located in a specific folder on my computer. This is also where the Saved files appear.
    The list also updates every 5th second so after you save it appears quickly.
    Now, the Files are saved using the content or Value of the first Textbox:
    Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Firsttextbox.Text, settings)
    So it appears in the folder and on the list with the value inserted in the first Textbox.
    My problem comes when I want to load this back (Or reverse the function if you will)
    Where I can go to the Objectlist1/Listview, either doubleclick a file or Mark a file, and hit my button "Retrieve"
    I want the Form where you could input all the values to show - which it does
    And the information from the XML/File saved to appear where it once was typed or inserted.
    Here is an example of the code used to save the values from the Textboxes;
    Private Sub Savebutton_Click(sender As Object, e As EventArgs) Handles Savebutton.Click
            If IO.File.Exists(Pholderbox.Text) = False Then
                Dim settings As New XmlWriterSettings()
                settings.Indent = True
                Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Pholderbox.Text, settings)
                With XmlWrt
                    ' Write the Xml declaration.
                    .WriteStartDocument()
                    ' CLIENT
                    ' Write a comment.
                    .WriteComment("Database")
                    ' Write the root element.
                    .WriteStartElement("Case")
                    ' Start our first person.
                    .WriteStartElement("Person")
                    .WriteString(Textbox1.Text)
                    ' The person nodes.
                    .WriteStartElement("Driver")
                    .WriteString(Textbox2.Text)
                    .WriteEndElement()
    I've tried multiple codesamples but they all give either "XML Not found" or such Overloads.
    This is the current code I used when trying to make it work
    Private Function ReadSettingsXML(ByVal path As String) As MySettings # On Debug It marks here and tells me it wasn't found.
            Dim thisSettingsInfo As New MySettings
            If My.Computer.FileSystem.FileExists(Objectlist1.SelectedItems.ToString) Then
                Dim settingsInfo = XElement.Load(Objectlist1.SelectedItems.ToString)
                If settingsInfo IsNot Nothing Then
                    For Each mainGroup As XElement In settingsInfo.Elements
                        If mainGroup.Name = "<Database>" AndAlso mainGroup.HasElements Then
                            For Each subGroup As XElement In mainGroup.Elements
                                If subGroup.Name = "<Person>" Then
                                    thisSettingsInfo.Textbox1 = subGroup.Value
                                ElseIf subGroup.Name = "<Driver>" Then
                                    thisSettingsInfo.Textbox2 = subGroup.Value
                                ElseIf subGroup.Name = "<Address>" Then
                                    thisSettingsInfo.Textbox3 = subGroup.Value
                                End If
                            Next
                        End If
                    Next
                Else
                    thisSettingsInfo = Nothing
                    Throw New Exception("The settings XML file is corrupt and cannot be read.")
                End If
            Else
                thisSettingsInfo = Nothing
                Throw New Exception("The settings XML file could not be located.")
            End If
            Return thisSettingsInfo
        End Function
        Private Sub LoadXML_Click(sender As Object, e As EventArgs) Handles LoadXML.Click
            Dim settings As New MySettings
            settings = ReadSettingsXML(Objectlist1.SelectedItems.ToString)
            If settings IsNot Nothing Then
                Dim sb As New System.Text.StringBuilder
                With settings
                    Caseworker.Textbox1.Text = .Person
                    Caseworker.Textbox2.Text = .Driver
                    Caseworker.Textbox3.Text = .Address
                End With
            End If
        End Sub
    Also, the "Caseworker" is the form where all the textboxes are located.
    Been stuck on this for two working days, so any help is highly appreciated 
    Codesamples are also highly welcome so I can see what the heck you did and find and answer to my problems.

    I found a code that might be close to what I'm looking, but as of this code used here, it looks for a static document that already exist and is located in the code.
    See this one here, checks for the XML file, and since I can't link one program to 1 file, when its gonna have and use 100's of files.
            If (IO.File.Exists("MyXML.xml")) Then
                Same here with the static document.
                Dim document As XmlReader = New XmlTextReader("MyXML.xml")
                While (document.Read())
                    Dim type = document.NodeType
                    'if node type was element
                    If (type = XmlNodeType.Element) Then
                        If (document.Name = "FirstName") Then
                            TextBox1.Text = document.ReadInnerXml.ToString()
                        End If
                        If (document.Name = "LastName") Then
                            TextBox2.Text = document.ReadInnerXml.ToString()
                        End If
                    End If
                End While
    Am I at least close here, people? 
    Can anyone help with the now critical issue I got?
    I basically need to change these two;
     If (IO.File.Exists("MyXML.xml")) Then
                Same here with the static document.
                Dim document As XmlReader = New XmlTextReader("MyXML.xml")
    To whatever value, so they read from the file SELECTED in my Listview
    Cos the program saves files according to the info inserted in textboxes, so it can have whatever name you can think of, I need the program to "find and load" that file, once its selected, and then once I hit Retrieve or LOAD or whatever button, it
    injects the info from the File to the correct Textboxes.
    And I think this will work to get the info in the right boxes;
     If (document.Name = "FirstName") Then
                            TextBox1.Text = document.ReadInnerXml.ToString()
                        End If
                        If (document.Name = "LastName") Then
                            TextBox2.Text = document.ReadInnerXml.ToString()
    Any good advise? I'm stranded here.

  • How can I Load Real-Time XML into SWF

    Hi,
    I am a newbie and I need to load data from an XML file but the data is changed constantly. Is there a way to have the SWF refresh instead of caching the XML content at the first load.
    My current code is as following:
    var index:Number = 0;
    var myxml:XML = new XML();
    myxml.ignoreWhite = true;
    myxml.onLoad = function(success:Boolean):Void{
              loadData();
              setInterval(loadData, 3000);
    function loadData(){
              var messages:XMLNode = myxml.firstChild;
              if(index >= messages.childNodes.length)
                        index = 0;
              var my_message:XMLNode = messages.childNodes[index];
              _root.status_1.htmlText = my_message.childNodes[0].firstChild.nodeValue;
              _root.status_2.htmlText = my_message.childNodes[1].firstChild.nodeValue;
              _root.status_3.htmlText = my_message.childNodes[2].firstChild.nodeValue;
              _root.status_4.htmlText = my_message.childNodes[3].firstChild.nodeValue;
              _root.status_5.htmlText = my_message.childNodes[4].firstChild.nodeValue;
              _root.status_6.htmlText = my_message.childNodes[5].firstChild.nodeValue;
                index++;
    myxml.load("data.xml");
    BTW: the XML is going to be on a remote site.
    Thanks

    you can append a changing varialbe to the data.xml file name to prevent cache retrieval and you can use a loop to periodically load the data but your biggest issue will be loading a cross-domain xml file.  you will need to add cross-domain policy files to the xml hosting site or use a server-side file to serve as a gateway between your swf and the xml file.

  • How can I resample image without losing quality?

    I have an image which is 1200 x 800 at 72 pixels per inch
    Now it is needed on a webpage so it needs to be small - I am told the image has to be 300 x 200
    I want to maintain the quality.....
    SO......
    I get the original image: thus...
    I then bring up the image resize dialog which shows:
    I change the values so that the image dimensions are changed to 300 x 200 thus:
    1200 changed to 300 - this changed the 800 to 200 for me... pressed OK
    The resultant image is now:
    Looks awful - What am I doing wrong?
    Thank you in advance.
    Terry

    Any time you interpolate an image you will lose some image quality. For you either reduce the details you have for an image or your creating details you don't have for the image. The image you started with had better quality but that image no longer exist you have a new image now.
    The size change and direction has a lot to do with how much the quality change is.  If you throw away a lot of detail the smaller resized image my look very good on a display.  However  you resize a small web image to a 16" x 20" 300dpi print image it will not look good.
    If the image has been sharpened using Bicubic Automatic or bicubic sharper is not a good interpolation method when downsizing for the web. Still there is just so much detail you can retain in 300x200 pixels.

  • How can we load images from database to macromedia flash?

    Dear All,
    Actually I'm creating a intractive CD with images(Catalogue)
    loaded in access db. I don't want every user to install the program
    into his pc. When he/she inserts cd it should play and display
    images by category wise (9 pictures at one time). is there flash or
    vb code to acheive this in flash or any flash sample projects
    highly appreciated.
    Thanks a lot

    Hello
    You should look into the option of Retraction from BW to ECC. You may find a lot of docs on the same. Refer the below link for the same
    https://scn.sap.com/thread/1008067
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90cd1106-21b4-2d10-0695-9b1e076191eb?QuickLink=index&overridelayout=true
    Regards
    Gajesh

  • How can i load a big xml data using sql loader into oracle

    hi,
    I have a large xml about 5M at c:\temp and interested to load it in an oracle table with the following structure:
    emp
    empno  number(10),
    ename varchar2(250),
    sal number(15)i am new with xml database
    Best Regards,

    hi,
    when i am trying to follow the steps then getting following error:
    any help will be greatly appreciated:
           SELECT * FROM v$version;
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE     10.2.0.1.0     Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    DROP directory xmlstore;
    Directory dropped.
    my xml file:
    < ?xml version="1.0" encoding="UTF-8"?>
    <root>
      <id>0</id>
      <info>
        <info_id>0</info_id>
        <info_content>Text</info_content>
      </info>
    </root>
    CREATE directory xmlstore11 AS 'c:\temp';
    Directory created.
    CREATE TABLE test
        (xmldata xmltype);
    TABLE created.
    INSERT INTO test
        VALUES
        (XMLTYPE(bfilename('XMLSTORE11','info.xml'),NLS_CHARSET_ID('AL32UTF8')));
    received error is as follow:
        Error starting at line 24 in command:
    INSERT INTO test
        VALUES
        (XMLTYPE(bfilename('XMLSTORE11','info.xml'),NLS_CHARSET_ID('AL32UTF8')))
    Error report:
    SQL Error: ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00231: invalid character 32 (' ') found in a Name or Nmtoken
    Error at line 1
    ORA-06512: at "SYS.XMLTYPE", line 295
    ORA-06512: at line 1
    31011. 00000 -  "XML parsing failed"
    *Cause:    XML parser returned an error while trying to parse the document.
    *Action:   Check if the document to be parsed is valid.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I'm having multiple crashes on my new 5s. I can't connect to my Mac Pro!! Power cord broken. How can I fix this without connecting to my MacBook? Very frustrating and disappointing. Please help!!!

    I'm having multiple crashes on my new 5s. I can't connect to my Mac Pro!! Power cord broken. How can I fix this without connecting to my MacBook? Very frustrating and disappointing. Please help!!!

    Hi there Rlong50,
    You may want to try force closing all open apps and resetting the device as an initial troubleshooting step. Take a look at the articles below for more information.
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    -Griff W.

  • I was accidentally deleted pictures last week in my ipad mini. How can I restore them without any back up (icloud, itunes, etc)? Please help me.. Thank you

    I was accidentally deleted pictures last week in my ipad mini. How can I restore them without any back up (icloud, itunes, etc)? Please help me.. Thank you

    iPad Photo Recovery: How to Recover Deleted Photos
    http://www.iskysoft.com/iphone-data-recovery-mac/ipad-photo-recovery.html
    How to Restore Lost or Deleted Files from iPad
    http://www.iphone-ipad-recovery.com/recover-ipad-mini-files.html
    How to Recover Deleted Files from iPad
    http://www.kvisoft.com/tutorials/recover-deleted-files-from-ipad.html
    iSkysoft Free iPhone Data Recovery
    http://www.iskysoft.com/iphone-data-recovery/
    Recover iPhone/iPad/iPod touch lost data, Free.
    Free recover iPhone/iPad/iPod touch lost contacts, photos, videos, notes, call logs and more
    Recover data directly from iPhone or from iTunes backup
    Preview and recover lost iOS data with original quality
    Wondershare Dr.Fone for iOS
    http://www.wondershare.net/data-recovery/iphone-data-recovery.html?gclid=CJT7i9e 6gb4CFcvm7AodbUEAJQ
    Recover contacts, messages, photos, videos, notes, call history, calendars, voicemail, voice memos, reminders, bookmarks and other documents.
     Cheers, Tom

  • How to load images using xml in flash

    Hi
    im working on a quiz project where i plan to load images using xml in to flash, can any one help with the script with AS2 or 3

    You'll find a tutorial for what you are after here:
    http://www.gotoandlearn.com/play?id=22

  • How can I load a CMYK jpeg image

    How can I load a CMYK jpeg image (originally saved from Photoshop) and then
    turn it into an rgb BufferedImage, in order to display it on screen in an
    applet?
    I first tried ImageIO.read(), but that does not work for cmyk jpegs. I then
    looked into the com.sun.image.codec.jpeg package, and tried methods like
    decodeAsBufferedImage() and decodeAsRaster().
    The first one (decodeAsBufferedImage) returned an image, but it seems that
    it was interpreted as an ARGB, and the colors were incorrect.
    I then read the documentation which (amongst many other things) stated that
    "If the user needs better control over conversion, the user must request the
    data as a Raster and handle the conversion of the image data themselves."
    This made sense, so I took to decodeAsRaster(), only to find that I could
    not figure out how to carry out the desired conversion.
    Of course, I have looked into the documentation for BufferedImage, Raster,
    ColorModel, ColorSpace etc, but after a while I was lost. (Before I got lost
    I read that you can convert images with the help of methods like toRGB,
    toCIEXYZ.)
    I have a feeling that this is probably pretty simple if you just know how to
    do it, but I sure would need some directions here.
    Any help would be appreciated. Thanks.

    You can either use the "Place" command from the main menu, under "File", or you can just open it, select the move tool "V", the click in the image and drag it to the other file's tab.

Maybe you are looking for

  • Load swf with button

    Hello! I have this code which I got to work when I only had 2 buttons. Then when I added 3 more for a total of 5 the movie broke. I thought I had it. Can anyone see anything missing?? Basically there are 5 buttons on stage and when you click each one

  • Wlan connection slow

    Hi, since a few days I have big problems with the WLAN-connection of my late 2011 13" Macbook Pro that leads to very slow Intenet Connections and Slow SMB-Server access. In Detail: If I will open a Webpage it will take 50 times longer then from my iP

  • Apex Migration

    Hi Team. We have this  APEX setup 1. DB 10.2.0.1 - Enterprise Edition 2. Apex 3.2.1 3. RHEL 4 Now we plan to move from Enterprise edtion DB to SE1 DB version . So wanted some help , how should be going about doing this migration Will this plan work 1

  • Share saved interactive reports

    Hi, does anyone found a way of sharing saved interactive reports ? i'm using version 3.1.2. Thanks, Chantale

  • Multidimensional Array Sort

    Please help. I am very new to java and trying to build a multidimensional array. I have two variables 1)item_name and 2)item_value. These are values that I obtain by looping through a database result set. I need to build and array that can hold these