<<

and Java, passing data between, 840–841 A looping, 119 absolute address, 724 Menu control, 494 absolute layout, 78, 133, 253, 311, 330 menu events, handling, 493 absolute sizing, 333, 334 versus MXML, 6–8 absolute-layout properties, Canvas container, 315 MXML and, 101–103 abstraction layer, SOAP-based Web service, 779 named parameters, passing, 744 acceptDragDrop() method, 395 navigator containers, working with, 477–482 access attribute, CFCs, 878 objects, declaring in, 7–8 access modifiers, 115–116, 153, 543, 582 overview, 114 accessor methods, 539, 545–549 package declarations in, 541 Accordion container, 472, 497, 500–502 percentage sizing, 334 acompc command-line tool, 28 to PHP data serialization, 932 Acrobat PDF, 809, 955, 976–977 pie chart, 651 Acrobat Reader, 976 populating value object data with, 699 . See AMF Zend AMF Producer component, 857 ActionScript 2, 99 RemoteObject, 830, 882 ActionScript 3. See also E4X effects; value objects reverse domain package names, 141 ActionScript Virtual Machine, 99 runtime channel, declaring in, 980 arguments, passing to remote methods, 839 serialized objects in, 862 classes, 48, 139–140, 440–441, 897 subtopics, filtering messages with, 869–870 combining MXML and, 120–128 syntax, 114 complex data objects, selecting with, 607–610 text property, 255 component methods, calling with statements, 154–155 TextFlow class, 256 conditional statements, 117–119 validating data entry with, 691–695 Consumer component, 858–859 validator object, 688 control properties and styles, setting with, 251 value objects, 551–552, 842–845, 895–896, 899 controlling styles with, 366–369 variables, declaring, 114–117 controls, instantiating with, 250–251 WebService, 784, 795–796 custom classes, 237–242, 534, 698 XML structure, hard-coded, 752 data collections, 554, 578 XMLListCollection, 755 data conversion from ColdFusion to, 879 ActionScript 3.0 Language Reference, 29 defined, 5 COPYRIGHTED MATERIAL adapter, 854–855, 862 effects, declaring in, 375–377 ActionScript class option, 238 embedded fonts, declaring, 302 ActionScript Class Warning dialog box, 67 event listener, executing single statement in, 210 ActionScript editor, Flash Builder, 50–51, 125–128, 180–181, fault event, 901 191–192 formatter objects, 306 ActionScript File option, 121 functions, handling events with, 211–213 ActionScript Virtual Machine (AVM), 99, 727, 786 handling events of multiple operations, 791 adapters, Message Service, 850, 854–855 HTTPService object, creating, 723 Add or Remove Programs option, 971

983

441_488959-bindex.indd1_488959-bindex.indd 983983 33/5/10/5/10 22:50:50 PPMM Index

Add Watch Expression dialog box, 191–192 installing, 958–959 AddAction class, 415 list controls for, 573 AddChild element, 408 LiveCycle Data Services features, 809 addChild() method, 148, 483 local data, retrieving in applications, 578 addChildAt() method, 483 overview, 11, 955–956, 980–981 addData() method, 392, 393 Proxy Service, 821 addElement() method, 112, 148, 252 remoting channels at runtime, creating, 978–980 addElementAt() method, 112 Version 2, 957 addEventListener() method WindowedApplication component, 977–978 custom event class, 245 Adobe AIR Installer application, 959 event name constants, 226–227, 240 Adobe AIR Setup dialog box, 959, 971 fault event, 734–735 Adobe AIR Uninstaller application, 959 menu events, 493 Adobe ColdFusion. See ColdFusion overview, 223 Adobe Community Help application, 29, 55–57 PopUpManager, 525 , 19, 420, 432–439. See also specific PopUpMenuButton, 518 programs by name RemoteObject component, 901 Adobe Developer Center Web site, 879 removing event listener, 227 , 93–96 result event, 732, 833, 885 , 437–439 setting up event listener, 223–225 Builder 4. See Flash Builder 4 for single method, 791–792 , 4, 5, 10 void return type, 213 . See Flash Player WebService, 785, 788 Adobe Flex 4. See Flex 4 addItem() method, 555, 576 Adobe Flex 4 SDK Command Prompt option, 28 addItemAt() method, 555 , 433–437, 439 Additional compiler arguments section, Properties dialog Adobe Integrated Runtime. See Adobe AIR box, 942, 944, 945 Adobe Labs Web page, 25 addPopUp() method, 524, 525 Adobe Open Source Web site, 809, 810 addResourceBundle() method, 948 , 432–433 addResponder() method, 740 Adobe Web site AddressRenderer. file, 624 AIR installer, 958 ADL (AIR Debug Launcher), 972–973 Flash Player installation from, 24–26 adl command-line tool, 27 Flex themes, 342 PDF, 809, 955, 976–977 FXG specifications, 420 Adobe Acrobat Reader, 976 getting help from, 29 Adobe AIR LiveCycle Data Services features, 809 architecture of, 956–958 adt command-line tool, 27 debugging applications, 972–973 advanced text layout, 288–294 desktop application, creating AdvancedDataGrid control, 572, 641–645. See also list application descriptor file, 963–967 controls Flex project for, 960–963 AdvancedDataGridColumn control, 642 installing, 969–971 AdvDataGridDemo.mxml file, 643 overview, 960 AdvDataGridFlatData.mxml file, 645 packaging release version of, 967–969 AeonGraphical theme, 342 uninstalling, 971 afterLast property, 562 drag-and-drop in, 389 AIR, Adobe. See Adobe AIR versus Flash Player, 18 AIR Debug Launcher (ADL), 972–973 HTML-based content, 973–977 AIR file, 967, 969 HTTPService component method property, 725 airfare search application, 402–406 image types, 282 AIRWebBrowser.mxml file, 977

984

441_488959-bindex.indd1_488959-bindex.indd 984984 33/5/10/5/10 22:50:50 PPMM Index

AJAX (Asynchronous JavaScript and XML), 470 angleYFrom property, 382 Alert class angleYTo property, 382 buttons, managing, 506–508 angleZFrom property, 382 CSS selectors, using with, 512–514 angleZTo property, 382 custom graphical icon, 509–512 Animate effect, 372, 377–379 events, handling, 508–509 AnimateColor effect, 372 fault event, 734–735, 790, 791, 792 AnimateDemo.mxml file, 378–379 modality, controlling, 504–506 AnimateFilter effect, 372 overview, 503, 504 AnimateProperty effect, 377 Panel container, 327 AnimateShaderTransition effect, 372 RadioButton controls, 270–271 AnimateTransform effect, 372 show() method, 504 animation, 9, 10, 371. See also effects; transitions AlertDemos.mxml file, 512 anonymous class, 594 Alert.NONMODAL constant, 505, 506 anti-aliasing, 297, 303 AlertWithStyles.mxml file, 514 Apache Axis, 779, 780 alias attribute, 894, 895, 896 Apache document root folder, 919 aliases, constants as, 152 Apache Tomcat 6. See Tomcat 6, Apache all value, creationPolicy property, 483 Apache Web server, 917, 918 element, 747 API (application programming interface). See also Logging API allowDisjointSelection property, 273 ArrayList class, modifying data with, 576–577 Allowed IP Addresses screen, ColdFusion Administrator, 906 classes, 208 Allowed Services list, User Manager screen, 906 controls, 250 allowMultipleSelection property, 273, 635 encapsulation, 13–14 allowMultipleSelections property, 584, 585 events, 221 allowScriptAccess parameter, 86 app_creationCompleteHandler() function, 224–225 allow-source-path compiler argument, 952 Appearance view, Flash Builder, 54, 355 element, 866 applets, 91–92 alpha styles, 133, 316 Application component alphaFrom property, 379 calling Web services from, 785 alphaTo property, 379 containership, 111–112 alternatingItemColors style, 614 contentGroup property, 148 altKey property, 220, 222 custom skin for AMF (Action Message Format). See also Zend AMF applying with style sheet declaration, 453 documentation, 825 assigning skin, 451–452 Message Service channels, 852–853 associating with host component, 446–447 overview, 825 creating, 444–446 PHP, services for, 924–925 FXG graphics, adding to, 449–451 RemoteObject class, 205, 578, 830 loading at runtime, 454–455 value object classes, 539 overview, 444 AMF0, 825 skin parts, adding required, 448–449 AMF3, 825 skin states, declaring required, 447–448 AMFChannel component, 878, 979–980 dimensions, controlling, 130–131 AMFPHP, 825, 924, 929–931 layout property, setting, 131–134 amxmlc command-line tool, 28 MenuBar control, 496 anchors, Constraints interface, 331–332 overview, 8, 128–129 angleBy property, 381 passing parameters, 130 angleFrom property, 381 view states, 399 angleTo property, 381 application descriptor file, 963–967, 973 angleXFrom property, 382 application location, 282 angleXTo property, 382 application programming interface. See API; Logging API

985

441_488959-bindex.indd1_488959-bindex.indd 985985 33/5/10/5/10 22:50:50 PPMM Index

application property, 129 managing data at runtime, 556–562 Application server type drop-down menu, 75, 197, 815, 856 navigator bar container, 485 application servers. See also specific servers by name overview, 552–553 configuring messaging on, 851–856 receiving complex messages, 862–863 filtering messages on, 865–871 source property, 554 Flash Remoting, configuring on, 877–878 value objects, working with, 742 HTTPService, 707, 709, 744–745 WebService result event, 788 supported, 46–48 ArrayList class Application type drop-down menu, 46, 75, 815, 856 charting controls, 649 application value, element, 829–830 DataGrid control, 614 application window, MAMP, 917–918, 919 getItemAt() method, 585 element, 964 itemRenderer property, 629 Application.cfc file, 783 label property, 579 applications, Flex. See Flex applications list controls, 575, 577 AppLoadStyleAtRunting.mxml file, 455 modifying data with API, 576–577 AppWithButtonsComplete.mxml file, 462 navigator bar container, 485–486 AppWithButtons.mxml file, 455, 461, 466 overview, 552–553 AppWithCustomSkin.mxml file, 452 RPC components, 578 AppWithSkinStyleSheet.mxml file, 453 source property, 554 area charts, 649, 666–667, 670–672 ArrayUtil.toArray() method, 538–539 AreaChart component, 649 arrowKeysWrapFocus property, 613 AreaSeries series class, 649, 672 as ActionScript operator, 788 argumentCollection attribute, 893 .as extension, 120–121 arguments. See also specific arguments by name asdoc command-line tool, 28 event object, 213–214 ASP.NET, Microsoft, 470, 779, 781 instantiating value objects with default values, 552 assets, Flex Library Project, 156 passing to CFC functions, 891–900 assets folder, 164–165, 437 passing to remote methods, 838–840 Assets tab, New Flex Library Project wizard, 156 Array class asynchronous (nonblocking) I/O channels, 853 adding new test expressions to helper class, 770 asynchronous communications, 727 ArrayUtil.toArray() method, 538–539 Asynchronous JavaScript and XML (AJAX), 470 data collection object source property, 554 AsyncMessage class, 857, 859, 862 menu data providers, 492 AsyncToken class, 736–741, 794, 837 navigator bar container, 485 attribute() function, 756 receiving value objects from ColdFusion, 897–898 attributes. See also specific attributes by name trace() function, 172 adding to objects, 765–766 array notation, extracting data from XML objects with, 759–760 deleting, 766–770 array value, resultFormat property, 726 filtering XML data with predicate expressions, 761 ArrayCollection class modifying values of, 765 accessing data at runtime, 555–556 order of declaration in MXML, 345 bindable variable as, 731–732 value object properties, 549–550 charting controls, 649 values, in MXML, 104 data collection, declaring for, 553 XML, versus child elements, 109 data cursors, 562–569 XML object, modifying, 765–770 as data provider for PopUpMenuButton, 515 auto value, creationPolicy property, 482 DataGrid control, 614 autoCenter Transform property, 381, 382 flat data, 644 Auto-detect the return type from sample data option, 802 HTTPService responses, handling, 728 auto-detecting return type, 714 list controls, 578 automatic garbage collection, 116

986

441_488959-bindex.indd1_488959-bindex.indd 986986 33/5/10/5/10 22:50:50 PPMM Index

