9-slice scaling properties in Flex


/ Published in: MXML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. scaleGridTop is the y position of this rectangle i.e. scaleGridTop=54
  2.  
  3. scaleGridBottom is the y position of this rectangle plus its height i.e scaleGridBottom=54+82
  4.  
  5. scaleGridLeft is the x position of this rectangle i.e scaleGridLeft=53 and finally
  6.  
  7. scaleGridRight is the x position of this rectangle plus its width i.e scaleGridRight=53+215

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.