Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.

Slides:



Advertisements
Similar presentations
1What is the Stage. 2How do you open a panel in Flash
Advertisements

JustinMind: Dynamic Panels
Learning the Basics – Lesson 1
© 2010 Delmar, Cengage Learning Chapter 9: Using ActionScript.
Create shape-tweened animation Create a mask effect Add sound Add scenes Create a slide show presentation Unit Lessons.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
Flash Quizzes Quiz templates generate quizzes that use Flash Interaction Components.
1 Flash Programming Introduction Script Assist. 2 Course Description This course concentrates on the teaching of Actionscript, the programming language.
PowerPoint Lesson 3 Working with Visual Elements
Printing and Page Formatting ITSW 1401, Intro to Word Processing Instructor: Glenda H. Easter.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
Chapter 3 Working with Symbols and Interactivity.
XP Tutorial 5 Buttons, Behaviors, and Sounds. XP New Perspectives on Macromedia Flash MX Buttons Interactive means that the user has some level.
BUILDING RICH MEDIA ELEMENTS. Design Decisions Based on Design Specification  Following the design specification will ensure that the application is.
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
Designing a Home Page – Lesson 4 1 Designing a Home Page Lesson 4.
POWER POINT CREATING A PRESENTATION. What is a Presentation? A presentation is an informative talk, such as a lecture or speech, that usually includes.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
Lehigh University Introduction to Flash MX Sharmeen Mecklai.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Button library Create a button Learn.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Buttons library Edit a button instance.
Chapter 6 Advanced Report Techniques
Chapter 11 Adding Sound and Video. Chapter 11 Lessons 1.Work with sound 2.Specify synchronization options 3.Modify sounds 4.Use ActionScript with sound.
© 2011 Delmar, Cengage Learning Chapter 9 Introduction to ActionScript 3.0.
FLASH LESSON 1: INTRODUCTION BASIC MOTION TWEEN
Publishing a Macromedia Flash Movie – Lesson 131 Publishing a Macromedia Flash Movie Lesson 13.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Symbols and Interactivity.
Introduction to MS WORD.
Creating a Logo – Lesson 3 1 Creating a Logo Lesson 3.
© 2010 Delmar, Cengage Learning Chapter 3: Working with Symbols and Interactivity.
XP Tutorial 4 Special Animations. XP New Perspectives on Macromedia Flash MX Special Layers for Animation Animation Using a Motion Guide Layer.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
Adobe Flash CS3 Revealed Chapter 3 - WORKING WITH SYMBOLS AND INTERACTIVITY.
Creating Buttons – Lesson 51 Creating Buttons Lesson 5.
Lesson 2 Basic editing Word 2013.
Chapter 16 Video. Importing Video Into Flash  Once you import video into Flash, you can control it using behaviors and very basic ActionScript, target.
Motion Tweening – Lesson 81 Motion Tweening Lesson 8.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Flash CS 5 Interface BY NSCHEWCZYK | ©2012. MENU BAR A bar at the top of the window. It lists menu options including: File, Edit, View, Insert, Modify,
Exploring the Macromedia Flash Workspace – Lesson 2 1 Exploring the Macromedia Flash Workspace Lesson 2.
Distributed Multimedia Programming Week – 4A Buttons Movie Clips.
Working with Movie Clips – Lesson 61 Working with Movie Clips Lesson 6.
Building the Events Components– Lesson 111 Building the Events Components Lesson 11.
Dm 11 - Flash Special Effects Special Effects CREATING.
Macromedia Flash MX 2004 – Design Professional Special Effects CREATING.
Macromedia Flash 8 Revealed WORKING WITH SYMBOLS AND INTERACTIVITY.
Distributed Multimedia Programming Week - 3 Shape Tweening Symbols and Instances.
Adding Text and Navigation to the Home Page – Lesson 51 Adding Text and Navigation to the Home Page Lesson 5.
Tutorial 3 Creating Animations. XP Objectives Learn the different elements of animation Create frames and layers Organize frames and layers using the.
Creating an Animated Map – Lesson 91 Creating an Animated Map Lesson 9.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
CIS 205—Web Design & Development Flash Chapter 3 Appendix on Using Buttons.
Open a new Flash File Action Script 2.0. Create a button like you did last lesson and name it Click to Play.
XP Tutorial 3 Creating Animations. XP New Perspectives on Macromedia Flash MX Elements of Animation Layers are used to organize the content of.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Flash 1. Document Properties Set frame rate and dimensions of project Set frame rate and dimensions of project (default width=550 and height=400)
CIS 205—Web Design & Development Flash Chapter 3 Working with Symbols and Interactivity.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Tutorial 3 Creating Animations.
Learning the Basics – Lesson 1
Computer presentation
Unit Lessons Work with actions
Chapter 7 Advanced Form Techniques
Microsoft Office Access 2003
Microsoft Office Access 2003
Chapter Lessons Create shape-tweened animations Create a mask effect
Working with Symbols and Interactivity
Presentation transcript:

Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson 10

