主题:  director做的播放器怎样能动态改变屏幕分辨率?

为了爱人

职务:普通成员
等级:1
金币:0.0
发贴:31
注册:2000/11/27 2:09:53
#12000/11/27 14:49:15
director做的播放器怎样能动态改变屏幕分辨率?请教各位5d的老师和大虾.。



5D精英

职务:普通成员
等级:3
金币:10.0
发贴:1340
注册:2000/10/24 12:13:42
#22000/11/27 15:14:21
DirectOS Xtra可以

By using DirectOS Xtra Director and Authorware developers can:

Retrieve the operating system type and exact version
Set and get screen resolution and color depth
Create, display, and operate a message box
Find an application associated with a specific file type
Create, display, and operate 'open', 'open multiple' and 'save' file
selection dialogs
Manipulate external application's windows
Set cursor position or confine it to a rectangular area of the screen
Generate a mouse click for any of the 3 mouse buttons
Check whether any one or more keys are being held down
Change desktop wallpaper and pattern
Log off, shut down or restart the system
Launch external applications at a specified state with command line support
Retrieve information about disk drives, such as type, name, size and free space
Check for existence of files and folders
Get and set file and folder attributes
Get file size, date, time and version
Open or print a file using it's associated application
Copy, move, delete and recycle files
Retrieve a list of subfolders and files in a folder, with powerful wildcard support
Create and delete folders
Create and resolve file or folder links/shortcuts
Retrieve a unique pathname to a nonexistent file that can be used as a temporary file
Retrieve the pathname of special system folders
Get and set the current 'working' folder
Set the system date and time
Read from, write to and delete from INI files
Easily read, write and delete strings, integers and binary data to/from the Windows registry
Install screen savers, get and set their activity and time-out
Disable/Enable Ctrl-Alt-Del, Alt-Tab, Microsoft key and other system keys
Query for all available printers on the system, set the default one and its properties
Retrieve the command-line string passed to your application
Convert long pathnames to short
Get a file's creator and type
Check whether a sound card is installed
Encrypt/Decrypt text and string variables
... and much more...

另外,buddyAPI好象也行。

编辑历史:[这消息被guo编辑过(编辑时间2001-01-11 12:29:23)]


酷狗

职务:版主
等级:2
金币:10.0
发贴:610
注册:2000/9/16 9:26:36
#32000/11/27 17:11:11
我记得在DM中好象也有一个。
我试过了,确实有一个

编辑历史:[这消息被szcooldog编辑过(编辑时间2000-11-27 17:13:31)]


为了爱人

职务:普通成员
等级:1
金币:0.0
发贴:31
注册:2000/11/27 2:09:53
#42000/11/27 17:42:27
能告诉我什么地方能下载和用法吗?谢谢!



5D精英

职务:普通成员
等级:3
金币:10.0
发贴:1340
注册:2000/10/24 12:13:42
#52000/11/27 20:17:31
szcooldog说得对,我试了一下DM tools里面的DMFunction.x32果然能直接修改屏幕分辨率,而且他也只有这么一个函数。为了你使用方便,就把这个Xtra邮给你吧。

使用方法:
放到Xtra目录里自然不用说
lingo:ChangeRes[800,600]
后面的的列表就是要改变的分辨率。

“为了爱人,奋斗!!!”

好羡慕的座右铭。
祝你好运!!!

编辑历史:[这消息被guo编辑过(编辑时间2000-11-27 20:39:26)]


yjh

职务:普通成员
等级:1
金币:0.0
发贴:97
注册:2000/9/22 22:36:13
#62000/11/27 23:22:44
啊!这是我梦寐以求的,请给我邮一个吧!yjh@21cn.com



wws2000

职务:普通成员
等级:1
金币:1.0
发贴:126
注册:2000/9/18 21:30:19
#72000/11/28 7:19:47
给我也邮一个吧,我也需要啊!
[email=wws_2000@sina.com]我的邮箱:wws_2000@sina.com



5D精英

职务:普通成员
等级:3
金币:10.0
发贴:1340
注册:2000/10/24 12:13:42
#82000/11/28 8:58:22
已经发给你们了。



zip

职务:普通成员
等级:1
金币:0.0
发贴:20
注册:2000/11/20 15:32:37
#92000/11/28 10:49:26
我来晚了!也给我一个好吗?多谢了!



wws2000

职务:普通成员
等级:1
金币:1.0
发贴:126
注册:2000/9/18 21:30:19
#102000/11/28 14:50:43
多谢guo!
我已收到,很好用。



toto

职务:版主
等级:5
金币:17.0
发贴:2582
注册:2004/1/16 23:17:26
#112000/11/28 16:09:02
guo墙稍墙涕给叉发办肖呢々



toto

职务:版主
等级:5
金币:17.0
发贴:2582
注册:2004/1/16 23:17:26
#122000/11/28 16:14:18
guo could u sent me one?



freda

职务:普通成员
等级:1
金币:0.0
发贴:45
注册:2000/9/27 10:04:07
#132000/11/28 16:33:30
can you give me one, too!
my e-mail:
freda_wj@sina.com



为了爱人

职务:普通成员
等级:1
金币:0.0
发贴:31
注册:2000/11/27 2:09:53
#142000/11/28 18:28:07
谢谢guo,谢谢大家,也祝guo和5d的朋友好运!!!



lihxia

职务:普通成员
等级:1
金币:0.0
发贴:83
注册:2000/11/14 16:42:18
#152000/12/1 10:41:14
尊敬的guo先生:
给我email一份,好吗?谢谢了!!!!!!!!!!!!!!!!!!!!!!
lihxia@sohu.com