Hi Minyer,
I'll asume you are doing a projector because you can't set a
shockwave movie
to full screen (you would need to set the browser to full
screen).
So if you are working with DMX there is an option when you
dreate a
projector:
File - Create Projectro - Options... There you have the
option to full
screen the projector and center the stage to the screen.
In DMX 2004 it's in the projector's tab in:
File - Publish Settings
The options are almost the same in bth versions.
Hope this help
Jorge
> Hello to everyone - I'm really bored after being here
for hours trying to
make
> this work with no solution coming! I'm trying to
maximize a projector to
cover the
> full screen of the user, for that I'm using:
>
> (the stage).rect = the desktopRectList[1]
>
> I don't want the complete game to be resized to fill
the stage rect,
what I want
> is the game to be centered now on the stage. Because
after changing the
stage.rect
> my game appears on a corner. So I'm executing this
code to try to
accomplish it:
>
> k1 = (the stage).rect.width
> p1 = the stage.drawrect.width
> marginH = (k1-p1)*0.5
>
> k2 = (the stage).rect.height
> p2 = the stage.drawrect.height
> marginV = (k2-p2)*0.5
>
> x = (the stage).rect[1]
> y = (the stage).rect[2]
>
> (the stage).drawRect = + rect(marginH+x,
marginV+y, (k1-marginH)+x,
(k2-marginV)+y)
>
> I thought that would work (maybe I'm not really
understanding something
here), but it's not. I'm using 4 different movies, the
problem seems to
appears when I
> got from one movie to another. Then my recently
loaded movie appears
somewhat out of screen.
>
> I hope that some of you can help me or maybe share
some code for making
what I need possible.
>
> Thank you, bye!
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|