automatic validation, 688–690 overview, 135–136 AVM (ActionScript Virtual Machine), 99, 727, 786 RemoteObject results, 831–832 Axis, Apache, 779, 780 shorthand MXML, 136–137 value object properties, 549, 550 view state, controlling with, 407 B ViewStack, setting as dataProvider, 487 backgroundAlpha setting, 316 WebService results, 786–787 backgroundColor style, 128, 276, 343 BindingUtils class, 136 backgroundFill property, 324 bitmap graphics, 430, 432–433, 437, 440 backgrounds, pie chart, 660–662 BitMapAsset object, 394 backward navigation, 478–481 BitMapClass object, 394 bar charts, 649, 666–670 BitMapFill class, 660 BarAndColumnDemo.mxml file, 670 element, 433 BarChart component, 647–648, 649, 668 BitmapImage control BarSeries series class, 649 changing images at runtime, 285–286 Basic Latin character set, 301 defined, 421 basic layout, 78, 133–134, 311, 320, 331 effects, 385 BasicLayout layout class, 131, 133 embedding images, 284–285 beans. See value objects external resource bundles, 951 beforeFirst property, 562 overview, 281–283 bgcolor parameter, 86 resizing images, 283–284 bidirectional text, 292–294 Blank State option, 402 binary distribution, BlazeDS, 810 BlazeDS. See also Message Service; Remoting Service binary files, 9 data connections, 845–847 Bind to Data dialog box, 719–720, 803–804 downloading, 810–811 bindable properties Flex projects, creating for use with, 814–816 complex data objects, 588–589 included in ColdFusion 9, 874 tag, 137–139 messaging architecture, 849 MXML component, 150–151 overview, 807–808 result event, 731, 884 Proxy Service, 817–824 value objects, 544–545 RemoteObject component XML structure, 752 instantiating, 830 [Bindable] metadata tag overview, 830 accessor method properties, 548 passing arguments to remote methods, 838–840 ArrayCollection class, 553 passing data between ActionScript and Java, 840–841 complex data objects, 588, 589 remote methods, calling, 830–831 making properties bindable, 138, 150 results, handling, 831–838 value objects, 544, 551 value object classes, 841–845 bin-debug folder, 47, 76, 169 sample applications, 813–814 binding expressions sample database, starting, 813 bound parameters, 745 starting, 811–813 ColdFusion Component results, 883–884 supported platforms, 808–809 component methods, calling with, 154 BlazeDS context root folder, 816 external resource bundles, 952 BlazeDS WEB-INF/flex folder, 816 formatter classes in, 307–308 blazedsfiles folder, 816 tag, 137 .war BlazeDS instance, 811 HTTPService responses, 728–730 blocking I/O, 853 making expressions bindable, 137–139 body property, 857, 859, 862 Model object, 535–536, 537 bookItem format, 393 outputting current date, 944 bookmark property, 567

987

441_488959-bindex.indd1_488959-bindex.indd 987987 33/5/10/5/10 22:50:50 PPMM Index

bookmarking data, with cursors, 567–569 BubbleChart component, 649 BookmarkingData.mxml file, 569 bubbles property, 228, 237, 240, 699 .mxml file, 473 BubbleSeries series class, 649 BookStoreAccordion.mxml file, 501 bubbling, event, 227–229 BookStoreIndexNavigation.mxml file, 480 Build Automatically feature, 54, 81 BookStoreMenuBar.mxml file, 497 build path, Flex Project, 159 BookStore.mxml file, 474 bundleName property, 947 BookStoreNavBar.mxml file, 488 Button class, 208–209, 210 BookStoreReferenceNavigation.mxml file, 482 Button control BookStoreTabNav.mxml file, 499 addEventListener(), 225 BookStoreVerticalButtonBar.mxml file, 491 custom skin, 461–467 BookStoreVerticalNav.mxml file, 490 default button, 682 Boolean expressions, 114, 117, 557 descendant selector in, 354 border styles, 512 event bubbling, 227–228 BorderContainer component, 323–325 event handler for, 214, 215–216, 223 BorderContainerDemo.mxml file, 324 exporting existing styles, 359–361 borderStroke property, 324 Form component, adding to, 686 bottom property, 332, 423 overview, 266–267 Bounce class, 387–388 selectedIndex property, 478–479 bound argument notation, 839, 840 skin, creating new by copying default skin, 455–460 bound arguments, passing to CFC functions, 891, 892 trigger events, controlling validation with, 689 bound CSS declarations, 368–369 button controls, 266–271. See also specific controls by name bound parameters, 745, 797–798 Button portion, PopUpMenuButton, 515–517 Box, Don, 778 ButtonBar control. See also list controls box model, CSS, 319 defined, 484, 571, 572 Box superclass, 312–313 generating using dataProvider, 485–486 BreakElement class, 289 Spark, use of, 611–613 Breakpoint Properties dialog box, 182 Spark versus MX, 488 breakpoints vertical, 490–491 Breakpoints view, 183–185 ButtonBarDemo.mxml file, 612 clearing, 180 buttonDown property, 220 conditional, 181–183 buttonMode property, 440 Debug view, controlling application execution with, buttons. See also specific button controls by name 192–194 default, 507–508, 681–683 debugging event object, 220 pop-up window, 506–508 debugging session, using in, 185–187 buttonWidth property, 507 defined, 167 inspecting variables and expressions adding expression, 191–192 C Expressions view, 191 C command, 424 Variables view, 187–188 caching, 708, 809 watchpoints, setting, 188–191 Cairngorm microarchitecture, 741 removing, 180–181 calculator.as file, 123–124 setting, 180–181 Calculator.mxml application, 122–123 Breakpoints view, Flash Builder, 55, 183–185 CalculatorWithScript.mxml file, 122 “A Brief History of SOAP,” 778 calendar, for date controls, 273–274 bringToFront() method, 524, 525 Call Trace option, 173 brittle applications, 12 CallAction class, 415 browser, Web. See CallComponentMethodWithAS.mxml file, 155 bubble charts, 649 callout value, labelPosition style, 652

988

441_488959-bindex.indd1_488959-bindex.indd 988988 33/5/10/5/10 22:50:50 PPMM Index

CallResponder class, 736–739, 794–795, 837–838 PopUpMenuButton, 518 CallResponderDemo.mxml file, 739 RadioButtonGroup control, 271 camel case, 345, 347 ScrollBar controls, 278–279 cancel event, 523 Slider control, 280, 281 cancelable property, 240 TileList control, 635 cancelLabel property, 506 Change Font Size button, 366–367 candlestick charts, 650, 663–666 ChangeEventDemo.mxml file, 586 CandleStickChart component, 650 ChangeLocaleAtRuntime.mxml application, 945–947 CandleStickSeries series class, 650 changing event, 584 Canvas container, 312, 315–317, 318, 328, 330 ChangingSelectors.mxml file, 369 CanvasDemo.mxml file, 316 tag, 829, 878 Cascading Style Sheets. See CSS, selectors, CSS channels, 851–854, 878, 978–980 case sensitivity, 104, 114, 260, 346 tag, 853–854, 855 caseInsensitive property, 560 ChannelSet object, 980 casting, explicit, 859 channelSet property, 979 catalog.xml file, 158 characters, embedding ranges of, 300–302 CategoryAxis component, 667, 668 Chart Service, ColdFusion, 905 CDATA blocks, 109–110, 120 chartable values, 666 centerPopUp() method, 525 charting controls centerRadius property, 657 area charts, 666–667, 670–672 certificate, packaged AIR application, 968–969 bar charts, 666–670 certificate authority, 968 column charts, 666–670 command, 905 declaring, 650–652 tag, 894, 896 financial charts, 663–666 cfContextRoot property, 908 line charts, 666–667, 670–672 CFCs. See ColdFusion Components overview, 647–650 command, 905 pie charts, 652–662 CFEclipse, 34 Chat Rooms application, 867–871 command, 905 chatRooms.as file, 870 command, 727 ChatRooms.mxml file, 868 CFIDE/scripts/AIR folder, 907 CheckBox control, 268–269, 629–632 command, 905 child class, 15 command, 905, 907, 908 child objects CFML (ColdFusion Markup Language), 778, 880, 893 Accordion navigator container, 500 command, 905 adding to container, 148 command, 905 layout of, 78 cfPort property, 908 TabNavigator navigator container, 498 tag, 894–895 value object properties, 549–550 CFScript, 880 XML, 109 command, 607 childList argument, 525 cfServer property, 908 childrenField property, 642 cfservices.swc file, 907 chrome, , 978 command, 901 chromeColor style, 355 change event class selectors, 346, 351 ButtonBar control, 611 Class variable, 284, 302, 509 ColorPicker control, 276 Class view, Flash Builder, 124 HorizontalList control, 635 classes. See also effects; specific classes by name; value objects list controls, 584, 585, 586 ActionScript, 48, 139–140, 440–441, 897 navigator bar container, 487 API documentation for, 208

989

441_488959-bindex.indd1_488959-bindex.indd 989989 33/5/10/5/10 22:50:50 PPMM Index

classes (continued) ColdFusion. See also ColdFusion Components custom, to handle unique RPC requests, 741 command, 727 custom event, 237–246 command, 607 easing, 387–388 data connections, 903–904 encapsulation, 13–14 download page, 783 formatter, 305–310 Flash Remoting, 874–878 names, 48, 67–68 Flex project, configuring for use with, 197–201 nonvisual, in MXML, 112–113 installing, 783 XML, 750–756 Network Monitor, 196–197 ClassReference() compiler directive, 453 overview, 873–875 Clean all projects option, 85 RemoteObject fault events, 900–902 Clean dialog box, 199 services, calling, 905–910 Clean option, 953 SOAP-based Web services, 778, 779–780 click event support site for, 47 addEventListener(), 225 value objects, 894–900 Button control, 209, 210, 215–216, 266–267 WSDL page generated by, 781–782 documentation for, 221, 222 ColdFusion Administrator, 905, 906 event bubbling, 228 ColdFusion Builder, 34 event listener, setting up, 223 ColdFusion Components (CFCs) LinkButton control, 268 calling from Flex application, 875 transitions, 416 creating, 878–880 click XML attribute, 210 passing arguments to, 891–894 clickHandler() method, 212, 213, 225, 228, 700–701 RemoteObject component, using with, 880–883 client-side service components, ColdFusion, 907–910 results, handling, 883–891 clone() method, 238, 240–242, 699 SOAP-based Web services, 780 close button, TitleWindow container, 527–529 ColdFusion destination, 878, 881 close event, 508, 509, 527 ColdFusion Enterprise, 855 close() method, 518 ColdFusion Event Gateway Adapter, 850 closeField property, 663 ColdFusion installation type option, 197, 875 code ColdFusion Markup Language (CFML), 778, 880, 893 generating using Flash Builder 4, 64–66 ColdFusion Web root, 876, 877 managing with Flash Builder, 124–128 ColdFusionFiles folder, 877 searching for, 58–64 ColdFusionServiceResultEvent class, 908 code completion tool Collapse Functions option, 126 camel case or hyphenated syntax in, 347 collapse value, whiteSpaceCollapse style, 258 event name constants, 226–227 collectionChange event, 862 external style sheets, 357 color style, 294, 353 overview, 79 color values, style, 362 selecting custom component, 145 ColorPicker control, 275–277, 573 triggering, 244 ColorPickerDemo.mxml file, 276 code folding, 125–127 Colors and Fonts section, Preferences dialog box, 43–44 code management, Flex versus Flash, 11 column charts, 650, 666–670 code model search tools, Flash Builder ColumnChart component, 650, 668 moving existing source-code files, 63–64 columnCount property, 292 refactoring source-code files, 63 ColumnDemo.mxml file, 292 refactoring variable names, 61–62 columnGap property, 292 searching for declaration, 60–61 columns searching for references, 60 DataGrid control, 614–619 code points, Unicode, 301 presenting text in, 292, 293 code refactoring tool, 61–62 columns property, 614, 617–618, 642

990

441_488959-bindex.indd1_488959-bindex.indd 990990 33/5/10/5/10 22:50:50 PPMM Index

ColumnSeries series class, 650 Configure Code Generation screen, 800 columnWidth property, 292 Configure ColdFusion Server screen, 875, 877 ComboBase class, 573 Configure ColdFusion Service screen, 903 ComboBox control. See also list controls Configure Columns dialog box, 720 complex data objects, selecting, 607–610 Configure Output screen, 76–77, 960 defined, 571, 572 Configure PHP Server screen, 920–921 overview, 603 Configure PHP Service dialog box, 925 prompt property, 604–605 Configure Return Type wizard, 714–716, 802–803, 933, properties, 585 934–935 selectedIndex property, 588 Confirm Perspective Switch dialog box, 185–186 Spark ButtonBar control, 611–613 Connect to BlazeDS/LCDS Service dialog box, 847 using, 605–607 Connect to ColdFusion option, 903 ComboBoxDemo.mxml file, 607 Connect to Database button, 936 command button, 267 Connect to Data/Service dialog box, 711, 799–800, 903–904, Command design pattern, 741 933–937 command window, Windows, 812 Connect to HTTP option, 711 commandKey property, 220 connections, concurrent, 853. See also data connections comments, in default application descriptor file, 964–967 Console view, Flash Builder communications, asynchronous, 727 DataGrid trace() statements, 622 Community Help application, Adobe, 29 debug mode, 169–170 compareFunction property, 562 managing during debug session, 170–171 compc command-line tool, 28 overview, 54 Compile CSS to SWF option, 363–364 trace() function messages in, 173 compile time, changing locales at, 943–944 tracing messaging traffic, 871–872 Compiled Flex application location option, 47, 198 constants compiled style sheets, 344, 363–365 defined, 149 compiledStyles.css file, 363 encapsulation, 14 compiledstyles. file, 363 event name, 226–227, 240 compiler tags, MXML, 106 use of, 152 complex data, 862–865, 929–931 whiteSpaceCollapse style, 259 complex data objects, selecting, 588–590, 607–610 constraint-based layout, 330–332 component folder, creating, 141 constraint-based sizing, 333, 335–336 component item editors, 632–634 Constraints interface, 331–332 component item renderers, 597–600 ConstraintSizing.mxml file, 336 component libraries, 155–161 constructor method, 551–552, 560, 826, 843 component renderers, 591, 623 Consumer component, 858–861, 865–871 components. See also custom components; MX components; Contact value object class, 545, 550, 744, 899 MXML components; programmatic skins; Spark Contact[] return type, 717 components Contact.as file, 540, 543, 544, 546, 717–718 custom pop-up window, 521–522 Contact.as value object class, 717 view states, adding to and removing from, 408–409 Contact.cfc file, 895 in view states, managing, 412–413 ContactComplete.as file, 545 Components view, Flash Builder, 54, 146–147, 162 _ContactEntityMetadata class, 717 composite effects, 383–387 Contact.java file, 842 CompWithBindableProp.mxml file, 151 ContactPrivateVars.as file, 548 CompWithPublicMethod.mxml file, 154 contacts database, 929 concatValues() method, 839 ContactService class, 711 concurrency property, 723, 724, 726 ContactService.as file, 712 concurrent connections, 853 ContactService.cfc file, 888 conditional statements, 117–119 contacts.xml file, 714, 728

