-
Button or Movie
Very new newbie to the flash development. Need to have text in a web page and then have an image displayed on the other side of it when the mouse is rolled over it, also need the image to stay until the mouse is moved to another text button or whatever it will be. Only that I also need to have the image that is displayed also be clicked to bring up the picture in a larger size with text. I want to display some product in rolls and that will be the clicked image for a description of it. What I'm not sure of is, whats the best way to do this? Either a button or a movie and how to get it to do what I'm looking for. I have checked the forums and also looked at examples, but still lost on what to do. Thanks.
-
MovieClip gives more options than button. Buttons are great when you need simple button behavior.
Sounds like you need to use movieClips.
-
Thanks, I will look more into doing this then. Do I then use action scripts to do the roll over and other stuff? Sorry, but to be honest I have no clue. Bet you couldn't tell.
Chris
-
BTW something that I struggled with when I first did this sort of thing was how to hide the right thing when I rolled over a new button.
Lets say you have 4 buttons and 4 images you want to show the Images are movie clips named mc1 - mc4 First time I did this every button I thought I had to have a line like
mc1._visible=false or mc1.gotoAndPlay(2) to do like a fade down.
mc2._visible=false
etc.. What you can do is make a "pointer" to the currently shown movie clip and then in each button just
curClip._visible=false
curClip=_root.mc2
curClip._visible=true
Hope that makes some sense.
Example I suppose would help
-
yes in the actions for the clip use like
on(rollOver){
}
on(rollOut){
}
on(release){
}
-
Thanks so much for the help this will get me started on it. Nice to have people like yourself willing to help out, kind of why I started with Linux and sure to be with KoolMoves.