Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 12 of 12
  1. #1
    Join Date
    Feb 2005
    Posts
    1

    Pictures in Paragraph that scroll with Text

    Does anyone know how to put images between paragraph text, so when you scroll the pictures move with the text?

    I don't want to create an HTML page because I like the way everything looks. Please help. I have been struggling with this forever.

    Thank You,
    Steve

  2. #2
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    I’m not going to say that it is impossible, because it is possible to both get scroll position of the paragraph object, and set the position of an image object, but it sure seems like it would be far too much of a hassle programming it for what it would be worth.
    If the main reason you don’t want to use the web object is because of the visible edge around it, then I would suggest that you check out Worm’s SetMask DLL. That makes it easy to get rid of the web object edge, plus lots of other really cool things.

    Check it out here:
    http://www.warmuskerken.com

    If you figure that the time you’ll spend trying to get this to work using the paragraph and image objects, is worth anything at all, then you’ll save a bundle getting his DLL, and you’ll have it for its’ other cool uses that you might want in the future.
    Add-ons for AMS. Toolbar Buttons Galore, System Animations, the Window Construction Kit, and more.
    Visit Acme-Tek

  3. #3
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hi, the paragraph object is a text object, it doesn't support inserting of images. I would probably use flash or HTML for that task.

  4. #4
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Check FlashPaper from Macromedia. It allows you to make a flash movie very similar to a PDF file from any document (akin to print).
    Very powerful tool IMHO.
    Yossi

  5. #5
    Join Date
    Nov 2003
    Location
    Salzburg / Austria
    Posts
    312
    A way to sync pictures with text


    Stefan_M
    Attached Files
    "With a rubber duck, one's never alone."

    Douglas Adams, The Hitchhiker's Guide to the Galaxy

  6. #6
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Nice one Stefan.
    Yossi

  7. #7
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Bling bling yo.

  8. #8
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    You could actually get that to work, but it wouldnt be the best solution.

    Type out the text in the Paragraph Object and place your image where you want it over/in the text. The image should show above the Paragraph Object.

    Paragraph.OnEnter
    Code:
    Page.StartTimer(100);
    StartPos = Image.GetPos("Image1");
    Page.OnTimer
    Code:
    nScroll = Paragraph.GetScrollPos("Paragraph1", true);
    if nScroll ~= 0 then
    	Image.SetPos("Image1", StartPos.X, StartPos.Y-(15*nScroll));
    else 
    	Image.SetPos("Image1", StartPos.X, StartPos.Y);
    end
    BUT, it prob wouldnt run that smoothly and it would depend on the text size etc. in the Paragraph Object and maybe other stuff too.

    Simple answer - as already suggested - html!
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  9. #9
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Quote Originally Posted by Stefan_M
    A way to sync pictures with text


    Stefan_M
    Nice!

    Intrigued

  10. #10
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939
    Stefan_M, what a great idea!

    Thanks.

  11. #11
    Join Date
    Jan 2005
    Location
    Thailand
    Posts
    48

    there is a way ?

    A way to sync pictures with text by Stefan_M, what a great idea!

    I want to Know ,there is possible to do the same thing but using HTML document ?

    Thank for any comment

  12. #12
    Join Date
    Nov 2003
    Location
    Salzburg / Austria
    Posts
    312
    I don't want to create an HTML page because I like the way everything looks. Please help. I have been struggling with this forever.

    Steve
    This was the reason why we did it this way.


    It is simplier to include the pictures into the html files.


    Stefan_M
    "With a rubber duck, one's never alone."

    Douglas Adams, The Hitchhiker's Guide to the Galaxy

Similar Threads

  1. how to add text formatting in paragraph?
    By andre in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 12-20-2004, 03:44 PM
  2. Example: Loading Paragraph Text Using a Timer
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 7
    Last Post: 11-25-2004, 05:10 PM
  3. Centred text in paragraph object.
    By longedge in forum AutoPlay Media Studio 5.0
    Replies: 8
    Last Post: 09-22-2004, 11:37 AM
  4. Autosizing text in Paragraph objects
    By spacesurfer in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 09-06-2004, 03:24 AM
  5. HOWTO: Display Conditional Text Based Upon a List Box Selection
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-15-2002, 10:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts