|
-
I'm not afraid
rollOut only works left and bottom?
I'm working on my new site and venturing into a little actionscript. To no avail unfortunately.
If you mouse over any of the pictures in the middle there you should get a pop up similar to how you do for ALT text. The problem is it only fades out when you rollOut to the left or to the bottom. If you move out over the top or the right, it continues to drag and it stays visable.
Each "ALT" is obviously a MC and they are setup like this:
and here is the code for the button (picture)
Code:
on (rollOver) {
feat1rollover.gotoAndPlay("feat1dragon");
startDrag("feat1rollover", true, 12, 257, 158, 327);
}
on (releaseOutside, rollOut, dragOut) {
feat1rollover.gotoAndPlay("feat1dragoff");
stopDrag();
}
Any help would be greatly appreciated. Also if anyone could recommend a good actionscript book that would be huge.
Thanks,
Craig
Last edited by Fearless; 07-10-2004 at 02:05 PM.
-
I'm not afraid
-
I'm not afraid
sorry about that, the temp site has the right link now. I still can't figure it out and I'm at a stand still until I can. help!
-
the friendly canadian
Well, Im not sure if this is right, but it could possibly help....
Do you have any form of spacer between your images, or are they glued side by side? Try adding spacers from the top and from the right of each image.
*edit*
I just tested this again on your page and the far right image you can rollOut to the right, where there is a space. So add a few spacers and see what happens.
Cheers.
-
I'm not afraid
The actual buttons are only the pictures plus the two outlining grey frames, so there is a space between each. I think the reason the far right one works is because the flash movie ends right after the white line there. You'll notice it doesn't actually fade out if you mouse out to the right of that one until you exit the border of the movie.
Would a hit test possibly work for this?
-
I'm not afraid
I got it. thanks.
note: do not use constrain to rectangle and you won't have this problem.
-
the friendly canadian
Im glad you got it worked out.
Happy Flashing!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|