... Like these two, the RemoteObject component makes calls asynchronously and handles returned results with either binding expressions or event handlers The Remoting Service on the server andthe ... download the application from the server for testing Follow these steps to create a Flex project for use with BlazeDS andthe Message Service: Choose File ➪ New ➪ Flex Project from theFlashBuilder ... file and add other required MXML and ActionScript source files 15 Return to Flash Builder, and run the main application The application should load from the BlazeDS URL: http://localhost: 840 0/blazeds/chapter27.html...
... Flash BuilderandFlex Bible ™ ® ® FlashBuilderandFlex Bible ® ™ ® David Gassner FlashBuilderandFlex Bible Published by Wiley Publishing, Inc 1 047 5 Crosspoint Boulevard ... presentation, and 3D animations The newly renamed FlashBuilder (formerly known as Flex Builder) is now positioned as the ActionScript editing product of choice for both FlexandFlash developers FlashBuilder ... in Figure 1.1 describes the relationship between theFlex SDK’s command-line compiler, Flex Builder, the MXML and ActionScript programming languages, andtheFlash Player and AIR MXML versus ActionScript...
... FlashBuilder 4, theFlex SDK, andFlash Catalyst Understanding FlashBuilderFlashBuilder 4, formerly known as Flex Builder, is an integrated development environment (IDE) for building Flex applications ... example, FlashBuilder includes these perspectives: l Flash 41 Part I: Flex Fundamentals l Flash Debug l Flash Profile When you install FlashBuilder with the stand-alone configuration, the default ... license includes theFlashBuilder Standard Edition feature set and adds the Data Visualization components including charting controls andthe AdvancedDataGrid and OLAPDataGrid TheFlashBuilder Premium...
... Documents /flex4 bible After selecting the workspace, you should see FlashBuilder close and reopen The new workspace, shown in Figure 3.1, should display theFlashBuilder Start Page andthe default Flash ... In FlexBuilder 2, the default Output folder was set by default to bin, andthe folder contained both the debug andthe release build of the compiled application Starting with FlexBuilder 3, the ... parameters to the application in the flashvars object The object is defined and then passed into theFlex document You can add named parameters to the flashvars object: var flashvars = {}; var flashvars.param1...
... compatible with Flex applications can be created with these tools: l Flash CS3 or CS4 l TheFlex SDK’s compc command-line component compiler l A Flex Library Project created and managed in FlashBuilder ... Flash Builder: Choose File ➪ New ➪ Flex Library Project from theFlashBuilder menu Tip If you’re using the plug-in version of Flash Builder, choose File ➪ New ➪ Other from the Eclipse menu Then ... install extra software and then manually import the resulting components into their Flex projects 161 Part I: Flex Fundamentals In FlashBuilder 4, you start in Design mode FlashBuilder s Components...
... click OK in the Clean dialog box FlashBuilder rebuilds the project from scratch and copies the data and CFC files to the server Then run and test the application again n Close the browser and return ... memory, and overall memory usage Note TheFlex profiling tools were added in FlexBuilder They are included only with a FlashBuilder Premium license n The profiling tools are packaged in a FlashBuilder ... id=”dummyVO”/> Run the application and click Get Data After a moment, the data should be displayed in the DataGrid 10 Close the browser and return to FlashBuilder Note The Web service andFlash Remoting...
... executed andthe data can then be appropriately handled Tip FlashBuilder is able to automatically generate event handler functions for custom component instances in the same manner as with theFlex ... as the application starts up: myForm.addEventListener(LoginEvent.LOGIN, loginHandler); Either way, the loginHandler() function is called andthe data is delivered to the application Tip FlashBuilder ... forms and other visual presentations On the Web To use the sample code for this chapter, import the chapter08.fxp Flex project file from the Web site files into your FlashBuilder workspace The...
... presentation, and I expand on the use of the Label and RichText controls in presenting text to the user On the Web To use the sample code for this chapter, import the chapter09.fxp Flex project from the ... the nature of Flex controls andthe details of some of the most useful controls in theFlexframework You learned the following: l l A container is a visual component that contains other objects ... version of Flash Player is its capability to present complex text with an element of the software known as theFlash Text Engine (FTE) andthe Text Layout Framework (TLF) The FTE supports these features:...
... the bottom of theFlex Properties view, click in the check boxes in the right anchor andthe bottom anchor, as shown in Figure 10.15 Click in the input controls in the constraint interface, and ... colors, and others When you use the new Spark-based themes (Spark and Wireframe), only the newer styles are supported TheFlex theme architecture enables graphic designers to create and distribute ... the total width of the nested component is 300 percent and would exceed the available space Instead, theframework adds up the total percentage values and uses the ratio of the control’s declared...
... represented by the main MXML in the document New Feature In Flex 3, the name of the default state was a blank String In Flex 4, the default value of the currentState property is the name of the first ... for the proxy image place the image above and to the left of the cursor, while negative values place it below and to the right n Handling the dragEnter event A target control, located where the ... example of the Fade effect n Using the Move and Move3D effects The Move and Move3D classes implement tweening effects that what they say: they move the component on the screen to and from specific...
... edges of the window, and border styles such as borderStyle and borderColor that affected the outer border of the window These no longer work in Flex when using the default Spark theme This theme ... arbitrary and not predefined in the Object class, but the fx prefix is required because they’re declared within the tag set The value of the label property is used in the labels of the ... that references the underlying data that drove the creation of the selected menu item Within an event handler function, the expression event.item references the data, andthe E4X expression can...
... dragged by the user, andthe rest of the application is disabled due to the modality of the pop-up You also can call the method from within the component to cause it to remove itself from the interface: ... make the property accessible to the rest of the application, you then create set and get accessor methods In ActionScript 3, these methods use explicit set and get keywords to indicate that the ... Contact.as from the valueObjects folder Place the cursor anywhere in the name of the first property, contactID Select Source ➪ Generate Getter/Setter from theFlashBuilder menu Click OK in the Generate...
... appropriate ActionScript class You can then refer to the object’s named properties and gain the benefit of FlexBuilder s andthe compiler’s syntax checking and code completion tools: var selectedState:StateVO ... populate their data from the directory and file contents of the local file system They also implement additional properties and methods that are designed to support their unique purpose Note Other ... from many sources, including theFlex SDK components that are grouped together as the RPC classes These classes are distinguished from each other by the data format they use to communicate with...
... item showing the high and low values and two short strokes protruding from the main display The stroke pointing to the left is the open value, andthe stroke pointing to the right is the close value ... basis, so there aren’t any ongoing royalties for using these controls Unlike in theFlex product line, the charting and other Data Visualization components aren’t sold as stand-alone products; they’re ... its raw form, while the chart makes the data more understandable to the user The data is clearly presented either way, but the graphical chart enables the user to understand its meaning on a...
... container You can then set the FormItem container’s label property, drag its handles to resize it, set other properties and styles in theFlex Properties view, and otherwise customize the control’s ... FlashBuilder or another text editor and copy its contents to the system clipboard Open contacts.xml from theFlex project’s src/data folder Select all the file’s contents and copy it to the clipboard ... application The Form container is never directly responsible for application navigation in Flex; this is handled with the ViewStack and related navigator containers n Note In theFlex SDK, the Form...
... in Flex n Note The HTTPService and other RPC classes are declared in the both the MX andthe Spark MXML manifests, so you can use either the mx: or the s: prefix FlashBuilder auto-completes these ... On the Web The code in Listing 24. 2 is available in the Web site files as E4XParsing.xml in the default package in the src folder of the chapter 24 project n The helper E4XParsingHelper ... On the Web The code in Listing 24. 4 is available in the Web site files as E4XChanging.mxml in the default package in the src folder of the chapter 24 project n The ActionScript helper...