Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy 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
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Flash Developer Center /

Examining the ActionScript 3 Flash video gallery source files

by Adobe

Adobe Flash

Modified

2 February 2009

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
ActionScriptcustomizationFlash Professional CS4templatesvideo
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

User level

Advanced

Required products

  • Flash Professional CS4 (Download trial)

Sample files

  • as3_flash_video_gallery.zip (13312 KB)

The ActionScript 3 Flash video gallery is an interactive video showcase capable of displaying up to 36 videos in an easy-to-browse format. The original video gallery was built by Macromedia as a marketing piece to promote Flash MX Professional 2004. Due to continued interest in the original sample application, we have updated the video gallery to ActionScript 3 using the FLVPlayback component in Adobe Flash CS4 Professional and external FLV files.

Many developers have shown interest in taking a look at the source files for the ActionScript 3 Flash video gallery project. We're providing them here for you to play with. Feel free to investigate the code and structure of the FLA and supporting files.

Exploring the video gallery

Visit the ActionScript 3 Flash video gallery

Note: Best viewed with Flash Player version 9,0,45,0 or later. Test your player to see what's already installed on your computer. To work with video encoded with the H.264 codec, you need Flash Player 9,0,115 or later.

One of the features of the video gallery is that it lets visitors filter the videos and preview a site they are interested in. Here's how users interact with the ActionScript 3 Flash video gallery:

  • Visitors to the ActionScript 3 Flash video gallery can roll over a thumbnail of a short video and preview it (see Figure 1)
  • Users can filter videos using two sets of user-defined selectors
  • Clicking one of the thumbnails reveals a preview of a video website, which a user can then visit
  • Clicking the close box in the detail view closes the panel and returns to the default state
Figure 1. Main view of the video gallery
Figure 1. Main view of the video gallery

Updates to the video gallery include the following:

  • Refined ActionScript 3 code structure
  • Simplified FLA file and document library structure
  • Updated Flash CS4 FLVPlayback component with accessibility
  • Ability to launch a video detail view during initialization
  • Ability to play streaming or progressive videos
  • Ability to play MPEG-4 and FLV file formats (Adobe Flash Player 9,0,115 and later)
  • Complete skinning control over branding and design (easier access)
  • Highlighted state for selected thumbnail video
  • Feature initialization through URL variables
  • Debug mode for problem solving

Installing the source files

To install the source files, simply unzip the archive to your hard drive. You should be able to run the movie as is.

The ZIP file contains the following:

  • Main project FLA (FlashVideoGallery.fla) file
  • Published version of the FLA file (FlashVideoGallery.swf) and its accompanying HTML page (FlashVideoGallery.html)
  • Thumbnails and video folders each containing 36 FLV source files
  • Dependent ActionScript class files (fvg package).
  • Settings.xml file which holds text information that the FLA consumes

Classes used by FlashVideoGallery.fla are in the fvg folder. If the FLA file remains in a relative path to the fvg folder, the classes will be active in the FlashVideoGallery.swf file. That's all there is to it.

Where to go from here

Read about deconstructing the ActionScript 3 Flash video gallery.

Let us know what you end up doing with the ActionScript 3 Flash video gallery by adding your comments below.

Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License+Adobe Commercial Rights

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

More Like This

  • Flash glossary: Package
  • Flash glossary: Flash Player
  • Flash glossary: Document class
  • Flash glossary: FLV
  • Flash glossary: Runtime shared library
  • Flash glossary: Output panel
  • Flash glossary: Preloader
  • Flash glossary: Transparency
  • Creating the Kuler panel for Flash CS3 Professional
  • Formatting text for localized Flash projects

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

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 © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement