Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Creative tools for business
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Flex Developer Center /

AdvancED Flex Application Development excerpt: Working with video

by Omar Gonzalez

Omar Gonzalez

Modified

12 May 2008

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
advertising Flex video

Requirements

Prerequisite knowledge

Some knowledge of Flex and Flash Player.

User level

All

Required products

  • Flash Player
  • Flex Builder 3 (Download trial)

Download the complete chapter

  • Chapter 10: Working with video (1892 KB)

In this chapter, I will attempt to give you a thorough understanding of the video display object of the Flex framework, with some specific insight into a few of the key video playback features in the RMX, including playlists and UI considerations for instream advertising. First, R Blank will start off with a brief word on some core video compression concepts that are important to understand—even for coders—in the preparation and delivery of Flash video. Next, I will go over playing back video in Flex.

Video boot camp

Although this chapter is about working with Flash video, as opposed to creating Flash video, in this section, I want to cover some of the basic issues in the preparation of video in Flash, before Omar discusses how to load and display the video files.

Compressing video is much like compressing flat images to bitmap formats like JPG. The compressor examines the source media, breaks it into separate blocks of pixels, and seeks redundancies it can exploit to represent those blocks with less data. This is how a 20MB PSD can be prepared into a 78KB JPG file for placement in a web site. Of course, with video, you have an additional dimension of data. Just as JPG compression seeks these shortcuts in two dimensions of visual data, or within a frame, video compression analyzes and processes three dimensions of color pixels, within a frame and between frames—both intraframe and interframe compression. So, when compressing video as opposed to still imagery, you have some additional settings available to you.

It's also worth noting, if you are relatively new to video, that video encoding is more an art than a science. There is never a single set of encoding settings that will objectively work for your video. It depends both on the characteristics of your source file (both the nature of the content as well as the technical settings of the digital media file) and your eye. It is a process of trial and retrial until you are happy with the results. Of course, the more you know about what settings you have at your disposal, the more tools you have in this process. As video compression technologies improve in quality, and the pipes you use to distribute compressed video grow, the less you must compress your media, and the less this matters.

This chapter covers the following topics:

  • VideoDisplay component
  • Adding video controls
  • Additional functionality
  • Playlists
  • Limitations of the VideoDisplay class

More Like This

  • AdvancED Flex Application Development excerpt: Advertising and Flex
  • Flex 3 Component Solutions excerpt: Audio and video components
  • Building a video application with Flex Builder
  • Using Flash media components to play video in Flex projects

Tutorials & Samples

Tutorials

  • Flex mobile performance checklist
  • Flex and Maven with Flexmojos – Part 3: Journeyman
  • Migrating Flex 3 applications to Flex 4.5 – Part 4

Samples

  • Twitter Trends
  • Flex 4.5 reference applications
  • Mobile Trader Flex app on Android Market

Flex User Forum

More
07/25/2011 Flash Player Debug Issues - Safari 5.1 & Chrome 13
04/22/2012 Loader png - wrong color values in BitmapData
04/22/2012 HTTPService and crossdomain.xml doesn't work as expected
04/23/2012 Memory related crashes in Flex application

Flex Cookbook

More
04/06/2012 How to detect screen resize with a SkinnableComponent
02/29/2012 Embed Stage3D content inside Flex application components
02/15/2012 Custom WorkFlow Component
02/09/2012 Using Camera with a MediaContainer instead of VideoDisplay

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement