PDA

View Full Version : thumbnails and a back button?


steveoh
12-21-2005, 12:38 PM
Hi, I'm a semi-newbie and I've been stuck for 2 days on this! :( I'd appreciate some help, thanks! :D I purchased a flash website template and have gotten 95% of it to work great. All is well EXCEPT for one part.

The navigation of the site uses a cartoon character to walk into different rooms. He walks in one room, and he faces a wall (let's say it is on frame 20). On this wall I'm trying create something new, some thumbnails of jpegs (and some months from now these may be .swfs). When you click on a thumbnail, I want the larger version jpeg of that thumbnail to appear in a large frame on that wall. The template simply had him looking at tiny static jpegs, no thumb ability.

On frame 20 of the THUMB LAYER I've made each thumbnail into a movie clip. When you click on the first thumbnail, the code is

on (release) {
gotoAndStop(21);
}

On each frame of the BIG PIC LAYER, I have

(stop);

Then when you click on the 2nd thumbnail, you go to frame 22, etc. This works fine. I've got 10 pics through frame 30.

My problem is a "back" button at the lower part of the stage. When you click it at any point in this process, the character starts walking out but then freezes in place, legs still kicking -- instead of leaving the room as normally happens on the template. I haven't messed with the frames for the back button -- the template had it on its own BACK BUTTON LAYER, available on all frames that the character is in the room. When you open up the button, inside it is one frame with

on (release) {
_root.h.gotoAndPlay("d1")
_root.link = 4;
_parent.play();
}

"h" is the character instance, "d1" is the action of the character walking out (this is inside his movie clip), "4" is another room

Bottom line is, I need to get a gallery of thumbs to work AND get the back button to work too -- and I can't get one to work without messing up the other. I think the core of my problem is that I added frames to put each large pic on its own frame, but I can't get around it. I don't know how else to do this thumbnail idea. Any solutions?

steveoh
12-21-2005, 10:22 PM
anyone??

thanks!:)