actionscript 3 - Fash-CS5 after changing movieclip size fonts/images are getting squeezed -



actionscript 3 - Fash-CS5 after changing movieclip size fonts/images are getting squeezed -

i have 1 film clip of size 1280 x 720 images, buttons , text in it. run-time need alter size of film clip 1280 x 300, after doing images, buttons , text in film clip gets squeezed vertically.

how display same move clip images , text in different sizes without disturbing size of contains.

new edit/update: in case have list within film clip. want archive want maintain list item size static , should not alter if parent re-sizes. if not possible in flash how can re-size items in list. don't know why list not using scrolling property display it's contains according size. suppose illustration if list size of 600px should display 7 items in list , provide scroll other items , if re-size list suppose 300 , should display 4 items , provide scroll for. remaining item

thanks.

if movieclip main document class set next properties of stage:

stage.align = stagealign.top_left; stage.scalemode = stagescalemode.no_scale;

if movieclip exists elsewhere within swf/timeline/display stack can override width/height setters , write custom code organise movieclip

override public function set width(value:number):void { //organise movieclips images/buttons/text horizontally } override public function set height(value:number):void { //organise movieclips images/buttons/text vertically }

there more complex solutions (rendering changes once, rather on each setter call) , i'd @ how keith peters handles in minimalcomponents library.

actionscript-3 flash-cs5

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -