Skip to Content
ASP.NET 3.5 For Dummies®
book

ASP.NET 3.5 For Dummies®

by Ken Cox
February 2008
Intermediate to advanced
428 pages
8h 52m
English
For Dummies
Content preview from ASP.NET 3.5 For Dummies®

16.4. Embedding Flash in an ASP.NET Page

Flash is a hugely popular format for presenting animation and videos on a screen, especially with browser plug-ins. Web sites like YouTube.com use Flash extensively because the download size is reasonable, and almost every browser has the technology or can get it. (You sometimes hear geeks referring to a Flash file as a swiff, a name derived from the Flash extension, .swf).

16.4.1. Downloading and installing Flasher

Technically, you don't need ASP.NET to display Flash content on a page because the basic requirement is an HTML <object> tag with a bunch of configuration parameters. However, getting all the settings correct is finicky and error-prone. It's far easier to use an ASP.NET component, such as the excellent Flasher freebie control from my MVP colleague Steve Orr.

Flasher not only handles the configuration, it also adjusts the settings for the best experience based on the browser type. Follow these steps to download and install the Flasher component:

  1. Download the free Flasher control from www.steveorr.net/articles/Flasher.aspx.

  2. Extract the Flasher.dll assembly from the download into a temporary folder.

  3. Using Windows Explorer, drag Flasher.dll and drop it into the bin folder in Solution Explorer. (Create a bin folder if you don't have one.)

  4. Still using Windows Explorer, drag Flasher.dll and drop it on the Toolbox in the General tab.

16.4.2. Using the Flasher control on a page

You use the Flasher control like other ASP.NET controls by ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ASP.NET 3.5 Unleashed

ASP.NET 3.5 Unleashed

Stephen Walther

Publisher Resources

ISBN: 9780470195925Purchase book