Índice de /files/software/macromedia/flash/viewFlashSource/

5 archivos

Nombre Tamaño Modificado
Subir un nivel
example.fla 44 KiB 2024-01-20 05:02
example.html 1.3 KiB 2024-01-20 05:02
example.swf 560 B 2024-01-20 05:02
viewFlashSource.as 2.1 KiB 2024-01-20 05:02

Flash View Source Include

By Mike Chambers. Archived from the author's site.

Usage

Place the viewFlashSource.as file in the same directory as your Flash source file (FLA), and add the following line to the main timeline of your source file:

#include viewFlashSource.as

You can then specify the source URL through the flashVars parameter/attribute. There are two values you can specify:

Do note that URLs in flashVars must be escaped.

Example

Using <object>:

<object width="550" height="400" data="example.swf" type="application/x-shockwave-flash">
    <param name="movie" value="example.swf">
    <param name="quality" value="high">
    <param name="flashvars" value="flashSource=example%2Efla&contentLicense=url_goes_here">
</object>

Using <embed>:

<embed src="example.swf" 
    quality="high" 
    width="550" 
    height="400" 
    type="application/x-shockwave-flash" 
    flashvars="flashSource=example%2Efla&contentLicense=url_goes_here">

This is released under a Creative Commons license. More information can be found here.