... id=”contactService” destination=”contactsXML” url=”http://127.0.0.1: 840 0/blazeds/flex 4bible/ data/contacts.xml” result=”resultHandler(event)” fault=”faultHandler(event)”/> To use the Proxy Service with the Flex ... the calls and handle results returned from the remote server 8 24 Chapter 26: Integrating Flex Applications with BlazeDS and Java AMF Documentation In the past, a number of individuals and organizations ... component sends and receives requests with generic XMLformatted messages and the WebService component does with SOAP-based Web services, the RemoteObject component makes requests and handles responses...
... tree of folders, files, and code packages and enables you to locate and open any project resource, but adds a listing of properties and methods you declare in your MXML and ActionScript code This ... license includes the Flash Builder Standard Edition feature set and adds the Data Visualization components including charting controls and the AdvancedDataGrid and OLAPDataGrid The Flash Builder ... integrates problems, bookmarks and tasks, improved text search, and many other new features n Installing Flash Builder with the stand-alone configuration The stand-alone installation of Flash...
... disk and then click OK If you’re working on Windows, the folder might be C:\flex 4bible On Mac OS X, the folder should be in your home directory; for example, /Users/[username]/ Documents/flex 4bible ... for older documents and applications built in Flash and Flex 1.x that use ActionScript and The other, newer AVM is for documents and applications that use ActionScript Understanding XML syntax ... version here MXML stands for (write in your vote): 1 04 Chapter 4: Understanding the Anatomy of a Flex Application Other XML rules are important to understanding the coding...
... browser’s URL is displayed as: file:///C:/flex 4bible/ chapter 04/ bin-debug/URLDemo.html The url property returns this value: file:///C:/flex 4bible/ chapter 04/ bin-debug/URLDemo.swf n 129 Part I: Flex ... supports important properties and styles that are not part of other Flex containers Table 4. 2 shows these properties and styles TABLE 4. 2 Application Properties and Styles Property Purpose Example ... Members Hides variables and functions that aren’t marked with the public access modifier Chapter 4: Understanding the Anatomy of a Flex Application FIGURE 4. 6 Outline view and the Class view buttons...
... event.password; } Then, to call the event handler function, use an MXML-based event handler, as in: 244 Chapter 7: Working with Events Or, if ... the UIComponent and GraphicElement classes (and their subclasses), so you can add both components (both MX and Spark) and primitives to any Spark container Tip The GraphicElement and UIComponent ... event handler function and pass the event object as an argument: 235 Part I: Flex Fundamentals Create a custom event handler...
... click into the input area and type a date value FIGURE 8.13 A DateField control 2 74 Chapter 8: Using Flex Visual Controls Date entry properties and methods The DateChooser and DateField controls ... properties that enable you to control their behavior and collect their data Table 8 .4 describes these properties and their capabilities TABLE 8 .4 Date Entry Control Properties Property Data Type ... the font typeface and its size, weight, and style In this chapter, I describe the various tools available for text processing and presentation in Flex I describe these strategies and techniques:...
... implements the IFill interface) and borderStroke (set to an instance of any class that implements the IStroke interface) You can mix and match the border and background styles and properties as need to ... the Group, VGroup, and HGroup set their height and width to Minimum and maximum dimensions You can set properties to constrain content-based sizing These properties set minimum and maximum dimensions ... with either the height and width properties or with percentHeight and percentWidth Percentage sizing with height and width When you set percentage sizing with the height and width properties,...
... drag -and- drop operations with two different approaches: l The MX and Spark List controls and the MX DataGrid have built-in drag -and- drop capability l All visual controls can participate in drag -and- drop ... file references, and binary objects between Flex applications and other native applications with drag -and- drop gestures n Implementing drag -and- drop with List controls All the MX and Spark List ... as ListDragAndDrop.mxml in the chapter12 project n Figure 12 .4 shows the drag -and- drop operation in action Implementing custom drag -and- drop operations You also can implement drag -and- drop operations...
... alertWithCloseHandler():void { Alert.show(“An Alert dialog with close event handler”, “Alert Event Handler”, (Alert.OK | Alert.CANCEL), null, alertCloseHandler); } private function alertCloseHandler(event:CloseEvent):void ... BookStoreIndexNavigation.mxml in the chapter16 project n Figure 16 .4 shows the resulting application, with Previous and Next buttons to handle backward and forward navigation Using selectedChild The ViewStack ... and MenuBar controls The PopupMenuButton control is described in Chapter 17 49 1 Part II: Designing Flex Applications You can use the Menu and MenuBar controls, combined with event listeners and...
... Working with Data Entry Forms Chapter 23 Working with HTTPService and XML Chapter 24 Managing XML with E4X CHAPTER Modeling and Managing Data F lex applications are stateful; that is, they have ... Create an empty line just before the class declaration, and add a [Bindable] metadata tag Save the changes to disk 544 Chapter 18: Modeling and Managing Data Listing 18.2 shows the completed value ... 5 54 Chapter 18: Modeling and Managing Data Accessing data at runtime Both the ArrayList and ArrayCollection classes implement the IList interface The following IList methods and properties...
... data presentation with custom generation of item labels and renderers, and how to handle events indicating that the user wants to select and manipulate data Cross-Reference The unique capabilities ... control supports unique events and properties designed for that control’s specific purpose and capabilities 5 84 Chapter 19: Using List Controls Caution The ComboBox and DropDownList controls not ... a common set of properties and events to determine their presentation and behavior l The list controls include the Spark List, DropDownList, ComboBox and ButtonBar, and the MX List, ComboBox,...
... DataGrid and the two charts side by side 665 Part III: Working with Data FIGURE 21.11 The HLOC and candlestick charts, side by side Using bar, column, line, and area charts The bar, column, line, and ... 45 Using pie and financial charts Using bar and column charts Using line and area charts Figure 21.1 shows the data display in a DataGrid and a BarChart control The DataGrid ... Component Series Class Characteristics Candlestick CandleStickChart CandleStickSeries Represents financial data with each data point representing high, low, opening, and closing values All four values...
... HTTPService, WebService, and RemoteObject Cross-Reference For more information about HTTPService, WebService, and RemoteObject RPC components, see Chapters 23, 25, 26, 28, and 29 n And then there’s data ... navigation in Flex; this is handled with the ViewStack and related navigator containers n Note In the Flex SDK, the Form container and its related components, FormHeading and FormItem, have not been ... container’s label property, drag its handles to resize it, set other properties and styles in the Flex Properties view, and otherwise customize the control’s appearance and behavior Follow these steps...
... the function that creates and executes an RPC request, such as execute(), and its event handler methods, such as resultHandler() and faultHandler() Known as the Command design pattern, this approach ... method and adding an equivalent case statement in the evalE4X() method n 7 64 Chapter 24: Managing XML with E4X Modifying data in XML objects You can use E4X expressions to add, remove, and modify ... access to the E4X API and can use its simple syntax to parse, extract data from, and modify XML and XMLList objects stored in application memory In this chapter, I describe how to use E4X and ActionScript-based...
... the following: l l E4X is a standard of Ecma International that is implemented in ActionScript and in certain other languages and platforms l E4X enables you to parse, extract, and modify XML-based ...