2 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Objectives Add controls to the animated map. Use Flash components to build a combo box for directions to the Gallery. Configure a dynamic text box to hold directions sent from ActionScript. Work with ActionScript to process a user selection. Integrate and animate the Visit section into the main Timeline.

3 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Use Flash components Flash has several ready-made movie clips called ‘components’ that can be used in your movies. They are located in the Components panel and include such things as combo boxes, radio buttons, scroll bars, and other items. The Components panel is accessed from the Windows menu. Additional components can be downloaded from the Macromedia Web sites.

4 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Add a combo box A combo box is one of the components available in the Components panel. A combo box is like a text box in that it can display information and allow the user to enter information, but it also has a drop-down list from which the user can select a predefined selection. A combo box can be customized on the Parameters tab of the Property inspector. A combo box is added to a movie by dragging it from the Components panel onto the Stage.

5 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Use the Values dialog box to add list items to a combo box This figure shows the Values dialog box, which is used to add items to the combo box drop- down list. This box is opened by clicking the Labels row on the Parameters tab and then clicking the magnifying glass icon. Items are added to the list by clicking the Add (+) button at the top of the dialog box. Items can be deleted or re-sequenced using the other buttons at the top of the dialog box.

6 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Customize a combo box The Parameters and the Properties tabs of the Property inspector are used to customize the settings for a combo box. The Parameters tab is used to enter list items, to indicate if the list entries are editable or if the user can enter data, whether or not any text will display by default in the box, how many rows can display before scroll bars are added, and to enter the name of a Change handler function. The Properties tab is used to provide an instance name for the combo box and set the physical dimensions for the box.

7 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 A combo box with a label The figure below shows an example of a combo box as it would appear to a user. Note the list arrow to the right side of the box. Clicking this list arrow reveals the drop-down list of items added in the Values dialog box. A text label has also been added above the box to indicate the purpose of the box, in this case, to allow the user to select directions to the gallery from multiple locations. List arrow

8 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Use a dynamic text box For the Gallery directions problem in the text, you could use one large text box containing all sets of the directions that the user could scroll through, but that would be confusing for the user. A dynamic text box allows you to modify the contents of the text box in response to some action by the user. As shown in the text, the content of the dynamic text box was determined by the selection the user made from the combo box drop-down list. A dynamic text box is defined with a variable name that can be referenced via actions and script code.

9 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Create a dynamic text box To create a dynamic text box: Select the layer to contain the box, then use the Text tool to draw a box on the Stage at the desired location. In the Property inspector, set the Text type to Dynamic Text; set the font, font size, and alignment options; indicate if the box can contain multiple lines or not; and select other options according to the needs of this box. You can set text formatting options in the Format Options dialog box. Enter a variable name for the box in the Var field. This name will be referenced later when a ‘set variable’ action is defined. Size the box as desired using the sizing handle in the corner of the box.

10 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 A dynamic text box positioned below the combo box This figure shows the label and the combo box seen earlier, but now another text box has been positioned below the combo box. This new box was defined as a dynamic text box in the Property inspector. Note the sizing handle that appears in the corner of the dynamic text box.

11 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Define variables for the combo box items Open the Actions panel to add script code to process the combo box selection. (Create a new layer for this if desired.) Click in the Script pane, and enter a variable name and a value for each item in the combo box drop- down list. The Value is the text that will be displayed in the dynamic text box when a list item is selected by the user. You can also add comments for the variables by double- clicking the ‘comment’ action in the Miscellaneous Actions category.

12 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Use ActionScript to set the dynamic text box entry You can create a script to process the user’s selection from the combo box and set the corresponding text entry in the dynamic text box. The script determines which list item was selected and copies the value text for the variable name that corresponds to that item into the dynamic text box. You can also import generic scripts for combo boxes (and other components) into the Script pane of the Actions panel and then use the Replace dialog box to replace the generic names with the names assigned to your variables and instances.

13 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 An example of ActionScript code This figure shows a completed script to manipulate the combo box and the dynamic text box.

14 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Integrate and animate the finished movie clip symbol Once your movie clip for the directions is complete, it can be integrated into the movie just as other clips were. Create a layer and give it a descriptive name. Drag an instance of the finished clip onto the Stage. Use the Guides and arrow keys to align the new strip with the existing strips. Insert keyframes where needed. Set your motion tweens for the new layer. Test the movie to be sure it plays as expected.

15 Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 10 Summary In this lesson, you learned: To add controls to the animated map. How to use Flash components to build a combo box for directions to the Gallery. To configure a dynamic text box to hold directions sent from ActionScript. How to work with ActionScript to process a user selection. To integrate and animate the Visit section into the main Timeline.