991

441_488959-bindex.indd1_488959-bindex.indd 991991 33/5/10/5/10 22:50:50 PPMM Index

ContactVO class, 632–633, 897 Create Watch Expression option, 191 ContactVO.as file, 843, 896 createComponentsFromDescriptors() method, Container class, 315, 483, 498 483, 484 containers, 249, 290–291, 311, 380. See also layout createCursor() method, 556, 562 containers; navigator containers; specific containers createMenu() method, 494 by name createPerson() method, 937 containership createPopUp() method, 524 descendant selectors, 350 creation policy, navigator containers, 482–484 event bubbling, 228–229 creationComplete event, 225, 479, 727 MXML, 110–112 creationPolicy property, 482–484 overlapping element tag, 104 Creative Suite, Adobe, 19, 420, 432–439. See also specific type selector inheritance, 349 programs by name Containership.mxml file, 111 CreditCardValidator class, 687 content, component, 112 cross-domain policy, 724, 746–747, 817 Content Debugger Player, 21 crossdomain.xml file, 747, 817 content property CrossFade effect, 372 ResourceBundle class, 948 CSS (Cascading Style Sheets). See also selectors, CSS richly formatted text, 288 ActionScript, controlling styles with, 366–369 RichText control, 289 compiled style sheets, 363–365 Spark text control, 255 custom pop-up window skin, 529 versus textFlow property, 256 custom skins, 453, 461–462 whiteSpaceCollapse style, 258–259 embedded style sheets, 353–355 contentBackgroundAlpha style, 355 external style sheets, 356–362 contentBackgroundColor style, 355, 512 Flex-based, 319 content-based sizing, 333–334 fonts, controlling with, 294–302 contentGroup container, 112, 148, 252 , declaring style sheets with, 345 contentGroup skin part, 448, 449, 450 HTML wrapper template, 83 contract-based programming, 17 inline style declarations, 344–345 control bars, Panel containers with, 329–330 overview, 341–343 Control Panel, Windows, 971 style sheet, defined, 343–344 ControlBar container, 311, 328–329 CSS File option, 356 controlBarContent property, 129, 311, 329–330, 496, CSS Namespaces Module, 347 527 CSSStyleDeclaration class, 367–368 ControlBarDemo.mxml file, 328 Ctrl key, 585, 586 controller, in model-view-controller architecture, 139 ctrlKey property, 220 controls, 249, 311, 333–336. See also layout controls; specific CurrencyFormatter class, 305, 307 controls by name; visual controls CurrencyValidator class, 687 Convert to CSS option, 360 current property, 562, 564 Convert to Desktop/Adobe AIR Project option, 46 current view state, 399 cookies, 470 currentState property, 399, 400, 406–407, 410, 412 copy() method, 756 currentTarget property, 228–229 Copy non-embedded files to output folder setting, 82 CursorBookmark class, 567 Copy Settings section, Workspace Launcher dialog box, 37 cursors, data, 562–569 Correct Indentation feature, 50 curve value, form property, 672 count() function, 937 CurvedArrow graphic, 428–430 counter variable, 119 custom classes, 741 Create a Flex project screen, 76–78, 961–962 custom component item renderer, 597–600 Create as copy of option, 528 custom components Create Self-Signed Digital Certificate screen, 969 CSS type selectors, applying to, 348 Create Skin option, 455–456, 528 dataChange event, 623–624

992

441_488959-bindex.indd1_488959-bindex.indd 992992 33/5/10/5/10 22:50:50 PPMM Index

inheritance, 349 CustomButtonSkin.mxml file, 462 managing view states in, 412–413 CustomDragAndDrop.mxml file, 397 in navigator containers, 472–473 CustomEventAppComplete.mxml file, 237 custom constructor methods, 551–552 CustomEventApp.mxml application, 232, 236 custom drag-and-drop operations, 391–398 custom event classes creating in ActionScript, 238–242 D dispatching, 242–244 dashboard applications, 647 handling event using, 244–246 Dashboard.mxml file, 864 overview, 237–238 data custom events conversion from ColdFusion to ActionScript, 879 declaring, 231–233 passing to component property, 151–152 dispatching, 233–235, 699–704 persistence of in Web applications, 470 handling, 235–237 working with in Flex versus Flash, 10 overview, 230–231 data collections custom Form components, 683–687 accessing data at runtime, 555–556 custom function, 211–212 ArrayCollection, declaring, 553 custom graphical icon, pop-up window, 509–512 cursors, 562–569 custom item renderers dynamic data providers, 577–578 component, 597–600 managing data at runtime, 556–562 drop-in, 591–593 overview, 533, 552–553 inline, 593–597 source property, setting, 554 overview, 590–591 using as dataProvider, 485–486 Spark, customizing with view states, 600–602 data connections custom label function, 653–654 BlazeDS, 845–847 custom namespace prefix, 144, 549 ColdFusion, 903–904 custom perspective, , 42 defined, 707 custom pop-up windows, 503, 521–529 PHP, 925, 932–938 custom resource bundles, 947–953 Web service, 798–805 Custom section, Components view, 146, 162 Data Controls section, Components view, 719 custom skins data elements, in custom event classes, 237, 240 binding to component, 451–455 data entry controls, 271–277 for other Spark components data entry forms assigning with CSS, 461–462 custom Form components, 683–687 creating new skin, 455–460 Form container, 676–683 customizing skin, 462–467 overview, 675–676 overview, 444 sharing data with application, 697–704 for Spark Application component validating data entry, 687–697 associating with host component, 446–447 data folder, 783 creating, 444–446 Data Management Service, 614, 631, 809 FXG graphics, adding to, 449–451 data model, 533–539 overview, 444 data points, pie chart, 652 skin parts, adding required, 448–449 data property skin states, declaring required, 447–448 item renderer, 623 CustomAppSkinComplete.mxml file, 451 list controls, 595, 597, 598 CustomAppSkin.mxml file, 448, 449 Path class, 423–424, 425 CustomButton component, 348 data providers CustomButton.mxml file, 348 dynamic, 577–578 CustomButtonSkinComplete.mxml file, 460 hard-coded, 575–577

993

441_488959-bindex.indd1_488959-bindex.indd 993993 33/5/10/5/10 22:50:50 PPMM Index

data providers (continued) DataGridFormatLabels.mxml file, 621 menu controls, 492–493 DataGridInlineEditor.mxml file, 634 overview, 574 DataGroup control, 392, 395 PopUpMenuButton control, creating for, 514–515 data-management-config.xml file, 817 data serialization, 840–841, 932 DataManager.php file, 930 data series, for charts, 649, 652, 659–660, 666 dataProvider property data set, returning from PHP class, 929–930 AdvancedDataGrid control, 644 Data Transfer Object pattern, 841 data collection, using as, 485–486 data transfer objects. See value objects DataGrid control, 615, 616 data types, 362, 539 menu control, 493, 494 Data Visualization components, 4, 27, 641, 648 overview, 571 databases, 534, 813, 935–938 pie charts, 649 data-centric applications PieSeries series class, 659 binding returned data to visual controls, 719–722 ViewStack, using as, 487–488 data connections, 710–714 DataSeries class, 652 overview, 707, 710 Data/Services view, Flash Builder, 712, 714, 715, 847, 933 return data type, defining, 714–719 date application, 943–944 dataChange event, 623–625 Date class, 945 data/contacts.xml expression, 724 date controls, 273–275 dataField property, 617, 619, 621 DateChooser control, 273–275, 307–308, 518–520 dataForFormat() method, 395 DateField control, 273–274, 275, 405, 573, 632–634 DataGrid control. See also list controls DateFormatter class, 305–309, 944, 945 binding data to, 803–804 DateFormatterDemo.mxml file, 308 binding returned data to visual controls, 719–720 DateFormatterWithStaticMethod.mxml file, 310 custom components in navigator container, 473 DateTimeAxis component, 667, 668 custom labels, displaying, 619–622 DateValidator class, 687 customizing display, 614–619 “Dave’s History of SOAP,” 778 dataChange event, 623–625 dayNames property, 275 defined, 572 Debug button, 169–170 drag-and-drop support, 390 Debug Current Instruction Pointer, 186–187 financial charts, 664–666 Debug menu option, 169 handling HTTPService responses, 728, 729–730 debug() method, 176 item editors, 627–628 debug mode, Flash Builder, 169–172 itemRenderer property, 629–632 debug version numeric data, 647–648 Flash Player, 21–22, 24, 25–26, 168 overview, 613–614 Flex application, 88, 169 Spark item renderers, 626 Debug view, Flash Builder, 54, 190 DataGridColumn control Debugger menu item, 168 controlling column display, 617–619 debugging. See also breakpoints displaying custom labels, 619–621 Adobe AIR applications, 972–973 drop-in item editors, 628–629 custom formatting function, 622 dynamic data field, 621 debug mode, running application in, 169–172 item renderers and editors, 622–623 debug version of application, 169 label properties, 583 event objects, 220–221 Spark item renderers, 626–627 logging, 172–180 DataGridCustomRenderer.mxml file, 625 Network Monitor, 196–206 DataGridDefaultColumns.mxml file, 616 overview, 167–169 DataGridDropinEditor.mxml file, 631 profiling tools, 194–196 DataGridExplicitColumns.mxml file, 618 debugging views, Flash Builder, 54–55 Declarations tag, 178

994

441_488959-bindex.indd1_488959-bindex.indd 994994 33/5/10/5/10 22:50:50 PPMM Index

declarative instantiation, 250 RemoteObject component, 830, 881, 928 deep linking, 87–88 WebService or HTTPService object, 823, 824 default application descriptor file, 964–967 tag, 829, 855 default argument values, instantiating value objects with, 552 destinationLabel control, 138 default attribute, 855, 895 destinations default button, 507–508, 681–683 Flash Remoting, 878 default columns display, DataGrid control, 615–616 Message Service, 855–856 default destination, Proxy Service, 818–822 Proxy Service, 818–824 default dimensions, content-based sizing, 333 Remoting Service, 828–830 default skin, creating custom skin by copying, 455–460 detached view, Eclipse, 39–40 default values, value object class properties, 539 detail property, 508 defaultButton property, 682, 683 Developer edition, ColdFusion, 875 tag, 856 development, Flex versus Flash, 8–11 DefaultHTTP id, 819 development tools, 26–28 DefaultProxyDestination.mxml file, 822, 823 device fonts, 295–296 deferred instantiation, 483, 614 DHTML (Dynamic HTML), 210 DELETE method, 725 Digital Signature screen, Export Release Build wizard, delete operator, 766–767 968–969 deletePerson() function, 937 dimensions. See also sizing containers and controls deploying Flex applications controlling application, 130–131 creating release build, 88–90 navigator containers, 484 deploying release build, 91 ViewStack, 477 integrating into existing Web page, 91–92 direction property integrating with Dreamweaver, 93–96 bidirectional text, 293 testing release build, 90–91 Box superclass, 312 deployment, BlazeDS, 818 FormItem container, 681 derived class, 15 LinearGradient class, 426 descendant accessor operator, 760 navigator bar container, 488 descendant selectors, CSS, 346, 350–351, 354 Spark ButtonBar component, 490 DescendantSelectorDemo.mxml file, 351 disabled skin state, 448 descending property, 560 disabledDays property, 275 descriptor-template.xml file, 963 disabledRanges property, 275 design, with Flex versus Flash, 10 disabling validation trigger events, 691–692 Design view Disconnect tool, 193 constraint properties, 332 dispatchEvent() method, 234, 238 constraint-based layout, 331–332 displayAsPassword property, 260 event handler function, generating, 215–216 DisplayBookCollection.mxml file, 556 Flash components, 162–163, 165 distribution, Eclipse, 35 inserting custom component instance in, 146–149 div element, textFlow property, 256 MXML editor, 49–50

