Xml href question

hello........i have been researching this for a while now and
still can't get it to work. does anyone know how to make an <a
href> tag work in an xml file? I have a photo gallery flash file
that is referencing this xml file:
</image>
<image>
<pic>images/image_2.jpg</pic>
<thumb>images/thumb_2.jpg</thumb>
<title>Project 2</title>
<desc>whatever text</desc>
</image>
i tried placing this code <![CDATA[ <a
href="www.google.com" target="blank">google</a>]]> in
the <desc> tag. it did not work.
does anyone know what exactly needs to go into the xml file
and the flash actionscript to make this work? any help is greatly
appreciated. i am at a loss. thanks.

quote:
Originally posted by:
Newsgroup User
I threw this together and it works. You might want to compare
it with your
code. Few things to note:
1. txtLoadText.html=true
2. Assign the listener to the XML object before loading the
xml file.
3. Consider using the more elegant XPathAPI to retrieve
nodes.
data.xml:
<?xml version="1.0" ?>
<image>
<pic>images/image_1.jpg</pic>
<thumb>images/thumb_1.jpg</thumb>
<title>Project 1</title>
<desc><![CDATA[<a href='
http://www.adobe.com'
target='_blank'>CLICK
ME</a> ]]></desc>
</image>
// FLA with one instance of TextField named txtLoadText
// frame 1
stop();
//XML data
var LoadedFileSize:Number = 0; //Size of loaded data
var TotalFileSize:Number = 0; //Total file size
var PercentageFileSize:Number = 0; //Percentage =
(Loaded/Total) * 100
//Movie
var LoadedMovieSize:Number = 0; //Size of loaded data
var TotalMovieSize:Number = 0; //Total file size
var PercentageMovieSize:Number = 0; //Percentage =
(Loaded/Total) * 100
var Percentage:Number = 0;
txtLoadText.html=true;
//Set the preloader text
txtLoadText.htmlText = "loading data... " + Percentage + "%";
var xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
//Function called on XML data load completion
function loadXML(loaded:Boolean) {
if (loaded) {
txtLoadText.htmlText =
this.firstChild.childNodes[3].firstChild.nodeValue;
else {
txtLoadText.htmlText = "XML file failed to load!";
xmlData.load("data.xml");
This worked. The link is functioning properly in the
<desc> tag but now it does not want to load the thumbs or
images?? The <title> does not show up either. Any
thoughts?

Similar Messages

  • Xml pdf questions

    Trying to create a pdf from xml using asp<br /><br />I created the following code.  The form appears without the field being populated.  I went into designer pull up the pdf added some data and tried<br />to export the data as xml and xdp.  The xml shows with no data. Trie to open xdp its say unable to locate template.<br /><br />Is this xml correct?  (this is being used in designer to perform the <br />binding<br /><?xml version="1.0" encoding="UTF-8"?><br /><TextField1><value>Howard</value></TextField1><br /><br />After I have binded the field<br /><br />I use the following asp to display the pdf with<br />the one field filled in.<br /><br />Is this xml correct?<br /><br /><%<br />Response.ContentType = "application/vnd.adobe.xdp+xml"<br />response.write   "<?xml version='1.0' encoding='UTF-8'?>"<br />response.write  "<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>"<br />response.write  "<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>"<br />response.write  "<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>"<br />response.write  "<xfa:data xfa:dataNode='dataGroup'>" <br />response.write  "<form><TextField1><value><text>Howard</text></value></TextField1></form>"<br />response.write  "</xfa:data>" <br />response.write  "</xfa:datasets>"<br />response.write  "<pdf href='http://159.83.96.138/prod/myFirstShot.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />"<br />response.write  "<xfdf xmlns='http://ns.adobe.com/xfdf/' xml:space='preserve'>" <br />response.write  "<annots/>" <br />response.write  "</xfdf>" <br />response.write  "</xdp:xdp>" <br />Response.Flush <br />Response.End <br />             <br />%>

    I can't answer directly, but when discussing a specialized tool, you might also read/ask here
    Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_sdk
    It may be that a developer can answer your questions about "why"

  • Basic  XML Publisher Question: How to access tags in the higher levels?

    Hi All,
    We have a basic question in XML Publisher.
    We have a xml hierarchy like below:
    <CD_CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 1</CAT_NAME>
    <CD>
    <TITLE>TITLE1 </TITLE>
    <ARTIST>ARTIST1 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE2</TITLE>
    <ARTIST>ARTIST2 </ARTIST>
    </CD>
    </CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 2</CAT_NAME>
    <CD>
    <TITLE>TITLE3 </TITLE>
    <ARTIST>ARTIST3 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE4</TITLE>
    <ARTIST>ARTIST4 </ARTIST>
    </CD>
    </CATALOG>
    </CD_CATALOG>
    We need to create a report like below:
    CATALOG_NAME     CD_TITLE     CD_ARTISTCATALOG 1     TITLE1     ARTIST1
    CATALOG 1     TITLE2     ARTIST2
    CATALOG 2     TITLE3     ARTIST3
    CATALOG 2     TITLE4     ARTIST4
    So we have to loop at the level of <CD> using for-each CD. But when we are inside this loop, we cannot access the value of CAT_NAME which is at a higher level.
    How can we solve this?
    Right now, we are using the work-around of set_variable and get_Variable. We are setting the value of CAT_NAME inside an outer loop, and using it inside the inner loop using get_variable.
    Is this the proper way to do this or are there better ways to do this? We are running into troubles when the data is inside tables.

    you can use
    <?../CAT_NAME?>copy past to your template
    <?for-each:CD?> <?../CAT_NAME?> <?TITLE?> <?ARTIST?> <?end for-each?>

  • XML PUBLISHER Questions

    Hi All,
    Following questions restrict to use of functionalities of XMLP:
    1. What could be functionality of Delivery manager of XMLP?
    2. How could process Delivery manager an user request?
    3. Delivery manager is full of Java API’s that means apps developer must know java. Am I correct? If it is Yes, what are java concepts need know so that developer can do his job successfully?
    4. What could be sub-template concept in XMLP? Please give one practical scenario.
    5. One scenario: I want generate group of invoices in PDF format and each invoice must generate in fresh page.
    XML Input to Template: Report output (output format in XML)
    Input parameters: Customer or Print date (i.e. all invoices of specified customer should populate)
    I could not able to generate each invoice in fresh page. Is it possible through XMLP?
    6. XSL: is language and used for transformation i.e. one form document to another form document (xml =>XHTML) am I correct?
    7. When do we go for XSL implementation in XMLP? Please provide example.
    8. Where do we write XSL code in template? Assume template I am using RTF form field method.
    Any help would appreciate.
    Thanks,
    [email protected]
    Date: 13-Aug-07.
    Hi All,
    What could be the difference between delivery manager and Document Processor engine?
    Could we use both for deliver XMLP documents to different Delivery channels?
    Thanks,
    [email protected]
    Message was edited by:
    user553699

    Hi All,
    I am also facing new problem while i am going to register template in following environment:
    Oracle applications version: 11.5.10.2
    XML publisher Version: 5.0.0
    My file size: 65 KB with out image
    363 KB with company logo
    The RTF used English language characters and want to register for English – USA
    My RTF template works fine in preview mode in Word. I go to upload it via XML Publisher Adminstator and I get a screen that just says "You have encountered an unexpected error. Please contact the System Administrator for assistance."
    What? The only option is Log out. Is there a way to validate my template to know what could possibly be wrong with it?
    Please let me know if any other information require about RTF template.
    Any help would appreciate.
    Thanks,
    Sai.Krishna @cavaya.com
    P.S: I do not know how to attach file in forum. please give me information how to attach file form so that i can attach RTF file.

  • XML/XSLT question

    At the moment my java servlet just takes content from an ArrayList and populates html blocks that get concatenated and thrown to the client as a html page. This is not the best way to do things because the java code and html vocabulary is interspersed.
    In a bid to seperate the presentation(html code) from the logic(java code) I am turning to XSLT. From my research this takes as input an XML file that contains the content. But how do you insert the content? Is there a standard way? When the tranformation from XML to html is complete, how do you hand back the resulting html page within the java application? Thanks in advance.

    One solution would be to use a JSP. It can retrieve the ArrayList from the Servlet and use it to build HTML. At least that way the mixture of HTML and Java is minimized in the source form. (Behind the scenes, the JSP is turned into a Servlet, so the mixture is still there, it is just not as visible.)
    Another choice is to use DOM or JDOM to create the Html content using Element objects to create tags. The main advantage of that over doing "
    ...out.println( "<h1>...</h1>);
    is that it makes sure the closing tags match, and empty tags are properly coded.
    In answer to your direct question, there is no standard for how to code data into XML so you can run an XSLT transform to convert it into HTML. It also mixes Java logic and XML in the same file. You need to choose your poison.
    Dave Patterson

  • XML Schema questions

    Question 1:
    If I have a many to many relationship that I want to display within multiple tables.  Is there a straightforward way to bind that?
    An example would be an automobile that use similar parts (seats etc).  I dont think livecycle supports keys
    So the xml looks like
    <orderCatalog>
      <automobile>
         <modelNumber>auto1</modelNumber>
          ... year etc
      </automobile>
      <part>
             <partNo>part1</partNo>
      </part>
       <joinAutoPart>
              <modelNumber>auto1</modelNumber>
              <partNo>part1</partNo>
       </joinAutoPart>
    </orderCatalog>
    I would like to point this to
    Subform pointing to joinAutoPart
    Header field pointing to automobile (with model number and name)
    Table with part information pointing to partNo (with partName and partNo and price)
    That way I would have a table per automobile with all of the individual parts listed
    Question 2:
    Can reader load an xml file over the internet by pressing a button like loadXML?
    Question 3: non xml related
    Is there a way to save a link from a table row to another table row
    Using the above example if I had multiple auto tables with multiple parts.  The user selects a part which I add to an order table.
    I would like to highlight that field showing they have ordered the part and grey out the button.
    However, if they remove the item from their order I would like to add it back without having to search every field in every table to find the part number.

    Thanks again for the response.
    Q1: If I have a join table - given that I have a many - to - many relation with multiple autos and multiple parts
    How do I connect the partNo to the description in the table from the xml
    If I create a table that I want to have
    <orderCatalog>
      <automobile>
         <modelNumber>auto1</modelNumber>
         <modelName>Mustang</modelName>
          ... year etc
      </automobile>
      <part>
             <partNo>part1</partNo>
             <partName>Headrest</partName>
      </part>
       <joinAutoPart>
              <modelNumber>auto1</modelNumber>
              <partNo>part1</partNo>
       </joinAutoPart>
    </orderCatalog>
    Automobile Model #,  Make, ....
    PartNo |  Part Description | Order Button
    I can bind joinAutoPart table to the Automobile header, but how to I convert that to a text Model Name vs a number
    I can join PartNo to the entries of a table, but can I fill the descriptions of each
    I want to do select partdescription, colorOptions, etc from partTable where PartNo = part1 then use those values - using binding or xml syntax
    I can reform the xml from my data to be the following, but this requires a lot of duplicate data and is very error prone to have one part name or number that is one off
    <automobile>
        <partList>
             <part>
                     <partNumber>part1<partNumber>
                     <partName>partName</partName>
             </part>
        </partList>
    </automobile>
    Q2: ok
    Ideally, I would like to have a dropdown box where the user selects say a  model name.  Then it builds a list of tables from an xml file - so there are a few common tables - like t-shirts, coffee cups etc that would show up on every form and the rest are dynamic.
    For ODBC, am I correct in thinking that the link has to be established at the client to the server outside of reader before a connection can be made within reader?
    Q3:  I am doing the add programatically, but if I have a part number from a built xml with many tables - is there a way to identify which table it is coming from?
    I don't on the order form have  | ModelNumber | PartNumber, so I don't have an easy way to reference back. And if I did I would still have to do multiple linear searches.  I assume the performance wouldn't be too bad, but it is not pretty.
    i = 0;
    j=0;
    while(i < (ModelTableForm.count-1))
       if (xyz.resolveNode("foo[" + i + "]").modelNumberField.rawValue == modelNumber)
              j = 0;
             while(j< (abc.resolveNode("bar[" + i + "]").count-1))
                 if(abc.resolveNode("bar[" + i + "]").partNumberField.rawValue == partNo)
                         abc.resolveNode("bar[" + i + "]").addButton.prescence="visible"
       i++;
    I was hoping for an extra field or way to extend the row object I could add referringNode or something to that effect and just say OrderRow.refferingNode.button.presence = "visible"
    I think I found one way to get around this.  I think I can create 0 width colums for indexes to the tables
    That way I could say  xyz.resolveNode("foo[" + modelIndex + "]").abc.resolveNode("bar[" + partIndex + "]")

  • XML/XPath question--how to select a range of elements with XPath?

    Hi there,
    I have an XML DOM in memory. I need to do hold it and issue only parts of it to my client app in "pages". Each page would be a self-contained XML doc, but would be a subset of the original doc. So for instance the first page is top-level elements 1-5. 2nd page would be 6-10 etc. Is this solution best solved with XPath? If not, what's the best way? If so, I have the following question:
    Is there a way to use XPath to select a range of nodes based on position within the document? I know I can do an XPath query that will return a single Node based on position. So for example if I wanted the first node in some XML Book Catalog I could do XPathAPI.selectSingleNode(doc, "/Catalog/Book[position()=1]"); I could wrap the previous call in a loop, replacing the numeric literal each time, but that seems horribly inefficient.
    Any ideas? Thanks much in advance!
    Toby Buckley

    Your question is about marking a range of cells. 99% of the code posted has nothing to do with this. If you want to create a simple table for test purposes then just do:
    JTable table = new JTable(10, 5);
    JScrollPane scrollPane = new JScrollPane( table );
    getContentPane().add( scrollPane );
    In three line of code you have a simple demo program.
    When I leave the mouse button again, these bunch/range of cells shall stay "marked". table.setCellSelectionEnabled( true );
    and I'd like to obtain, say, a vector of a vector containing just those data marked beforeUse the getSelectedRows() and getSelectedColumns() methods for this information. I would suggest you create a Point object to reflect the row/column position and then add the point to an ArrayList.

  • An XML design question.

    I have read the tomcat-users.xml file.
    <?xml version='1.0' encoding='utf-8'?>
    <tomcat-users>
      <role rolename="tomcat"/>
      <role rolename="role1"/>
      <role rolename="manager"/>
      <role rolename="admin"/>
      <user username="tomcat" password="tomcat" roles="tomcat"/>
      <user username="both" password="tomcat" roles="tomcat,role1"/>
      <user username="role1" password="tomcat" roles="role1"/>
      <user username="admin" password="admin" roles="admin,manager"/>
    </tomcat-users>There are some question about the disign of the xml.
    1.Why the xml file don't have a DTD, I think that the username,rolename should be an "ID" so as to be identical?So i think it should have a DTD to constrain them.
    2.Why the "rolename","username","password" are designed as attributes,not as element children? Which is better if i design them as element children?

    1. DTDs are not necessay for XML files. If a small and easy-to-understand XML file like this one is created, it doesn't really need a DTD to go with it. You could write a DTD to go with this file. It will look like this:
    <!---- A DTD for the tomcat-users XML File --->
    <!ELEMENT tomcat-users (role+, user+)>
    <!ELEMENT role EMPTY>
    <!ATTLIST role
    rolename (tomcat | role1 | manager | admin) #REQUIRED>
    <!ELEMENT user EMPTY>
    <!ATTLIST user
    username (tomacat | both | role1 | admin) #REQUIRED
    password (tomcat | admin) #REQUIRED
    roles CDATA #REQUIRED>
    You would have to add a tag in the XML file to reference such a DTD.
    I disagree that rolename and username should be merged. How would you explain the function of the username "Both"? You need to have the username belong to a separate element than the role to reference it in some attribute ( in this case, the "roles" attribute of the "user" element ).
    2. I have began answering part 2 in the first part. It would be useless to have "rolename", "username" and "password" as children element. First, that would mean that the elements "role" and "user" wouldn't have any meaning anymore, they would only be top elements sitting and doing nothing. Second, the way the document is written suggests that although the role and the user are closely related, they should be separated to define roles independently of what users are assigned.
    Hope that was helpful, please let me know if you have further questions.

  • XML newbie question

    Hi,
    Firstly, I am sorry to post native-XML question here..
    I am using XML in my Java application and came across XML Schema.
    As far as I know XML Schema does similar job(validating xml doc) with DTD with more functions.
    Is that all XML Schema can do, validating related XML doc?
    My application needs to build different types of XML docs with existing XML Schemas.
    This is silly question but...
    Is there any way to embed XML Schema into XML builder/parser so that it can be used to generate XML doc ?
    In other words, when building XML doc, is it possible to guilde the building process with XML Schema...
    If not, then building different XML docs with different XML Schemas in my application would be very tedious...
    Thanks in advance.

    To generate an XML document from an XML schema, generate java classes from the Schema with JAXB.
    Construct an XML document from the java classes by marshalling a java object.

  • Recursive (XML) Object Question

    Hi,
    I am new to Oracle and I have what
    seems like a naive question. I want
    to define a recursive Object structure
    to model XML elements. This is my first
    attempt:
    CREATE OR REPLACE TYPE OBJ_XML_NODE AS OBJECT (
    TYPE NUMBER(3),
    NAME VARCHAR2(40),
    CONTENT VARCHAR2(32000),
    ATTLIST VARRAY(32000) OF REF OBJ_XML_NODE,
    CHILDREN VARRAY(32000) OF REF OBJ_XML_NODE)
    SHOW ERRORS
    I then tried to use:
    CREATE OR REPLACE TYPE COL_VARRAY_REF AS VARRAY(32000) OF REF OBJ_XML_NODE
    SHOW ERRORS
    but found myself with a chicked and
    egg situation: I need to defien OBJ_XML_NODE
    before I can define COL_VARRAY_REF, but I
    need to define COL_VARRAY_REF before I can
    define OBJ_XML_NODE.
    I tried redefining OBJ_XML_NODE but
    that did not work.
    Really I do not want an Object at all;
    what I want is a TABLE with 'children' as a
    VARRAY of ROWIDs but I cannot do this either.
    I am sure there are several million
    Oracle experts who could do this in their
    sleep; if one answered I would be eternally
    grateful.
    P.S. I did this sort of thing (for
    SGML) many years ago with UniSQL (a now
    defunct OR database).
    TIA,
    Aidan

    Thanks,
    I'll try a different approach.
    </>Aidan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Oracle XML Team:
    You are running up against a current limitation that prevents COLLECTIONS of COLLECTIONS in 8i Objects.
    The current workaround is to use multiple objects and use an XSL Stylesheet to assemble the doc on output which can be applied within the database using our XMLParser/XSL Processor and the Oracle 8iJVM.
    Oracle XML Team<HR></BLOCKQUOTE>
    null

  • Query for Multiple Rows as XML 'NULL' question

    There are two fields in the database.
    Foo = null (real null)
    Foo1 = '' (blank string)
    In my return xml the nodes are as follows:
    <Foo>null</Foo>
    <Foo1/>
    Why is it that if there is a null in the database, that it puts the string null, and then when there is a blank string, the node is empty?
    How can I get the null value to act like the blank value?
    Cheers

    SELECT COALESCE(Foo,''),COALESCE(Foo1,'') FROM mytable;
    The above query will return '' (empty string) if the columns has NULL value.
    This is another solution.
    Third solution is to apply XSL and remove NULL value.

  • XML Publisher question - Not generating a valid XML file

    I am working through an Oracle document that walks you through creating an XML Pub report. I am using HCM 8.9, Tools 8.49.15 and it has XML Pub installed and I have the Microsoft plug-in installed
    I have created a query and have downloaded an rtf template and now am on a page where you enter your data source and then click ‘Generate’ for the sample data file. I did it and it created ‘PERSONAL_DATA_PAY.XML’ which is created from a PS Query. However if I click on ‘PERSONAL_DATA_PAY.XML’ it generates a blocky text file that is not an XML file and I can’t go any further.
    Do you know why it’s not generating a valid XML file when I click on 'generate'?
    Thanks
    Allen H. Cunningham
    Data Base Administrator - Oracle/PeopleSoft
    Sonoma State University

    You mean to say that you create a new data source by specifying Data Source Type as 'PS Query' and Data Source ID as your query name, you are not able to generate a valid XML file (by clicking on Generate link).
    did you cross check your query by running it?
    On field change of Generate link, PeopleSoft uses PSXP_RPTDEFNMANAGER and PSXP_XMLGEN app packagaes and query objects to create the file
    It should work if you query is valid..

  • IDOC-XI-XML Scenario Questions

    Hi everyone,
    I am actually trying to configure a scenario starting from SAP and finishing creating a XML file.
    R/3 IDOC -> XI -> XML file
    The XI is receiving IDOCs from SAP correctly, but when it try to send to third party system, the monitor engine (SXMB_MONI) are showing the following error: HTTP_RESP_STATUS_CODE_NOT_OK.
    I am currently using the File Adapter, please take a look at the config for the communication channel:
    Adapter Type: File
    http://sap.com/xi/XI/System
    SAP BASIS 6.4
    Transport Protocol: File Protocol(FTP)
    Message Protocol: File
    Adapter Engine: Integration Server
    Target Directory: /  (root)
    File Name Scheme: mptest_xi_output.dat
    File Construction: Create
    Overwrite File: X
    File type: Binary
    Adapter Status: Active
    Regards,
    Gabriel Santana

    If you have enough authorization, then click on the last button which is change button.
    Otherwise, open two windows of SAP and try to do the above step and when you get the authorization error, go to the second window and enter transaction /nSU53. Send that info to your security team.
    Once you have authorization you should be fine.
    One other thing, in which client you are doing this ?
    Do not use DDIC user to change it.
    regards
    Shravan

  • XML document question?

    Is an XML document only "information" on a song and not the song itself? I burned my "iTunes Music Library" to a CD thinking I saved all my songs. Can it be transformed into a usable file or did I just save "info"? Can anyone help a PC 1st grader?
    inspiron 8600   Windows XP  

    The XML file is only data about the songs on the Playlist or Library. You can open the file with one of several programs and view it for yourself.
    See: What are the iTunes Library files?
    There are no song files contained in the XML file. Only music metadata.

  • XML newbie question - xml into arrays

    I am pretty new xml and I am working with a file that has
    text
    associated with images in the file and I would like to move
    the text
    into a xml document.
    I heard that a good way to deal with xml is to load it into
    an array. I
    have my text set up in arrays already, so my whole file
    aready works in
    that way. So all I have to do is load my xml document into my
    arrays. I
    have the xml document loading fine, but I don't know how to
    get the info
    into my arrays.
    My xml document looks like this:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <index_content>
    <image no="1">
    <imgLink>"pages/collection.html"</imgLink>
    <title>"Title 01"</title>
    <text>"Text bla bla, bla 01, Text bla bla, bla
    01"</text>
    <corner>"unisex"</corner>
    </image>
    <image no="2">
    <imgLink>"pages/collection.html"</imgLink>
    <title>"Title 02"</title>
    <text>"Text bla bla, bla 02, Text bla bla, bla
    02"</text>
    <corner>"men’s & women’s"</corner>
    </image>
    <image no="3">
    <imgLink>"pages/collection.html"</imgLink>
    <title>"Title 03"</title>
    <text>"Text bla bla, bla 03, Text bla bla, bla
    03"</text>
    <corner>"men’s & women’s"</corner>
    </image>
    <image no="4">
    <imgLink>"pages/collection.html"</imgLink>
    <title>"Title 04"</title>
    <text>"Text bla bla, bla 04, Text bla bla, bla
    04"</text>
    <corner>"men’s & women’s"</corner>
    </image>
    </index_content>
    My arrays in Flash are:
    var imgLinkURLs:Array = [];
    var imgTitles:Array = [];
    var imgTexts:Array = [];
    var imgCornerLabel:Array = [];
    So I think i need for loops pushing for example imgLink from
    image no1
    into imgLinkURLs array, then push imgLink from image no2, and
    so forth.
    Then do the same for imgTitle and the other arrays...
    How would I do this the right way?

    you can do it in just one loop, going through all the image
    tags in index_content and for each tag fill the values of all four
    arrays
    for (i...) {
    get the appropriate child of index_content
    first_array[ i ] = value of first tag
    second_array[ i ] = value of second tag
    no need for multiple loops.
    flash has functionality for xml files, but it helps to write
    a little wrapper around it, to simplify programming, especially if
    you work with xml a lot.. I wrote my for work, so I can't show it
    to you, but it's not very complicated to do

Maybe you are looking for

  • Can you have an allowance account without a monthly allowance?

    My goal is to find out if I could I create a new allowance (not based on an existing iTunes Store account), that would end up having no monthly allowance? I would use this account to gift apps to it and there would be no monthly build up of iTunes st

  • Mobile accounts not syncing at logout

    Hi guys, We are experiencing some synchronisation issues when attempting to use mobile accounts for the first time at our school. Synchronisation is only occurring at login and not at logout even though all options are selected under Rules>Home Sync

  • Can't see artwork

    Hi I've been sent a PSD which opens fine (although font's not available) but I can't see the artwork, all the layers are there, visible and selectable but the artwork is all grayed out on the artboard. Wondering if this is a glitch?

  • How to document my database objects

    I need to document my database objects with respect to: What objects I have , relationship with in tables , keys in tables Etc- This document should be good enough to explain the business flow (data flow) in DB What I am looking is :: A good template

  • ABAP Mappings

    Hi, ABAP mapping is implemented using what? When you don’t find the ABAP mapping option in IR what do u do? Regards, G.VarunKumar.