|

How do I... ?

AnswerList of Questions


Create an Image Map


Image maps are used to make various locations within one image 'hot', or clickable. To accomplish this in AutoPlay Media Studio:


1. Create an image in an external image editor. In your project use a hotspot object for each clickable area:


image


image

2. Add an action to each hotspot object's On Click event to accomplish the desired task. For example, to open a web browser, use the action:


File.OpenURL("http://www.indigorose.com/", SW_SHOWNORMAL);


image

How do I... ?

AnswerList of Questions


Create CD-ROM Browsing Windows


In AutoPlay Media Studio, it is possible to open a folder on a user's machine, either within your project, or in an external window (the same as double-clicking on a folder on your desktop). It is also possible to open a folder in explore view (the same as using windows explorer).


Opening a folder within your project:


1. Create a web object, and name it Web1.


image

2. Call the action Web.LoadURL:


Web.LoadURL("Web1", "C:\\");


image

Note: If the user does not have Internet Explorer 4.0 or later as their default browser, the folder view will be html, not windows based.


Opening a folder in an external window:


1. Call the action File.Open:


File.Open("C:\\", "", SW_SHOWNORMAL);


image

Opening a folder in an explorer window:


image

1. Call the action File.ExploreFolder:


File.ExploreFolder("C:\\", SW_SHOWNORMAL);


image

Tip: If your project is being run from the user's CD-Rom drive, and you wish to browse the CD- Rom from your autoplay application, use _SourceFolder as the path to browse/open.


image

|