tag, 83, 85, 92 view states, defining in, 401–406 DivElement class, 289 views used in, 54 docked view, Eclipse, 39–40 Desktop application option, 46 Document Class feature, 66, 70 desktop applications. See Adobe AIR Document Object Model (DOM), 750–751, 785 desktop deployment, Flash Player, 18 document property, 785 destination, binding expression, 136 Document Service, ColdFusion, 905 destination property documentation Consumer component, 858 CFC, 881, 882 Producer component, 857 ColdFusion, 910

995

441_488959-bindex.indd1_488959-bindex.indd 995995 33/5/10/5/10 22:50:50 PPMM Index

documentation (continued) duration property, 374, 380 event object, 221 dynamic data field, DataGrid control, 621 Flash Builder 4, 29, 55–57, 125, 126 dynamic data providers, 577–578 Flex 4, 29 dynamic help, Flash Builder, 57 Zend AMF, 932 Dynamic HTML (DHTML), 210 doDrag() method, 392, 393, 394 dynamic url, 824 DOM (Document Object Model), 750–751, 785 tag, 820, 822–824 dot notation, 588, 758–759 doubleClickEnabled property, 584 doughnut charts, 657–658 E DoughnutDemo.mxml file, 658 E4X (EcmaScript for XML) Download BlazeDS now option, 810 expressions downloading extracting data from XML objects, 758–764 AIR installer, 958 modifying data in XML objects, 765–770 BlazeDS, 810–811 overview, 756–757 debug version of Flash Player, 25–26 namespaces, working with, 770–773 Eclipse, 34 overview, 749–750 production Flash Player, 24–25 XML classes Downloads page, WampServer Web site, 913 object, creating, 751–754 drag proxy, 390, 393–394 overview, 750–751 drag-and-drop operations XMLList class, 754–755 custom, 391–398 XMLListCollection class, 755–756 List controls, implementing with, 389–391 e4x value overview, 371, 388–389 format property, 753 dragDrop event, 395–398 resultFormat property, 726, 753 dragEnabled property, 389–390, 393 E4XChangingHelper class, 767 dragEnter event, 394–395 E4XChanging.mxml file, 768 DragEvent class, 395 E4XParser component, 758 dragInitiator property, 395 E4XParsingHelper class, 763–764 DragManager class, 391 E4XParsingHelper.as file, 764 dragMoveEnabled property, 389 E4XParsing.xml file, 763 DragSource class, 391–393, 395 E4XPChangingHelper.as file, 770 dragSource property, 395 E4XWithNamespaces.mxml file, 773 drawing. See FXG easer property, 387 Dreamweaver, Adobe, 93–96 easing classes, 387–388 DropDownDemo.mxml file, 605 EasingDemo.mxml file, 387–388 DropDownList control. See also list controls Eclipse ArrayCollection class filtering, 558 configuring, 43–45 ChangeLocaleAtRuntime.mxml application, 946 distribution, selecting, 35 complex data objects, selecting, 607–610 downloading, 34 defined, 571, 572 Flash Builder plug-in, installing, 36 overview, 603 installing, 35–36 prompt property, 604–605 overview, 32, 33–34, 36 properties, 585 preparing to install, 34 Spark ButtonBar control, 611–613 search tools, 58–60 dropEnabled property, 389–390, 392 workspace, 37–43 drop-in item editors, 628 Eclipse Classic, 35 drop-in item renderers, 591–593, 623 Eclipse IDE for Java Developers, 35 ds-console.war BlazeDS instance, 811 Eclipse IDE for Java EE Developers, 35 Duplicate of option, 402 Eclipse Public License version 1.0 (EPL), 34

996

441_488959-bindex.indd1_488959-bindex.indd 996996 33/5/10/5/10 22:50:50 PPMM Index

ECMAScript 4th Edition standard, 114 en_US locale, 942, 944 EcmaScript for XML. See E4X Enable Condition property, 182 Edit ActionScript 3.0 Class dialog box, 68 Enable integration with Web browsers option, 88 editable property Enable Monitor icon, 201 ComboBox control, 588, 605, 606 enabled property, 110, 182, 252, 478–479 DataGrid control, 627–628 enabling Network Monitor, 201–202 DateField component, 274, 632, 634 encapsulation, 13–14, 135 TextInput/TextArea controls, 260 end tag, 104 whiteSpaceCollapse style, 259 endpoint property, 928 editorDataField property, 629 tag, 829, 979 editors, Eclipse, 41 Enter a sample XML/JSON response option, 714 effectEnd event, 386 enterPopUp() method, 524 effects. See also transitions entities, XML, 110 ActionScript, declaring in, 375–377 entries, 362 composite, 383–387 entries property, 422 declaring, 373–377 tag, 778 defined, 399 EPL (Eclipse Public License version 1.0), 34 easing classes, 387–388 error messages, validation rules and, 695–697 overview, 372–373 errorcode attribute, 901 playing, 373–375 errorString property, 704 Spark, 377–383 evalE4X() method, 763, 764, 770 Ellipse class, 421, 422, 426–427 event argument, 220, 221–222, 244 elliptical shapes, drawing with FXG, 422–423 event bubbling, 227–229 EllipticalButtonSkin.mxml file, 466 Event class, 213–214, 216–217, 219–220, 224, 237–238 else clause, 117–118 event listeners else if clause, 117–118 ActionScript functions, 211–212 em measurement, 262 ChangeLocaleAtRuntime.mxml application, 946 e-mail application, 907–909 event handler function, using, 212–213 email property, 703 executing single ActionScript statement in, 210 EmailValidator class, 687, 689, 694 generating, 66 @Embed() compiler directive, 440 handling specific event objects, 221–222 Embed() compiler directive, 951 ItemResponder class, 739–740 [Embed] metadata tag, 284, 302, 394, 509 overriding in view state, 409–412 embedded fonts overview, 210 declaring with ActionScript, 302 removing, 227 declaring with CSS result event, 731–732, 832–833, 885 embedding by font file location, 298 setting up, 223–225 embedding font variations, 298–300 simple event handling application, 211 embedding ranges of characters, 300–302 watchpoints, 190–191 overview, 297–298 working with multiple Java class methods, 834, 836 versus device fonts, 295–296 event objects overview, 297 arguments, 213–214 embedded style sheets, 344, 353–355 for custom event, 233–234 EmbeddedStyles.mxml file, 354 debugging, 220–221 embedding defined, 207 FXG graphics, with , 440 documentation, reading, 221 images, 284–285 Event class inheritance, 219–220 EmbedFontByFileName.mxml file, 299–300 event handler function, generating, 214–216 empty tag syntax, 104 handling specific, 221–223 overview, 213

997

441_488959-bindex.indd1_488959-bindex.indd 997997 33/5/10/5/10 22:50:50 PPMM Index

event objects (continued) Export Release Build wizard, 89, 93, 967–969 properties, 216–219 Export to FXG option, Fireworks, 437 variable name, 213 ExportStylesComplete.mxml file, 361 [Event] metadata tag, 231, 234 ExportStyles.mxml file, 359 EventBubbling.mxml file, 228–229 expressInstall.swf file, 96 EventDispatcher class, 223 expression tools, 167 event.item expression, 487, 493, 516 expressions. See also specific expressions by name EventObjectProperties.mxml file, 218–219 E4X event.result expression, 732, 753, 758, 788, 833, 885 extracting data from XML objects, 758–764 events. See also specific events by name modifying data in XML objects, 765–770 addEventListener(), handling with, 223–227 overview, 756–757 Alert window, handling, 508–509 inspecting with breakpoints bubbling, 227–229 adding expression, 191–192 custom, 230–237, 699–704 Expressions view, 191 custom event classes, 237–246 Variables view, 187–188 defined, 149 watchpoints, setting, 188–191 encapsulation, 14 predicate, filtering data with, 760–764 event-driven applications, 207 Expressions tab, Flex Debugging perspective, 191 Flex architecture for, 208–209 Expressions view, Flash Builder, 55, 191–192 List control, 584 Extensible Application Markup Language (XAML), 105 menu control, handling, 493 Extensible Stylesheet Language Transformations (XSLT), 105 MXML, handling in external ActionScript files, 120–124 event listeners, declaring, 210–213 external resource bundles, 950–953 event objects, working with, 213–223 external style sheets overview, 210 creating blank style sheet, 356–359 navigator bar container, handling, 487 exporting existing styles, 359–362 overview, 207 overview, 356 PopUpButton control, handling, 518–520 referencing with element, 345 PopUpMenuButton control, handling, 515–517 externalStyles.css file, 358 sharing data with, in custom pop-up window, 522–524 ExternalStyles.mxml file, 359 Slider controls, 281 events folder, 238 Events link, API documentation, 208–209, 221 F Events section, help page, 209 faceless components, 113 event.target expression, 217 Fade effect, 372, 374–376, 379, 414–416 event.target.data expression, 393 Fake Name Generator Web site, 615 EventWithFunction.mxml file, 212–213 false value, ArrayCollection filtering function, 557 excludeFrom property, 408, 448 fault event execute() method, 908 CallResponder, 794 executeBindings() method, 479 HTTPService component, 733–736 executeFilter() method, 558 ItemResponder class, 739–740 Existing Projects into Workspace option, 74 Mail component, 908 explicit arguments, 891 RemoteObject component, 834, 900–902 explicit casting, 859 token property, 737 explicit notation, 838–840 WebService component, 790–792 explicit parameters, 796–797 faultCode property, 733, 790 explodeRadius property, 651, 654–657 faultDetail property, 733, 790 exploding pie charts, 654–657 FaultEvent argument, 734 Export Breakpoints dialog box, 184 FaultEvent.fault object, 901 export() method, 256 FaultService.cfc file, 902

998

441_488959-bindex.indd1_488959-bindex.indd 998998 33/5/10/5/10 22:50:50 PPMM Index

faultString property, 733, 790 Flash Professional CS5, integrating with, 66–71 fb prefix, 460 Flex project, creating, 45 fcsh (Flex Compiler Shell) command-line tool, 28 versus Flex SDK, 4, 7 fdb command-line tool, 28 generating code, 64–66 field argument, 653 getter functions in, generating, 546–549 Fielding, Roy, 708 Help application, 55–57 fields property, 560 importing FXP files into, 100 fieldSeparator property, 177 indentation in, 50–51 File Search tool, 58–59 installing, 32–36 filename, application, 48 licenses, 31–32 filename property, 963 managing ActionScript code with, 124–128 FileSystemDataGrid control, 613 overview, 26 fill colors, pie chart, 660–662 searching for code, 58–64 fill property, 422, 425–428 setter functions in, generating, 546–549 fillColors style, 362 , 49–55 fills, gradient, 425–428 Flash Builder 4 Premium Edition, 4, 32 fills property, 660–661 Flash Builder 4 Standard Edition, 31 FilterDemo.mxml file, 560 Flash Builder Premium license, 648 filterFunction property, 557–558 Flash Catalyst, Adobe, 4, 5, 10 filtering Flash CS5 Professional, 20 data, 556, 760–764 Flash Lite, 20 data collections, 557–560 Flash perspective, Flash Builder, 75 FXG, 431–432 Flash Player. See also Proxy Service messages on server, 865–871 ActionScript Virtual Machine, 99 financial charts, 663–666 advanced text layout, 288 FinancialCharts.mxml file, 665 application dimensions, controlling, 130–131 Find in Files dialog box, 58–60 asynchronous communications, 727 Find Next option, 58 configuring with mm.cfg, 174 Find Previous option, 58 cross-domain policy issues, 746–747 findAny() method, 564 debug version, 21–22, 168 findFirst() method, 564 Dreamweaver detection of version, 96 finding data, with cursors, 564–566 generic device font names, 296 findLast() method, 564 history of, 19–20 Find/Replace dialog box, 58 HTML wrapper template evaluation of version, 83–85 Fireworks, Adobe, 437–439 HTTPService component method property, 725 FireworksFXGDemo.mxml file, 441 image types, 282 Fixed width console option, 170 installation, 22–26 FLA file, 9, 164 overview, 18 flags, 505–506 penetration statistics, 21 Flash Builder 4. See also data-centric applications rich text in, 255 Adobe AIR applications, debugging in, 972–973 Flash Player 10.1, 20 data connections Flash Player Support Center, Adobe, 25–26 BlazeDS, 845–847 Flash presentation, creating in Flash Builder, 67–71 ColdFusion, 903–904 Flash Professional PHP, 932–938 versus Flex development, 8–11 documentation feature, 125, 126 integrating with Flash Builder 4, 66–71 Eclipse Flash Profile perspective, Flash Builder, 194 configuring, 43–45 Flash Remoting. See also Remoting Service; Zend AMF overview, 36 ColdFusion, 873–874 workspace, 37–43 ColdFusion code, 200 Flash Player installation with, 24 configuring on server, 877–878 999

441_488959-bindex.indd1_488959-bindex.indd 999999 33/5/10/5/10 22:50:50 PPMM Index

