SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Actionscript 3.0

    Hi,

    I was trying to use a free open source flash gallery on a client's website


    Code:
    www[dot]flashmo[dot]com/preview/flashmo_122_3d_curve_gallery

    I was able to edit the .fla file to make some changes and realized the xml is hard coded in the .fla



    Code:
    var xml_loader:URLLoader = new URLLoader();
    xml_loader.load(new URLRequest("thumbnail_list_5.xml"));

    Can someone guide me how to code the actionscript .fla file so the xml file is loaded via the HTML thru the object tag ?

    something like


    Code:
    <param name="gallery_list" value="mygallery.xml" />

    Regards
    G

  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)
    Use FlashVars to pass data through html.
    Good Luck!
    There are things known and Things unknown
    And in between are the Doors.
    I love hand Coding.

  3. #3
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx Jim.

    I'll read more about FalshVars and AS3 now .... hope fully I'm able to achive my goal

    Regards
    G


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
  •