Foundation ASP.NET for Flash

Foundation ASP.NET for Flash

Language: English

Pages: 424

ISBN: 1590595173

Format: PDF / Kindle (mobi) / ePub


* No other book covers how to integrate Flash and ASP.NET, except the old friends of ED Flash.net book. Yet there is much demand for information on how to integrate Flash with dynamic server-side functionality.

* Covers the latest versions of Flash and ASP.NET (2.0).

* Written so that Flash and ASP.NET users can learn equally well from the book.

* Includes several fully working example applications.

The Barefoot Executive: The Ultimate Guide for Being Your Own Boss and Achieving Financial Freedom

The Secrets of Top Students: Tips, Tools, and Techniques for Acing High School and College

Fractures françaises (Champs essais)

Action Speaks Louder: Violence, Spectacle, and the American Action Movie (Wesleyan Film)

 

 

 

 

 

 

 

 

 

 

 

MinorVersion: The “minor” version number of the Flash Player that is required for the embedded .swf file. For example, if you were publishing a Flash file that required 7,0,19,0 the MinorVersion would be 19. Source: The source of the Flash .swf file. This property can be a relative path or URL to a Flash file. Height: The height of the .swf file. HeightUnit: The unit base to use for the height. Either pixels or percent. Width: The width of the .swf file. HeightUnit: The unit base to use for the

of the ASP.NET Request object’s methods for Flash/ASP.NET loadVars communication. string ReqValue = Request[name]; 103 CHAPTER 4 This Request[name] notation will always return a string value, regardless of how the variable was passed to the page. Back to the example URL we used earlier: http://www.someserver.com/mypage.aspx?name1=value1&name2=value2 If we wanted to access the value of the name1 variable, we could do this in the mypage.aspx’s codebehind by using the code: string theVal =

the Pump . . . . . . . . . . . . . . . . . . . . . 1 Static web pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Dynamically generated HTML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 ASP.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Flash/ASP.NET communication . . . . . . . .

code in the _root timeline and attach an instance of the Popup MovieClip as needed when a response is received from the ASP.NET web page. With this pop-up form added, the new onLoad event looks a little bit different: Response_lv.onLoad = function(success:Boolean) { attachMovie("Popup", "popup", 10); this["popup"]._x = 100; this["popup"]._y = 100; if (success) { if (Response_lv.success == "true") { this["popup"].SetMessage("Your information was submitted successfully.", false); } else {

later in this chapter, when a Flash movie communicates with server-side ASP.NET code using XML, the communicated XML data is sent through the POST variables of a page request. This XML document, upon arrival at the server-side ASP.NET code, will be in the format of a URLencoded text string. C#’s XmlTextReader class provides a straightforward method for reading such an XML document so its data can be used in server-side processing. When talking about XML processing, there is a very wide range of

Download sample

Download