dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Tupps - Load XML Text Question

  1. #1
    Japanese l337 TRJNET's Avatar
    Join Date
    Mar 2001
    Location
    Toronto, Canada
    Posts
    399

    Tupps - Load XML Text Question

    http://www.tupps.com/flash/examples/.../demoText.html

    I checked out tupps, "loading xml text into flash" tutorial, it seems quite interesting But I then realized that Flash MX Mac edition files arent compatible with flash mx pc, so after reading the xml tree. I got this dilema of needing to see the coding to load & give funtions to the XML, which is at the root of this good XML example Tupps, I know you usually check this forum, so any help or sampling would be great, thnx man.
    Last edited by TRJNET; 07-10-2003 at 09:45 PM.
    consultant / contractor / designer

  2. #2
    Japanese l337 TRJNET's Avatar
    Join Date
    Mar 2001
    Location
    Toronto, Canada
    Posts
    399
    Any help with these XML text loading "functions" would be greatly appreaciated
    Last edited by TRJNET; 07-12-2003 at 01:49 AM.
    consultant / contractor / designer

  3. #3
    Japanese l337 TRJNET's Avatar
    Join Date
    Mar 2001
    Location
    Toronto, Canada
    Posts
    399
    *bumped*
    consultant / contractor / designer

  4. #4
    Senior Member tupps's Avatar
    Join Date
    Jan 2001
    Location
    Melbourne
    Posts
    2,035
    I have sent you an email, but I will post it here.

    The code for the example actually lives in the actual text scroller. Double click on the area of the text (black in design view) and you will then see all the code.

    If you ever get a flash project which you can't find the code, project explorer (under the windows menu) will let you find the appriorate bit of code.

    BTW, it was originally written using Flash 5 running in Classic on a MacOSX box. All of my flash coding is now done on MacOSX.


    Thanks

    Luke
    Flash-XML FAQ
    http://www.tupps.com/flash/faq/

  5. #5
    Japanese l337 TRJNET's Avatar
    Join Date
    Mar 2001
    Location
    Toronto, Canada
    Posts
    399
    thnx man, but I was really asking for the coding though, regardless, I just checkedd whether I could still see the coding in the Flash MX PC version, and I was still able to see the script coding ! So thnx for your help
    consultant / contractor / designer

  6. #6
    Japanese l337 TRJNET's Avatar
    Join Date
    Mar 2001
    Location
    Toronto, Canada
    Posts
    399
    were u talking about this coding Tupps ? If so, this is great, now I can start working on the functions =)

    PHP Code:
    stop();
    myXML = new XML();
    myXML.onLoad DisplayData;
    myXML.load("demoText.xml");

    function 
    DisplayData(success)
    {
        if (
    success) {
            
    xmlOutput this.body.childNodes[0].nodeValue;
        }
        

    Last edited by TRJNET; 07-14-2003 at 02:17 AM.
    consultant / contractor / designer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center