-
help starting out with rollover
ok, i have 2 images (imageup.jpg and imagedown.jpg) and a sound effect (sound.wav).
i want imageup to fade in and imagedown is displayed with a sound effect when the mouse rolls over it. clicking would go to a website.
if someone could help me or point me to a good tutorial i would really appreciate it. thanks. FB
UP
OVER
imageup.onRollOver = function() {
startFrame = 1;
}
DOWN
imagedown.onRollOut = function() {
startFrame = 0;
}
HIT
imagedown.onRelease = function(){
getURL("http://www.website.com/page.php");
};
-
Advance Motion Management
go to the Button libraries in flash, you will find ample amount of examples there.
--
Vini
Its in my Blood, B+
-
thanks i got it. one more thing - my images are only showing about 1/2 their actual size on the output? how do i adjust that?
-
Originally Posted by frankbea
thanks i got it. one more thing - my images are only showing about 1/2 their actual size on the output? how do i adjust that?
hmm, not sure what made your image smaller in the first place, but...
if you're using flash 8, you can go to "windows>transform" and in the transform panel, check the box next to "constrain" and enter the percent by which you want to make your image smaller or larger (so to make it twice its current size, you'd enter 200%)
you could also use the transform tool to make your image larger (hold down the shift key while changing the size of your image if you want to maintain the keep the same width:height proportions)
hth
-
Advance Motion Management
Simply resize the picture to match your actual window
--
Vini
Its in my Blood, B+
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
|