flex3

how to access to mxml component through another mxml

Hi all I have an mxml canvas component with grid and I have in the mx:Script tag a public function that add a GridItem child into the grid. When I call this public function thorugh my main application and run the project, it stuck. so how can I do this? how to change my grid in the canvas through my main application and why my code doesn...

Strategy to keep string constants in sync between java/flex?

Say you have a web application that has a lot of business rules built around if-then comparison of String constants. These are used on both client-side and backend code, and at the moment are hard-coded badly throughout both places with lots of duplication and sometimes errors. What's a sensible way to refactor them out? Unfortunately...

Problem linking datagrid to text Input

What I am trying to do is have a user input his data into multiple textboxes, then once the data is entered it is displayed on the datagrid at runtime. The problem is when I run the app I click my button but no information entered is added to datagrid. My textboxes are also supposed to clear once the button is pressed but again nothing h...

flex 3 ubuntu 9.10 installation problem with eclipse

I installed flex3 from flexbuilder_linux_install_a5_112409.bin and installed eclipse from synaptic package manager in ubuntu-9.10 . I am starting eclipse and when i want to create a new project with flex project in eclipse the editor doesnt open. an error message providing me like...Could not open editor Assertion failed.. How can i solv...

Flash Uploads and Proxy Issues

We have an internal application written in Flex that uploads content to a .NET web handler for processing. We have periodic issues due to clients behind proxy servers where it will occasionally prompt them to connect to the proxy server before doing anything, but if they do, the application doesn't work properly. If they cancel, the app...

Curved Text in flex

Hello Everybody I was looking for text curved(arc- upper semicircle ) similar to the link below http://www.housesign.co.uk/design-a-sign/ If you select circle shape and the text gets curved along upper semicircle. I could not figure out the concepts to achieve the same.Below is my code implemented partially . Will need your suggestio...

Flex event handler not working.

I have created a custom event in flex 3.5. But the handler is not invoked. How to solve this or what is the way to debug this problem? The Event class: package com.saneef.worldlanguages.events { import flash.events.Event; public class LanguageEvent extends Event { public static const LANGUAGE_SELECTED:String = "Lan...

Flex 3 Using an ArrayCollection to Populate Both a Datagrid and a ComboBox

Hi, I use this arrayCollection to populate a Flex 3 Datagrid. I'd also like to use this arrayCollection to populate a comboBox with the Name node. In the arrayCollection, I've got the Name listed twice. I've got two rows in the Datagrid. If I set the ComboBox's labelfield to Name, then the Name will be listed twice in the ComboBox me...

Flex Popup - Mediator for the popup - no for tabs in the popup

We are poping up a window that has a number of tabs. The mediator for the popup itself is working, but the mediators for the tab views inside are not ????? Parsley or Flex issue ??? ...

How Can I Make a Flex 3 Datagrid Show only One Row of an ArrayCollection's Results?

Hi, Is there a way to make a Flex 3 Datagrid show only the first node of an arrayCollection, instead of showing all of the arrayCollection's data? myDGArray = [ {Name: "Judy", Talent: 'Pole-Dancing', Score: "40"}, {Name: "Jane", Talent: 'Yodelling', Score: "65"}, {Name: "Jim", Talent: 'Singing', Score: "82"} ...

How to remove undesirable text/HTML tags from FLEX LineChart's custom dataTips?

Hello, I wrote a function to override my FLEX LineChart's datatips because the default datatips were ugly and rather boring. I finally set the style I wanted but am now having some problems removing un-necessary tags from being displayed in the custom datatips. For example, the datatips now display things like this: "<b>Humidity</b></...

Deploying FLEX3 Application in tomcat

I have a FLEX3 application - I have created a release for it and saved it in my tomcat webapps folder. This Flex3 application consumes the Web-Services hosted on the same tomcat [axis web services]. This is how I have defined them in Flex code: <mx:WebService id="abc" wsdl="http://localhost:8080/axis2/services/ABC?wsdl...

Can a Flex 3 app launch and pass data back and forth to a Flex 4 app?

We have a large Flex 3 app that we do not have time to convert over to Flex 4 at this point. However, we want to use a component set that is currently implemented in Flex 4. The idea is for us to have our main Flex 3 app launch a Flex 4 app. We need to be able to pass data from the Flex 3 app to the Flex 4 app and back again. Is this ...

Flex 3: manually sort a DataGrid after applying an automatic sort (clicking on the column header)

Hi! I have a DataGrid in Flex3 which I want to sort by means of clicking on the column header and then tweak this order using a manual sort, dragging and dropping items. I have found out that once you use the column header to sort, there is no way to get rid of this behaviour (unless establishing the data provider's sort property to nu...

Flex bar chart not working

XML Data to plot: <?xml version="1.0" encoding="utf-8" ?> <spearkerslist> <speakers langid="afb" countryid="SA" countryalpha3id="SAU">200000</speakers> <speakers langid="acw" countryid="SA" countryalpha3id="SAU">6000000</speakers> <speakers langid="ars" countryid="SA" countryalpha3id="SAU">8000000</speakers> <speakers la...

Asmx webservice IP Address change issue due to hosting in internet.

I have a asmx webservice which is accessed from office intranet. I could consume through my flex app with the local IP Address of the hosted system. When that particular system was exposed to the internet, the external IP got changed. Now If I use the same flex app using exposed URL, the wsdl is not getting loaded. Reason being the WSDL ...

how to set flex html container htmlLoader.placeLoadStringContentInApplicationSandbox to true via action script dynamically

I am creating html container on run time and want to set htmlLoader.placeLoadStringContentInApplicationSandbox to true via action script how can i write code? If i am creating any html container in my mxml code and writting code like below "htmlContainerID.htmlLoader.placeLoadStringContentInApplicationSandbox = true;" it is working...

Change icon of Alert buttons

How do I change the icons to Alert buttons like OK, CANCEL etc? ...

Tab Navigator in a Title window : issue

I am adding a tab navigator to a title window here. Once the title window is closed, it can be reopened using the button.But on opening the title window second time in this manner ,the content of the children of the Tab navigator(here, a label) is not visible. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http:/...

Adobe Flex 3 to Flex 4: Rotated Text Disappears on Embedded font

I recently upgraded a Flex 3 project to Flex 4 "MX Only" and prior to the upgrade, I had some rotated text which now does not render. I have embedded the font ("Verdana") within my CSS Stylesheet using the following declaration: /* CSS file */ @namespace mx "library://ns.adobe.com/flex/mx"; @font-face { fontFamily: Verdana; sr...