Welcome to the New World - PowerPoint PPT Presentation

About This Presentation
Title:

Welcome to the New World

Description:

... (1937-45) The New Order in East Asia. The Road to Pearl Harbor ... In three months after Pearl Harbor, the SEA became Japan's colonies. The Co-prosperity Sphere ... – PowerPoint PPT presentation

Number of Views:77
Avg rating:3.0/5.0
Slides: 27
Provided by: kevin2
Category:
Tags: flash | new | welcome | world

less

Transcript and Presenter's Notes

Title: Welcome to the New World


1
Welcome to the New World
Flash Remoting a Developers Perspective
  • Kevin Towes
  • Creative and Technical Director
  • Pangaea NewMedia, Inc.
  • Toronto, Canada
  • Certified ColdFusion Professional
  • Manager, CFUGToronto
  • Professor, Ryerson University School of
    Image Arts, Toronto

www.PangaeaNewMedia.ca
2
Advent 1
The ADVENT Labs Example can be found _at_
Macromedia.com Search for ADVENT This is an
excellent example to demonstrate how Flash can
supply a rich data management interface.
3
Advent 3
4
Agenda (60min)
  • Review examples of Rich-UI
  • DISCUSS The client and Server Roles
  • Squash the perception of Flash
  • Context Review of how data XFer was done
  • Introduction to Flash Remoting
  • Getting Started
  • ColdFusion Components
  • Invoking CFCs in ColdFusion
  • Invoking CFCs in Flash MX
  • Debugging Tools (if we have time)
  • DataGlue (in case we get Stuck ?)

5
CF Flash
What is Flash MX and How does it Work?

ColdFusion is the Glue that holds it all
together - Ben Forta
6
Flash Remoting Availability
  • Flash Remoting Components are available in
  • ColdFusion MX (native support)
  • JRUN 4.0 (native support)
  • IBM WebSphere (add-on)
  • Microsoft ASP.NET (add-on)

7
Remoting Build the ColdFusion Component
  • Our application requires 3 Methods inside the
    Component
  • Get the Park Types getParkTypes()
  • Get the List of Parks ( in the selected Type)
    getParksList(parkType)
  • Get the Details of the Selected Park
    getParkDetails(thisParkName)

8
Remoting Calling the CFC in ColdFusion
  • Test the CFC by Invoke the Component in
    ColdFusion

9
Remoting Calling the CFC in Flash MX
  • (for comparison review the same command from
    within Flash)
  • Invoke the CFC inside Flash

10
ActionScript Steps to Connect
  • Develop the Layout
  • Include the NetServices Class Files
  • Set up the server connection
  • Invoke the CFC (consume the web service)
  • Build a default Responder

11
Develop the Layout (UI)
  • What you Need to Know
  • The Timeline
  • Text Fields
  • Flash UI Components

12
Text Fields and UI Components
TEXT FIELDS
FLASH UI COMPONENTS
13
ActionScript Steps to Connect
  • Develop the Layout
  • Include the NetServices Class Files
  • Set up the server connection
  • Invoke the CFC (consume the web service)
  • Build a default Responder

14
ActionScript Steps to Connect
  • Develop the Layout
  • Include the NetServices Class Files
  • Set up the server connection
  • Invoke the CFC (consume the web service)
  • Build a default Responder

15
ActionScript Steps to Connect
  • Develop the Layout
  • Include the NetServices Class Files
  • Set up the server connection
  • Invoke the CFC (consume the web service)
  • Build a default Responder

16
Remoting Calling the CFC in Flash MX
  • Invoke the CFC inside Flash

17
ActionScript Steps to Connect
  • Develop the Layout
  • Include the NetServices Class Files
  • Set up the server connection
  • Invoke the CFC (consume the web service)
  • Build a default Responder

18
Default Responder 1
  • Flash will invoke a function when it has
    finished. This function is called the Default
    ResponderNameOfFunction_result(returnObject)

19
Default Responder 2
  • to populate the ComboBox Componentuse the
    setDataProvider method.
  • ComponentName.setDataProvider(dataObj)

20
Default Responder 3
  • Access the Database Column By Name
  • Result.items0.ParkName

21
DataGlue
  • DataGlue.BindFormatStrings(
  • lb_ParkList,
  • result,
  • "parkName (location city, state)",
    "parkName")

22
Debugging
23
Macromedia DevCentre
  • The Macromedia Developers Centre is the best
    online resource for integrating Flash MX and
    ColdFusion MX

http//www.Macromedia.com/DesDev/
24
Inside Flash MX
  • NOW
  • AVAILABLE
  • The most
  • Comprehensive
  • Book on
  • Integrating
  • Flash MX with
  • ColdFusion MX

25
FlashCFM.com
26
Welcome to the New World
Flash Remoting a Developers Perspective
  • Kevin Towes
  • Creative and Technical Director
  • Pangaea NewMedia, Inc.
  • Toronto, Canada
  • Certified ColdFusion Professional
  • Manager, CFUGToronto
  • Professor, Ryerson University School of
    Image Arts, Toronto

www.PangaeaNewMedia.ca
Write a Comment
User Comments (0)
About PowerShow.com