Flash Remoting (continued) Flex Build Path screen, 90, 93 creating channels at runtime with, 978–980 Flex Builder. See Flash Builder 4 Flex project, creating, 875–877 Flex Compiler section, Properties dialog box, 84, 88, 101–102 overview, 807, 874–875 Flex Compiler Shell (fcsh) command-line tool, 28 packet size, 205 Flex Data Services 2, 807 PHP, 924 Flex Debugging perspective, Flash Builder, 183, 185–186, Flash Text Engine (FTE), 255, 288 190, 191, 220 Flash XML Graphics. See FXG Flex Library Project FlashApp.mxml file, 165 component libraries Flash-based components, creating, 161–165 adding to project build path, 159 flashContent id selector, 83, 85 creating project, 156–157 flash.events.Event class, 213–214, 237, 239 folder structure, creating for project, 157–158 flash.events.Event event object, 281 libs folder, 159–161 flash.events.TextEvent event object, 232, 234 overview, 155 flashlog.txt, sending tracing messages to, 173–175 defined, 46 FlashPlayer.exe file, 24 Flex Message Service, 849 flash-unicode-table.xml file, 302 Flex Mobile SDK, 20 flashvars variable, 130, 726 Flex Project (FXP) format, 100, 158 flat data, grouping, 644–645 Flex Project option, 75 flat presentation, Package Explorer view, 52 Flex projects Flex 1.x, 106 for Adobe AIR application, 960–963 Flex 2, 105, 106–107 BlazeDS, creating for use with, 814–816 Flex 3, 105, 106–107 cfservices.swc file, adding to, 907 Flex 3.4 projects, 46 ColdFusion, creating for use with, 197–201, 875–877 Flex 4 component libraries, adding to build path, 159 development tools, 26–28 creating in Flash Builder, 45 documentation, 29 for Hello World application, 75–78 versus Flash Builder, 4, 7 for messaging application, 856–857 Flash Player, 18–26 PHP, creating for use with, 919–921 versus Flash Professional development, 8–11 Flex Properties view, Flash Builder, 331–332, 359–360, 404 Flex applications, 4–8 Flex Server option, 47 namespace prefixes, 107 Flex Theme option, 342 namespaces, 105–106 Flex Web Tier Compiler, 3 object-oriented programming, 11–18 flex-config.xml file, 85, 107 as open-source project, 5 FlexEmailClient.mxml file, 909 Flex 4.0 projects, 46 FlexGlobals class, 129 Flex applications. See also data-centric applications; flex-rds-server.jar file, 846 debugging; specific application files by name focalPointRatio property, 426 ActionScript 3, 6–8, 101–103, 114–119 focusColor style, 355 Application component, 128–134 folder structure, Library Project, 157–158 combining MXML and ActionScript, 120–128 folding, code, 125–127 deploying, 88–96 font styles, 512 FXG files in, 439–441 fontAntiAliasType style, 294 Hello World, 74–81 @font-face style selector, 297–299 -template folder, 81–88 fontFamily style, 294, 295, 296–297, 298–299, 353 messaging, 856–862 fontGridType style, 294 MXML, 6–8, 104–113 fontName attribute, 302 overview, 4, 73, 99–101 fonts programming languages, 5–6 configuring Eclipse, 43–44 sharing data with, 697–704 controlling with CSS, 294–302

1000

441_488959-bindex.indd1_488959-bindex.indd 10001000 33/5/10/5/10 22:50:50 PPMM Index

fontSharpness style, 294 fromState property, 414 fontSize style, 294, 344–345, 362, 413, 678 FTE (Flash Text Engine), 255, 288 fontStyle style, 294, 299, 350 functions. See also ColdFusion Components; methods; specific fontThickness style, 294 functions by name fontWeight style, 294, 299, 362, 678 ActionScript 3, handling events with, 211–213 for loop, 119 code folding, 126 Force Quit dialog box, 972 declaring variables within, 116 Form container event handler, generating, 214–216 custom, 683–687 Future Splash Animator, 19, 371 default button, setting, 681–683 FutureWave Software, 19 dispatching custom event, 242–244, 700, 703–704 fx prefix, 106, 108 FormHeading control, 678–680 tag, 137 FormItem container, 680–681 tag, 408, 593, 594, 597 modeling data with value object, 697–699 tag overview, 676–677 declaring separate data objects, 577 triggering individual validator objects with ActionScript, 692 easing classes, 387 value object, modeling data with, 697 tag within, 534 form property, 672 nonvisual classes, 113, 230, 306, 374, 492

tag, 676 public properties, declaring, 151 format() method, 305, 307, 620 validator objects, 688 format property, 753 value object class, 549 formatDate() method, 309 tag, 285, 428–430 formatString property, 306–307, 309 FXG (Flash XML Graphics) formatter classes custom skin, adding to, 449–451 in binding expressions, 307–308 defined, 5–6 objects, creating, 305–306 FXG files overview, 305 Creative Suite software, creating with, 432–439 properties, setting, 306–307 in Flex applications, 439–441 in static methods, 308–310 overview, 432 formatting function, debugging custom, 622 MXML, declaring in FormatUtil.as file, 309 arbitrary shapes, drawing with Path class, 423–425 FormComponentDemoComplete.mxml file, 704 elliptical shapes, drawing, 422–423 FormComponentDemo.mxml file, 702 filters, applying, 431–432 FormDefaultButton.mxml file, 683 gradient fills, 425–428 FormHeading control, 676–680 gradient strokes, 421–422 FormInPanel.mxml file, 680 lines, drawing, 421 FormItem container overview, 101, 420–432 adding controls to Form component, 685, 686 rectangular shapes, drawing, 422–423 FormHeading control, 678 reusing graphic elements, 428–430 label alignment, controlling, 680–681 scaling graphic elements, 430 layout, controlling, 681 overview, 419–420 NumericStepper control, 272 FXG 1.0 specification, 420 overview, 676–677 FXG 2 specification, 420 TextInput control, 259 FXG files Forta, Ben, 879 Creative Suite software, creating with, 432–439 forward navigation, 478–481 in Flex applications, 439–441 fr_FR locale, 944 overview, 420, 432 frameRate property, 129 FXG Options dialog box, 433–434 Framework linkage drop-down menu, 90, 93 tag, 285, 428–430 frameworks folder, 107 tag, 231, 232

1001

441_488959-bindex.indd1_488959-bindex.indd 10011001 33/5/10/5/10 22:50:50 PPMM Index

tag getLogger() method, 175 benefits of, 537 getOperation() method, 831, 882, 891 data collection source property, 554 getPerson_paged() function, 937 DataGrid control, 615 getPersonByID() function, 937 drawbacks of, 537 GetSimpleXML.mxml file, 924 importing data with, 538–539 getStateLabel() method, 582, 611 overview, 534, 535–537 getString() method, 948, 950 versus value objects, 539 getStyle() method, 454 tag, 486, 575 getter methods, 64–66, 546–549 FXP (Flex Project) format, 100, 158 global Proxy Service permission, 820 tag global search and replace, 61 [Embed] metadata tag, 302 global selector, CSS, 346, 352–353, 355, 360 CDATA blocks, 109 globally unique package name, 141 code folding, 125 Go to File for Breakpoint button, 183 external ActionScript files, 121 gradient fills, 425–428, 435–437, 438–439 fb prefix, 460 gradient strokes, 421–422 use of, 120 GradientDemos.mxml file, 427 tag, 345, 347, 353, 358, 680 GradientEntry class, 422, 427–428 GradientStroke class, 421–422 Graphic class, 421 G graphic design, with Flash Builder, 10 gap property, 321 root element, 433 gap settings, 80 graphical icon, pop-up window, 509–512 garbage collection, automatic, 116 GraphicElement class, 251–253 Generate Click Handler prompt, 214–215 graphics, 950–951. See also FXG Generate constructor from superclass option, 239 Group component, 111–112, 320–321, 322–323, 385 Generate Event Handler option, 216 Group components, Spark, 319–325. See also specific Generate from database option, 935 components by name Generate from template option, 926 GroupBase class, 319 Generate Getter/Setter dialog box, 65, 546, 547 GroupDemo.mxml file, 320–321 Generate ItemClick Handler prompt, 234 grouping flat data, 644–645 Generate Sample PHP Service dialog box, 926, 935–936 GroupingCollection class, 644 Generated SizeSelected Handler prompt, 236 GroupingCollection2 class, 644 generated subfolder, 101–103 GroupingField objects, 644 generic device font names, 296 groupName property, 269–270 gestures, user, 207 get accessor method, 545–546 Get Data option, 199–200, 729 H Get Font Size button, 366–367 H command, 424 GET method, 725, 744 Halo theme, 342 getAllContacts() method, 786, 791, 888–889 hard-coded data providers, 575–577 getAllPerson() function, 937 hard-coded XML structure, declaring, 752 getClass() method, 951 hasFormat() method, 395 GetComplexData.php file, 931 HBox container, 312–313, 314–315, 317–318, 488–489 getContactCount() function, 888–889, 890 HBoxDemo.mxml file, 314 getContacts() operation, 717 HEAD method, 725 getExpressionsArray() method, 764, 770 section, applets, 92 getFilteredContacts() method, 797, 891, 892 Header component, 474 getFullName() method, 154 header() function, 922 getItemAt() method, 555, 585 headers, Accordion navigator container, 500

1002

441_488959-bindex.indd1_488959-bindex.indd 10021002 33/5/10/5/10 22:50:50 PPMM Index

headers property, 731–732, 858, 859 history.js file, 82, 83 headerText property, 617 Hit Count property, 182 height property HLOC (HighLowOpenClose) charts, 650, 663–666 charting controls, 650 HLOCChart component, 650 containers/controls, 252, 333–334 HLOCseries series class, 650 DataGrid control, 614 horizontal Accordion, 500 HRule/VRule controls, 263 horizontal layout, 131–133, 635–641 Image control, 283 horizontal layout container, 312–315 Line class, 421 horizontal value, form property, 672 MX containers, 312 horizontalAlign style, 132, 317, 321 percentage sizing, 334 horizontalAxis declaration, 668, 670 tag, 92 horizontalCenter property, 332, 423 shape classes, 423 horizontalGap style, 317 Spacer control, 265 HorizontalLayout class, 80, 131, 132–133 Hello World application HorizontalList control, 573, 635–641 for AIR, 960–962 HorizontalListDemo.mxml file, 639 deploying, 88–96 hostComponent id, 447 displaying message, 78–81 [HostComponent] metadata tag, 446 Flex project, creating for, 75–78 hovered view state, 600 MXML and ActionScript 3, 103 How to upgrade.rtf link, MAMP server installation switching workspaces, 74–75 screen, 916 HelloService.cfc file, 879 HRule control, 263–264 helloWorld() method, 781–782, 786, 831–832, 879, HRuleDemo.mxml file, 264 882–884 HScrollBar control, 277–279 helloworld_en_US.png graphic file, 950 HSlider control, 279–281 helloworld_fr_FR.png graphic file, 950 HSQLDB database, BlazeDS, 813 HelloWorld.mxml file, 929 htdocs subfolder, 919 HelloWorld.php file, 928 HTML control, 973–977 Help application, Flash Builder, 55–57, 209, 221 HTML wrapper file, 90, 130–131 helper class, 763–764, 767, 768–770 HTML wrapper template (index.template.html) Hex view, Network Monitor, 202 section, 83–86 hexadecimal code, 362

1003

441_488959-bindex.indd1_488959-bindex.indd 10031003 33/5/10/5/10 22:50:50 PPMM Index

HTTPService component HTTPService object, 722 cross-domain policy, 746–747, 980 Parallel effect, 384 data-centric applications Proxy Service default destination, 819 binding returned data to visual controls, 719–722 RemoteObject instance, 831 data connections, creating and managing, 710–714 UIComponent class/GraphicElement class, 252 overview, 710 ViewStack nested containers, 480–482 return data type, defining, 714–719 ID selectors, CSS, 344, 346, 352 defined, 578 IDE (integrated development environment), 26 dot notation, 758 IDropInListItemRenderer interface, 591, 628 HTML control, 973 if statement, 117–118 HTTPServiceDemo application, 198 IFill interface, 422 object, creating, 722–723 IFlexDisplayObject interface, 394, 521 overview, 707–708 ignoreComments property, 754 passing parameters to server , 744–745 ignoreProcessingInstructions property, 754 PHP with, 922–924 ignoreWhitespace property, 754 properties, 723–726 IList interface, 555, 556, 574, 611 Proxy Service Illustrator, Adobe, 433–437, 439 default destination, 820, 822 ILogger interface, 175, 176 named destinations, 823, 824 image, proxy, 393–394 REST architecture, 708–709 Image control, 281–286 RPC architecture, 709–710 Image Service, ColdFusion, 905 sending and receiving data imageAlpha argument, 394 asynchronous communications, 727 ImageRenderer.mxml file, 598 CallResponder and AsyncToken, 736–739 imageSource property, 596 ItemResponder and AsyncToken, 739–741 Import Breakpoints dialog box, 185, 186 overview, 727 Import dialog box, 74 responses, handling, 727–736 Import Flex Project dialog box, 100 value objects, working with, 741–744 import statement, 127–128, 144, 148, 244, 504 XML, importing with, 753 Import Theme button, 342 HTTPServiceDemo.mxml file, 198–199, 202–203 importFromText() method, 256 HTTPServiceWithBindings.mxml application, 729 importFromXML() method, 256 HTTPValueObjects.mxml file, 744 importing FXP files into Flash Builder 4, 100 HTTPWithBindingsComplete.mxml file, 730 INavigatorContent interface, 472 Hypertext Transfer Protocol. See HTTP; RemoteObject includeCategory property, 177 component includeDate property, 178 hyphenated syntax, 347 includeIn property, 408, 448 includeLevel property, 178 includeTime property, 178 I indentation, in Flash Builder 4, 50–51 ICollectionView interface, 556 index argument, 653 icon, custom, for pop-up window, 509–512 index.template.html file. See HTML wrapper template iconClass argument, 509 (index.template.html) id (unique identifier) inheritance tag, 537, 538 CSS type selectors, 348–349 application descriptor file, 963 DataGrid control, 613 binding expression syntax, 136 Event class, 219–220, 224 CSS ID selector, 344, 346, 352 MXML components, 140–141 FormItem container, 687 navigator containers, 472 HTML control, 973 overview, 15–16

