PDA

View Full Version : Minimum Window size while resizing...


phormis
11-09-2006, 11:39 AM
First off let me say this program saved my butt. I needed to author a training DVD with videos and I was about to start using Director. What a mess.

I was able to learn this and autor the entire DVD with 40 videos (3 hours worth) in one day.

Very cool.

One issue I ran into was that I did not want the use to be able to rezise the window smaller than 720x480. I did a search here now and I could not find anything. So here is what I came up with.

If you want to see the video window work, copy the Magnolia.mpg file that comes with Autoplay to the video directory.

-Paul

Daniel TM
12-11-2006, 08:22 AM
You could've just put the following code in your On Preload event:
function g_OnGetMinMaxInfo()
return {MinX = 720, MinY = 480};
end
That way the window doesn't flicker.

Intrigued
12-11-2006, 08:35 AM
Here's a thread with a couple examples that address this issue as well:

http://www.indigorose.com/forums/showthread.php?t=17749&highlight=stay+put