dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: XMLEvangelist

Page 1 of 4 1 2 3 4

Search: Search took 0.22 seconds.

  1. Hi jamesbooth97, Have a look at Tupps' FAQ on...

    Hi jamesbooth97,

    Have a look at Tupps' FAQ on XML, in particular this section:
    http://www.tupps.com/flash/faq/xml.html#2-B

    Also look at this article on Macromedia's site:...
  2. Replies
    3
    Views
    768

    Hi ninjabonsai, How about this XML: ...

    Hi ninjabonsai,

    How about this XML:


    <root>
    <html>
    <p>This is a <b>paragraph</b> in HTML (<em>XHTML compliant</em>)</p>
    </html>...
  3. Replies
    1
    Views
    428

    Hi stvsfx, First, here's a helper function to...

    Hi stvsfx,

    First, here's a helper function to make it easier:

    XMLNode.prototype.selectSingleNodeByName = function( nodeName )
    {
    for( var i = 0; i < this.childNodes.length; i++ )
    {
    if(...
  4. Replies
    6
    Views
    755

    Hi ViRGo_RK, You want to use the...

    Hi ViRGo_RK,

    You want to use the XML.appendChild method, here's a copy of the help from Flash MX:

    XML.appendChild()
    Availability
    Flash Player 5.

    Usage
    my_xml.appendChild(childNode)
  5. Replies
    3
    Views
    486

    Hi, I've noticed that for..in loops seem to...

    Hi,

    I've noticed that for..in loops seem to always exhibit that behaviour, if order is important to you then use a normal for loop when iterating through arrays.

    Hope this helps!
  6. Hi PAlexC, To the best of my knowledge no, you...

    Hi PAlexC,

    To the best of my knowledge no, you would not see any performance gain, as Flash ignores DTD/Schema declarations anyway, so it never tries to treat the file as anything other than...
  7. Hi Devise, If we're going to be able to help...

    Hi Devise,

    If we're going to be able to help you, we'll need to see the code in the onLoad() handler for your clientJobs.swf file. It's probably scoping issues in there.
  8. Hi BillyDaKId008, It's difficult and...

    Hi BillyDaKId008,

    It's difficult and inefficient to search the whole document each time, perhaps if you give us a sample of the XML format you're using (wrap it in
    and for it to format...
  9. Replies
    2
    Views
    2,345

    Hi LeoBeer, Try this: // xmlDoc1 and...

    Hi LeoBeer,

    Try this:

    // xmlDoc1 and xmlDoc2 are the originals
    var xmlMerged = new XML();

    // first lets take a complete copy of Doc 1:
    xmlMerged.appendChild( xmlDoc1.firstChild.cloneNode(...
  10. Replies
    2
    Views
    551

    Hi Skraut, If you're creating your dynamic...

    Hi Skraut,

    If you're creating your dynamic clips using attachMovie() then you can provide an optional parameter with extra infomation:

    MovieClip.attachMovie()

    Availability
    Flash Player 5.
    ...
  11. Replies
    25
    Views
    2,515

    Hi all, In regards to the 128 character limit...

    Hi all,

    In regards to the 128 character limit on links, there is a reasonably simple workaround.

    In your XML, you will need to store your links seperately, and give each one a unique ID, eg:
    ...
  12. Hi lucky-black-cat, There's a great UltraShock...

    Hi lucky-black-cat,

    There's a great UltraShock tutorial on DataBinding that shows how to use the new MenuBar with the XConnector to create a menu from an XML file.

    NOTE: It's Flash MX 2004...
  13. Hi Lifeforce, If you set the condenseWhite...

    Hi Lifeforce,

    If you set the condenseWhite property on your TextField to true, and the html property to true, then use the htmlText property to set the text it will do what you want.

    Hope this...
  14. Hi vecna42, The most common cause of these...

    Hi vecna42,

    The most common cause of these types of problems is accessing the XML document before it's finished loading.

    Check your code after you execute the load() method, nothing should do...
  15. Hi mpusateri, The open method has two extra...

    Hi mpusateri,

    The open method has two extra optional parameters, bstrUser and bstrPassword. Add them after the false (Async) parameter.

    You might need to get an account to use for the...
  16. Hi FleZ, Everything you read from XML...

    Hi FleZ,

    Everything you read from XML attributes (or text nodes for that matter) is treated as a String, if you want to assign a value use the Number() function. Check the help/reference in Flash...
  17. Hi mike@brisbane, If you have two text fields:...

    Hi mike@brisbane,

    If you have two text fields: txtName and txtValue, you can do the following:

    // assuming xmlElement is the element to add the attribute to
    xmlElement.attributes[ txtName.text...
  18. Replies
    2
    Views
    629

    Hi stvsfx, Try something like this: var...

    Hi stvsfx,

    Try something like this:

    var xmlDoc = new XML();
    // ... load XML, and then sometime later ...

    var strState = "NJ";
    var arrResults =...
  19. Replies
    1
    Views
    587

    Hi mbenney, Try .Text...

    Hi mbenney,

    Try .Text, it's ASP.NET, includes full source, FREE, has a fantastic Admin interface, and fully supports RSS (with other features like Trace-back and Ping-back).

    Enjoy!
  20. Replies
    6
    Views
    345

    Hi chunkygoat, Switch your code to Expert...

    Hi chunkygoat,

    Switch your code to Expert mode, and try adding "_root." in front of the code, eg:

    on (release) {
    _root.gotoAndPlay("Abstract", 1);
    }

    That will tell the root timeline to...
  21. Replies
    2
    Views
    1,506

    Hi xxblindchildxx, We need a sample of your...

    Hi xxblindchildxx,

    We need a sample of your code to be able to tell you why, please post the code.
  22. Replies
    3
    Views
    365

    Hi jessem, Have a look at the 'delete'...

    Hi jessem,

    Have a look at the 'delete' operator, documented here.

    Hope this helps!
  23. Replies
    3
    Views
    1,689

    You can post the code here, as well as the XML...

    You can post the code here, as well as the XML and we'll see what we can do. It's best not to post the whole FLA as a general rule, but if you don't know what code to post then just ZIP it up and...
  24. Replies
    1
    Views
    1,333

    Hi mtiebi, You need to use and around XML...

    Hi mtiebi,

    You need to use
    and around XML for it to show up, you can use and for ActionScript.


    <file
    title="Title to diplay in Georgian"
    titleeng="title in English"
    ...
  25. Replies
    1
    Views
    1,447

    Hi ahcentral, You've captured the URL as...

    Hi ahcentral,

    You've captured the URL as follows:

    myUrl = myXML.firstChild.childNodes[0].childNodes[3].attributes.url;

    But then you try to refer to it as this.myUrl. That's your problem.
    ...
Results 1 to 25 of 97
Page 1 of 4 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center