My Account Log in

1 option

Complete Flash remoting MX / Joey Lott.

Van Pelt Library TR897.7 .L68 2003
Loading location information...

Available This item is available for access.

Log in to request item
Format:
Book
Author/Creator:
Lott, Joey.
Language:
English
Subjects (All):
Flash (Computer file).
Web site development.
Interactive multimedia--Authorship.
Interactive multimedia.
Physical Description:
xxii, 573 pages : illustrations ; 24 cm
Place of Publication:
Indianapolis : John Wiley, 2003.
Summary:
Flash Remoting MX is one of the most exciting new technologies available for Macromedia Flash MX, and everything you need to know to use its dynamic capabilities is in this comprehensive reference guide. Flash and ActionScript expert Joey Lott gives you a thorough understanding of how Flash Remoting MX opens up new possibilities for building fresh, vibrant, data-driven Web sites. Using plenty of examples, he takes you step by step through Web services applications, illustrating how Flash Remoting MX works with ColdFusion, J2EE, and .NET, and how you can apply this technology in e-commerce sites, messageboards, e-mail clients, and more.
Contents:
Chapter 1 Getting Started with Flash Remoting 3
Looking at the Evolution of Flash 3
What Flash Remoting Does 4
Benefiting from Flash Remoting 5
What You Can Do with Flash Remoting 6
Looking at the Bigger Picture 6
Setting Up Flash Remoting 7
How Flash Remoting Works 7
Chapter 2 ActionScript Fundamentals 9
Determining Where to Place ActionScript 10
Getting Started with ActionScript 12
Adding Comments 12
Outputting Test for Testing 13
Understanding Data 13
Working with Variables 17
Using Expressions and Operators 19
Understanding Statements 25
Introducing Conditional and Looping Statements 25
Keeping Track of Data with Arrays 30
Making Reusable Code with Functions 31
Beginning Custom Functions 31
Defining Functions 32
Using Local Variables 34
Looking at Object-Oriented ActionScript 35
Creating Objects from Predefined Classes 35
Working with Object Properties and Methods 36
Defining Custom Classes 36
Understanding the Event Handler Methods 38
Chapter 3 Flash Remoting ActionScript Basics 41
Including the NetServices Class 41
Connecting to the Server 42
Creating the Connection Object 42
Understanding the Gateway Connection 44
Choosing a Service 48
Calling a Remote Procedure 50
Invoking the Remote Procedure from the Service Object 50
Passing Parameters to Remote Procedures 52
Handling Results 52
Working with Named Response Functions 53
Working with Response Objects 55
Understanding Precedence with Response Handlers 60
Working Directly with NetConnection 61
Creating the NetConnection Object 61
Making the Connection to the Server 61
Calling the Remote Procedure 62
Putting Remoting into Action 62
Setting Up the Server Side 63
Writing the Flash Remoting Client 65
Tracking Down Errors 69
Looking at the Code in Detail 71
Debugging Flash Remoting 73
Introducing the NetConnection Debugger 74
Using Debug Methods 76
Chapter 4 Using Databases and Record Sets 79
Understanding Databases 79
What Is a Database? 79
Examining the Structure of a Database 80
Talking to Databases 81
Introducing MySQL 84
Understanding Record Sets 88
What Is a Record Set? 89
Introducing the RecordSet Class 90
Creating a New Recordset Object 90
Writing to a RecordSet Object 91
Reading from a RecordSet Object 94
Removing Records 96
Sorting Records 97
Filtering Records 101
Using RecordSet Objects with Components 103
Listening for Changes to Record Sets 107
Displaying Records in a Table 111
Getting Remote Record Sets 116
Chapter 5 Getting Started with Web Services 119
Introducing Web Services 119
Interpreting Web Service Documentation Language 125
Getting Started with WSDL 125
Looking at Real-World WSDL 128
Using WSDL Tools 130
Locating Web Services 134
Using Manual Directories 135
Introducing UDDI 135
Using Web Services in Flash 135
Checking Domain Availability 136
Searching on Google 138
Part II Flash Remoting with ColdFusion 143
Chapter 6 Understanding Flash Remoting for ColdFusion 145
Getting Started with ColdFusion 146
Deciding on ColdFusion 146
Installing and Configuring the Server 146
Administration and Data Sources 147
ColdFusion Languages 149
Using Tags 149
Working with ColdFusion Variables 151
Understanding ColdFusion Operators 152
Using ColdFusion Functions 153
Writing CFScript 153
Converting Data Types 154
ColdFusion Security with Flash Remoting 155
Understanding the ColdFusion Application Framework 155
Introducing [left angle bracket]cfloginuser[right angle bracket] 156
Setting Credentials 157
Chapter 7 ColdFusion Pages and Flash Remoting 159
Starting Out with ColdFusion Pages 159
Creating a Simple Login Form 160
Browsing a Computer's Directory Structure 163
Calling ColdFusion Pages from Flash 166
Invoking a ColdFusion Page 166
Passing Parameters to a ColdFusion Page 167
Returning a Value to Flash 168
Logging in with Flash 169
Listing Your Computer's Directories with Flash 174
Chapter 8 Interacting with ColdFusion Components 181
Building ColdFusion Components 182
Adding Functions to ColdFusion Components 182
Working with Parameters 183
Returning Values from Functions 184
Adding ColdFusion Security 185
Creating Your First CFC 186
Calling CFC Functions from Flash 187
Choosing the Service and Procedure Names 187
Passing Parameters to Component Functions 187
Returning Values 189
Using a CFC to Insert Values into a Database 189
Working with Advanced CFC Operations 191
Viewing CFC Metadata 191
Extending Components 196
Charting with Components 198
Chapter 9 Consuming ColdFusion Web Services 203
Building ColdFusion Web Services 203
Revisiting Components 203
Creating a WSDL Document 204
Making a Poll Web Service 204
Consuming Web Services with ColdFusion 215
Using Web Services with Tags 215
Using Web Services with CFScript 216
Searching Amazon via Proxy 217
Chapter 10 Working with Pageable Record Sets 225
Understanding Pageable Record Sets 225
Creating the Pageable RecordSet Object 226
Configuring ColdFusion to Return Pageable Results 226
Processing Pageable RecordSet Objects 228
Downloading Records 228
Watching for Updates 229
Checking RecordSet Status 230
Viewing Results One Page at a Time 231
Chapter 11 Creating Server-Side ActionScript 239
Introducing ActionScript on the Server 239
Working with the Server-Side File 240
Choosing the Correct Service and Procedure Names 240
Making Your First ASR 241
Using the CF Object 242
Making HTTP Requests 242
Querying Data Sources with ActionScript 245
Looking More Closely at SSAS 246
Experiment 1 Calling a Simple SSAS Function 246
Experiment 2 Querying a Database with SSAS 247
Experiment 3 Performing Array Operations 248
Understanding the Foundations of SSAS 249
Understanding Converted Data Types 249
Processing Record Sets in SSAS 250
Working Directly with Java Classes 253
Getting Servlet Information 255
Using Typed ActionScript Objects 255
Applying Advanced SSAS 256
Part III Flash Remoting with J2EE Application Servers 263
Chapter 12 Understanding Flash Remoting with J2EE 265
Getting Started with a J2EE Server 265
Installing JRun 265
Choosing and Installing Another J2EE Server 266
Creating a Web Application 267
Installing Flash Remoting for an Application 270
Configuring JRun 4 271
Working with Non-JRun J2EE Servers 272
Using Databases with J2EE 272
Loading the Driver 272
Opening a Connection 273
Creating a Statement 273
Executing a Statement 273
Closing the Connection 274
Chapter 13 Accessing Servlets and JSPs 275
Developing Servlets 276
Creating the Servlet Code 276
Compiling the Servlet 278
Deploying Servlets 282
Configuring the Application 283
Invoking the Servlet 284
Creating a Reporting Servlet 285
Introducing JavaServer Pages 289
Viewing Header Data with a JSP 290
Using Flash Remoting with Servlets and JSPs 292
Choosing the Service 292
Selecting the Procedure Name 292
Passing Parameters to a Servlet or JSP 293
Returning a Value to Flash 294
Reporting to Flash 295
Displaying Headers in Flash 300
Chapter 14 Interacting with Java Classes and JavaBeans 305
Accessing Java Methods from Flash 305
Understanding Java Class and JavaBean Differences 306
Reflecting On a JAR File 308
Managing Users with JavaBeans 312
Chapter 15 Calling Enterprise JavaBeans from Flash 321
Understanding EJB with Flash Remoting 321
Using EJBs with Flash Remoting 322
Obtaining the Service Reference 322
Working with Session Beans 322
Sending E-Mail from Flash via EJB 324
Chapter 16 Working with JRun-Only Features 331
Working with JMX 331
Administering JRun from Flash 332
Chapter 17 Using ASTranslator 337
Introducing ASTranslator 339
Getting Started with ASTranslator 339
Working with ASTranslator 339
Testing ASTranslator 343
Part IV Flash Remoting with .NET 349
Chapter 18 Understanding Flash Remoting with .NET 351
Getting Started with .NET 352
Installing .NET 352
Installing the Flash Remoting Services for .NET 354
Setting Up the Application Framework 355
Creating a New Application 355
Configuring the Application 357
Accessing Databases with .NET 358
Selecting the Database 359
Using a Managed Provider 359
Using a DataSet 362
Converting Data Types 363
Chapter 19 Interacting with ASP.NET Pages 365
The Anatomy of ASP.NET 365
Examining ASPX Page Structure 365
Adding Server Controls 366
Understanding Render Blocks 367
Using In-Line Script 367
Working with Code-Behind 368
Creating Simple ASP.NET Applications 371
Counting Users 371
Making a Guestbook 374
Calling ASP.NET Pages 380
Using the Correct Gateway URL 380
Choosing the Service and Procedure Name 381
Setting Up the ASPX Page 382
Passing Parameters 383
Returning a Value 384
Adding a Flash User Interface to ASP.NET 384
Making a Flash Guestbook 385
Chapter 20 Using .NET Library Assemblies 391
Calling Assembly Methods 391
Creating an MP3 player 392
Working with Typed Objects 397
Defining and Registering the ActionScript Class 398
Sending a Typed Object to .NET 398
Returning a Typed Object to Flash 399
Chapter 21 Consuming .NET Web Services 401
Creating .NET Web Services 401
Testing a Web Service 402
Generating WSDL 403
Making a Horoscope Web Service 404
Working with Typed Objects 410
Passing Typed Parameters 410
Returning Typed Objects 411
Consuming Web Services with .NET 411
Searching Amazon with .NET 412
Part V Building Remoting Applications 415
Chapter 22 Developing Flash E-Commerce 417
Architecting the Application 417
Specifying Functionality 417
The Application Overview 418
Creating the Database 419
Developing the Server-Side Application 422
Creating the ColdFusion Component 423
Creating the Java Class 428
Creating the .NET Assembly 434
Authoring the Administration Flash Movie 439
Building the Storefront Flash Movie 450
Chapter 23 Making a Messageboard 471
Designing the Application 471
Specifying Functionality 471
Looking at the Application Overview 472
Creating the Database 472
Developing the Server-Side Application 475
Creating the ColdFusion Component 475
Creating the Java Class 483
Creating the .NET Assembly 490
Authoring the Administration Flash Movie 498
Building the Messageboard Flash Movie 503
Extending the Application 526
Chapter 24 Creating an E-mail Client 527
Designing the Application 527
Specifying Functionality 527
Looking at the Application Overview 528
Creating the Server-Side Application Code 528
Creating the ColdFusion Component 528
Creating the Java Class 532
Creating the .NET Assembly 536
Developing the FlashMail Client Interface 542
Extending the E-mail Client 549.
ISBN:
0764525867
OCLC:
51271296

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account