About flash components and the components panel, About the web services panel – Adobe Flash Professional CC 2014 v.13.0 User Manual
Page 798

To view the context menu, right-click (Windows) or Control-click (Macintosh) an item in the Movie Explorer navigation tree.
2. Select an option from the menu:
Go To Location Jumps to the selected layer, scene, or frame in the document.
Go To Symbol Definition Jumps to the symbol definition for a symbol that is selected in the Movie Elements area of the Movie Explorer.
The symbol definition lists all the files associated with the symbol. (The Show Symbol Definitions option must be selected. See its definition
in this list.)
Select Symbol Instances Jumps to the scene containing instances of a symbol that is selected in the Symbol Definitions area of the Movie
Explorer. (The Show Movie Elements option must be selected.)
Show In Library Highlights the selected symbol in the document’s library. (Flash Professional opens the Library panel if it is not already
visible.)
Rename Lets you enter a new name for a selected element.
Edit In Place Lets you edit a selected symbol on the Stage.
Edit In New Window Lets you edit a selected symbol in a new window.
Show Movie Elements Shows the elements in your document organized into scenes.
Show Symbol Definitions Shows all the elements associated with a symbol.
Copy All Text To Clipboard Copies selected text to the clipboard. For spell checking or other editing, paste the text into an external text
editor.
Cut, Copy, Paste, And Clear Performs these common functions on a selected element. Modifying an item in the display list modifies the
corresponding item in the document.
Expand Branch Expands the navigation tree at the selected element.
Collapse Branch Collapses the navigation tree at the selected element.
Collapse Others Collapses the branches in the navigation tree that do not contain the selected element.
Print Prints the hierarchical display list that appears in the Movie Explorer.
About Flash components and the Components panel
A component in Flash is a reusable, packaged module that adds a particular capability to a Flash document. Components can include graphics as
well as code, so they're pre-built functionality that you can easily include in your Flash projects. For example, a component can be a radio button, a
dialog box, a preload bar, or even something that has no graphics at all, such as a timer, a server connection utility, or a custom XML parser.
If you are less experienced with writing ActionScript, you can add components to a document, set their parameters in the Property inspector or
Component inspector, and use the Behaviors panel to handle their events. For example, you could attach a Go To Web Page behavior to a Button
component that opens a URL in a web browser when the button is clicked without writing any ActionScript code.
If you are a programmer who wants to create more robust applications, you can create components dynamically, use ActionScript to set properties
and call methods at run time, and use the event listener model to handle events.
Insert a component using the Component panel
When you first add a component to a document, Flash imports it as a movie clip into the Library panel. You can also drag a component from the
Components panel directly to the Library panel and then add an instance of it to the Stage. In any case, you must add a component to the library
before you can access its class elements.
1. Select Window > Component panel.
2. Select an instance of a component in the Component panel, and drag it to the Stage or Library panel. After a component is added to the
library, you can drag multiple instances to the Stage.
3. Configure the component as needed using either the Property inspector or the Components inspector. For information on the parameters the
component uses, refer to the appropriate component documentation for the version of ActionScript you are using in the Flash document.
Enter parameters for a component using the Component inspector
1. Select Window > Component Inspector.
2. Select an instance of a component on the Stage.
3. Click the Parameters tab and enter values for any of the listed parameters.
About the Web Services panel
You can view a list of web services, refresh web services, and add or remove web services in the Web Services panel (Window > Other Panels >
Web Services). When you add a web service to the Web Services panel, the web service is then available to any application you create.
791