SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Load titles through XML and same Flash file on each page

    Hopefully someone can help me with this!

    I've created a XML file which I'm loading into a single flash file. The XML includes a section id and the title or heading of that section. How can I make it so that the Flash firsts reads the page it has been embedded into and then goes into the XML file and finds that page through an ID and finally displays whatever the title is?

    I'm using AS2.

  2. #2
    SitePoint Wizard jim_morrison3's Avatar
    Join Date
    Apr 2004
    Location
    UK
    Posts
    2,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you mean you wanna pass the path to the XML file dynamically instead of hard-coding the path of the XML file in Flash ? If yes then you can make use of FlashVars which will contain the path of the XML file.
    Good Luck!
    There are things known and Things unknown
    And in between are the Doors.
    I love hand Coding.


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
  •