# Tweening Image Border

**URL:** <https://forum.kirupa.com/t/tweening-image-border/243150>\
**Category:** flash\
**Created:** [November 3, 2007, 1:13pm UTC](https://forum.kirupa.com/t/tweening-image-border/243150 "2007-11-03T13:13:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [November 3, 2007, 1:13pm UTC](https://forum.kirupa.com/t/tweening-image-border/243150/1 "2007-11-03T13:13:05Z")

</div>

Hello,

I am trying to make one of those Resizing borders for an image gallery …

Is there an Actionscript 2.0 function that whilst Loading in an external jpeg, Flash can be told the dimensions of the picture it is currently loading \> before it has loaded it fully. … ?

Thus, preparing the size of the border, whilst the image is loading.

Or, does it have to initiate that once the jpeg has loaded 100% …

A lot of words for one question …

Thanks if there is some help out there 🙂
