WEB Slow loading flash

Discussion in 'OT Technology' started by xconverge, Jan 23, 2009.

  1. xconverge

    xconverge OT Supporter

    Joined:
    Apr 11, 2008
    Messages:
    3,412
    Likes Received:
    10
    Location:
    San Francisco, CA
    So this is my first time posting over here, I am usually over at A&P

    www.spkphotos.com is my website

    Currently it takes a very long time to load considering how simple and plain the site is. The images are all very compressed so I am not sure how I could optimize this. Is there a way it could load the front page and first few images first, while loading the rest shortly after?

    Any help would be much appreciated. I am looking to redo the whole website with css but need to learn css first :big grin:
     
  2. jdw

    jdw New Member

    Joined:
    Dec 31, 2005
    Messages:
    4,429
    Likes Received:
    0
    Location:
    ND
    I'm assuming the images are all embedded in the flash file?
    Should be loading them in dynamically. Throw an XML file at the .swf with image links/data and load them when they're needed.
     
  3. xconverge

    xconverge OT Supporter

    Joined:
    Apr 11, 2008
    Messages:
    3,412
    Likes Received:
    10
    Location:
    San Francisco, CA
    Do you think that is the root of the problem? each image is under 100 kb then compressed even more to 25%. Maybe its just a poorly designed page and I should start over flashless :big grin:
     
  4. Ricky

    Ricky █▄ █▄█ █▄ ▀█▄

    Joined:
    Jun 17, 2005
    Messages:
    38,767
    Likes Received:
    6
    can you post the fullrez to that turntable picture or no? :o
     
  5. xconverge

    xconverge OT Supporter

    Joined:
    Apr 11, 2008
    Messages:
    3,412
    Likes Received:
    10
    Location:
    San Francisco, CA
  6. jdw

    jdw New Member

    Joined:
    Dec 31, 2005
    Messages:
    4,429
    Likes Received:
    0
    Location:
    ND

    I'm positive it is - that Flash file is almost 3MB by the looks of it.

    Should just have the .swf file with the structure of the site and the actionscript to load the images - shouldn't be more than a few KB and would load almost instantly. At that point you can start your image loading - either loading on demand or loading the entire batch. That way you'd be able to access the first images before the last images were loaded.
     
  7. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,918
    Likes Received:
    9
    Location:
    Los Angeles
    Look into an xml based flash solution as jdw first suggested.
     
  8. xconverge

    xconverge OT Supporter

    Joined:
    Apr 11, 2008
    Messages:
    3,412
    Likes Received:
    10
    Location:
    San Francisco, CA
    is there anywhere I can read into this? I know limited flash so this should be interesting. Is it relatively easy to do? as of now each image is directly in the swf as keyframes. Could I put an xml file in place of the image? which would then lead to the image itself?

    Sorry for the noobish questions :big grin: I just think that the site is hurtin now and could be much much better
     
  9. jdw

    jdw New Member

    Joined:
    Dec 31, 2005
    Messages:
    4,429
    Likes Received:
    0
    Location:
    ND

    google... Might want to look specifically at AS3 options as I hear AS3 has some better ways to manage XML. Everything I've done was done with AS2.
     
  10. xconverge

    xconverge OT Supporter

    Joined:
    Apr 11, 2008
    Messages:
    3,412
    Likes Received:
    10
    Location:
    San Francisco, CA
    thanks, hopefully I can get something working right
     
  11. xconverge

    xconverge OT Supporter

    Joined:
    Apr 11, 2008
    Messages:
    3,412
    Likes Received:
    10
    Location:
    San Francisco, CA
    So I finally got it working....on my computer. I have the flash reference the xml gallery. The only problem is, it doesnt work when I upload it to my host. here is the folder on my computer http://spkphotos.com/flash/Site.zip

    I set it as www.spkphotos.com/1.jpg and it doesnt work. Any suggestions?
     
  12. Die Antwoord

    Die Antwoord New Member

    Joined:
    Nov 5, 2007
    Messages:
    7,913
    Likes Received:
    0
    Location:
    Orlando, FL
  13. xconverge

    xconverge OT Supporter

    Joined:
    Apr 11, 2008
    Messages:
    3,412
    Likes Received:
    10
    Location:
    San Francisco, CA
    what do i put in the xml file? I have the pictures in the right place
     
  14. xconverge

    xconverge OT Supporter

    Joined:
    Apr 11, 2008
    Messages:
    3,412
    Likes Received:
    10
    Location:
    San Francisco, CA
    is there a better forum I could ask this in? More flash/xml oriented. I feel like I am close but have no idea whats wrong :big grin:
     
  15. xconverge

    xconverge OT Supporter

    Joined:
    Apr 11, 2008
    Messages:
    3,412
    Likes Received:
    10
    Location:
    San Francisco, CA
    Got it, just need to add some borders and make it look nice and then compress the pictures a bit more. Thanks anyways guys.

    I ended up deleting everything on my host and reuploading
     
  16. hank85

    hank85 sudo shred /dev/sda -f -v -z --iterations=6

    Joined:
    Jul 23, 2008
    Messages:
    4,360
    Likes Received:
    0
    To be completely honest, your site loaded up instantly for me...
     
  17. Die Antwoord

    Die Antwoord New Member

    Joined:
    Nov 5, 2007
    Messages:
    7,913
    Likes Received:
    0
    Location:
    Orlando, FL
    Well yeah he fixed it. :hsugh:
     
  18. hank85

    hank85 sudo shred /dev/sda -f -v -z --iterations=6

    Joined:
    Jul 23, 2008
    Messages:
    4,360
    Likes Received:
    0

    :uh:
     

Share This Page