Object Reference
The ASPNetFlash allows you to add Adobe Flash media (.swf files) into your ASP.NET web forms.
Object Reference for ASPNetFlash.Flash in resource ASPNetFlash.NET2.dll, ASPNetFlash.NET2.AJAX.dll or ASPNetFlash.NET1.dll
These properties can be accessed programmatically (e.g. in C# or VB.Net) or by using the properties editor. In Visual Studio 2005 you can also access the properties using Smart Tags.
Appearance
BackColor
Color of the background of the control.
CssClass
CSS Class name applied to the control.
Behavior
DebugMode
When DebugMode is set to true, the ASPNetFlash control runs in debug mode. During debug mode, a console is shown that displays information about what is sent into Flash, what it receives, and other data for use when debugging or integrating ActionScript and .NET development. The runtime debugger console makes coordination and communication between Flash and .NET developers clearer and more direct.
Enabled
If Enabled is set to false, only the HTMLAlternative content will be rendered.
True by default.
EnableViewState
Whether the control automatically saves its state for use in round-trips.
True by default.
Visible
If Visible is set to false, the control will not be rendered.
True by default
Data
DataMember
The table of view used for binding against. Not available in Visual Studio 2002/2003.
DataSource
The IDataSource object bound to the WebControl. In Visual Studio 2002/2003, only XmlReader, TextReader and XmlDocument types are supported.
DataSourceID
The control ID of an IDataSource that will be used as the data source. Not available in Visual Studio 2002/2003.
FlashVariables
Defines a set of variables which are passed into the Flash Movie to be read by ActionScript. FlashVariables can be set programmatically, as follows:
FlashVarsItemCollection Methods:
string FlashVariables[string name]
Allows indexing Flash Variables by name. Set or return the string Value of Flash Variable named name. Not available in Visual Studio 2002/2003.
FlashVariable FlashVariables[int index]
Allows indexing Flash Variables by index. Set or return the FlashVariable object at index index.
void FlashVariables.Add(FlashVariable flashVar)
Adds FlashVariable flashVar to the collection.
void FlashVariables.Insert(int index, FlashVariable flashVar)
Inserts FlashVariable flashVar to the collection at index.
void FlashVariables.Remove(FlashVariable flashVar)
Remove FlashVariable flashVar from the collection.
bool FlashVariables.Contains(FlashVariable flashVar)
Returns true if the FlashVariable flashVar exists in the collection.
string FlashVariables.GetValueByName(string name)
Returns the string value of the Flash Variable called name.
void FlashVariables.SetValueByName(string name, string value)
Sets the string value of the Flash Variable called name.
FlashVariable Properties:
string FlashVariable.Name
Get or set the name of the Flash Variable.
string FlashVariable.Value
Get or set the value of the Flash Variable.
Flash
Alignment
Sets the 'align' attribute of the control, which works exactly as it does on a div tag.
Default - Does not set the 'align' attribute for the control.
Center - Set the 'align' attribute for the control to 'center'.
Left - Set the 'align' attribute for the control to 'left'.
Right - Set the 'align' attribute for the control to 'right'.
AllowScriptAccess
Allow Flash Movie to read external scripts, such as XML and ASPX data files.
Always - Allows access to read and send data from any external script or file.
SameDomain - Allows is limited to within your website.
Never - No access is given to read external or send data.
»
|