Click to See Complete Forum and Search --> : transitioning between graphics
ChrisB
December 11th, 1999, 12:34 AM
I am interesting in writing a simple program that is like a photo album. One feature I would like to have is a slide show that has transition effects when going from one picture to the next...kinda like you can do with PowerPoint from one frame to the next.
Is there a free or commercial add-on I could use that anybody knows of? If not, would anybody like to help brainstorm and come up with a pack of them with me? I would be happy to post resulting code out for public consumption.
Thanks and keep up the great stuff!
-Chris
December 14th, 1999, 10:55 AM
Hey man, it's impossible.
Nobody here knows how to do it.
Nobody here will answer your post.
These people don't care if you want to do something like that, they'd rather program stupid databases.
Just leave, find a different board, one that is concerned with game programming, because image transitions are important to game programmers, not stupid databases, and get them to help you.
Then come back here, tell me, and I will thank you.
AndyK
December 15th, 1999, 10:28 PM
You can use arrays to make a slide show....use arrays for pictures...for example: For..Next function you can call each array and set it to move to specified place on form ..don't forget to "pause" with API call or timer's interval to make it look like a slide show
I really never used arrays before but I saw something like "slide show" on the net long time ago and the author used arrays, so I thought I would mention that...
Good luck
AndyK
December 15th, 1999, 10:35 PM
Hey, why don't you use normal name instead of Anonymous? Scared? Well one thing you are wrong about is that people can set anonymous posting to invisible so no one will answer you, second...people here will answer your question no matter what it's about.. starting from what is DIM statement to complex API calls....I always had my questions answered, or if no one answered then I found the solution myself, but so far you are the only one that I know of to think negatively about this discussion board
santulan
December 16th, 1999, 03:09 AM
Chris,
There is a solution. There is a freeware called PSB (Paint Shop Pro). This is free for one-two month of use. Never mind. This is enough time to get work done. With PSP, there is free animation shop attachment.
What you do next, install the software. and Place all the photographs you wish to have transatition. Select your desired transition and then apply. You will see that there are more than 100 "created" photographs. Just name them individually and save them as any valid graphic format.
Then Create an array and place all photo in it and have the show. The only thing I find that it is static. And Photo can not be dynamically added using prposed VB application.
Just try... and let me know.
Santulan
Andyb
June 12th, 2001, 02:50 PM
I have my own source code for tons of transitions. Such as Vertical Blinds, Horizontal Blinds, Lower Down, Raise Up. 50-50 split vertical and horizontal. Please leave your email address and a list of the effects you really want and I will gladly send you upto 10 transitions. But, I am sure with the code I will give you you could go on to develop your own.
Andyb
June 12th, 2001, 02:52 PM
Go away we don't need your type round here. This is a friendly site populated by people with good manners who offer their help freely to others in need.. whatever their angle.
pobuckley
July 7th, 2003, 09:42 AM
Hi there
Is it possible to have a transition with vb objects rather than graphics? Lets say you wanted to show a textbox which would expand from a fitting one word to one that shows a whole paragraph?
What I am trying to create is a program with a glossary of terms but I don't want a big ugly textbox taking over my form, unless of course the user clicks on it?
Thanks
Andyb
July 7th, 2003, 05:15 PM
Hi pobuckley. Yes of course you could do transitions with objects as well as graphics.
Lets say you have some text in a textbox called text1. Lets find the width of the text it contains using the TextWidth function. This will find the width of the longest line if the text includes line feeds in it.
w= TextWidth(Text1)
Now you could you a for..next loop to expand the textbox width from its current width to its new width. You can also use the TextHeight function and increase the width of the textbox's dimensions until they are as you require.
Dim sometext
sometext = "Hello World today is Tuesday." & vbCrLf
sometext = sometext + "Tomorrow of course is another day" & vbCrLf
sometext = sometext + "and next year is so far away"
Text1 = sometext
Text1.Width = TextWidth(sometext) + TextWidth(sometext) * 0.2
Text1.Height = TextHeight(sometext) + TextHeight(sometext) * 0.2.
I have added an additional 20% of the width of the text because I am too lazy to find out what the border width of the text box is to allow the text to be properly displayed in a textbox with a border.
Andyb
Sathyaish
July 8th, 2003, 01:25 AM
You could use the Alphablend API from within a timer where in you increase the opacity factor everytime in the timer event. But alphablending is supported only on Win2K platform and above.
fa197
July 9th, 2003, 01:43 AM
Try VideoEdit Control, it can add a number of image ,sound and merge to avi or wmv file. Like Slide Show.
http://www.viscomsoft.com/videoedit.htm
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.