You going for something like this:
http://smoothgallery.jondesign.net/ ?
On Sep 8, 4:02 pm, Matt Thomson <[EMAIL PROTECTED]> wrote:
> Hi this is my first week with mootools and I am having a few teething
> problems, Thanks if you can give me a hand, this is what I would like
> to do:
>
> window.addEvent('domready', function()
> {
> (function fade_out()
> {
> var myEffect = new Fx.Tween($('rImage'),
> {
> property: 'opacity',
> duration: 1000
> });
> myEffect.start(100, 0);
>
> }).delay(3000);
>
> (function image_swap()
> {
> document.getElementById('rImage').src= image_src_array[i];
> i++;
>
> }).delay(3950);
>
> (function fade_in()
> {
> var myEffect1 = new Fx.Tween($('rImage'),
> {
> property: 'opacity',
> duration: 1000
> });
> myEffect1.start(0, 100);
>
> }).delay(4000);
>
> });
>
> Ultimately I would like to get the whole thing inside
> a .periodical(5000) but I want to get this going first. The tween will
> not happen naturally, just quickly flashes from 100 opacity to 0
> opacity, I am guessing this is to do with the timeout as I don't have
> any problems tweening in real time,
>
> Thanks,
>
> Matt.