Scale9 ignored when MovieClip used as mask

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13458
  • Loc: Florida
  • Status: Offline

Post March 8th, 2007, 4:24 am

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:
Strong with this one, the sudo is.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 8th, 2007, 4:24 am

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13458
  • Loc: Florida
  • Status: Offline

Post March 8th, 2007, 9:29 pm

Seems that scale9 is ignored when a horizontal flip is applied as well.
Strong with this one, the sudo is.
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post March 9th, 2007, 1:02 am

can you link me to your fla file?
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13458
  • Loc: Florida
  • Status: Offline

Post March 9th, 2007, 1:42 am

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.
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 27 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
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.