flex

Handling multiple views of the same ArrayCollection

I have an ArrayCollection bound to a view, I use a filterFunction on this view to only display parts of the contents. Additionally I have another component where I want to display other parts of the ArrayCollection. What I would like to do is wrap ArrayCollections around each other, meaning I could have one ArrayCollection containing th...

open seperate browser window and pass data

hi all, I want to display some data in a separate browser window instead of using popupManager. How do i do that. Also i need to pass parameter to that window, based on that parameter, i ll call the service and get the required data and display that in the datagrid. ...

in navigateurl how can i give width and height in flex

Hi when i am trying to give windth and height to a window through navigateUrl method its not opening my codevar js:String = "window.open(http://[Domain]/Project/pages/sample.jsp,'win','height=608,width=999');"; var urlReqest:URLRequest = new URLRequest("javascript:" +js + " void(0);"); navigateToURL(urlReqest,"_blank"); its not...

What is the error :a conflict exists with inherited definition flash.display:DisplayObject.mouseX in namespace public ?

This appeared as I was trying to use a mouseEvent to move an object. I placed the variables for mouseX and mouseY in the public class. I did the same for direction X and Y but there was no error message for those. ...

How do I get a servicemark into my property file?

I have an existing project using Flex SDK 3.3 which uses a property file for all the static text in our Flex application. There's one specific tag which has a copyright symbol but it needs to be changed to the servicemark symbol. I'm aware that some fonts may not have support for the service mark. The existing text looks like this: hea...

Send data between pages in view stack

Hello all. My language is not the best, so try to understand me. I have a login page (that working), if details is correct, i want to go to welcome page, and display the first name and last of the user. Is ok to access to the label in the another page, and how can i do that please? This is my code: <?xml version="1.0" encoding="utf-8...

Flex Link not working

Hi, There this link in Flex that was working and now isnt... Flex is giving me a headache with this one because it is not throwing any errors either. In the script part of the XML I have this: private function onLinkClick( event:TextEvent ):void { var url:URLRequest = new URLRequest( event.text ); navi...

How to pass data from Google App Engine(Python) to Flex 4 application

I am using python and webapp framework in app engine for backend and flex 4 for front end. I would like to pass a string form backend to front end, so i write the following code in the main.py: class MainPage(webapp.RequestHandler): def get(self): userVO = "test" template_values = { 'url': self.request.uri, 'userVO': userV...

flex css transparency

Hello, I'm trying to make the background of all tabs from a TabNavigator completely transparent (via CSS), but somehow I can't get this done correctly. This is what I've got so far: TabNavigator { tabStyleName: "tabNavTab"; fillAlphas: 0, 0, 0, 0; backgroundAlpha: 0; focusAlpha: 0; borderStyle: none; } .tabNavTab {...

AIR: component behaves wrong after switching window

Ok so I have a component, that has a function to remove itself as a popUp in its current Window, and add itself to a newly created Window. It works, however, if the component has a child like a ComboBox, the drop down still pops up in the old window where it used to be, also scrollbars, and focus seems to behave incorrectly in the new w...

Adobe Flex & Air - packaging Air app in native install

Hi I have tried the options given on Adobe Livedocs : adt -package -target native myApp.exe myApp.air, but I keep getting the message "-storetype required". I then try with adt -package -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.air and get the same message. I have already created the .air file and the .p12 ...

Flex custom sorting capabilities with server side support

The sorting capabilities that are available in Flex assume that you have access to all the data, but I'm using a paginated datagrid (with custom code), the datagrid is binded to an ArrayCollection instance, on the next page call I change the data of the dataprovider and everything works ok, but for sorting I need to override the click or...

Errors when Upgrading Flex 3.2 to 3.5

Here's are the errors: VerifyError: Error #1053: Illegal override of allowInsecureDomain in _SwdModule_mx_core_FlexModuleFactory. ReferenceError: Error #1065: Variable _SwdModule_mx_core_FlexModuleFactory is not defined. SwdModule is a module used within the organization and there's an application that loads this (and various other mo...

How to always force show ColorPicker's dropdown color list?

To show the complete list of available colors, one has to click the color box of ColorPicker control. How can the component be modified to forcefully always shown the colors list without any interaction from the user? ...

FlexBuilder IDE Snippets: Is there a global repository?

FlexBuilder 3 is based on Eclipse, and I use org.eclipse.wst.common.snippets as my snippets tool. The data for this is stored in each workspace at WORKSPACE\.metadata\.plugins\org.eclipse.wst.common.snippets Currently, every time I create a new workspace I have to copy the snippets over from the old one. Not only is this repetitive a...

Can flex connect to WCF?

I want to flex connect to a WCF with RTMP. is there an abillity to create RTMP custom binding in WCF? ...

Send keyboard and mouse events to Flash Movie

Hi, I'm looking for a way to "inject" some events into a flash movie running on a browser. I know about ActionScript's ExternalInterface.addCallback function, however I'm trying to achieve this with any "random" flash from the web. Eg. send a "SPACE" keyboard event to a youtube video. ...

Limiting pyamf flex sessions or setting a timeout

How do I limit my amf sessions to flex over pyamf? I have set up a pyamf gateway to that serves value objects that originate from a django admin panel, through sqlalchemy to my authenticated flex client. It's working great, however there is a problem. My sessions are persisting and clogging up the server, so after about 20 or so AMF ses...

Flex HDividedBox prevent dragging

I'd love to be able to prevent dragging of a HDividedBox's divider based on a condition. for example: <mx:HDividedBox id="hd1" liveDragging="true" dividerDrag="dividerDragHandler(event)"> <Canvas id="c1"/> <Canvas id="c2"/> </HDividedBox> private function dividerDragHandler(event:DividerEvent):void { if (_something > 10)...

How to interact with Content behind Transparent Flex App?

Hi, I have a Flex application with wmode=transparent and a transparent section that allows whatever is underneath it on the HTML page to show through. In this case, what's showing through is another Flash application. This works fine, but I can't interact with the Flash application showing through. I tried setting the z-index of the ...