View Full Version : Pictures in Paragraph that scroll with Text
jzzpiano88
02-10-2005, 07:18 PM
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
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.
Corey
02-10-2005, 07:38 PM
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.
yosik
02-11-2005, 01:24 AM
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
Stefan_M
02-13-2005, 01:05 AM
A way to sync pictures with text
Stefan_M
yosik
02-13-2005, 01:24 AM
Nice one Stefan.
Yossi
Corey
02-13-2005, 01:49 AM
Bling bling yo. :yes
Derek
02-13-2005, 09:18 AM
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
Page.StartTimer(100);
StartPos = Image.GetPos("Image1");
Page.OnTimer
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! :)
Intrigued
02-13-2005, 09:54 AM
A way to sync pictures with text
Stefan_M
Nice!
:yes
csd214
02-13-2005, 11:06 AM
Stefan_M, what a great idea! :yes
Thanks.
shariya
03-07-2005, 11:01 PM
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
Stefan_M
03-08-2005, 01:41 PM
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
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.