Macromedia FlashMovie Control [download-codeproject]

R

Ron Vecchi

Hello,

Through using this and many other Microsoft dotnet newsgroups I have been
pointed towards many helpful open source projects and articles that have
helped a great deal in my studies as well as projects.
Recently I have been using a lot of Macromedia Flash Movies within my
asp.net pages, as many people have.

For those familiar with Flash macromedia can publish the html output for you
so you only need to copy/paste to your webpage. Easy... Except when you
want to use ClientScriptDetection or display content to the browser only if
the flash plug-in hasn't been installed or enabled on the client. And what
if JavaScript wasn't enabled on the browser and you are using
ClientScriptDetection to ensure the proper plug-in version is present on the
client. For those familiar with this, you might remember having to write
your html that is going to be displayed (typically tying to make it look
like the flash movie itself) to the browser in case JavaScript or the
required plug-in wasn't enabled on the client. And then insert it into an
HTML <NoScript> element or even more painful, wrap the content up within
JavaScript document.write statements and insert it into the client script
else block within the version detection script.

So, to help this long process and take advantage of VS.NET RAD
development I created a Custom Control to handle this.



FEATURES
---------------------
1.) Eliminates clunky client script version detection.
- Control completely mimics the rendered content from the Macromedia
studio with it's client side script.
- Control automatically outputs client script when the output type is
set to ClientScriptDetection.
- Use placeholders to add content to the NoScript & NoFlash content
blocks that will render appropriate JavaScript automatically (no more need
to type in the document.write statements manually!)
- Specify the exact version of flash that is required for version
detection.

2.) Programmic access to querystring variables within the object and embed
tags.
- Easily add variables pragmatically to a NameValueCollection that will
be appended to the movie call when the control renders.

3.) Completely mimics the exact outputs that Macromedia does when publishing
(i.e.. client script and object,embed tags)
- Currently up-to-date with Macromedia 2004

4.) Wraps up all properties to flash within the control (i.e., scale,
windowmode, width,height,salign ...etc) that will render within the
object/embed tags.


NOTES
-------------
I have included all of the current output methods but there are some that
are not fully supported in this Control version. In the case of them not
being supported they will default to FlashOnly output method. I included
these for easier transition for newer versions that will support these. I
believed I covered probably 95% of the actual usage of flash movies with the
currently supported output methods.

1.) Output method support
-Client Script version detection (you specify the version)
-FlashOnly
-SWF Version detection (new with 2004)
-PocketPC (not supported defaults to FlashOnly)
-AICCTracking (not supported defaults to FlashOnly)
-SCORMTracking (not supported defaults to FlashOnly)
-FSCommand (not supported defaults to FlashOnly)
- NamedAnchors (not supported defaults to FlashOnly)


DOWNLOAD
---------------------

Please, any suggestions or questions regarding the control please email me.
If you choose to download this control from code project, all I ask is that
you give me a rating based on your views of the control (located at the
bottom of the code project page).

Thanks for the help on the newsgroups, I hope this control helps you!
http://www.codeproject.com/aspnet/AspNetFlashMovieControl.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top