|
image slide show in flash
Hey,
I'm trying to make a button controlled image slide show in flash, which preloads the next image.
I got three layers: a scripts layer, movieclip layer and a buttons layer.
In the first keyframe of the scripts layer I've got this following code:
_root.mc.loadMovie("images/1.jpg");
teller = 0; \\ variable "counter"
while (teller<1) { \\ "counter" < 1
geladen = mc.getBytesLoaded(); \\geladen means loaded
totaal = mc.getBytesTotal(); \\ totaal means total
if (geladen=totaal) { \\ so loaded=total
teller = 1; \\ "counter"=1
}
}
Does anybody know what to do next and how to control the buttons??
Thanks,
MaartenM
|