RESIZING DIRECTOR MOVIE ON OUTPUT - URGENT!!!!!!
RESIZING DIRECTOR MOVIE ON OUTPUT - URGENT!!!!!!
(OP)
Hi Everyone
I have created a Director Movie at a size of 1200 x 900.
I did it this way because my screen is 1680 x 1050 and that size seemed to fit snug inside my monitor.
Stupid me didn't take into consideration that this file will be used on PC's which have a max screen resolution of 1024 x 768. So now that i have finished the job i need to create a projector file for PC which will constrain the exact proportions of my movie into that of the PC's.
I have tried so many different variations of projetor files and cannot find the one that i need to use. The projector files i create do not show the whole stage of my movie. It simply keeps its own pixel proportions so i cant see all of my movie.
I know how to reduce the stage size in the propertires panel but i want it to reduce my whole movie in one hit in the post production process, similarly to how you can resize a .swf file using HTML.
I need URGENT help with this.
Cheers
I have created a Director Movie at a size of 1200 x 900.
I did it this way because my screen is 1680 x 1050 and that size seemed to fit snug inside my monitor.
Stupid me didn't take into consideration that this file will be used on PC's which have a max screen resolution of 1024 x 768. So now that i have finished the job i need to create a projector file for PC which will constrain the exact proportions of my movie into that of the PC's.
I have tried so many different variations of projetor files and cannot find the one that i need to use. The projector files i create do not show the whole stage of my movie. It simply keeps its own pixel proportions so i cant see all of my movie.
I know how to reduce the stage size in the propertires panel but i want it to reduce my whole movie in one hit in the post production process, similarly to how you can resize a .swf file using HTML.
I need URGENT help with this.
Cheers
RE: RESIZING DIRECTOR MOVIE ON OUTPUT - URGENT!!!!!!
Here's a handler which I often use to maximise a projector, while preserving the ratio of the movie (if it's different to the screen res ratio):
Choose whether you want preserveProportions to be 1 or 0.
--------------------------------------
-- stage resize handler
-- robotduck.com 2006
on resizeToScreen
preserveProportions = 1
myW = the stage.rect.width
myH = the stage.rect.height
myRatio = float(myW)/myH
screenRect = the desktoprectlist[1]
sw = screenRect.width
sh = screenRect.height
screenRatio = float(sw)/sh
(the stage).rect = rect(0,0,sw,sh)
if preserveProportions then
if myRatio<=screenRatio then
-- stage is proportionally narrower than screen - maximise height
drawH = h
drawW = integer(myW * (h/float(myH)))
else
-- stage is proportionally narrower than screen - maximise width
drawH = integer(myH * (w/float(myW)))
drawW = W
end if
drawLeft = (w/2)-(drawW/2.0)
drawRight = (w/2)+(drawW/2.0)
drawTop = (h/2)-(drawH/2.0)
drawBottom = (h/2)+(drawH/2.0)
(the stage).drawrect = rect(drawLeft,drawTop,drawRight,drawBottom)
else
-- expand without preserving movie proportions (simple stretch-to-fill)
(the stage).drawrect = rect(0,0,w,h)
end if
end
-----------------------------------------------