Today's project

I’m still quite new to actionscripting and wondered if anyone could give me some pointers over the next few hours.

I’ve done a few bits a actionscript, but I still feel that it han’t quite clicked in my brain. I keep needing to ask very basic questions on , syntax, method etc…

I’m trying to build a photo gallery that has a sort of elastic thumbnail menu. I could just rip someone else’s, but that isn’t going to help me develop.

What I’m trying to do today is make something similar to CommanderCool’s elastic menu. I want to replace the coloured boxes with thumbnails (15). I can then link each one to it’s full size image using loadmove.

CommanderCool’s Menu

I’m not sure how to get this help session started, so i’ll just post it and see how we go.

Thanks in advance…

Capt,

P.S : I’m using Flash MX

well if you wanted to use Commander’s exact file (for learning purposes I assume, not your own =)) you could edit the orange clips and inside those clips put your thumbnails as buttons on each frame and on each frame put a stop()…

now when the clips duplicate, you could tell them to go to a certain frame, so that they would all be the same clip but on a different frame, the menu elastic coding would stay the same…

clear enough ? (mmh i dunt think so rereading my post=))

Why can’t I look at things so simply…

I’ll do it now and let you know…

Thanks

Capt,

With limited knowledge, I’ve got that bit working and have gotten stuck on the next bit

Each box now moves to a new frame to show the correct thumbnail image.

Next Part…

I have prepared some images and named them photo1.jpg - photo10.jpg. But how do I tell each movie which photo to load. Everything I’ve tried so far has brought up photo1.jpg for every thumbnail.

I’m getting vague, sorry…

ok a hardcore flasher would probably kill me but this might work (when you press the clip it loads the image of the corresponding frame, thus using currentframe function: )


on (press) {
	_root.container.loadMovie("box"+_this._currentframe+".jpg");
}

cheers
mlk =)

I won’t tell anyone if you won’t :wink:

It worked anyway… although I had to replace " _this " with “this”.

Many thank U’s …

Maybe do it again sometime…

Regs

Capt,