A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Need help : Data calling from XML to As3

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    1

    Question Need help : Data calling from XML to As3

    I am making a top trump cards game using AS3.

    Each card has player's picture, country code, and stastastics of a player (matches, goal etc)


    for instance there are 10 soccer player cards.

    I have designed the card UI and have kept sections blank for pictures and all stats(name of player, stastastics of the player) data.

    I want to call pictures and other data on my designed card. Please help how do I do this and call them through XML??

    I am sorry about my noobness, this is my first game I am doing in As3

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You need to load XML and parse it. That is what you have to learn. It's nothing what one can answer in one post.
    I recommend to check the AS language references for URLLoader and XML. There are also plenty of examples.

    http://www.adobe.com/livedocs/flash/...riptLangRefV3/
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Member
    Join Date
    Dec 2009
    Posts
    84
    Also, Kirupa has an EXCELLENT xml walkthrough. It is extremely easy to understand and informative. Check it out.

    http://www.kirupa.com/developer/flas...ml_as3_pg1.htm

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