1004

441_488959-bindex.indd1_488959-bindex.indd 10041004 33/5/10/5/10 22:50:50 PPMM Index

inherited branch, Variables view, 187 invoices.xml file initApp() method, 629 array notation, 759 initialized() method, 723 descendant accessor operator, 760 element, 973 dot notation, 758–759 initialWindow/content property, 963 filtering XML data with predicate expressions, 760–762 initiateDrag() method, 392, 393 modifying data in XML objects, 765–770 inline item editors, 593–597, 632–634 overview, 756–757 inline renderers, 591, 593–597, 623 IP address, configuring, 906–908 inline style declarations, 344–345, 451–452 IResourceManager interface, 944 InlineGraphicElement class, 289 Iris effect, 373 InlineRendererComplexObjects.mxml file, 597 IStroke interface, 421, 422 InlineRenderer.mxml file, 595 isValid() method, 694, 700–701 input/output, Message Service, 853 item editors Insert CDATA Block option, 120 component, 632–634 Insert Pane dialog box, 475–476 drop-in, 628 inside value, labelPosition style, 652 editorDataField property, 629 insideWithCallout value, labelPosition style, 652 inline, 593–597, 632–634 Install Flash Player 10 Plugin.exe file, 24 versus item renderers, 590 Install Flash Player 10ActiveX.exe file, 24 itemEditor property, 629 Install Options screen, 33 overview, 627–628 installation files, Flash Builder, 24 rendererIsEditor property, 629–632 installer, Flash Player upgrade, 83 item property, 487, 493, 653 installing Item Renderer for MX DataGrid template, 626 Adobe AIR, 958–959 item renderers blazedsfiles folder files, 816 custom ColdFusion, 783 component, 597–600 desktop application, 969–971 drop-in, 591–593 Eclipse, 35–36 inline, 593–597 Flash Builder, 32–36 overview, 590–591 Flash Player, 22–26 Spark, customizing, 600–602 PHP, 912–919 dataChange event, 623–625 Zend AMF, 925–927 HorizontalList control, 635 instance class, equivalent to effect class, 374 overview, 622–623 instantiation, deferred, 483, 614 Spark, 626–627 integrated development environment (IDE), 26 TileList control, 635 interactive controls item[column.dataField] expression, 621 overview, 250 itemClick event, 271, 487, 493, 515–517 ScrollBar, 277–279 ItemClickEvent event object, 234 Slider, 279–281 itemEditor property, 591–593, 599, 628, 629 InteractiveObject superclass, 209 ItemRenderer class, 594, 598, 600 interface. See also specific interfaces by name itemRenderer property, 591–593, 599, 628, 629, 639 ActionScript 3, 175 ItemResponder class, 739–741 polymorphism, 16–17 ItemResponderDemo.mxml file, 741 user, Flash Builder, 49–55 IViewCursor interface internal access modifier, 115–116, 543 bookmarking data, 567–569 introspection of Remoting Service destinations, 846 finding data, 564–566 INVALID constant, 692 overview, 556, 562 invoice element, 759 traversing data, 562–564 tag, 758 IVisualElement interface, 251–252

1005

441_488959-bindex.indd1_488959-bindex.indd 10051005 33/5/10/5/10 22:50:50 PPMM Index

Label type selector, 350 J labelDisplay skin part, 448 JAR (Java Archive) files, 826 labelField property Java. See also BlazeDS ButtonBar control, 611 adapters, Message service, 854 drop-in item renderers, 593 classes, creating and exposing with Remoting Service, List control, 579–582 825–828 menu control, 493 passing data between ActionScript and, 840–841 navigator bar container, 486 reverse domain package names, 141 pie chart wedge labels, 652 value object classes, 841–845 labelFunction property Java Development Kit (JDK), 809, 811–812 ButtonBar control, 611 Java Development Tools (JDT), 34 DataGrid control, 628 Java Enterprise Edition (JEE) application servers, 539, 809, 810 DataGridColumn control, 619 Java Message Service (JMS), 850 drop-in item renderers, 593 Java Runtime Environment (JRE), 34 List control, 579, 582–584 JAVA_HOME environment variable, 811, 812 pie chart wedge labels, 652–653 JavaScript, 86–87, 114 labelPosition style, 652, 659 JMS Adapter, 850, 854 labels JRun, 810 alignment, FormItem container, 680–681 button, 506–507 custom DataGrid control, displaying, 619–622 K List kerning style, 294 item, controlling, 579–584 keyboard shortcuts, 501, 612–613 pie chart wedge, 652–654, 655 labelStyleName keyframes property, 377 style, 680 Labriola, Michael, 758 last value, concurrency property, 726 L lastResult property L command, 424 binding expressions, 786 Label control CallResponder class, 737, 795, 803 ActionScript 3, declaring objects in, 78 HTTPService component, 728 Canvas container, 316 Operation class, 831, 883 customizing skin, 462–463 Latin alphabet, 301 embedded font, 298, 299–300 layout. See also layout containers; layout controls tag, 137 advanced text, 288–294 MX versus Spark, 253 child object, 78 MXML, declaring objects in, 6 FormItem container, 681 NumericStepper control, 272 Layout class, 78 overview, 80 layout containers rotation property, 303–305 constraint-based layout, 330–332 styleManager object, 365 creationPolicy property, 484 TextInput control, 259 MX basic, 312–319 label property overview, 311–312 Button control, 354 Panel, 325–330 CheckBox control, 268 scrolling region, creating, 337–338 FormItem container, 676, 680, 685 sizing, 333–336 labelField property, 579 Spark Group components, 319–325 LinkButton control, 268 layout controls navigator bar container, 486 HRule, 263–264 navigator container, 472, 481, 487 overview, 263 RadioButton controls, 269

1006

441_488959-bindex.indd1_488959-bindex.indd 10061006 33/5/10/5/10 22:50:50 PPMM Index

Spacer, 265–266 labels, controlling, 579–584 VRule, 263–264 properties, 584 layout property user data selections, handling, 585–590 basic layout, 133–134 list controls ButtonBar component, 490 AdvancedDataGrid ComboBox and DropDownList controls, 603 grouping flat data, 644–645 container, 330 hierarchical data display, 641–643 component, 78 overview, 641 overview, 131 ComboBox Panel containers, 326–327 complex data objects, selecting with ActionScript, vertical and horizontal layout, 131–133 607–610 LayoutBase class, 131, 326 overview, 603 lazy evaluation, 880 prompt property, 604–605 LCDS (LiveCycle Data Services), 807, 809, 849. See also Spark ButtonBar control, 611–613 BlazeDS; Message Service using, 605–607 left property, 332, 335, 423 custom item renderers left to right (ltr) value, direction property, 490 component, 597–600 legacy classes, 751 drop-in, 591–593 length() method, 760 inline renderers and editors, 593–597 length property, 555 overview, 590–591 level property, 178 Spark, customizing with view states, 600–602 levels, logging, 175–176 data providers library definition, 428–429 dynamic, 577–578 library path, 159 hard-coded, 575–577 Library path tab, Properties dialog box, 159–160 overview, 574 Library Project. See Flex Library Project DataGrid library.swf file, 158 custom labels, displaying, 619–622 libs folder, 159–161, 164–165, 907 customizing display, 614–619 line charts, 650, 666–667, 670–672 overview, 613–614 Line class, 421 drag-and-drop operations, 389–391, 392, 393 LineAndAreaDemo.mxml file, 671 DropDownList LinearAxis component, 667 complex data objects, selecting with ActionScript, LinearGradient class, 425–427, 660 607–610 LinearGradientStroke class, 421–422 overview, 603 LineChart component, 650 prompt property, 604–605 LineFormDemo.mxml file, 672 Spark ButtonBar control, 611–613 tag, 750 events, 584 lines with horizontal and tile layout, 635–641 drawing with FXG, 421 item renderers and editors HRule and VRule controls, 263 dataChange event, 623–625 LineSeries series class, 650, 672 item editors, 627–634 tag, 83 overview, 622–623 LinkBar navigator bar container, 484, 488–490 Spark item renderers, 626–627 LinkButton control, 268 labels, controlling LinkElement class, 289 labelField property, 579–582 linking, deep, 87–88 labelFunction property, 582–584 , 174 overview, 579 List control. See also list controls overview, 571–574, 603 defined, 571, 573 properties, 584 events, 584

1007

441_488959-bindex.indd1_488959-bindex.indd 10071007 33/5/10/5/10 22:50:50 PPMM Index

list controls (continued) logging user data selections, handling Logging API, 175–180 change event, 585 overview, 172 complex data objects, selecting, 588–590 trace() function, 172–175 overview, 585 Logging API selectedIndex property, 587–588 Log class, 175–176 selectedItem property, 585–586 Logger objects, 176 ListBase class, 613 overview, 175 ListCollectionView superclass, 755, 756 self-logging components, 176–177 ListControls.mxml file, 573 tracing targets, 177–180 ListDragAndDrop.mxml file, 391 LoggingButton.mxml file, 177 ListWithBoundData.mxml file, 577 login data entry form, 238, 409–410 ListWithHardCodedData.mxml file, 577 login event, 240, 242, 700 literal characters, 109–110 login property, 699, 701 literal numeric expressions, 761–762, 765 LoginApp.mxml file, 246 Live Objects view, 195–196 LoginEvent class, 238–240, 241, 242 Live View, Dreamweaver, 95–96 LoginEvent.as file, 240, 522, 700 LiveCycle Data Services (LCDS), 807, 809, 849. See also LoginEventComplete.as file, 241–242 BlazeDS; Message Service LoginForm component, 689–690, 694, 697, 702, 703 load event, 785 LoginFormAutoValidation.mxml file, 690 load() method, 286 LoginFormComplete.mxml file, 244, 702 LoadEvent class, 785 LoginForm.mxml file, 685, 689, 694, 697, 700 loadStyleDeclarations() method, 364 LoginFormSingleValidation.mxml file, 693 loadWSDL() method, 784, 795 loginHandler() method, 245, 703 local data cache, LCDS, 809 LoginTitleWindow.mxml file, 524 local data, retrieving in AIR applications, 578 LoginVO class, 699, 703 locale folder, 943, 952 LoginVO.as file, 698 locale property, 947 LoginWindow component, 521–522, 525–526 localeChain property, 945, 946 LogLogger class, 175 locale/en_US/customStrings.properties file, 951 long polling, 852–853 locale/fr_FR/customStrings.properties file, 951 looping, in ActionScript 3, 119 locales loose type declaration, 115 changing at compile time, 943–944 lowField property, 663 changing at runtime, 944–947 ltr (left to right) value, direction property, 490 overview, 941–943 Luhn mod10 algorithm, 687 locales property, 945 Localhost link, WampServer menu, 915 localizing applications M custom resource bundles, 947–953 M command, 424 locales, 941–947 Mac OS X overview, 941 Adobe AIR, installing, 959 localX property, 220 AIR applications, 970, 971 localY property, 220 AIR Debug Launcher, quitting, 972 location property, 973 BlazeDS, 812–813 Log class, 175–176 Eclipse, 35–37 log() method, 176 Flash Player, uninstalling, 23 LogAxis component, 667 flashlog.txt file location, 174 LogEventLevel class, 176, 179 MAMP, installing on, 916–917 Logger objects, 175, 176 mm.cfg file location, 174

1008

441_488959-bindex.indd1_488959-bindex.indd 10081008 33/5/10/5/10 22:50:50 PPMM Index

