Drawing Border ? Help?

Hello ,

I was jus thinking of drawing a border to an image first and load it after that… that is the effect should be like… the border should be drawn in white and then the image(it can be any image) should be shown hope u understood what i asked for …if anybody can help me regarding this i will be very thankfull …

Casper

you can create border using flash drawing APIs… Look for them in MovieClip class… (lineStyle, lineTo, moveTo etc…)

Load jpg but make the container invisible…

get the height and width of the image by getting h and w of its container movieclip…

then draw the boundry using drawing fuctions… then show the img container

If you want to animate you will have to use drawing functions in onEnterFrame event or using setInterval method

thanks :slight_smile: kinda am new to flash…i will try what u said and if any error occors will come bac to u thanks aloot :slight_smile:

Welcome to KirupaForums :slight_smile: You should be fine… just explore help and examples in case you get stuck…

But if you post your problem it would be great if you post your attempted source files (.fla)

best wishes :thumb: