Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual page 184

Migrating applications to flex 2
Table of Contents

Advertisement

In Flex 2, you must use the
values of these variables. The
you can use to store name and value pairs pass in as
example sets variables by using the Flex 2 syntax:
<mx:Script>
public var fName:String = Application.application.parameters.firstname;
public var mName:String = Application.application.parameters.middlename;
public var lName:String = Application.application.parameters.lastname;
</mx:Script>
For more information on using the Application.application.parameters property, see Chapter
34, "Communicating with the Wrapper," in the Flex 2 Developer's Guide.
184
Migration Patterns
Application.application.parameters
property is an Object, which is a dynamic class that
parameters
property to get the
variables. The following
flashVars

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents