Download presentation
Presentation is loading. Please wait.
1
RIA - Flex and ActionScript RIA – Flex and ActionScript CS590 - Ashok Sahu
2
RIA - Flex and ActionScript TOC Introduction Technologies Demo
3
RIA - Flex and ActionScript Introduction and Motivation RIA – Rich Internet Application, ADOBE Flash - cross-platform multimedia experiences and user interfaces. Flash - very pleasing user interfaces. Picasa, Flickr and YouTube are only a few examples There’s a very impressive Flash web app called Gliffy that imitates Visio (this was created with OpenLaszlo,)Gliffy Apollo, a cross-OS runtime that allows you to use Flex to create desktop RIAs. Apollo
4
RIA - Flex and ActionScript Flex 2.0 Basics MXML MXML is very similar to HTML in that it provides tags for user interface elements defines visual components such as data grids, buttons, combo boxes, trees, tab navigators, and menus non-visual components, Web service connections, data binding, and effects.
5
RIA - Flex and ActionScript Flex 2.0 Basics ActionScript built-in objects and functions that allow you to create your own objects and functions like many object-oriented programming (OOP) languages Flex Data Services A robust messaging architecture that provides services that automatically synchronize data between client and server Real-time data push and publish-subscribe messaging Collaborative and disconnected applications
6
RIA - Flex and ActionScript Using XML in Flex The Model tag The Picasso Code Dan Blue Fiction Cubist paintings reveal a secret society of people who really look like that
7
RIA - Flex and ActionScript Using XML in Flex <![CDATA[ private function bookHandler(theBook:Object):void { trace(theBook.name); trace(theBook.author); } ]]> The Picasso Code Dan Blue Fiction Cubist paintings reveal a secret society of people who really look like that
8
RIA - Flex and ActionScript Using XML in Flex When dealing with XML files, the most commonly used event is creationComplete. This event is generated when the file is fully loaded and is usually placed inside of the Application tag. In this case, when the application is fully loaded, you want to pass the XML file (the ID of the Model tag) to the handling function (bookHandler).
9
RIA - Flex and ActionScript Using XML in Flex Using the HTTPService tag The HTTPService tag reads XML dynamically HTTPService class, uses the send() function, which tells the XML file to send its information. In actuality, it sends the information to the Flash Player Class HTTPService handles all of the mechanics in the background
10
RIA - Flex and ActionScript Demo
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.