Controlling/Transofmring Dynamically loaded pics(jpegs) - file attached

Hey all,

I’m trying to create this polaroid development effect, which has been tweened, problem is I would kie the pics to load dynamically into a placeholder MC. This is fine, but the JPG loads, flashes upa nd then disappears, meaning the effect is rendered useless.

File can be got here:
http://www.thoughtography.net.au/temp/polaroid.fla

Please help :S

cheers.

Link doesn’t work…

d’oh, sorry file updated now.

cheers and please try again

:slight_smile:

just in case

Hi,

I’ve edited your file so it works.

The problem was taht in the firsts frames the mask didn’t exist.

SHO

PS.: can’t upload the file but the solution is to move the mask to the first frame

cheers eki :thumbs:

fixed that part of it, now though it plays through then the pic appears. file has been updated.

here:
http://www.thoughtography.net.au/temp/polaroid.fla

or view the swf here:
http://www.thoughtography.net.au/temp/polaroid.swf

:slight_smile:

any time

SHO

*Originally posted by ratbaggy *
**cheers eki :thumbs:

fixed that part of it, now though it plays through then the pic appears. file has been updated.

here:
http://www.thoughtography.net.au/temp/polaroid.fla

or view the swf here:
http://www.thoughtography.net.au/temp/polaroid.swf

:slight_smile: **

anyone?

or does it work and my connection is just too slow?

anyone?

ok then, perhaps someone can explain, how I would load the jpgs dynamically and let the size of these affect the preloader, i.e. only if the jpg is fully loaded will the swf file continue to play.

please

:slight_smile:

Hi,

Sorry for not answering before (I’ve been away from computers)

I couldn’t see your problem (fast conection)

I had a look at you file and what you want to do is change the code in the second frame of your movie where it says:

[AS]
clipLoaded = getBytesLoaded();
clipTotal = getBytesTotal();
if (clipLoaded == clipTotal) {
play();
} else {
loaded = Math.round(getBytesLoaded()/1024);
total = Math.round(getBytesTotal()/1024);
percent = Math.round((loaded/total)*100);
bytesLoadedOutput = loaded+“kB”;
bytesTotalOutput = total+“kB”;
bytesRemainingOutput = total-loaded+“kB”;
percentOutput = percent+"%";
gotoAndPlay(“loading”);
}
[/AS]

for:

[AS]

clipLoaded = getBytesLoaded()+_root.mono.getBytesLoaded();
clipTotal = getBytesTotal()+_root.mono.getBytesTotal();
if (clipLoaded == clipTotal) {
play();
} else {
loaded = Math.round(getBytesLoaded()/1024);
total = Math.round(getBytesTotal()/1024);
percent = Math.round((loaded/total)*100);
bytesLoadedOutput = loaded+“kB”;
bytesTotalOutput = total+“kB”;
bytesRemainingOutput = total-loaded+“kB”;
percentOutput = percent+"%";
gotoAndPlay(“loading”);
}

[/AS]

SHO

:pleased:

thanks heaps and…no probs re: delay in response, any response is better than none. :slight_smile: