A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: xml load creates infinate loop

  1. #1
    Senior Member
    Join Date
    Sep 2004
    Location
    West Mids, UK
    Posts
    101

    xml load creates infinate loop

    Hey guys, this one is puzzling me a lot now.

    if you goto
    http://www.paramountjewellery.co.uk/SWF/carouselwithxml.swf

    you will see a flash file load up and 8 padlocks appear and rotate, now that is exactly what is meant to happen.


    However if you view the SWF file in an html document the padlocks breed like rabbits and eventually slow down your machine

    I cant figure out where it is happening as you can view the file directly and it works fine but as soon as you view it in an HTML document it messes up

    http://www.paramountjewellery.co.uk/

    this is where it is messing up I have also attached the FLA file and XML file that load up the images
    Attached Files Attached Files

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    Wrong forum, moved to Actionscript.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Senior Member
    Join Date
    Sep 2004
    Location
    West Mids, UK
    Posts
    101
    Quote Originally Posted by cancerinform
    Wrong forum, moved to Actionscript.
    I have fixed this now but I have to ask why moev it? it was in the correct forum.

    Flash Kit Community Forums > Flash Help > Actionscript 3.0

    that is where I posted as you can see it is the Actionscript 3 help forum and the scripting language is AS3 so I cant understand the move :S

  4. #4
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    This is AS1/2:

    images_xml.onLoad = function(success:Boolean) {
    if (success) {
    _global.filenamearray = new Array();
    - The right of the People to create Flash movies shall not be infringed. -

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