# Adjust height/width of image

**URL:** <https://forum.kirupa.com/t/adjust-height-width-of-image/256419>\
**Category:** Uncategorized\
**Created:** [April 2, 2008, 9:05pm UTC](https://forum.kirupa.com/t/adjust-height-width-of-image/256419 "2008-04-02T21:05:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ma501th](https://avatars.discourse-cdn.com/v4/letter/m/858c86/32.png) [@ma501th](https://forum.kirupa.com/u/ma501th)\
**Post date:** [April 2, 2008, 9:05pm UTC](https://forum.kirupa.com/t/adjust-height-width-of-image/256419/1 "2008-04-02T21:05:16Z")

</div>

i have a button with actioncript of :

on (release){  
loader.contentPath = “\*\*\*.jpg”;  
}

when the button is clicked it loads the image. How do i adjust the code so that i can specify how to enlarge the image (height/width)

cheers