Macromedia Flash 1.0, 19 method property, 724, 725, 744–745 Mail component, 907–909 methods. See also specific methods by name Mail Service, ColdFusion, 905 accessor, 539, 545–549 maintainAspectRatio property, 283 binding expressions, calling with, 154 MAMP, 913, 916–919 constructor, 551–552, 560, 826, 843 managed data, 555 customized constructor, 551–552 manifests, MXML, 107–109 date entry, 275 manipulating text, 303–305 defined, 149, 152 margin styles, 319 encapsulation, 14 Mark Occurrences feature, 61 getter, 64–66, 546–549 Markers view, 38 Java class, 834, 836 maxChars property, 260, 272 MXML component, 149, 152–155 maxHeight property, 252, 333 public access modifier, 153 maximizing view, Eclipse, 40 remote, 830–831, 838–840 maximum dimensions, content-based sizing, 333–334 setter, 64–66, 546–549 maximum property, 272–273, 278, 280 static, formatter classes in, 308–310 maxWidth property, 252, 333 Microsoft ASP.NET, 470, 779, 781 maxYear property, 275 . See Windows operating systems measurement, units of, 344 middleware application servers, 707 member objects, 149 mimeType attribute, 302 members, object, 13–14 minHeight property, 79, 131, 252, 333 Memory Usage view, 195 minimum dimensions, content-based sizing, 333–334 menu capability, WindowedApplication, 978 minimum property, 272–273, 278, 280 Menu control, 491–495 minWidth property, 79, 131, 253, 333 menu controls minYear property, 275 data providers, 492–493 mm.cfg file, 174 handling events, 493 modal argument, 525 Menu control, 494–495 modality, pop-up window, 504–506 MenuBar control, 495–497 model components, 139 overview, 491–492 Model object, 535–536, 538 menu_ClickHandler() function, 493 ModelDemo.mxml file, 537 MenuBar control, 491–493, 495–497 modeling data MenuDemo.mxml file, 495 data collections MenuEvent.ITEM_CLICK constant, 493 accessing data at runtime, 555–556 Mercury QuickTestPro 9.1, 809 ArrayCollection, declaring, 553 Merged into code option, 93 cursors, 562–569 message event, 858, 859, 862 managing data at runtime, 556–562 message property, 695, 733, 790, 859, 901 overview, 552–553 Message Service source property, setting, 554 complex data, sending and receiving, 862–865 data model, creating, 534–539 configuring messaging on server, 851–856 overview, 533 filtering messages on server, 865–871 value objects Flex application, creating, 856–862 instantiating, 549–552 overview, 808, 849–851 New ActionScript Class wizard, 540–541 tracing messaging traffic, 871–872 overview, 539 messageHandler() function, 859, 863 syntax, 541–549 messages, logging, 176 model-view-controller architecture, 139, 469 messaging-config.xml file, 817, 851, 854, 855–856, 867 modularity, 12–13, 135, 139 .metadata subfolder, 74 monolithic applications, 12–13 method overloading, 551 motionPaths property, 377

1009

441_488959-bindex.indd1_488959-bindex.indd 10091009 33/5/10/5/10 22:50:50 PPMM Index

mouseDown event, 392, 393, 416 tag, 576 mouseEnabled property, 228 mx.effects package, 372, 385 MouseEvent class, 219–220, 221–223, 224, 226, 393 mx.events.CalendarLayoutChangeEvent event MouseEventObjectProperties.mxml file, 223 object, 518 MouseEvent.stageX property, 416 mx.events.CloseEvent event object, 508–509, 527 MouseEvent.stageY property, 416 mx.events.ItemClickEvent event object, 487 Move dialog box, 63–64 mx.events.MenuEvent event object, 493, 516 Move effect, 372, 379–381, 384, 385–386, 415 mx.events.ScrollEvent class, 278 Move option, 63 tag, 661 Move3D effect, 372, 379–381 tag, 683 Move3DDemo.mxml file, 381 tag, 823 MoveDemo.mxml file, 380–381 mx.logging.LogEventLevel class, 176 moveNext() method, 563 mx.logging.LogLogger class, 175 movePrevious() method, 563 mx.messaging.events.MessageEvent event object, 859 MovieClip class, 69 tag, 834 Mozilla Public License (MPL), version 1.1, 5 MXML. See also FXG; MXML components multiple data series, in pie charts, 659–660 Accordion navigator container, 500 multiple value, concurrency property, 726 versus ActionScript 3, 6–8 MultipleFormHeadings.mxml file, 678 and ActionScript 3, 104–113 MultiTopicConsumer component, 865 ArrayCollection class, declaring, 553 MultiTopicProducer component, 865 binding expressions, 136–137 MX components. See also list controls; specific components by chart data series, 666–667 name code folding, 125–126 button controls, 266 combining ActionScript and, 120–128 constraint-based layout, 330 Consumer component, 858 containers, 312–319 containership, 110–112 CSS namespaces, 347 content property, 255 data entry controls, 272 control properties and styles, setting with attributes, 251 defined, 249 controls, instantiating with, 250–251 effects, 372–373, 375 custom event, handling with, 235–237 Flex themes, 342 data collection object source property, 554 formatter classes, 305–310 data collections, declaring, 578 GraphicElement class, 251–253 data objects, declaring separate with tags, 577 navigator containers, 472–473 declaring objects in, 6–7 overview, 6 defined, 5 scrollbars, 337 event listeners, declaring, 210–213 text controls, 253 event objects, working with, 213–223 UIComponent class, 251–253 fault event, 900–901 mx prefix, 106–107, 108 Form component, integrating into new application, mx|Alert type selector, 512, 514 702–704 mx-2009-manifest.xml file, 108 formatter objects, 305–306 tag, 500 grouping flat data, 644 tag, 839 HTTPService object, creating, 722–723 mx.binding.utils.BindingUtils class, 136 inline style declarations, 344–345 tag, 979 load event, handling, 785 mx.collections.Sort class, 560, 562 Mail component, 907–908 mx.collections.SortField class, 560 menu events, handling, 493 mx.controls package, 504 MenuBar control, 495 mx.core.ClassFactory class, 591 multiple operations, handling, 792 mx.core.Container class, 472

1010

441_488959-bindex.indd1_488959-bindex.indd 10101010 33/5/10/5/10 22:50:50 PPMM Index

nonvisual classes, 112–113 tag, 408 Organize Imports feature, 128 mx.states package, 414 Outline view, using with, 124 tag, 498 overview, 99 MXTileList.mxml file, 637 pie chart, 651 mx.validators package, 687 populating value object data with, 698 tag, 667 Producer component, 857 tag, 472 public properties, declaring with, 151 tag, 792, 796 RemoteObject component, 830, 881 tag, 753 runtime channel, declaring in, 979 my-amf channel, 829, 978–979 subtopics, filtering messages with, 867–868 my-amf-streaming channel, 862 TabNavigator navigator container, 498 my-cfamf channel, 878 text property, 254–255 my-cfamf-secure channel, 878 value objects, 549–551 MyComponent component, 349 view states, 399, 407–412 MyComponent_Complete.mxml file, 143 ViewStack, 477 MyFlashLibrary.fla file, 165 WebService object, creating, 784 MyFlashLibrary.swc file, 165 as XML, 104–110, 770 MyFlashLibrary.swf file, 165 XML object, declaring in, 753 my-polling-amf channel, 855 XMLList object, declaring, 754 myService.lastResult expression, 728 XMLListCollection, declaring in, 755 MySQL server, 917 MXML components my-streaming-amf channel, 855 component folder, creating, 141 myStrictVar variable, 115 component item renderers, 598 myVar variable, 137, 138, 188–189 component libraries, 155–161 creating new, 142–143 custom, 598 N for custom pop-up window, 521 name, style, 343, 344 for custom skin, 444–445 name property, 231, 400, 429, 963 Flash-based components, creating, 161–165 named arguments, passing to CFC functions, 891, 892–894 inheritance, 140–141 named colors, 362 instantiating, 144–149 named destinations, Proxy Service, 819, 822–824 methods, 149, 152–155 named parameters, HTTPService, 744–745 overview, 135, 139–140 NamedProxyDestinationComplete.mxml file, 823 properties, 149–152 Namespace class, 771 self-logging, 176–177 @namespace declaration, 347 MXML editor, Flash Builder, 49–50, 180–181, 191–192 namespace keyword, ActionScript, 771 MXML Item Renderer option, 626 namespace() method, 771 mxmlc command-line compiler, 28 namespace object, 770–771 tag, 384 namespaces mx.rpc.events.FaultEvent event object, 733, 790, Adobe AIR, 964 900 CSS, 347–348 mx.rpc.events.ResultEvent event object, 730, 787, custom component prefix, 148 832, 884 custom prefix, 144, 549 mx.rpc.Fault property, 900 E4X, 770–773 mx.rpc.http package, 723 MXML components, 140 mx.rpc.http.mxml package, 108, 723 prefixes, XML, 106–107 tag, 412 s prefix, 7 tag, 661 value object class prefix, 549 control, 322 XML, 105–106

1011

441_488959-bindex.indd1_488959-bindex.indd 10111011 33/5/10/5/10 22:50:50 PPMM Index

Namespaces in XML recommendation, W3C, 347 Hello World application, 75–78 tag, 107 messaging application, 856–857 native class type, 224 PHP, 920–921 native menu capability, WindowedApplication, 978 project creation process, 45–49 NavBarWithArrayData.mxml file, 486 new keyword, ColdFusion, 897 navigate() function, 976 New MXML Component wizard, 141–142, 445–446, 598, navigation, application. See also navigator bar containers; 684 navigator containers New MXML Skin dialog box, 455–456, 528 Accordion container, 497, 500–502 New Package wizard, 157–158, 444–445 classic Web, 470–471 New State dialog box, 401–403 Flex, 471 New Style Rule dialog box, 360–361 with HTML control, 976–977 newIndex property, 487, 585 menu controls, 491–497 newStyleSheetComplete.css file, 361 overview, 469 NewTitlesReader.mxml application, 975, 978 TabNavigator container, 497–502 nightly builds, BlazeDS, 810 navigator bar containers no-arguments constructor method, 148 data collection, using as dataProvider, 485–486 noLabel property, 506 handling events, 487 nonblocking (asynchronous) I/O channels, 853 overview, 484–485 none value presentation, managing, 488–491 creationPolicy property, 483 ViewStack, using as dataProvider, 487–488 labelPosition style, 652 navigator containers non-modal dialog boxes, 505–506 ActionScript, working with in, 477–482 nonvisual classes, in MXML, 112–113 creation policy, 482–484 normal skin state, 448 custom components in, 472–473 normal view state, 600 defined, 471 null value dimensions, 484 filterFunction property, 558 overview, 471 Model property, 536 ViewStack, 472–477 restrict property, 260 NavigatorContent container, 472, 473, 498 NumberFormatter class, 305, 307, 653 Navigators section, Components view, 475 NumberValidator class, 687 NetConnection Debugger, 196 numChildren property, 478, 479 Network Monitor, Flash Builder numeric data, 647–648. See also charting controls ColdFusion, configuring Flex project for use with, 197–201 numeric expressions, literal, 761–762, 765 overview, 55, 167, 196–197 numeric property, 560 tracing network traffic, 201–206 numeric values, style, 362 network traffic, tracing, 201–206 NumericStepper control, 272–273 New ActionScript Class wizard, 238–240, 540–541, 542 New ActionScript File dialog box, 121 New Adobe Flash Component dialog box, 162–163 O New CSS File dialog box, 356, 360 Object class, 217, 741–742, 744, 759–760, 892–894 New Document dialog box, 67 Object Tag Accessibility Attributes dialog box, 94 New Editor option, 41 object value, resultFormat property, 726 New Flash Professional Component option, 162 object-oriented programming (OOP). See also ActionScript 3 New Flex Library Project wizard, 156–157 encapsulation, 13–14 New Flex Project wizard inheritance, 15–16 BlazeDS, 815–816 modularity, 12–13 ColdFusion, 875–877 overview, 11 desktop application, 960–962 polymorphism, 16–18

1012

441_488959-bindex.indd1_488959-bindex.indd 10121012 33/5/10/5/10 22:50:50 PPMM Index

ObjectProxy class, 728 objects. See also value objects P

tags, 290 ActionScript 3, declaring in, 7–8 Package Explorer view, Flash Builder, 51–52 data, declaring separate with MXML tags, 577 Package Presentation option, 52 declaration, jumping to, 125 packages, 48, 141, 157–158, 541–542. See also specific formatter class, 305–306 packages by name HTTPService component, 722–723 packaging release version, 967–969 members, and encapsulation, 13–14 padding settings, 80, 132, 322 MXML, declaring in, 6–7 paddingBottom style, 318, 319 WebService, 784–785 paddingLeft style, 317, 319 XML classes, 751–754 paddingRight style, 318, 319 okLabel property, 506 paddingTop style, 318, 319 OlapDataGrid control, 573. See also list controls pageSize property, 278 oldIndex property, 487 pageTitle property, 83, 128 On click prompt, Properties view, 216 Pan tool, 404 onClick event, 210 Panel containers oneway state, 405, 406 with control bars, 329–330 online help, 55 custom pop-up window, 521 OOP. See ActionScript 3; object-oriented programming Form container in, 679–680 openAlways property, 520 layout property, 326–327 OpenAMF, 825 MX ControlBar, 328–329 openDuration property, 500 MX versus Spark, 311 OpenFace fonts, 297 overview, 325 openField property, 663 Scroller object, 337–338 open-source project, Flex SDK as, 5 title property, 327 operating systems, Adobe AIR and, 963. See also specific windowStyles selector, 513 operating systems by name tags, 325 Operation class, 786, 831, 882–883, 891 paragraph element, 256 Operation Name column, Connect to Data/Service dialog ParagraphElement class, 289 box, 711 Parallel effect, 383, 384–385, 415 operators, ActionScript, 116–117 ParallelDemo.mxml file, 385 optimizer command-line tool, 28 parameters

