Lab 10: Images and Skinning, Sound and Assets User Interface Lab: GUI Lab Oct. 30 th, 2013.

Slides:



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

James A. Rome TGA August 2009 Mapping the TZs. In Java it is quite easy to do maps The only way to tell if we interpolated the data successfully is to.
1 Web Site Design Overview of the Internet Cookie Setton.
23-Aug-14 HTML/XHTML Forms. 2 What are forms? is just another kind of XHTML/HTML tag Forms are used to create (rather primitive) GUIs on Web pages Usually.
* 1 Common Dialog Control. * 2 You want your user to set property or provide your application with some information easily? How do you do it? The Common.
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
Intro To Cascading Style Sheets By Mario Yannakakis.
GMCS Technology & Media Services Presented by: Leni Rivera
Lab 9: Code Organization User Interface Lab: GUI Lab October 23 rd, 2013.
Chapter 3 – Designing your web pages Dr. Stephanos Mavromoustakos.
Lab 8: States and Transitions User Interface Lab: GUI Lab Oct. 16 th, 2013.
Dawn Pedersen Art Institute. What is Spry? Spry is Dreamweaver’s version of JavaScript libraries. Spry effects alter the look of a page element—or of.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Chapter 12 Creating and Using Templates. If you have already created and designed a page you like, you can use the layout and design for other pages in.
A graphical user interface (GUI) is a pictorial interface to a program. A good GUI can make programs easier to use by providing them with a consistent.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
Web Page Development Identify elements of a Web Page Start Notepad
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
ICS 665 Jesse Abdul. jQuery UI Overview  jQuery UI javascript library Includes all UI component functionality  jQuery UI CSS framework Includes standard.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
Lab 2: Interface Building User Interface Lab: GUI Lab Sep. 4 th, 2012.
Creating an Expression Web Site
XP Tutorial 5 Buttons, Behaviors, and Sounds. XP New Perspectives on Macromedia Flash MX Buttons Interactive means that the user has some level.
Lab 5: drawing and output User Interface Lab: GUI Lab Sep. 25 th, 2013.
1 Flash Basics by Dr SC Li. 2 File Types  In general, Flash 5.0 generates 3 types of files:  ???.fla  Flash ’ s working file  ???.swf  Flash movie.
PowerPoint for teachers and students C MacFadyen, Dec 2008.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Button library Create a button Learn.
To download PhotoStory: Go to On the left side under Product Resources, click on Downloads.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
Processing.js.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
ColdFusion 9 and Flex 4: Application Development Ryan Stewart Platform Evangelist, Adobe Systems
Lab 6: event & input intro User Interface Lab: GUI Lab Oct. 2 nd, 2013.
Tutorial 7 Planning and Creating a Flash Web Site.
Lab 3: Actionscript User Interface Lab: GUI Lab Sep. 11 th, 2012.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit G Using Forms to Control Input.
How to Design a Page, Part 2 HOWE/ANDERSON. Step 1: Login   Job No  User ID/ Password.
Lab 11: Animation User Interface Lab: GUI Lab Nov. 6 th, 2013.
Building the Events Components– Lesson 111 Building the Events Components Lesson 11.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Tap to Get Started with Keynote.. Presentations Create new presentations and find the ones you’ve worked on before. Your progress is saved automatically.
Click your mouse for next slide Adding Text Click in any text box Type in your text OR.
XP Tutorial 7 Creating a Flash Web Site. XP New Perspectives on Macromedia Flash 82 Objectives Plan and create a Flash Web site Create a Flash template.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
Chapter 11 Adding Media and Interactivity. Chapter 11 Lessons Introduction 1.Add and modify Flash objects 2.Add rollover images 3.Add behaviors 4.Add.
Basic ActionScript and PHP Cis 126. Getting Started set up a basic folder structure so we can keep our files organized. Mirror this structure on your.
Photoshop Actions Lights, Camera, Actions in Photoshop.
Positioning Objects with CSS and Tables
Animations Sampler Click the Animations tab, then choose Custom Animation.
© 2010 Delmar, Cengage Learning Chapter 11 Creating and Using Templates.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Day 22, Slide 1 CSE 103 Day 22 Non-students: Please logout by 10:12. Students:
Themes CIS 136 Building Mobile Apps 1. Themes 2  jQuery Mobile has a robust theme framework that supports up to 26 sets of toolbar, content and button.
Java FX: Scene Builder.
Creating a Flash Web Site
Unit 5: Canvas Painter.
Chapter 8: Writing Graphical User Interfaces
Mobile Application Development Chapter 4 [Android Navigation and Interface Design] IT448-Fall 2017 IT448- Fall2017.
Chapter 2 Visual Basic Interface
In the home page, click on “Reports”
Using Cascading Style Sheets (CSS)
Presentation transcript:

Lab 10: Images and Skinning, Sound and Assets User Interface Lab: GUI Lab Oct. 30 th, 2013

Lab 10 ICP We are going to create a very simple photo browser – Your final project can’t just be like this…

Lab 10 ICP Create a Lab10ICP Download Lab10_resources.zip from Blackboard Create a new folder named “assets” under “src” Drag the resource files into “assets”

Create the layout Go to the design view, look at the widgets in the layout folder. What can we use? Go back to your UI design. Try to use a combination of layout widgets to construct your UI.

HGroup

BorderContainer

HGroupBorderContainer TileGroup

Create the layout

Use images in MXML

Adding gaps between the images

Assign source to big_photo Big_photo should be the photo that is clicked Give click event handlers to all small images – Pass the image in as a parameter In the event handler, set big_photo’s source to be the clicked image’s source

Filters You can apply filters to a component to modify its visual appearance Common filters are DropShadowFilter, GlowFilter, and BlurFilter. – Other filters are in the spark.filters. Package Filter can be apply directly to an object, or animated using AnimateFilter effect

Filters

Animate Filters Using – Similar to First, declare the animation in fx:Declarations Then, play the animation

Sound Declare sound effect in fx:Declaration Play the sound effect using id.play([this])

Skinning Flex has many built-in UI components – Button, slider, check box, text input… – Reusing the components can save developers much time and effort The behavior of the components is the same across apps, but their appearance can be very different

Skinning The appearance of a component is decided by its default skin file – Behavior is defined in a separate file We can customize the appearance by having our own skin file!

Skinning Skin files are in MXML All default skin files are stored in [your Flash Builder directory] -> sdks -> > frameworks -> projects -> spark -> src -> spark -> skins -> spark We’ll create our customize skin file by modifying the default skin – Flash Builder makes this easier

Lab 11 ICP Create a new Flex Project “Lab11ICP” Drag a VSlider in Make it bigger so we can see the details

Assign a new skin to the slider Using the “skinClass” attribute Choose “Create skin” from the menu

Look at the skin file Can you tell from the skin file, what does a built-in slider consist of?

Give dataTip a custom look Make it color of the rectangle be yellow (0xFFF46B) Make the text color be gray (0x555555) Now let’s take a look at the track

Give track a custom look Track is actually a button The appearance of track is defined in another skin file – Create a custom skin file in the same way as before

Give track a custom look Track is consist by multiple rectangles – Try to read the comments to understand what each rectangle does We’ll create our own look – If we are not sure what certain code does, leaving it there is better than deleting it…

Give thumb a custom look Create our own skin file as a copy of the default skin file in the same way

Give thumb a custom look The appearance of the default thumb changes based on its current state (over, down) – Transition is taken care of in somewhere else. Again, we’ll create our own look

Fill the track background with image Use inside – Use the fillMode attribute based on your needs

Take a closer look at the skin file is the root element for a skin file In, hostComponent refers to the Spark component/container you want to skin Some actionscript styling inside tag – You usually don’t need to touch it