MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Manual de usuario

Busca en linea o descarga Manual de usuario para Software de autoedición MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE. Adobe Flex Tutorial Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 124
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 2 - ADOBE FLEX TUTORIAL

TUTORIALS POINT Simply Easy Learning Page 5 Flash Builder can be started by executing the following commands on Unix (Solaris, Linux, etc.) machine:

Pagina 3 - Prerequisites

TUTORIALS POINT Simply Easy Learning Page 95

Pagina 4 - Table of Contents

TUTORIALS POINT Simply Easy Learning Page 96 Flex – Flex Unit Integration This chapter shows FlexUnit Integration in Flex Development Cycle:. Flash

Pagina 5

TUTORIALS POINT Simply Easy Learning Page 97 Flash Builder will create the following TestClass1.as file. package com.tutorialspoint.client { p

Pagina 6 - Flex-Overview

TUTORIALS POINT Simply Easy Learning Page 98 FlexUnit Integration Example Now Let us follow the following steps to test FlexUnit Integration in a Fl

Pagina 7 - Disadvantages of Flex

TUTORIALS POINT Simply Easy Learning Page 99 } } Following is the content of the modified mxml file src/com.tutorialspoint/HelloWorld.mxml. <

Pagina 8

TUTORIALS POINT Simply Easy Learning Page 100

Pagina 9 - Simply Easy Learning Page 4

TUTORIALS POINT Simply Easy Learning Page 101 Flex – Debug Application This chapter describes the debugiing application of Adobe Flex:. Flex prov

Pagina 10 - Step 4: Setup Apache Tomcat:

TUTORIALS POINT Simply Easy Learning Page 102 3 Compile and run the application to make sure business logic is working as per the requirements. Fol

Pagina 11 - Simply Easy Learning Page 6

TUTORIALS POINT Simply Easy Learning Page 103 Step 2 - Debug Application Now click on Debug application menu and select HelloWorld application to

Pagina 12 - Simply Easy Learning Page 7

TUTORIALS POINT Simply Easy Learning Page 104 If everything is fine, application will launch in the browser and you will see following debug l

Pagina 13 - Flex - Applications

TUTORIALS POINT Simply Easy Learning Page 6 %CATALINA_HOME%\bin\startup.bat or C:\apache-tomcat-6.0.33\bin\startup.bat Tomcat can be started by e

Pagina 14 - Flex Framework Libraries

TUTORIALS POINT Simply Easy Learning Page 105 You can see the stacktrace for suspended threads.

Pagina 15 - Client-side code

TUTORIALS POINT Simply Easy Learning Page 106

Pagina 16 - HelloWorld.mxml

TUTORIALS POINT Simply Easy Learning Page 107 You can see the values for expressions.

Pagina 17 - Server-side code

TUTORIALS POINT Simply Easy Learning Page 108 You can see the list of breakpoints placed. Now keep pressing F6 until you reach the last li

Pagina 18

TUTORIALS POINT Simply Easy Learning Page 109 Now you can see the flex code can be debugged in the same way as a Java Application can be debugged.

Pagina 19

TUTORIALS POINT Simply Easy Learning Page 110 Flex - Internationalization This chapter describes internalization of Flex aapplication: Flex provi

Pagina 20 - Page 15

TUTORIALS POINT Simply Easy Learning Page 111 Create properties file containing the messages to be used in the application. We've

Pagina 21

TUTORIALS POINT Simply Easy Learning Page 112 2 Modify HelloWorld.mxml as explained below. Keep rest of the files unchanged. 3 Compile and run the a

Pagina 22

TUTORIALS POINT Simply Easy Learning Page 113 </s:Panel> <mx:ComboBox id="localeComboBox" dataProvide

Pagina 23

TUTORIALS POINT Simply Easy Learning Page 114

Pagina 24

TUTORIALS POINT Simply Easy Learning Page 7 or /usr/local/apache-tomcat-5.5.29/bin/shutdown.sh

Pagina 25 - Step 7 - Run Application

TUTORIALS POINT Simply Easy Learning Page 115 Flex – Printing Support Flex provides a special class FlexPrintJob to print flex objects.  FlexPrint

