flex4

Does Flash Builder 4 now use AIR 2?

北战南征 提交于 2019-12-03 21:03:00
I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro. When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5? Is there a way to tell which AIR runtime it is using? I think you'll have to download the SDK and st it up yourself; but Flash Builder should work fine: http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes How to overlay the Adobe AIR SDK for use with the Flex SDK Copy the contents an existing Flex SDK folder to a new folder. For example, in Flex

Any Flex 4 migration experience?

馋奶兔 提交于 2019-12-03 17:55:33
问题 My current development stack is MySQL + iBatis + Spring + Spring BlazeDS Integration 1.01 + BlazeDS 3.2 and Flex 3 with Mate 0.8.9 framework. Now Flash Builder 4 beta 2 is out. There are cool features like Data Centric Development (DCD), form generation etc... Do you know how Spring Blazeds Integration works with BlazeDS 4? What about Mate? Is there any issues with Flex 4 ? How DCD suits with mate eventmaps. I know it is better to try it out myself but I just want to check if somebody ever

Change mouse cursor to a bitmap (Flex 4)?

巧了我就是萌 提交于 2019-12-02 17:28:06
问题 In Flex 4, how can I change the cursor to a Bitmap image determined at runtime ? All the examples I've seen use CursorManager.setCursor to set the cursor to a class specified at compile time. What I want to do is change the cursor to a bitmap whose bitmapData is determined by the context. 回答1: package cursor { import flash.display.BitmapData; import flash.display.PixelSnapping; import mx.core.BitmapAsset; public class RuntimeBitmap1 extends BitmapAsset { public static var staticBitmapData

Communication between Flex module and Application

你说的曾经没有我的故事 提交于 2019-12-02 16:46:34
问题 Ok, modules in Flex are popular but I have no idea why documentation and examples on the different uses of Flex modules can be so scarce. Anyway, for this question, I will take the classic Employee/Department example. I have a main.mxml that contains an mx:TabNavigator. Each tab is loaded by an s:ModuleLoader. Tables: Employees {empID,empName,deptID}, Deparments {deptID,deptName} The Tab Navigator contains only one tab (for our example) called Employee. I have an Employee.mxml module. In that

How to bottom-align cells in a DataGroup using TileLayout?

不打扰是莪最后的温柔 提交于 2019-12-02 12:29:56
I'd like to bottom-align cells in a tiled DataGroup, so that rows grow bottom-top instead of top-bottom. I guess what i'm looking for is something like RowAlign.BOTTOM , but that doesn't seem to exist. Rows should have fixed heights and gap, so RowAlign.JUSTIFY_USING_GAP and RowAlign.JUSTIFY_USING_HEIGHT won't work for me. Any hints? Yes i want to answer my own question. What i wanted to do was extend TileLayout and override updateDisplayList(), but due to excessive use of privates in TileList that was not possible so i ended up copying the whole TileList source and changed a few lines in

how to lock Iphone by programmatically [duplicate]

▼魔方 西西 提交于 2019-12-02 12:06:54
问题 This question already has answers here : Programmatically lock and unlock iPhone screen (8 answers) Closed 6 years ago . Is there is any option to lock the Iphone by Software Code. Currently I am working in Flex 4 . I couldn't get any idea about this work. actually my Iphone covered by thick panel , it's very difficult to press the lock button . so I planned to create a shortcut for lock Iphone by coding. Kindly give me some Idea about this task, using Flex 4 or other Languages also is okay.

how do I make a TileGroup layout that has the jaggy edge on top?

穿精又带淫゛_ 提交于 2019-12-02 09:20:35
I have spark.components.TileGroup that contains buttons. I would like the buttons to appear like tabs on top of the ViewStack they serve At the moment, if I have 6 items in the TileList it lays it out as 2 rows with 4 items in the top tow and 2 in the bottom, so the jaggy edge is at the bottom [ITEM 1][ITEM 2][ITEM 3][ITEM 4] [ITEM 5][ITEM 6] I would like it to look like this, with the jaggy edge on top [ITEM 5][ITEM 6] [ITEM 1][ITEM 2][ITEM 3][ITEM 4] The order of the items is not important How would I do this? Define a new layout that lays the tiles out the way you want. some links to get

Buttons in AdvancedDataGrid in Flex

拈花ヽ惹草 提交于 2019-12-02 08:40:33
问题 Is it possible to have a Button object in a column in an AdvancedDataGrid object in flex 4? And how would I do this? 回答1: You can do it in flex 3, so it should be possible in flex 4 too. Here is how to do it in flex 3, modify it for spark. <mx:AdvancedDataGrid id="ad" creationComplete="create();"> <mx:columns> <mx:AdvancedDataGridColumn dataField="text"/> <mx:AdvancedDataGridColumn> <mx:itemRenderer> <mx:Component> <mx:Button label="{data.buttonLabel}" click="{outerDocument.onClick(data)}"/>

How to insert data from dynamic array to sqlite db getting from WebService Using Loop in action script 3.0 and flex

社会主义新天地 提交于 2019-12-02 08:21:28
How can I insert dynamic Array to data base using Loop at the success of the Webservice call first my Webservice which i have Bind to DataGrid <fx:Declarations> <mx:WebService id="ws" wsdl="http://localhost:2690/vtrServices.asmx?wsdl"> </mx:WebService> <vtrservices:VtrServices id="vtrServices" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true" result="vtrServices_resultHandler(event)" /> <s:CallResponder id="SignIn1Result2"/> <s:CallResponder id="GetMyTasksNew1Result" result="GetMyTasksNew1Result_resultHandler(event)"/> </fx:Declarations> This

Communication between Flex module and Application

人走茶凉 提交于 2019-12-02 08:02:43
Ok, modules in Flex are popular but I have no idea why documentation and examples on the different uses of Flex modules can be so scarce. Anyway, for this question, I will take the classic Employee/Department example. I have a main.mxml that contains an mx:TabNavigator. Each tab is loaded by an s:ModuleLoader. Tables: Employees {empID,empName,deptID}, Deparments {deptID,deptName} The Tab Navigator contains only one tab (for our example) called Employee. I have an Employee.mxml module. In that module, I have a datagrid that is populated with Employee details. I use the getEmployees($deptID)