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, although 
the container does (and needs at this point in time) to have them. I'm prolly 
just going to go with SWFObject and something like swiffit.

Unless anyone can come up with a solution...



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 produced...



Nick



2009/8/20 flexjunker willtheb...@yahoo.com



 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.htmlhttp://www.cs.vu.nl/%7Eeliens/im/assets/flex3/langref/mx/graphics/ImageSnapshot.html

 I just don't want the 'snap' of a container to have any scroll bars,
 although the container does (and needs at this point in time) to have them.
 I'm prolly just going to go with SWFObject and something like swiffit.

 Unless anyone can come up with a solution...

  



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
 container?

 Thanks.