RE: [flexcoders] scrollRect ???

2009-09-24 Thread Alex Harui
Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Wednesday, September 23, 2009 10:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] scrollRect ??? Wondering if anyone knows how to get the difference

[flexcoders] scrollRect ???

2009-09-23 Thread flexaustin
Wondering if anyone knows how to get the difference between the scrollRect x position relative to the components edges? I am building a pancontrol, similar to the ones found Google Maps or Yahoo Maps, for quick navigation. In order to setup my pancontrol I need to find out the following given t

RE: [flexcoders] scrollRect width and height - flexaustin

2009-04-27 Thread Alex Harui
ps.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Monday, April 27, 2009 12:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] scrollRect width and height - flexaustin I have tried increasing the width/ height of the scrollRect once its been set, say your swf sca

[flexcoders] scrollRect width and height - flexaustin

2009-04-27 Thread flexaustin
I have tried increasing the width/ height of the scrollRect once its been set, say your swf scales ot the window size, but nothing will increase its width or height. So, instead of increaseing and decreasing the width and height of the scrollRect when the stage is resized I just create and ass

Re: [flexcoders] scrollRect confusion

2007-09-10 Thread Matthew Ganz
: [flexcoders] scrollRect confusion scrollRect just provides clipping, it does not add scrollbars, etc. For that, I'd recommend just putting your image component inside of a Canvas component. Troy. On 9/10/07, Matthew Ganz <[EMAIL PROTECTED]> wrote: hi. i'm loa

Re: [flexcoders] scrollRect confusion

2007-09-10 Thread Troy Gilbert
scrollRect just provides clipping, it does not add scrollbars, etc. For that, I'd recommend just putting your image component inside of a Canvas component. Troy. On 9/10/07, Matthew Ganz <[EMAIL PROTECTED]> wrote: > > hi. > > i'm loading an image at runtime into an image component. i want the >

[flexcoders] scrollRect confusion

2007-09-10 Thread Matthew Ganz
hi. i'm loading an image at runtime into an image component. i want the component to have horizontal and vertical scrollbars. the image is 300x300 and the image i'm loading in is 500x500. i thought i could simply define a rectangle for the 'scrollRect' property of the image but it doesn't appe