---
schema_version: "1"
id: a5bbdc418926efdb92ef1e9437f77be5664b42253a8ebabfed2b6105dfdf8888
title: apex:flash
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/components/pages-compref-flash.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-flash.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: cfacac6bbbdbc09be2667d5981777a80da04e2e410c58b9decf03e0c0b29df4d
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# apex:flash

A Flash movie, rendered with the HTML object and embed tags.

**note:** This component is supported only on Visualforce pages with an API version 49.0 or earlier. Flash itself isn’t supported in any modern browser supported by Salesforce.

## Example

```apex

<apex:page sidebar="false" showheader="false">
     <apex:flash src="http://www.adobe.com/devnet/flash/samples/drawing_1/1_coordinates.swf" 
     height="300" width="100%" />
</apex:page>
    
```

## Attributes

|Attribute Name|Attribute Type|Description|Required?|API Version|Access|
|--------------|--------------|-----------|---------|-----------|------|
|`flashvars`|String|The flashvars attribute can be used to import root level variables to the movie. All variables are created before the first frame of the SWF is played. The value should consist of a list of ampersand-separated name-value pairs.| |14.0||
|`height`|String|The height at which this movie is displayed, expressed either as a relative percentage of the total available vertical space (for example, 50%) or as a number of pixels (for example, 100).|Yes|14.0||
|`id`|String|An identifier that allows the component to be referenced by other components in the page.| |14.0|global|
|`loop`|Boolean|A Boolean value that specifies whether the flash movie plays repeatedly or just once. If set to true, the flash movie plays repeatedly. If not specified, this value defaults to false.| |14.0||
|`play`|Boolean|A Boolean value that specifies whether the flash movie automatically begins playing when displayed. If set to true, the flash movie automatically begins playing. If not specified, the value defaults to false.| |14.0||
|`rendered`|Boolean|A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true.| |14.0|global|
|`src`|String|The path to the movie displayed, expressed as a URL. Note that a flash movie can be stored as a static resource in Salesforce.|Yes|14.0||
|`width`|String|The width at which this movie is displayed, expressed either as a relative percentage of the total available horizontal space (for example, 50%) or as a number of pixels (for example, 100).|Yes|14.0||

