Your SlideShare is downloading. ×
  • Like
Rich Internet Applications and Flex - 2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Rich Internet Applications and Flex - 2

  • 156 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
156
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

  • 1. Rich Internet Applications and Flex Vijay Kalangi
  • 2. MVC• Isolate domain logic from UI• Model - Manages data. Model also notifies observers.• View - Renders the model, multiple views!• Controller -accepts input and instructs model and view
  • 3. Exercise 3 Next ...• How to load images at runtime with the Image control• How to display blocks of text• How to link simple controls to an underlying data structure with data binding• How to build user forms with a minimum of effort using the Form container
  • 4. Simple controls• Few controls• Label, TextInput and Datagrid etc.,
  • 5. • Events • Loosely coupled applications, not flow based • System events, user events • Event dispatcher • Event listener
  • 6. <fx:Script><![CDATA[private function clickHandler(event:MouseEvent):void{trace(event.type);}]]></fx:Script><s:Label id=”myL”/><s:Button id=”myButton”label=”Click Me”click=”clickHandler(event)”/>
  • 7. • Inspecting the Event Object• system events, example • creationComplete - instantiated and knows its size and position and is dispatched after creationComplete of all its children.
  • 8. • Event propagation in detail • 3 phases - capture, target, bubble• Example • Stage > SystemManager > EventPropagation > blueBox > redBox > button
  • 9. • Enable capture • this.addEventListener( MouseEvent.CLICK, onClick, true );