Scale9 ignored when MovieClip used as mask

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

I've got a generic rounded-corner square with scale9 guides applied through the GUI, that I use all over the place in the movie in alot of different sizes.
I'm having an issue with one instance where I use actionscript to set the instance of this square as a mask. When the instance is set as a mask, the scale9 guides are ignored.

I can always just make multiple individual masks already set to size, but it would be nice if I didn't have to, maybe I'm doing somthing wrong.

In the GUI,
I place the instance of the square on the stage,
resize the square to the size I want it.
Then with actionscript I use the following to setup the masking.
Code: [ Select ]
masked.setMask(instanceOfSquare);


No other instances of the square are giving me any problems with the scale9.

The instance being used as a mask, is also contained within another movieclip that has a mask applied to it.
I seem to be finding issues with a few things when multiple levels of masking are applied. :scratchhead:
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

Seems that scale9 is ignored when a horizontal flip is applied as well.
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

can you link me to your fla file?
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

Ended up just working around it by using the individual sizes when masking is a factor.
It's really not that much more work or filesize since they're basic vector shapes.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 10 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.