Embed Windows Default ActiveX Controls in AM

This forum is meant for people to share their knowledge by writing their own tutorials for Adventure Maker.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Embed Windows Default ActiveX Controls in AM

Postby time-killer-games » Thu Feb 10, 2011 6:00 pm

Right now I'm playing around with ActiveX controls I'd just thought to share some of them..

Windows Media Player (Thanks to ShadowHunter)
Code: Select all
Action.ChangeDisplayResolution "1"
Action.AddComponent "MediaPlayer.MediaPlayer.1", "Wmp1"
Component("Wmp1").Visible = True
Component("Wmp1").Width = 9600
Component("Wmp1").Height = 7200
Component("Wmp1").FileName = "Url"

^Replace "Url" with your desired media's absolute url. THis allows you to pause the video and it's ideal for slideshows. Edit the size of the media player as you like, it's currently set to 640x480 resolution.

Microsoft Calendar Control
Code: Select all
Action.ChangeDisplayResolution "1"
Action.AddComponent "mscal.calendar","mscal"
Component("mscal").Visible = True
Component("mscal").Width = 9600
Component("mscal").Height = 7200

^This can inform the user of how many days are left of your game's trial. Edit the size of the calendar as you like, it's currently set to 640x480 resolution.

More to come as I extract more ProgIDs..
User avatar
time-killer-games
Expert Member
 
Posts: 400
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Return to Post Your Own Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron