Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 1 of 1
  1. #1

    Exclamation Newb at this flash/XML - help!

    EDIT: i solved it, this does work.. but i just learnt my first flash debug lesson.. make sure you don't miss spell simple words like "load"..


    Hi there, I'm really new at this, i started learning from scratch (from youtube lol) so please bare with me!

    Ok to start i know how to load XML txt but what i want to do is take part of the file name i'm loading from a variable.. for example..

    I have a small login (contained within the swf) for a few users on my site, it doesn't do much it pretty much just displays their name. I want to load a different XML file depending who's logged in.

    Let's say..
    The Variable that holds the username is "user"

    i thought the obvious answer would be something like this..

    my_xml.load(user+".xml")

    but this doesn't work for me, am i getting this all wrong and it isn't achievable? or is there a different way to do this?

    I know i probably deserve a flamming but spare please me! i knew nothing about flash 3 weeks ago.

    Thank you, Paulo.
    Last edited by wuwave; 11-06-2009 at 03:51 PM. Reason: SOLVED.

  2. # ADS
    Join Date
    Always
    Posts
    Many
     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial