Jump to content
Search Community

riavietnam

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by riavietnam

  1. Hi,

     

    My picture frame (holder: sprite) has two sprite child (one is the frame border outside, and the other is the content inside).

    1. We can not use the scale9Grid property

    Ex:

    var slice9rect:Rectangle = new Rectangle(38, 38, 38, 38);

    holder.scale9Grid = slice9rect;

     

    item:TransformItem = manager.addItem( holder );

     

    2. I have developed a successful 9-slice scaling sprite like below example:

    http://uwantweb.com/projects/FlashFrame ... /Main.html

     

    But when adding to the TransformItem, The transform is working as normal without the 9-slice scaling.

     

    I do not know why :-(

×
×
  • Create New...