Speaking with ASP.NET
ActionSpeak™ extends Flash, allowing it to interact with 2 core aspects of ASP.NET development:
- Calling .NET functions by triggering Postback Events. ( Requires ActionSpeak™)
- DataBound Flash: Interpreting Data from XML, Sitemap and Database DataBindings in Flash. ( Enhanced by ActionSpeak™)
Event Triggering (ASP.NET 2.0+ only)
To call .NET (e.g.: C#, VB.NET, etc) functions from Flash we need to trigger a PostBack Event which causes the page to reload.
Triggering an ASP.NET Event using ActionScript
To fire an ASP.NET Event, call the "FormPostBack" ActionScript Function
[ActionScript]
Creating the .NET Event
This must then be wired up to a Postback Event in your ASPX page’s code-behind. Double click on your ASPNetFlash WebControl in design mode to create the ActionScriptEvent handler.

[C#]
The eventName and argument strings are passed from ActionScript to the ASP.NET Event. They are used to differentiate between different postback actions – as there may be more than one type of event you wish to fire in ASP.NET.
- e.g.: Multiple Flash buttons could be wired to different C# or VB.NET code.
»
|