107 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+3 more
potenzzza says

Hi everyone!

A question hangs over my mind!

What do you think is the best way to load images in a slideshow or a banner? Load all images from the beginning? Or load images one after the other?

Personally, I lean more to the second option … I’d be happy to know your opinion.

Thank you guys! :)

Pzzz

1389 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+7 more
Pdesignx says

i usually do it as the banner is not loading something… so other images are being loaded seemlessly… and i also don’t load images into one movieclip… i create movieclips dynamically for each image… so next time they are gonna get shown, i only make them visible…

if you are not having hundereds of images at the same time on the stage… you can keep them stay on the scene and make them visible when they needed instead of loading them again…

5409 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+9 more
CodingJack says

It might depend on how many images and what their size is. For example, if you have a full-screen image viewer with images sizes of 1400×1050, then loading in 50 of them would be asking the player to store a lot of memory.

1389 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+7 more
Pdesignx says
It might depend on how many images and what their size is. For example, if you have a full-screen image viewer with images sizes of 1400×1050, then loading in 50 of them would be asking the player to store a lot of memory.

yes this is the same logic as mine… it’s hard to say something that works for all cases… so you should decide and experiment it yourself according to your project’s scale…

“if you are not having hundereds of images at the same time on the stageā€¦”

755 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 500+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 1+ items on Envato Market
+5 more
skyplugins says

It really depends the situation, if the number of the images are more than the usual, you might think of loading them on demand, however, there is one thing that you need to be careful of. Always load one image at a time and pass the next one when finished. This will let you keep the waiting time at minimum.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by