Hello, I’m almost done with a photographers project.
There is is still one big bug inside that I can’t find.
I use an interval to verify when someone scales the browser when tweening, afterwards it shows correctly.
The problem is that sometimes the clearInterval doesn’t work
It always happens after a while when I click next or prev too fast
Also bothering is just before the bug, the image scales to very small (sometimes)
function sizeInterval2 ()
{
loaderback._width = containerMC._width + 10
loaderback._height = containerMC._height + 10
centering ()
trace ("hallo")
**clearInterval (sizeInterval)**
}
function getimage ()
{
onEnterFrame = function ()
{
centering ()
maxsize ()
if (loaderback._width == containerMC._width + 10 )
{
delete onEnterFrame;
[color=black]**sizeInterval = setInterval (sizeInterval2, 1000)**
[/color]loadState = 1
containerMC.alphaTo (100, 1);
centering ()
}
}
}
If you want to check it, just keep the right key pressed:
http://test.crea-room.com
Regards,