This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > April 2004 > more roll over issues :(
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
more roll over issues :(
|
|
| deb_23 2004-02-17, 5:28 am |
| hey all i just made site that uses roll over buttons. I think i kinda went the
cheap way about making these roll overs (i didnt use action script). What i
wanted was that when u roll over an image on the side of the screen a large
image would appear in the middle of the screen so what i did was this. Insert
the button and then edit the "over" part of the button so that the large image
is placed in the middle and this seemed to work fine, except i just realised
that when u roll the mouse down the middle of the screen (where the large image
is meant to be displayed) they pop up! Its kinda hard to explain, but u can
see a draft version of the site at www.houseofmoshen.com once it loads click on
the mens button and move the mouse to the middle of the screen and u see the
big images pop up
Any ideas how i can fix this?? or do i have to go back and change all the
buttons to action script etc.??
Thanx
Debbie :
| |
| RobbieSoule 2004-02-17, 12:29 pm |
| I think you simply need to take your large image out of the HIT state of
your button (frame 4 on the button's tineline.)
[rob|e.9]
"deb_23" <bkem3554@bigpond.net.au> wrote in message
news:c0sm52$1bg$1@forums.macromedia.com...
> hey all i just made site that uses roll over buttons. I think i kinda
went the
> cheap way about making these roll overs (i didnt use action script). What
i
> wanted was that when u roll over an image on the side of the screen a
large
> image would appear in the middle of the screen so what i did was this.
Insert
> the button and then edit the "over" part of the button so that the large
image
> is placed in the middle and this seemed to work fine, except i just
realised
> that when u roll the mouse down the middle of the screen (where the large
image
> is meant to be displayed) they pop up! Its kinda hard to explain, but u
can
> see a draft version of the site at www.houseofmoshen.com once it loads
click on
> the mens button and move the mouse to the middle of the screen and u see
the
> big images pop up
>
> Any ideas how i can fix this?? or do i have to go back and change all the
> buttons to action script etc.??
>
> Thanx
>
> Debbie :
>
| |
| Exccelibar 2004-02-17, 3:53 pm |
| debbie i what u need to do is that when u rol over the button the pic stays/ or
disapea
try to do this
-make a butto
-insert the pic u need , convert it into a simbol ,name it, ex: pi
in the actionscript enter these
pic._visible = 0
then goto the button's actions, and enter these
on(rollOver)
pic._visible = 1
this is if u want the pic to stay..
-----------------------------------------------
on(rollOver)
pic._visible = 1
on(rollOut)
pic._visible = 0
-----------------------------------------------
.xeofreestyl
| |
| deb_23 2004-02-19, 12:29 am |
| hi there, i tried what u said Exccelibar, but it still doesnt work, i even made
a new movie with just a box as a button and when u roll over it another shape
should pop up.....but it doesnt :( i dunno what im doing wrong. Heres what i
di
1. Drew a box with a fill, selected it all and group it, then hit F8 and
defined it as a button (button1
2. Then i hit ctrl F8 and defined it as a movie and called it pic, then drew
a box with a circle around i
3. Drag the pic from the library into the main window and apply the following
code to eac
Button:
on(rollOver)
pic._visible = 1
Graphic (defined as a movie though)
pic._visible = 0
But when i run the movie both images appear, when u roll over the button
nothing happens (except the mouse becomes a finger
Could sumone send me a simple roll over that i could look at?? PLEASE?!?!?!?!
bkem3554@bigpond.net.a
Thank
Debbie :
| |
| Big_SeckC 2004-04-08, 5:33 pm |
| Hi,
I was reading your post in the Flash Forum (i too have issues with rollover)
but i had a situation similar to yours. I have balloon popups on an invisible
button that activate on rollover. Here is an actual piece of code that i did
for one button:
on (rollOver) {
inv_ant.onRollOver = function() {
loadMovie("balloon_ant.swf", "ant_bal");
};
inv_ant.onRollOut = function() {
unloadMovie("ant_bal");
};
}
As you can see, this is action script - plus the code is on the actual button
(inv_ant) itself. Before i used this code, the images would pop whenever the
mouse got close. Please keep in mind that i also inserted a new symbol (movie
clip - ant_bal) and then attached the appropriate popup swf (balloon_ant.swf)
to the movie clip. This is why you see balloon_ant.swf. I had to create a
movie of the popup and then have it targeted in the main movie (i.e., ant_bal)
.. Then of course, when you rollout you want it to disappear soooooooooooo now
you see the unload reference :) I know this is probably not making any sense
because it took me a long time to figure it out on my own but hopefully i
explained it enough to help you. You can find the example at
[L=http://www.nex2us.com/templates/wunl/index.htm
]http://www.nex2us.com/templates/wunl/index.htm [/L] under Products.
If you know why sometimes i have to double click on a button or why i have to
rollover an area twice before certain actions happens maybe you could help me?
You can find the example at [L=http://www.nex2us.com/templates/wunl/index.htm
]http://www.nex2us.com/templates/wunl/index.htm [/L]
Please and thanks.
Big SeckC
| |
| anishu 2004-04-08, 5:33 pm |
| chck the attached zip file
hope this helps
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|