At 15:34 +0100 03/29/2002, Nikaj Wiggers wrote:

>Now I want to find out when an image and the text cross the new page line so
>I can ad a newpage() before my image so it wont be seperated onto two pages
>but starts on a new page.
>
>Does anyone have a sollution for this?

Two possible options:

1. Precompose the pages in memory so you have a rough idea how much 
space (in pixels) is occupied by the image/text group. Then just 
don't add more image/text grtoups to a page than the page can handle.

2. Do a newPage call for every image/text group you make so there's 
only one image/text combination on any page.

Does that help?

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
          http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to