Pagina 26

TUTORIALS POINT Simply Easy Learning Page 116 printJob.send(); Printing Example Step Description 1 Create a project with a name HelloWorld under a

Pagina 27

TUTORIALS POINT Simply Easy Learning Page 117 horizontalAlign="center" verticalAlign="middle"> &l

Pagina 28

TUTORIALS POINT Simply Easy Learning Page 118 Click on print me button and you can see the printout of the data grid shown below.

Pagina 29

TUTORIALS POINT Simply Easy Learning Page 119

Pagina 30

TUTORIALS POINT Simply Easy Learning Page 8 Flex - Applications This chapter describes the applications under Adobe Flex: Bfore we start with c

Pagina 31 - Run Application

TUTORIALS POINT Simply Easy Learning Page 9  Compiles a HelloWorld.html (a wrapper file for swf file) from a file index.template.html

Pagina 32

TUTORIALS POINT Simply Easy Learning Page 10 2 textlayout.swc This library supports the text layout related features. 3 framework.swc This is the fl

Pagina 33 - Flex Life Cycle Example

TUTORIALS POINT Simply Easy Learning Page 11 Public resources These are helper files referenced by Flex application, such as Host HTML page, CSS o

Pagina 34

TUTORIALS POINT Simply Easy Learning Page 12 Following Table gives the description of all the tags used in the above code script. S.N. Node & De

Pagina 35

TUTORIALS POINT Simply Easy Learning Page 13 Flex – Create Application This chapter shows how to create application under Adobe Flex. We'll us

Pagina 36

TUTORIALS POINT Simply Easy Learning Page 14 Select Application Type Web (runs in Adobe Flash Player) if not selected and leave other default values

Pagina 37 - Flex Style with CSS Example

i ADOBE FLEX TUTORIAL Simply Easy Learning by tutorialspoint.com tutorialspoint.com

Pagina 38

TUTORIALS POINT Simply Easy Learning Page 15 Folder Location src  Source code (mxml / as classes) files.  We've created com/tutorials

Pagina 39

TUTORIALS POINT Simply Easy Learning Page 16 Step 2 - Create external CSS file Create a CSS file styles.css for Wrapper HTML page in html-template

Pagina 40

TUTORIALS POINT Simply Easy Learning Page 17 <head> <title>${title}</title> <meta name="google" value="notransla

Pagina 41

TUTORIALS POINT Simply Easy Learning Page 18 <noscript> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width

Pagina 42 - Step 2: Apply skin

TUTORIALS POINT Simply Easy Learning Page 19 +pageHost +"www.adobe.com/images/shared/download_buttons/get_flash_player.gif&a

Pagina 43 - Flex Style with Skin Example

