| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Iris Folder
Join Date: Apr 2003
Location: smokey
Posts: 2,672
|
jpg loading trauma...
I've been working on a portfolio site, within this site are 12 sets of jpg images. The portfolio section calls the images in at run time based on variables containing the set number and number of images etc for the selected set. The first image is loaded into a container clip which has a preload script attached, once the image has loaded the container clip is duplicated and moved off stage. The next image loads into the duplicate and so on until all the images are loaded. A navigation system is then used to reposition the images on the stage relative to their size as each one is selected (moving the previous one back off stage). This all works fine and dandy, the problem arises when you exit the portfolio section and then try to view the same set of images again... it doesn't work, or it works partly but loads only some of the images. Any Ideas what could cause this? Do the movie clips die when the playhead is removed from the frame containing the portfolio movie clip? Do I need to write a cleanup script to remove them? or is this a caching problem... I am a bit lost |
|
|
|
|
|
#3 (permalink) |
|
Iris Folder
Join Date: Apr 2003
Location: smokey
Posts: 2,672
|
The problem only occurs once you have viewed a section, left and are then returning. On the first viewing of any section everything works fine from start to finish... which is why I was wondering about a cleanup script or a possible caching problem ??? |
|
|
|
#4 (permalink) |
|
volkswagen yellow & gold
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
|
i'm under the impression that i you use the preload jpeg in flash mx then it sends the jpeg to the browser cache. how about calling the images at root level and then refering down to them from the other clips. that way, they're always there? start again? |
|
|
|
#5 (permalink) |
|
Iris Folder
Join Date: Apr 2003
Location: smokey
Posts: 2,672
|
the brief is that they must load in sequentially once the section is entered + the initial image that the user selected must load first (each groups images are initialy shown as a scrolling rack on the main page from where the initial selection is made). Can't preload them from the get go as they're large photographic images (about 180 of them at 80 - 180 k) and from the first page any of them can be accessed? I figured they should be cached, are there any known problems with flash retreving files from the cache ? |
|
|
|
#10 (permalink) |
|
Iris Folder
Join Date: Apr 2003
Location: smokey
Posts: 2,672
|
and the winner by a nose is the man with the incredibly thin limbs... I have no idea why this should be the case, from what I know of flash I can't think that I can be doing anything wrong scripting wise. If it works on one it should work on all, but I guess maybe it just has problems talking to the cashe in IE, unless someone can tell me different gay gay gay... |
|
![]() |