Re: [flexcoders] scale9grid question

2011-08-12 Thread kris range
scale9grid only works in clips that only contain vector shapes...so you can't have sub-movieclips or sprites. i don't really know your requirements but one solution would be to create a container clip, insert both clips as children of that one and manage both that way. On Fri, Aug 12, 2011 at

Re: [flexcoders] scale9grid question

2011-08-12 Thread Technusiast
, August 12, 2011 8:19 AM Subject: Re: [flexcoders] scale9grid question   scale9grid only works in clips that only contain vector shapes...so you can't have sub-movieclips or sprites. i don't really know your requirements but one solution would be to create a container clip, insert both clips

[flexcoders] scale9grid question

2011-08-11 Thread technusiast
I am working with Flex 3, and import a movieclip symbol from a SWF. The symbol is rectangular and has scale9 grid enabled because it has rounded corners. Inside the area of the grid where objects resize both horizontally and vertically, I placed another symbol. But I do not want this 2nd

[flexcoders] scale9grid and containers

2009-05-05 Thread thomas parquier
Hi, Embeded background with scaleGridTop,left,... doesnt resize. Is there a simple way to use an image as scale9grid background of a container (hbox) ? thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net

[flexcoders] scale9Grid: What am I missing?

2008-09-23 Thread Amy
I have my image set up just like in the docs http://livedocs.adobe.com/flex/3/html/help.html?content=embed_4.html, but my image isn't actually scaling. What am I missing? This is my code: [Embed(source='images/window.png', scaleGridTop='40', scaleGridBottom='185', scaleGridLeft='300',

Re: [flexcoders] scale9Grid: What am I missing?

2008-09-23 Thread Michael Schmalle
Hi Amy, I remember something weird about this, try loosing the apostrophe's around the numbers. [Embed(source='images/window.png', scaleGridTop=40, scaleGridBottom=185, scaleGridLeft=300, scaleGridRight=585)] Mike -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog

Re: [flexcoders] scale9Grid: What am I missing?

2008-09-23 Thread Jon Bradley
On Sep 23, 2008, at 10:55 AM, Amy wrote: mx:Image id=backgroundImage source={windowImage} width=1000 / You're missing the height parameter. I think this is necessary - either as a percent or static value - to force the image component resize. You can also try adding scaleContent=true

Re: [flexcoders] scale9Grid: What am I missing?

2008-09-23 Thread Jon Bradley
On Sep 23, 2008, at 11:02 AM, Michael Schmalle wrote: I remember something weird about this, try loosing the apostrophe's around the numbers. Good catch. I haven't run into that in a long time probably because I've been setting this stuff through AS now (or skins). - j

[flexcoders] scale9Grid on flex image control. does it work?

2007-08-29 Thread walsaadie
Trying this simple bit of code: var image:Image = new Image(); addChild(image); image.source = images/image.png; image.maintainAspectRatio = false; image.scale9Grid = new Rectangle(2,2,30,30); the image size is 200 x 200 pixles i also tried adding different event handlers like complete thinking

RE: [flexcoders] scale9Grid on flex image control. does it work?

2007-08-29 Thread Alex Harui
). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of walsaadie Sent: Wednesday, August 29, 2007 3:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] scale9Grid on flex image control. does it work? Trying this simple bit of code: var image:Image = new Image

[flexcoders] scale9Grid

2007-01-31 Thread Janis Radins
Hello FlexCoders! I'm trying to make here pretty simple component which should involve scale9Grid functionality. I still don't feel professional in Flex UI components framework I might have here something stupid, though i guess some of you should be able to help me. What I am trying to make is

Re: [flexcoders] scale9Grid

2007-01-31 Thread John C. Bland II
It sounds like you're creating a custom scale9 which isn't necessary. http://www.adobe.com/devnet/flex/articles/flex_skins_07.html (best article yet for skinning; that I've read, at least) That page shows you how to use CSS to utilize scale9. Hope it helps... On 1/31/07, Janis Radins [EMAIL

Re: [flexcoders] scale9Grid

2007-01-31 Thread Janis Radins
Thanks for reply, but i guess that's not exactly what I need. I'm making resize frame, so I just need to stick 4 corners in they positions and sides at full height. So this is not exactly skinning thing. And i don't think this is custom scale9, custom would be if I would resize all objects