flex

Do AIR applications run in a trusted sandbox?

I have an AIR application that is packaged with a network appliance and that is used to configure that network appliance...much like a the embedded webservers on home routers except this is an installed AIR app. If I want to communicate with the appliance on a port higher that 1024, do I need that appliance to serve up a socket policy f...

Flex 3 (Actionscript) query for recordset array for data grid

Hey, all. I am building an application in Flex Builder 3. Yes, I know that it has an auto-magic feature to build datasheet, but that will not work. I see many Flex controls, such as combo box, can take an array as a data source. My question, therefore, is (1) How do I send the request from my action script to my PHP form to request a r...

How to find references to the file system in a flash application?

Hello everybody, I need to disable all the aspects of functionality which access the client file system in a flash/flex application. I started having a look on how to do this. It appears that the package flash.filesystem need to be importated to allow the interaction with the file system. However, I did not find any reference to this p...

Don't resize Images on a ItemRenderer

Hi! I think it is a question easy to answer, so I'll put it quick: Which parameter should I put not to automatically resize an Image that is put on an ItemRenderer? Ex (in which the image gets resized): <mx:AdvancedDataGridColumn headerText="estado" dataField="estado" width="30" editable="false" resizable="false"> <mx:itemRendere...

How to close x number of popups one by one according to their visiblity?

Hi, Lets suppose, there are 4 popups in my application and a viewer presses Escape once. Now i want application to close the popup which is on the top. I dont know how to accompish this because i dont know thich popup is to the front right now. Regards Max ...

Global Coordinate Value on Mouse Click in Flex

In Flex, I am using the following code: I am using event.event.localX to get the x-axis but it is with reference to local coordinates. How can I get or pass the value of the HBox's xAxis that is clicked by the user so that I can add it in the xAxis of the local coordinate. In other words, I need the global coordinate value? (i.e. x-...

flex 4: creating a group that slides off stage during fullsize mode

I have no problems getting this to work in smaller sizes, but as soon as the application goes to full screen it throws off all of the layout. Any suggestions? here's the effects (stageWidth is updated on resize and I've checked that it contains the correct value). <s:Bounce id="bounceEasing"/> <s:Parallel id="panelIn"> ...

Flex 4 Application Skin - Create Footer

Hi, I'm trying to create a skin for my Application in Flex 4. I started with editing the Application wireframe skin found at /flex4-sdk-folder/frameworks/projects/wireframe/src/spark/skins/wireframe/ I need a skin upon applying should provide a header, content area and a footer. I set the controlBar visible in the normal state so that...

flex advanceDatagrid with radiobutton issue

Hi, I am using Advanced DataGrid of Flex 3 with hierarchical data and also i added tile list as a item renderer in another column in that tile list i added radiobutton as item renderer if i change the radio selected value the hierarchical tree sould expand if the scroll bar will come the radio button value is changing <mx:AdvancedDa...

air: maximising window on startup

In my air app I am maximizing the app window on creation complete event. Because of this I initially get a smaller window for a few milliseconds which is maximized after all UI elements are rendered. Is there any way I can specify that the initial size of the window should be maximal? Hard coding the size will not works as the screen siz...

Adobe Flex layout issue. nested containers inside VGroup, 100% height not working

I have a nested layout which is dynamic (sizes are percentage values) or at least it should be. I removed the text of the strings from the code: <s:VGroup width="98%" height="70%" horizontalAlign="center" horizontalCenter="0"> <s:BorderContainer borderStyle="inset" borderWeight="1" cornerRadius="20" textAlign="center" ...

JSON .NET asmx and Flex3

Hi i wrote webservice in .net which return json string WebService(Namespace = "AndrewRowland")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [ScriptService] public class Service1 : System.Web.Services.WebService { [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string HelloWorld() ...

Facebook Open Invite Friends Interface

Hello! How can I open the Multi Friend selector from a Flex Application inside a Facebook IFrame please? The interface I am looking for is this: ...

How to blur 3d object? (Papervision 3d)

How to blur 3d object? (Papervision 3d) And save created new object as new 3d model? (can help in sky/clouds generation) Like in 2d picture I've turn rectangel intu some blury structure ...

Is there a way to truly extend a Flex component?

I need to create an extension of a Flex component, which (obviously) means that the new component should be able to be used whenever the parent is used. But I don't see the way to do it, Flex offers two ways of extending a component, by defining an AS class extending the parent or by creating an MXML file that uses the parent component a...

how to get selected date on DateField Adobe Flex Datagrid ItemRenderer

Hi! I am trying to get the selected date on the datagrid. I used the itemrenderer to display the datefield on my datagrid. <mxataGridColumn dataField="dt" headerText="Date of Transaction" itemRenderer="mx.controls.DateField" rendererIsEditor="true" editorDataField="selectedDate"/> Thanks! ...

How Can I Add a Progress Bar to an Image in a Custom Component?

Hi, I'd like to add a progress bar to my image. The problem is that the image is in a custom component. In the Application, I make server call to get the pathway to the photo. I set photo1 in the Application. Please find below the custom component: <mx:Metadata> [Event("change", type="mx.events.Event")] </mx:Metadata> <mx:Script...

How to open a 3dmax or maya file in flash?

Hi i want to open a 3d max file and do some rotation of a 3dmax object in flash action script 3. How can i do this? ...

AdvancedDataGrid horizontal/vertical scroll bar problems. (Flex)

So, I have an AdvancedDataGrid that needs to live inside a Canvas. My problem is that when you do something like this you get two sets of scroll bars. Also, the horizontal scroll bar for the AdvancedDataGrid changes size as you scroll right to left and will not let you scroll ALL the way to the right, which seems odd. I've turned hori...

Height problem with automatic word wrapping in MXTreeItemRenderer in a flex tree

With the default TreeItemrenderer it is possible to enable automatic word wrapping depending on the tree width by setting wordWrap=true and variableRowHeight="true" in the tree control. I would like to enable this behavior in a MXTreeItemRenderer (a wrapper for using spark components as mx itemrenderer). I used the MXTreeItemRenderer cr...