Re: [Spam] [flexcoders] ImageSnapshot without scroll bars?

2009-08-20 Thread flexjunker
Hey Nick, yeah ImageSnapShot is a class that basically takes a UI component and spits out the bitmapData, which you can encode as a jpg / png. http://www.cs.vu.nl/~eliens/im/assets/flex3/langref/mx/graphics/ImageSnapshot.html I just don't want the 'snap' of a container to have any scroll bars,

Re: [Spam] Re: [Spam] [flexcoders] ImageSnapshot without scroll bars?

2009-08-20 Thread Nick Middleweek
OK, that's amazing... Is there not a way to test if the scrollbars are actually visible? Different from the scrollbar visible policy?... You could always crop the image I guess? can you do that in Flex/ AS? Or you could force scrollbars to be visible and then always crop the image that's

[flexcoders] ImageSnapshot without scroll bars?

2009-08-19 Thread flexjunker
Anyone know of how to avoid the scroll bars in an imagesnapshot of a container? Thanks.

Re: [flexcoders] ImageSnapshot without scroll bars?

2009-08-19 Thread Fotis Chatzinikos
Never printed anything from flex back you could either: 1) remove scrollbars prior to printing and then put them back (horizontal and vertical scroll policies set to off) 2) if this makes the application 'jumpy' due to bars disappearing and then reappearing, you could possibly try and copy the

Re: [Spam] [flexcoders] ImageSnapshot without scroll bars?

2009-08-19 Thread Nick Middleweek
Sorry for the newbie question but what do you mean image snapshot?... Do you mean take a screen shot of a certain area in flex and save it as a JPEG or something? Cheers, Nick 2009/8/19 flexjunker willtheb...@yahoo.com Anyone know of how to avoid the scroll bars in an imagesnapshot of a