TUTORIALS POINT Simply Easy Learning Page 20 <fx:Script> <![CDATA[ import mx.controls.Alert; import mx.events.FlexEv

Pagina 44

TUTORIALS POINT Simply Easy Learning Page 21 Because you are running your application in flash player, so you will need to install Flash Player pl

Pagina 45

TUTORIALS POINT Simply Easy Learning Page 22 Flex – Deploy Application This chapter shows the deployment of application: This tutorial will explai

Pagina 46

TUTORIALS POINT Simply Easy Learning Page 23 . Select project as HelloWorld using the wizard window as follows

Pagina 47

TUTORIALS POINT Simply Easy Learning Page 24 Leave other default values as such and click Finish Button. Now Flash Builder will creat

Pagina 48

ii ABOUT THE TUTORIAL Adobe Flex Tutorial Flex is a powerful, open source application framework that allows you to easily build mobile applications

Pagina 49 - Flex Data Binding Example

TUTORIALS POINT Simply Easy Learning Page 25 <fx:Style source="/com/tutorialspoint/client/Style.css"/> <fx:Script>

Pagina 50

TUTORIALS POINT Simply Easy Learning Page 26 Create WAR File Now our applictaion is working fine and we are ready to export it as a war file. Follow

Pagina 51

TUTORIALS POINT Simply Easy Learning Page 27 Flex – Life Cycle Phases This chapter shows the phases under Life Cycle of Flex application:. Life Cyc

Pagina 52 - Flex – Basic Controls

TUTORIALS POINT Simply Easy Learning Page 28 1 preInitialize: mx.core.UIComponent.preinitialize Event Type: mx.events.FlexEvent.PREINITIALIZE This

Pagina 53

TUTORIALS POINT Simply Easy Learning Page 29 1 Create a project with a name HelloWorld under a package com.tutorialspoint.client as explained in the

Pagina 54 - Event Dispatcher Class

TUTORIALS POINT Simply Easy Learning Page 30

Pagina 55 - Introduction

TUTORIALS POINT Simply Easy Learning Page 31 Flex – Style With CSS This chapter describes the styles under Adobe Flex: Flex supports the use of CSS

Pagina 56 - Public Properties

TUTORIALS POINT Simply Easy Learning Page 32 You can define styles within UI container component using <fx:Style> tag Class Level Selector <

Pagina 57

TUTORIALS POINT Simply Easy Learning Page 33 1 Create a project with a name HelloWorld under a package com.tutorialspoint.client as explained in the

Pagina 58

TUTORIALS POINT Simply Easy Learning Page 34 /* id level selector */ #msgLabel { color: gray; } /* style appli

Pagina 59

iii Table of ContentsAdobe Flex Tutorial ... i Audience ...

Pagina 60

TUTORIALS POINT Simply Easy Learning Page 35

Pagina 61

TUTORIALS POINT Simply Easy Learning Page 36 Flex – Style With Skin This chapter style with skinning in Adobe Flex: What is Skining? Skinning in Fl

Pagina 62

TUTORIALS POINT Simply Easy Learning Page 37 Enter Package as com.tutorialspoint.skin, name as GradientBackgroundSkin and choose host component as

Pagina 63 - Public methods

TUTORIALS POINT Simply Easy Learning Page 38 Apply skin in MXML script (statically) Apply GradientBackgroundSkin to a BorderContainer with id mainCo

Pagina 64

TUTORIALS POINT Simply Easy Learning Page 39 name=contentGroup, type=spark.components.Group, required=false --> <!-- fill --> &

Pagina 65

TUTORIALS POINT Simply Easy Learning Page 40 verticalAlign="middle"> <s:Label id="lblHeader" fontSize="

Pagina 66

TUTORIALS POINT Simply Easy Learning Page 41

Pagina 67

TUTORIALS POINT Simply Easy Learning Page 42

Pagina 68

TUTORIALS POINT Simply Easy Learning Page 43 Flex – Data Binding This chapter describes the Data Binding concepts. What is Data Binding? D ata Bind

Pagina 69 - Protected method

TUTORIALS POINT Simply Easy Learning Page 44 <fx:Script> <![CDATA[ import mx.binding.utils.BindingUtils; import mx.events.Fl

Pagina 70

iii Life Cycle of flex application: ... 27 Flex – Style With Skin ...

Pagina 71

TUTORIALS POINT Simply Easy Learning Page 45 <s:Label id="lblHeader" text="Data Binding Demonstration" font

Pagina 72

TUTORIALS POINT Simply Easy Learning Page 46

Pagina 73 - Basic Controls

TUTORIALS POINT Simply Easy Learning Page 47 Flex – Basic Controls This chapter describes basic controls of Adobe Flex:. Every user interface cons

Pagina 74

TUTORIALS POINT Simply Easy Learning Page 48 Every Basic UI control inherits properties from UIComponent class which in turn inherits

Pagina 75

TUTORIALS POINT Simply Easy Learning Page 49 Event Dispatcher Class Introduction  The EventDispatcher class is the base class for all classes tha

Pagina 76

TUTORIALS POINT Simply Easy Learning Page 50 S.N. Method & Description 1 EventDispatcher(target:IEventDispatcher = null) Aggregates an instanc

Pagina 77

TUTORIALS POINT Simply Easy Learning Page 51 Class declaration Following is the declaration for mx.core.UIComponent class: public class UIComponent

Pagina 78

TUTORIALS POINT Simply Easy Learning Page 52 12 automationValue : Array [read-only] This value generally corresponds to the rendered appearance of t

Pagina 79

TUTORIALS POINT Simply Easy Learning Page 53 30 errorString : String The text that displayed by a component's error tip when a component is mon

Pagina 80

TUTORIALS POINT Simply Easy Learning Page 54 A flag that determines if an object has been through all three phases of layout: commitment, measuremen

Pagina 81 - Flex – Visual Effects

TUTORIALSPOINT Simply Easy Learning Page 1 Flex-Overview This chapter describes the basic definition and concepts of Adobe Flex:. What is Flex? FL

Pagina 82

TUTORIALS POINT Simply Easy Learning Page 55 66 mouseFocusEnabled : Boolean Whether you can receive focus when clicked on. 67 nestLevel : int Depth

Pagina 83 - Protected properties

TUTORIALS POINT Simply Easy Learning Page 56 84 rotationX : Number [override] Indicates the x-axis rotation of the DisplayObject instance, in degree

Pagina 84 - Protected methods

TUTORIALS POINT Simply Easy Learning Page 57 100 top : Object For components, this layout constraint property is a facade on top of the similarly-na

Pagina 85

TUTORIALS POINT Simply Easy Learning Page 58 Protected Properties Following are the protected properties for mx.core.UIComponent class: S.N. Name &

Pagina 86

TUTORIALS POINT Simply Easy Learning Page 59 6 contentToLocal(point:Point):Point Converts a Point object from content to local coordinates. 7 create

Pagina 87

TUTORIALS POINT Simply Easy Learning Page 60 true):Number Returns the y coordinate of the element's bounds at the specified element size. 24 ge

Pagina 88

TUTORIALS POINT Simply Easy Learning Page 61 or null if this Repeater isn't repeated. 42 getStyle(styleProp:String):* Gets a style property tha

Pagina 89

TUTORIALS POINT Simply Easy Learning Page 62 UIFTETextField) using a UITextFormat determined by the styles of this UIComponent. 60 move(x:Number, y:

Pagina 90 -

TUTORIALS POINT Simply Easy Learning Page 63 77 setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void Sets the transform Matrix that is used

Pagina 91 -  Using MXML

TUTORIALS POINT Simply Easy Learning Page 64 Protected method S.N. Method & Description 1 adjustFocusRect(obj:DisplayObject = null):void Adjust

Pagina 92

TUTORIALS POINT Simply Easy Learning Page 2  Flex applications can run on Browsers as well as on Desktop.  Flex applications are platform in

Pagina 93 - Using MXML

TUTORIALS POINT Simply Easy Learning Page 65 16 invalidateParentSizeAndDisplayList():void Helper method to invalidate parent size and display list i

Pagina 94

TUTORIALS POINT Simply Easy Learning Page 66 when the component has finished its construction, property processing, measuring, layout, and drawing.

Pagina 95

TUTORIALS POINT Simply Easy Learning Page 67 20 mouseWheelOutside from a component opened using the PopUpManager when the user scrolls the mouse whe

Pagina 96

TUTORIALS POINT Simply Easy Learning Page 68 35 touchInteractionStart A non-cancellable event, by a component when it starts responding to a touch i

Pagina 97

TUTORIALS POINT Simply Easy Learning Page 69 3 Image The Image control lets you import JPEG, PNG, GIF, and SWF files at runtime. 4 LinkButton The Li

Pagina 98 - RPC Service Call Example

TUTORIALS POINT Simply Easy Learning Page 70 Flex – Form Controls This chapter describes the form controls under Adobe Flex:. Form controls allows u

Pagina 99

TUTORIALS POINT Simply Easy Learning Page 71 The ComboBox control is a child class of the DropDownListBase control. 6 DateChooser The DateChooser co

Pagina 100 - TUTORIALS POINT

TUTORIALS POINT Simply Easy Learning Page 72 Flex – Complex Controls This chapter describes the complex controls under Adobe Flex:. Complex contro

Pagina 101 - CHAPTER

TUTORIALS POINT Simply Easy Learning Page 73 5 RichTextEditor The RichTextEditor control lets users enter and format text. 6 TileList The TileList c

Pagina 102

TUTORIALS POINT Simply Easy Learning Page 74 Flex – Layout Panels This chapter describes layout panels under Adobe Flex: Layout panel controls p

Pagina 103 - FlexUnit Integration Example

TUTORIALS POINT Simply Easy Learning Page 3 Flex - Environment Setup This chapter describes the environment setup of Adobe Flex:. This tutorial w

Pagina 104 - Running Test cases

TUTORIALS POINT Simply Easy Learning Page 75 4 HGroup The HGroup container is a Group container that uses the HorizontalLayout class. 5 Panel The Pa

Pagina 105

TUTORIALS POINT Simply Easy Learning Page 76 Flex – Visual Effects This chapter describes the visual effects to add behavior to Flex application: W

Pagina 106 - Flex – Debug Application

TUTORIALS POINT Simply Easy Learning Page 77 1 className : String [read-only] The name of the effect class, such as "Fade". 2 customFilter

Pagina 107 - Step 1 - Place BreakPoints

TUTORIALS POINT Simply Easy Learning Page 78 19 triggerEvent : Event The Event object passed to this Effect by the EffectManager when an effect is t

Pagina 108 - Step 2 - Debug Application

TUTORIALS POINT Simply Easy Learning Page 79 11 play(targets:Array = null, playReversedFromEnd:Boolean = false):Array Begins playing the effect. 12

Pagina 109

TUTORIALS POINT Simply Easy Learning Page 80 2 effectStart Dispatched when the effect starts playing. 3 effectStop Dispatched when the effect has be

Pagina 110

TUTORIALS POINT Simply Easy Learning Page 81 Flex – Event Handling This chapter describes the usage of Event Handling: Flex uses concept of

Pagina 111

TUTORIALS POINT Simply Easy Learning Page 82 Consider the following application code <?xml version="1.0" encoding="utf-8"?>

Pagina 112

TUTORIALS POINT Simply Easy Learning Page 83 Following is the content of the modified mxml file src/com.tutorialspoint/HelloWorld.mxml. <?xml v

Pagina 113

TUTORIALS POINT Simply Easy Learning Page 84 <s:Label id="lblHeader" text="Event Handling Demonstration"

Pagina 114

TUTORIALS POINT Simply Easy Learning Page 4 Windows java version "1.6.0_21" Java(TM) SE Runtime Environment (build 1.6.0_21-b07) Java Hot

Pagina 115

TUTORIALS POINT Simply Easy Learning Page 85

Pagina 116 - Internalization Example

TUTORIALS POINT Simply Easy Learning Page 86 Flex – Custom Controls This chapter describes the Custom Controls under Adobe Flex:. Flex provides two

Pagina 117

TUTORIALS POINT Simply Easy Learning Page 87 Flash Builder will create the following CustomButton.as file. package com.tutorialspoint.client { i

Pagina 118

TUTORIALS POINT Simply Easy Learning Page 88 Using MXML You can create a component by extending existing component. To create a component using Flas

Pagina 119

TUTORIALS POINT Simply Easy Learning Page 89 Following is the content of the modified mxml file src/com.tutorialspoint/client/CustomLog

Pagina 120 - Flex – Printing Support

TUTORIALS POINT Simply Easy Learning Page 90 } Following is the content of the modified mxml file src/com.tutorialspoint/client/HelloWorld.mxml. &

Pagina 121 - Printing Example

TUTORIALS POINT Simply Easy Learning Page 91

Pagina 122

TUTORIALS POINT Simply Easy Learning Page 92 Flex – RPC Services This chapter describes RPC Services provided by Adobe Flex:. Flex provides RPC ser

Pagina 123

TUTORIALS POINT Simply Easy Learning Page 93 <items> <item name="Book" description="History of France"></item&

Pagina 124

TUTORIALS POINT Simply Easy Learning Page 94 <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.ado

Comentarios a estos manuales

Sin comentarios