Banner help

hi i’m a newbie to flash and am kinda stuck was wondering if someone could help me out.

basically what I want is

[LIST=1]
[]Flash banner that loops through images and displays them (with fadein/fadeout)** [I have done this bit]**
[
]When it shows the image (ie img1.jpg), I want it to display clickable buttons that go to the url.
[*]If someone hovers over, the loops stops and as soon as someone moves their mouse away the loop starts again with another set of image and clickable buttons.
[/LIST]
I would much appreciate any help if someone can help me out with this.

I’m a newbie to be kind.

Thank you.


import mx.transitions.Tween;
import mx.transitions.easing.*;

var interval = 3000;

var menuItem2 = ["Digg", "Ajaxian", "Kirupa"];
var menuItemUrl2 = ["http://www.digg.com", "http://www.ajaxian.com", "http://www.kirupa.com"];

var counter = 0;

function rotate() {


    if (counter<totalImages-1) {
        counter++;
    } else {
        counter = 0;
    }

}

function pause() {


}

onLoad = function () {
    rotate();
};

please explain the purpose of using

var images = [“img1.jpg”, “img2.jpg”, “img3.jpg”, “img4.jpg”];
var totalImages = images.length;

var menuItem1 = [“Google”, “Yahoo”, “MSN”];
var menuItemUrl1 = [“http://www.google.com”, “http://www.yahoo.com”, “http://www.msn.com”];

var menuItem2 = [“Digg”, “Ajaxian”, “Kirupa”];
var menuItemUrl2 = [“http://www.digg.com”, “http://www.ajaxian.com”, “http://www.kirupa.com”];

var menuItem3 = [“CSS Mania”, “CSS Play”, “CSS World”];
var menuItemUrl3 = [“http://www.cssmania.com”, “www.cssplay.com”, “www.cssworld.com”];

var menuItem4 = [“Hotmail”, “Gmail”, “Wiki”];
var menuItemUrl4 = [“http://www.hotmail.com”, “http://www.gmail.com”, “http://www.wiki.com”];

those are for the buttons … there are 4 images and 3 buttons to be appeared on each image.

so you will load img1.jpg then show buttons on it ?

with links [“http://www.google.com”, “http://www.yahoo.com”, “http://www.msn.com”];
abd button text [“Google”, “Yahoo”, “MSN”];

right ?

yes … anything u can suggest ?

bump…

please wait for now… will get back to you… in about 18 hours

sorry … got back late…

here is a thing… try it out…

http://www.4shared.com/file/49746129/c7eeb0e9/helping.html