1 / 14

Using Flash with ASP.NET

Using Flash with ASP.NET. Wayne Smith, Principal Consultant The Multimedia Mix. Macromedia Flash & ASP.NET. Why? Basic Data Binding in Flash Pro MX2004 Getting data from ASP.NET into Flash Loadvars Data components Flash Remoting Utilising .SWF within Visual Studio

kapila
Download Presentation

Using Flash with ASP.NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using Flash with ASP.NET Wayne Smith, Principal Consultant The Multimedia Mix

  2. Macromedia Flash & ASP.NET • Why? • Basic Data Binding in Flash Pro MX2004 • Getting data from ASP.NET into Flash • Loadvars • Data components • Flash Remoting • Utilising .SWF within Visual Studio • Utilising .SWF within .EXE

  3. Why? • If you’re a Flash user? • See previous presentations! • If you’re a [potential] Visual Studio user? • Cross platform • Cross device • Everyone has it • Small player • Smart client • Etc. etc. etc

  4. Databinding in Flash • Either visual or in code • Visual is easy, but inflexible • Code needs learning • A simple example

  5. Getting data into Flash • GetVars • Flash Data Components • Flash Remoting

  6. Getting data into Flash • GetVars - Bad • Flash Data Components - Good • Flash Remoting - Better

  7. GetVars • Old, old, old • Showing just for completeness • Legacy Flash will use this • Can still be used with .NET • Don’t start with this! • (Hint – it can still be useful )

  8. Data Components • 1st step for visual designers

  9. Data Wizards • Data Connection Wizard • DataGrid Column Editor • The easiest possible solution • Very rigid rules for use

  10. Flash Remoting • Requires .NET SDK (even with VS installed!) • 3rd party solutions available (FlashOrb) • Visual data components are available (but…) • You need to code • Plenty of source is available • Example(s) • Gotcha

  11. Flash Remoting Summary • Fast due to AMF (Flash’s native language) • More access to ASP.NET • ASP.NET adapter • ADO.NET data binding adapter • Web services adapter • Auto proxy generation (don’t forget the gotcha) • Assembly (*.dll) • More flexibility with incoming data • Recordsets especially • The learning curve is well worth it

  12. Getting Flash into Visual Studio • How to integrate with rest of project • Right-click on the Toolbox, choose "Add/Remove items..." • Select the "COM Components" tab • Scroll down to "Shockwave Flash Object" and make sure it's ticked • Click OK

  13. Flash within executables • Flash is a very flexible graphical tool • 3rd party components add more goodies • Communication is easy • (Psst… loadvars helps a lot!) • Stock History example

  14. Thanks! Plus a Few Final Links • .NET XML Web Services Repertory • http://www.flash-db.com/ • http://www.flashkit.com/ • http://www.moock.org/ • http://www.markme.com/mxna/index.cfm

More Related