Hello guys,
I need a script or explaination or example of a image in move over tooltip.
i have a assignment in which i have some buttons and when we mouse hover it i want to show a box appeared in which i want to show a image.
have a look to this one http://www.templatemonster.com/category.php?type=13
here is the example in javascript/html of what i want in flash.
put your moouse on any image you will get a box with image showing same thing i want in flash not nessecerely the same image in tooltip box.
please guys do it fast i need this tomorrow. plz plz plz
okey now i attached a zip file. see there is a picture of 3 guys and i made a transparent button on each of their face. then what i want is a tooltip or box with their images and maybe few words also whenever we mouse over their faces.
loading images and unloading images on rollover is not best option
it takes some time
preload images(or you can export them in first frame with linkage or you can put them on scene but out of view), hide them / mc._visible = false;
onRollOver put _x and _y of mc’s on right place and unhide them
onRollOut hide images
p.s. why the hack 800x537 image is 2mb big ??? compress it better and you would be able to share it faster
so rename button one to movieclip named guy1 and put tooltip1 image on scene somewhere out of scene or preload it
try and make that tutorial like i said, but making the caption the size to hold the image you want - then substitute the dynamic text box that the tut says to make with an empty movie clip called image_mc that loads an image into it.
then put the 3 images you want to use into the same folder as your flash and use
on (rollOver) {
_root.x = 1;
_root.caption.image_mc.LoadMovie("image.jpg");
}
on (rollOut) {
_root.x = 0;
_root.caption.image_mc.unloadMovie();
}
[FONT=Courier New][COLOR=#000000] [/COLOR][/FONT]
on the buttons instead of the code the tut says - obviusly renaming the image reference to point to the right thing.
once youve got all that set up - then if its still not working i will make it work for you. u learn by doing man
gvozden if u look at the example he posted at the top - from template monster - it loads them in. Im just trying to replicate that. if he wants a loader i can help him with that after.
gvozden, can you make an example of what you are saying… just a little example. use your own images. but i need to show a image in the mouse rollover box.
thanks a lot
i have just done what that tutorial said… it shows a caption box but not the images i put in same folder with flash file. please check it… i changed the code also. and replaced the image names also but dont know what is the problem.
i posted it for you. the fla - its post 15 - just download it and work it out…that fla has them embedded in…so you want one that loads external stuff too?