Question
Dynamic Border around image
hi there,
i have a main flash movie (main.fla) which has images placed on the screen.
Each image has an invisible button placed on it.. (ie: the button has only
the hitarea defined and no rollover, down etc.)
NOTE: that the images are different in sizes. hence they have different
width and height.
I tried making a movieclip of 200 x 200 in size with a 1px border around it
and dynamically making it adjust to the width and height of the images. BUT
i seem to be hacing the following problem-
1) for images that are larger in size than the border movieclip.. the border
tends to thicken.
2) for images that are smaller than the border movieclip.. the border tends
to get more thinner
Required-
OnRollover of an image.. it should have a border around it, inorder to
highlite the selected image. Lets say, a 1px border and red in color. How do
i achieve this?
Would really appreciate if someone would provide a simple code to achieve
this as i am not used to programming.
Please help..
thanx
i have a main flash movie (main.fla) which has images placed on the screen.
Each image has an invisible button placed on it.. (ie: the button has only
the hitarea defined and no rollover, down etc.)
NOTE: that the images are different in sizes. hence they have different
width and height.
I tried making a movieclip of 200 x 200 in size with a 1px border around it
and dynamically making it adjust to the width and height of the images. BUT
i seem to be hacing the following problem-
1) for images that are larger in size than the border movieclip.. the border
tends to thicken.
2) for images that are smaller than the border movieclip.. the border tends
to get more thinner
Required-
OnRollover of an image.. it should have a border around it, inorder to
highlite the selected image. Lets say, a 1px border and red in color. How do
i achieve this?
Would really appreciate if someone would provide a simple code to achieve
this as i am not used to programming.
Please help..
thanx