# Resizable stage with function?

**URL:** <https://forum.kirupa.com/t/resizable-stage-with-function/324273>\
**Category:** Uncategorized\
**Created:** [August 11, 2011, 2:38pm UTC](https://forum.kirupa.com/t/resizable-stage-with-function/324273 "2011-08-11T14:38:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artlover](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@artlover](https://forum.kirupa.com/u/artlover)\
**Post date:** [August 11, 2011, 2:38pm UTC](https://forum.kirupa.com/t/resizable-stage-with-function/324273/1 "2011-08-11T14:38:46Z")

</div>

hi all…

resizable stage with function in class  
possible???

example,

```auto

package
{
import flash.display.MovieClip;
//[SWF(width = "400",height = "300")] <---no here
....

public class example extends MovieClip
{
function example():void
{
-------------------- here is it -------------------------
}
}
}

```

I’m sorry for my eng 🙂  
thanks,  
best regards.
