ChangeRes Xtra

From Director Online Wiki
Jump to: navigation, search

ChangeRES Xtra is an Director Xtra that will change the resolution of your monitor, this is useful in making your projector fill the whole screen, here is sample code:

on startMovie

 --Changing Resolution Via ChangeRes Xtra--
 global oldRes
 set oldRes = changeRes([800,600])

end

note that you may change the 800,600 to match your screen like (1024,768)..

note also that this code not working with (alerthook) if your program or movie have to put ErrorBlock with alerthook then put this code into another movie, not the movie that contains the changeRes command.

alerthook looks like this : on startMovie

 the alertHook = script("Par:Alert").new()

end