A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Loading Images and text dynamically with XML

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Location
    UK, Hertfordshire
    Posts
    18

    Loading Images and text dynamically with XML

    Hi

    Based on tutorial for building dynamic image and text loader I have built a step by step demonstration... only trouble is it doesnt work. I have been pulling my hair out here for days and wondered if someone could take a look - perhpas see what it is I am missing

    The counter doesnt work and the images dont load... attached is zip file and fla (mx 2004)

    Please any help would be appreciated

    thanks

    Wash
    Attached Files Attached Files
    "Things are looking Shiny"

  2. #2
    Senior Mender trionik's Avatar
    Join Date
    Nov 2000
    Location
    Montréal,Canada
    Posts
    1,077
    i can understand why your pulling your hair. Using xml with the fistNode and child way is to my opinion way to complicated.. Their is a standard call xPath that is much more easier to work with... I have built a class that let you use xPath and im not the only one to have done so...

    You can find my xPath engine there

    www.benoitmeunier.com under mx2004

    but if you plan to use this one i have fix a problem that is not online yet so email me and i<ll send you the new .as to replace. [email protected]

    It is much more easier to use xml with xPathing. Sory i could not really help you with your file but really the way xml is use in flash make me sick. And i dont want to pull my hair on this since there is a better solution.

  3. #3
    Junior Member
    Join Date
    Nov 2004
    Location
    UK, Hertfordshire
    Posts
    18

    Thanks.. its resoloved

    Hi

    Thanks for your reply...

    I have solved the problem and the movie now works really well

    And the problem - the Jpegs were saved from photoshop with the 'Progressive' checkbox ticked...!

    For some reason and perhaps someone here knows why..? loading Jpegs using this method does not work if the Jpegs are saved using a progressive format.

    I know the progressive format is used for larger images to help with down load times by loading a worse to better version of your photo - perhaps this is why it doesnt work..

    Anyway - perhpas this informaion might be useful to someone else - basiscally this step by step slide show works now..

    W
    "Things are looking Shiny"

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