Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » Loading Images


Loading Images

Reply
  #1 (permalink)  
Old 06-02-08, 09:15 AM
losse losse is offline
Newbie Coder
 
Join Date: Jun 2006
Location: Barrie, Ontario, Canada
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Loading Images

Hi gang!
I've got a flash file I built where there are scrolling images that fade in, scroll and fade out and this happens with three images...

However, I loaded the images inside the FLA and between the images, the tweens and the effects, the flash file gets pretty big and therefore takes a while to load when you first access the site.

It's not a type of animation that merits a pre-loader as it's more a "decoration" rather than a main feature on the site.

Just wondering if creating a flash file with some actionscript that calls images in a directory and accomplishes the same effect would render the file smaller in size and therefore load faster?

Is this possible? Anyone out there can help me with the actionscript?
Reply With Quote
  #2 (permalink)  
Old 06-03-08, 05:18 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
It will definitely make the swf size smaller, and so speed up the loading of the swf. It will be faster than what you have at this moment, because you will be loading each image separately. And you only load the image when the previous image is nearly finished showing. Therefor you won't load unnecessary images (suppose a user refreshes the page).

It is possible to load image externally, just google around for a bit, you'll find plenty of scripts
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
loading external images webjones573 Flash & ActionScript 0 05-27-08 10:14 AM
loading images from text links thv20 JavaScript 0 04-19-08 01:08 PM
Problem loading images via LoadVars BMS Flash & ActionScript 1 08-22-07 04:16 AM
Dynamicaly Loading Images. adamheath PHP 1 07-31-07 05:53 PM
external images not loading => site very sloww riquelme HTML/XHTML/XML 2 06-06-06 08:39 AM


All times are GMT -5. The time now is 06:41 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.