Forum Moderators: open

Message Too Old, No Replies

Invisible buttons in a scrolling Flash Movie

Newbie to Flash stuck on buttons

         

ColossalSquid

9:49 pm on Jan 16, 2007 (gmt 0)

10+ Year Member



Hello, I only started using Flash three weeks ago and I've been merrily building a little interactive panning scene for a frends website.

I've built it so the scene is 1430 pix long and the stage area is 680 pix long. As you hover your mouse over the stage the scene (saved as a movie) pans accross in the direction of your mouse movement. I've built a top layer that acts as a viewer and it works great and looks really nice.

the next thing I wanted to do was make invisible buttons so you can click on parts of the scene as it comes accross. I can create the buttons and get them onto the scene. However, they don't pan with the scene, simply staying static on the viewer as the scene pans underneath it.

I'm obviously missing something. Do I need to go back to the beginning and add the buttons to the scene that pans before I make it into a movie, or is there another way of doing this?

Thanks in advance for any help you can offer.

badgering

5:47 pm on Jan 17, 2007 (gmt 0)

10+ Year Member



You dont need to go back to the beginning. Just move the buttons inside the movieClip that moves.

ColossalSquid

10:47 pm on Jan 21, 2007 (gmt 0)

10+ Year Member



Thanks very much, I wasn't sure how to do that, and I tried to do that, but I think I did it wrong, because the buttons didn't move when the image did, when I grouped them it made all the layers go Crazy. so what I did was go back to the orginal image that becomes the clip in the Library and grouped the buttons with the clip then modified it into a symbol selected Movieclip then imported back into the original Flash Document, replacing the original symbol and it worked. I'm sure there is a much more elegant way of doing it, but this worked really well. The individual buttons could then be edited in the Library.

This is a great resource, especially for those of us on a vertical learning curve.

Thanks for your help.