• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Working with Video > Working with the Media Controller Component

Working with the Media Controller Component

The Flash Media Controller component lets you control a streaming media file that has been loaded using a Media Display component. The Media Controller component lets you easily create play, pause, and rewind controls for any video on the screen. The Media Controller component is an excellent choice for controlling video files placed on the screen using the media data component.

Work with the Media Controller Component

Click the Window menu, and then click the Components and Component Inspector panels.

Click the Media Components Expand triangle.

Drag the Media Display component onto the Stage, and then select the component.

In the Property Inspector, enter a unique instance name for the Display component.

Did You Know?

You can use the Media components to give you control over precise placement of the controller. Drag the Media Controller on the Stage and place it anywhere you like. The advantage of the Media Controller is that you decide the placement of the controls in relationship to the player. This gives you a distinct design advantage over using the Media Player component.


In the Component Inspector panel, click the Parameters tab.

Click FLV.

Enter the URL of the Flash movie file.

Deselect the Automatically Play check box to pause the video when loaded.

Select the Use Preferred Media Size check box to display the video using the original files width and height.

Select the Respect Aspect Ratio check box to keep the videos width and height in proportion.

Click the plus sign (+) to add cue points to the video file, using hours, minutes, seconds, and milliseconds.

Drag the Media Controller component onto the Stage, and select the component.

In the Property Inspector, enter a unique instance name for the Controller component.

Click the Add Behavior button (+), in the Behaviors panel, point to Media, and then click Associate Display.

Select the instance name given to the Media Display component, and then click OK.

This associates the controller with the correct video.

Click the Control menu, and then click Test Movie to test the video in the Flash player.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint