Have stage resize based on movie clip

By thetwistabletrav | Jun 26, 2009

actionscript3

ok i have a button thats adds a movie clip to the stage…the movie clip height is bigger than the stage. is it possible to have the stage "extend" when you click the button to show the whole movie clip?

ActionScript Code:
addPic.addEventListener(MouseEvent.CLICK, addImage); function addImage(event:MouseEvent):void{     var mc:MovieClip = new testClip();     this.addChild(mc); }

kinda like this i guess http://www.adobe.com/resources/busin…t_apps/#closed when you click on the flash on that page it expands and stuff

Thanks for any help :)

actionscript3

Please reply at our Forum

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2007 ActionScript 3.0