Chapter 11
316
Using ActiveX controls
In Director movies that you intend to publish only as projectors for Windows, you can embed
ActiveX (formerly known as OLE/OCX controls) controls that let you take advantage of the
technology and adapt ActiveX controls to make them function as sprites in Director. You can use
ActiveX controls to manage application resources for the hosted ActiveX control—for instance, to
manage properties, events, and windows and filing properties. You can also manage resources used
by the ActiveX control within the Director movie. ActiveX controls are not allowed in
Shockwave.
The range of uses for ActiveX in Director is as limitless as the variety of ActiveX controls available.
Using the Microsoft Web Browser control (installed with Microsoft Internet Explorer 3.0 or
higher), you can browse the Internet from within a multimedia production; using the FarPoint
Spreadsheet control, you can create and access spreadsheets; using the InterVista VRML control,
you can explore virtual worlds; using the MicroHelp extensive library of Windows widget
controls, you can build and simulate complete Windows applications.
Note:
Not all ActiveX controls expose their methods and properties in all hosts. Test the controls you want to use to
see how they work in Director. Because ActiveX controls are non-Macromedia software, Macromedia Technical
Support does not support them.
Inserting an ActiveX control
You can place ActiveX controls in a Director movie and have them function as sprites. Note that
this procedure is designed only for Director for Windows.
To insert an ActiveX control on the Stage:
1
Make sure that the ActiveX control you want to use in Director is installed on your system.
Most controls have their own installation utilities provided by the manufacturer of the control.
2
Select Insert > Control > ActiveX.
3
In the dialog box that appears, select the desired ActiveX control and then click OK. The
ActiveX Control Properties dialog box appears.
(If the desired ActiveX control does not appear in the list, it may not have been installed
properly by the system. You can attempt to verify this by viewing the list of ActiveX controls in
another application such as Visual Basic.)
The ActiveX Control Properties dialog box lets you edit each ActiveX control and
view information regarding each method the control supports and each event the control
can generate.
4
Set the values for each property in the ActiveX control and then click OK. The ActiveX control
now appears in the cast.
5
Drag the ActiveX control from the cast to the Stage.
Once the ActiveX control appears on the Stage, it can be repositioned and resized just like any
other sprite Xtra. When you pause the movie, the ActiveX control stays in authoring mode
and does not react to mouse or keyboard events. When you play the movie, the control
responds to user input.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...