Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-28-2004, 04:01 PM   #1
Registered User
Join Date: Aug 2004
Posts: 8
Default Print with scrollpane

Hello, I try to print all the content of a scrollpane, but the printed page doesn't contain all the content of the scrollpane. Why?
redario is offline   Reply With Quote
Old 09-28-2004, 04:38 PM   #2
Asleep At The Keyboard
mcmcom's Avatar
Join Date: Jun 2004
Location: Toronto, Canada
Posts: 2,528

it is very hard to print content within a scrollpane, because of the viewable amount of space. What I do to get around this is create something like a print preview mode.

If the user hits print, I then take them to another frame that shows whatever movie clip is the scrollPanes content, by itself. That way the whole clip is shown on the stage and you can print it. I also create a close button, so when pressed, it will jump back to the original frame with the scrollpane.

This is a simple algorhythm of what i do:

1. Move to another frame with no scrollPane
2. Create Holder_mc at 0,0 of new frame
3. Attach Content clip to Holder_mc
4. Make visible "CLOSE PRINT" button (which will take you back after printing)
5. Set boolean variable _isPrintPreview to true

Something like that should work okay for you.
mcmcom is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:01 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.