On 7/6/05, svktiilikainen <[EMAIL PROTECTED]> wrote: > Nihit, your code example works - it really is possible to print two > pages even if they are not on screen. Great, thanks! But how does > the code work, could you explain the logic a little? Where are the > resizeMask() etc methods coming from?
I'll try to beat Nihit to this (although he's clearly "da man" when it comes to printing). Basically the parent of the Loader, the Box, has a mask that is used for clipping the content (as the content won't fit within the bounds). In the sample code, this mask is being removed temporarily before printing and then added back once it's done. The removeMask, createMask and resizeMask functions are internal to the Container class. They are not documented, as they are not meant to be a part of the public API. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/