101 posts
  • Has referred 100+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+2 more
PixelBook says

Hi there, I want to make a XML image gallery and I need some advice. In my project I load images sequentially. When an image is loaded I create a thumbnail (by scaling the bitmap) and then place it on the stage. The problem is when I test the file with a speed at around 1 mbps, my CPU goes at around 40-50% utilization (low framerates for a couple of seconds). This happens because this images are very big.

I know another techique: you create small thumbnails for every image and then you place them in a separate folder.The entire image will be loaded when the user clicks on the thumbnail This way, when you test the movie it runs much smoother, but the user will have to create the thumbnails by themselves.

So I’m asking which method is more practical, and if you know other methods.

Thnaks in advance!

1161 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Had an item featured in an Envato Bundle
+4 more
FlashTang says

Don’t create them flashily ,Timer class is your good friend ;)

101 posts
  • Has referred 100+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+2 more
PixelBook says
Don’t create them flashily ,Timer class is your good friend ;)

I don’t understand…

35 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
odot0 says

Best method so far is using a simple PHP script with GD functions to resize and crop the images, and return the image data to flash loading a smoother and quicker thumbnail. This way your client doesn’t need to create thumbnails, and your not overloading flash… I use this method most of the cases, if you want you can send me a message through my profile and I can send you a simple script I use.

Of course you will need PHP in your client’s server, but almost any shared hosting support it, and PHP running on your computer using WAMP or MAMP , or XAMP to preview it while you’re working locally.

Xtian

843 posts
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+7 more
marcfolio says

I say have the user create the thumbs. Sometimes you want the thumbs to look different than the actual image. More creative control.

132 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+2 more
baklach says
I say have the user create the thumbs. Sometimes you want the thumbs to look different than the actual image. More creative control.

+1

And maybe create something like this to help your client in thumb creating process if he can’t use Photoshop or any other image editor program.

101 posts
  • Has referred 100+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+2 more
PixelBook says

thnx for the reply, guys

1955 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
Emroni says

Agree with marcfolio here. You can also try phpThumb()

2075 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+7 more
LanceSnider says

User LoaderMax. It’ll make your like so much easier.

843 posts
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+7 more
marcfolio says

I can’t get my head around loaderMax. I love tweenMax and timelinemax, but just can’t incorporate loadermax. It’s probably because I’ve been using Queueloader for years now, and now it’s a hugh part of my workflow. I need to give it another go. Maybe my next project.

Maybe someone can write a tutorial for the tutsplus site.

by
by
by
by
by
by