# Drawing Border ? Help?

**URL:** <https://forum.kirupa.com/t/drawing-border-help/185988>\
**Category:** Uncategorized\
**Created:** [April 18, 2006, 8:58am UTC](https://forum.kirupa.com/t/drawing-border-help/185988 "2006-04-18T08:58:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casperados](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/casperados/32/2307_2.png) [@Casperados](https://forum.kirupa.com/u/Casperados)\
**Post date:** [April 18, 2006, 8:58am UTC](https://forum.kirupa.com/t/drawing-border-help/185988/1 "2006-04-18T08:58:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![theflash](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/theflash/32/1221_2.png) [@theflash](https://forum.kirupa.com/u/theflash)\
**Post date:** [April 18, 2006, 9:13am UTC](https://forum.kirupa.com/t/drawing-border-help/185988/2 "2006-04-18T09:13:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Casperados](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/casperados/32/2307_2.png) [@Casperados](https://forum.kirupa.com/u/Casperados)\
**Post date:** [April 18, 2006, 9:16am UTC](https://forum.kirupa.com/t/drawing-border-help/185988/3 "2006-04-18T09:16:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![theflash](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/theflash/32/1221_2.png) [@theflash](https://forum.kirupa.com/u/theflash)\
**Post date:** [April 18, 2006, 9:25am UTC](https://forum.kirupa.com/t/drawing-border-help/185988/4 "2006-04-18T09:25:24Z")

</div>

Welcome to KirupaForums 🙂 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:
