Groups | Blog | Home
all groups > flash (macromedia) > may 2007 >

flash (macromedia) : Run Button inside a movie effect outside a movie



Inderdeep
5/7/2007 9:55:59 PM
hi
I am working in flash 8 on Windows XP. I am creating a US Map Project . Under
which when i mouse over on a particular US-state it's size is increased. I did
it by using a movie clip. I made such moive clip's for each state of USA.
Now my requirement is when i mouse over on a particular US State it must grow
its size. and further it must have few spots on that movie. on which when user
clicks a small panel with some information about that location should be shown.

For this i made a movie for each US State. and set mouse over event .
on(rollover){
mcName.gotoAndPlay(2);
}
till here it works fine. But for further spots for locations i made button in
each moive.

Now when i mouseover on movie it gives me desired results. But when i try to
click on the button
inside that movie. It doesnt work.

Please Urgent Help is required .
urami_
5/8/2007 12:00:00 AM


[quoted text, click to view]

The problem with flash is that you can't nest button within button even tho it is
in a movie clip. You need to use movie clips instead. In that movie, on first frame
you have stop(); action and the button with roll over action to jump frame which
has the OVER state content. Than from there you have more buttons to branch out the
tree.

--
Best Regards

Urami


--

Beauty is in the eye of the beer holder...


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
AddThis Social Bookmark Button