1013

441_488959-bindex.indd1_488959-bindex.indd 10131013 33/5/10/5/10 22:50:50 PPMM Index

PDFCapability class, 976 PlayingEffects.mxml file, 375 pdfCapability property, 976 PlotChart component, 650 PDPhoto.org Web site, 641 PlotSeries series class, 650 PEAR (PHP Extension and Application Repository), 911, 912 plug-ins, Eclipse, 33–36 pencil icon, 67 POJO (plain old Java Object), 826 penetration statistics, Flash Player, 21 polling, AMF and, 852–853 percentage ratios, 334–335 polling-interval-millis property, 852 percentage sizing, 333–335 polymorphism, 16–18, 214, 224 percentHeight property, 252, 253, 334 Pop Service, ColdFusion, 905 percentValue argument, 653 popUp property, 518 percentWidth property, 253, 334 pop-up windows. See also Alert class permission, global Proxy Service, 820 custom, 521–529 perspective selection tool, 42 overview, 327, 503 perspectives, Eclipse, 41–43 PopUpButton control, 517–520 PhoneFormatter class, 305, 307, 619–620 PopUpMenuButton control, 514–517 PhoneNumberValidator class, 687 PopUpButton control, 503, 517–520 Photoshop, Adobe, 432–433 PopUpButtonDemo.mxml file, 520 PHP PopUpManager class, 505, 524–529 data connections, 932–938 PopUpMenuButton control, 491, 503, 514–517 Flex project, creating for use with, 919–921 PopUpMenuButtonDemo.mxml file, 517 with HTTPService and XML, 922–924 ports, MAMP, 919 installing, 912–919 position property, 278 overview, 911–912 POST method, 725, 745 Zend AMF, 924–932 post-colon data typing syntax, 115 PHP Extension and Application Repository (PEAR), 911, 912 predicate expressions, filtering data with, 760–764 PHP Group, 912 Preferences dialog box, 43–45, 170–171 phpMyAdmin link, 915 prefixes, 106–107, 144, 148, 549, 771. See also specific pie charts prefixes by name backgrounds, controlling, 660–662 presentation, navigator bar container, 488–491 doughnut chart, 657–658 preserve value, whiteSpaceCollapse style, 258 exploding pie, 654–657 Preview button, 62 fill colors, controlling, 660–662 primitives, 249, 252, 282 multiple data series, using, 659–660 PrintDataGrid control, 613 overview, 650, 652 private access modifier, 65–66, 115, 543, 545–548 wedge labels, setting, 652–654 private classes, 542–543 PieChart component, 650 private properties, 545–546 PieChartCustomLabel.mxml file, 654 Problems view, Flash Builder, 53–54 PieExplode.mxml file, 657 Processes pane, Windows Task Manager, 972 PieMultipleSeries.mxml file, 660 processing messages, Message Service, 858–862 PieSeries series class, 650, 653, 659, 660–661 Producer component, 857–858, 859–861, 865, 866–871 PieSetFillColors.mxml file, 662 production Flash Player, downloading, 24–25 piggybacking, 852 professional version, MAMP, 916 piggybackingenabled property, 852 Profile option, 195 pixilated graphics, 430 profiling Flex applications, 194–196 plain old Java Object (POJO), 826 profiling tools, 167 Play button, Dreamweaver, 95 programmatic instantiation, 251 play() method, 374, 376–377, 384 programmatic skins PlayEffectWithAS.mxml file, 376 Application component, 148 playerProductInstall.swf file, 82, 83 ButtonBar component, 491

1014

441_488959-bindex.indd1_488959-bindex.indd 10141014 33/5/10/5/10 22:50:50 PPMM Index

custom Flash Player version parameters, 84 binding to component, 451–455 Flex Compiler section, 101–102 overview, 444 Flex themes, 342 for Spark Application component, 444–451 history management, disabling, 88 custom pop-up window, 528–529 locale information, 942, 944, 945 FXG graphics, 419 .properties file extension, 950 overview, 443–444 Properties panel, Flash Professional CS5, 67–68 skinning other Spark components Properties view, Flash Builder, 54, 162–163, 216 assigning with CSS, 461–462 element, 829 creating new skin, 455–460 property property, validator object, 704 customizing skin, 462–467 protected access modifier, 115, 215, 543 versus style data types, 362 proxy classes, 798–801 programmatic validation, 692–694 proxy image, 393–394 programming. See object-oriented programming Proxy Service programming languages, 5–6, 11, 104–105 configuring, 817–818 Prohibited Services list, 905–906 default destination, 818–822 Project properties dialog box, 93 named destinations, 822–824 projects, Eclipse, 38. See also Flex projects overview, 808, 817 prompt property, 604–606 proxy-config.xml file, 817, 818, 819, 823 properties. See also specific properties by name public access modifier constraint, 332 ActionScript class properties, 543–544 control, setting, 251 converting to private, 65–66 data connection, 710–712 Java class, 826 date entry, 275 methods, 153 defined, 149 overview, 115–116 encapsulation, 14 properties, setting, 150 event object, 216–219 public class, 542–543 formatter classes, 306–307 public properties, 151, 240 GraphicElement class, 252–253 Publish settings, Flash component, 164 HTTPService component, 723–726 “publish/subscribe” messaging, 850 List control, 584 purpose attribute, 460 MXML component, 149–152 PUT method, 725 overriding in view state, 409–412 Panel containers, 326–327 public, 151, 240 Q ScrollBar controls, 278 Q command, 424 Slider controls, 280–281 quality parameter, 86 Spark text control, 254–259 quantity property, 564 versus styles, 343–344 query object, CFC returning, 886–888 TextArea control, 260 QueryNew() function, 886 TextInput control, 260 questionicon.png file, 512 UIComponent class, 252–253 queued value, creationPolicy property, 484 value object, 539, 543–551 Quick Admin heading, WampServer menu, 915 Properties dialog box quotation marks breakpoints, 182 in ActionScript 3, 210 ColdFusion, configuring Flex project for, 197–198 in E4X expressions, 761–762, 765 component library, adding to build path, 159–160 in MXML, 104 data connection properties, 712 when designating typeface, 295 deep linking, disabling, 88 in XML structure, 752

1015

441_488959-bindex.indd1_488959-bindex.indd 10151015 33/5/10/5/10 22:50:50 PPMM Index

remote methods, calling, 830–831 R in Remoting Service, 824–825 RadialGradient class, 425–428, 661 result event, 736, 884–888, 889 RadialGradientStroke class, 421–422 results, handling, 831–838 RadioButton controls, 230, 269–271, 285–286, 406–407 in RPC architecture, 709–710 RadioButtonDemo.mxml file, 271, 279 send() method, 892 RadioButtonGroup control, 230, 235, 269–270, 407 versus SOAP, 780 ranges of characters, embedding, 300–302 testing Flex applications, 200 ratio value, GradientEntry object, 427 tracing data, 204–206 ratios, percentage, 334–335 value object classes, 841–845 Raw view, Network Monitor, 202 Zend AMF class, calling with, 928–929 RDS (Remote Development Service), 808, 846, 881, 903 RemoteObjectDemo.mxml file, 200, 204–205 read-only properties, TextInput control, 261 Remoting Service. See also Zend AMF Real Time Messaging Protocol (RTMP), 809, 849, 853 destinations, configuring, 828–830 Rect class, 111–112, 421, 422–423 Java classes, creating and exposing, 825–828 rectangular shapes, drawing with FXG, 422–423 overview, 807, 808, 824–825 red, green, blue (RGB) percentage values, 362 PHP, 924 redeployment, BlazeDS, 818 remoting-config.xml file, 817, 828–829, 878 redFont selector, 352 Remove ActionScript styling code option, 456 refactoring Remove All button, 183 source-code files, 63 Remove button, 183 variable names, 61–62 RemoveAction class, 415 references, searching for, 60 removeAll() method, 555 refresh() method, 557–558, 560, 644 RemoveChild element, 408 RegExpValidator class, 687 removeChild() method, 483 register state, 410 removeEventListener() method, 227 relational databases, 534 removeItemAt() method, 555 relative address, 724 removePopUp() method, 524, 525–527 relative depth (z-index), 133 Rename Class dialog box, 63 release builds Rename Variable dialog box, 62 application, 88–91, 967–969 rendererIsEditor property, 629–632 BlazeDS, 810, 814 renderers package, 598 Remote Development Service (RDS), 808, 846, 881, 903 RendererWithViewStates.mxml file, 601 remote HTTP service, 710–714 Representational State Transfer (REST), 708–709, 777 remote methods, 830–831, 838–840 request value, element, 829–830 Remote Procedure Call (RPC) components, 578, 631, 707, requestTimeout property, 736 709–710. See also HTTPService component; Required Flash Player version option, 84 RemoteObject component; WebService required validation rule, 695 component requiredFieldError property, 695, 697 [RemoteClass] metadata tag, 842, 843, 895, 896, 897 reserved characters, 110 RemoteObject component Resize effect, 372 channels, creating at runtime, 979–980 resizeToContent property, 484 ColdFusion Components, 880–883 resizing images, 283–284 defined, 578 resource bundles, custom, 947–953 fault events, 900–902 ResourceBundle class, 947–948 Flash Remoting, 874 [ResourceBundle] metadata tag, 952 instantiating, 830 resourceManager object, 944–946, 950, 951 overview, 830 responder classes, 210 passing arguments to remote methods, 838–840 Response tab, Network Monitor, 202, 204, 205 passing data between ActionScript and Java, 840–841 REST (Representational State Transfer), 708–709, 777

1016

441_488959-bindex.indd1_488959-bindex.indd 10161016 33/5/10/5/10 22:50:50 PPMM Index

RESTful pattern, Ruby on Rails, 725 ROCallResponder.mxml file, 838 resthttpservice library, 725 ROExplicitArgs.mxml file, 840, 894 Restore button, 40 ROFaultHandler.mxml file, 902 restrict property, 260 rollOut event, 412 RESULT constant, 788 rollOver event, 412 result event rollOverColor style, 355 CallResponder object, 837 rollOverState view state, 412 ColdFusion Component, 884–888 RollOverText.mxml file, 413 versus fault event, 736 ROMultipleFunctions.mxml file, 890 HTTPService component, 730–733 ROMultipleMethods.mxml file, 837 ItemResponder class, 739–740 RONamedArgs.mxml file, 894 Mail component, 908 root element RemoteObject component, 832–834, 836, 889 custom namespace prefix in, 144 WebService component, 787–789, 792 MXML, 104, 106–107 ResultEvent class, 730–731, 758, 788 MXML component, 140 resultFormat property, 724, 726, 728, 753, 924 XML document, 752 resultHandler() method, 791 root folder location, ColdFusion, 197 Resume tool, 192 ROPassVOArg.mxml file, 900 return type ROPassVO.mxml file, 845 HTTPService component, 714–719 ROReceiveValueObjects.mxml file, 899 PHP service class functions, 933 ROResultEvent.mxml file, 834 Web service data connection, 801–803 ROResultHandler.mxml file, 886 ReturnSimpleXML.php file, 923 ROService Java class, 827–828 returntype property, 879, 880, 897 ROService.java file, 828, 835 reusable graphic elements, 428–430 Rotate effect, 372, 381–383, 384 reverse domain package names, 141 Rotate3D effect, 372, 381–383 reverseStep value, form property, 672 Rotate3DDemo.mxml file, 383 RGB (red, green, blue) percentage values, 362 RotateDemo.mxml file, 382 rgb key word, 362 RotatingFonts.mxml file, 303 Rhino, 750 RotatingFontsWithSlider.mxml file, 304 rich internet applications (RIAs), 19 rotation, text control, 297, 303–304 rich text, 256, 258–259, 288–291 rotation property, 303–305, 426 RichEditableText control, 254, 259 tag, 728 RichText control rowCount property, 614 bidirectional text, 293–294 ROWithBinding.mxml file, 884 columnar display, 292 ROWithBindings.mxml file, 832 content property, 255 RPC (Remote Procedure Call) components, 578, 631, 707, embedded font, 298 709–710. See also HTTPService component; fontFamily style, 295 RemoteObject component; WebService richly formatted text, 289–290 component Spark components, 254 RSL (Runtime Shared Library) files, 90 text justification and indentation, 291 RSS feed, 973–975 TextFlowUtil class, 257 rtl (right to left) value, direction property, 293, 490–491 whiteSpaceCollapse style, 258–259 RTLDemo.mxml file, 293 RichTextDemo.mxml file, 289–290 RTMP (Real Time Messaging Protocol), 809, 849, 853 RichTextEditor control, 253 Ruby on Rails, 725 right property, 332, 335, 423 rules, validation, 695–697 right to left (rtl) value, direction property, 293, 490–491 Run menu, 193–194 ROBoundArgs.mxml file, 840, 894 Run to Line feature, 194

1017

441_488959-bindex.indd1_488959-bindex.indd 10171017 33/5/10/5/10 22:50:50 PPMM Index

runtime. See also ActionScript 3 tag, 256 Adobe AIR, 958 tag, 829–830 custom resource bundles, creating at, 947–950

Web Analytics