flex3

Live streaming video sizing in Flex 3

Trying to constrain a live streaming video inside a flexmdi window. Using the video:Object (not VideoDisplay). Is there any way to link the window resizing and the size of the video object within? ...

Taming Scrollbars in complex layout in Flex

Are there any general tips on managing scrollbars and maintaing a complex liquid layout in flex? Here is the scenario: The application container is full browser screen with a docked application bar at the top. Inside the app is a general container called "appbox" which contains a viewstack of subcomponents. The subcomponents themselv...

Flex: Everything goes white when I switch TabNavigator tabs

I've just dropped a TabNavigator into my application: <mx:TabNavigator width="100%" height="100%" backgroundColor="#F7F7F7"> <custom:SomeCustomContainer label="Details" /> <mx:Canvas label="Reporting" width="100%" height="100%"> </mx:Canvas> </mx:TabNavigator> And when the app first loads, everything seems fine: Un...

developing sites with Flex applications

I'm very new to Flex, and have studied a number of examples. In every case there is a central mxml file, and possibly one or two other mxml files referenced from the main one. This generates multiple panels onto one computer screen which achieve dynamic results with data binding. What I don't yet grasp is how to create an ordinary site...

Why is Event.RENDER not being dispatched?

I made a class, which has to register to the Event.RENDER event so that it will know when the stage is being rendered. The simplified version of my code looks like this: package { import flash.events.Event; import flash.display.Sprite; public final class Test extends Sprite { public final function Test() { ...

What's a good way to make a Flex component with placeholders in it?

I want to create a component that has a couple of "holes" that are to be filled in differently on each use. Currently, I'm doing it like this (using the Flex 4 framework in this example --- it would look almost the same for Flex 3): public var fooComponent : IVisualElement; public var barComponent : IVisualElement; override protected ...

How can I bind to global variables inside my component?

I've developed a component which is a combination of a few items (canvas, labels, etc...) but when I try to bind it to a variable such as : {stationXML.getItemAt(1).AAA.@value}, it doesnt work. Before I combined all the items in a component, they were all in the main MXML file at which time they worked. Not sure if it matters, but the ...

Adobe Flex - In debug mode, what does the "(@B3FB02)" in the "value" box mean?

When I am debugging my application and I pause the application, looking through the debug window, there is a window which shows the name and value of all my variables. However, for ArrayCollections, it shows something like "(@B3FB02)" instead of the value. I know I can get the values of the various items inside the array by clicking th...

How does one arrange server side code/folders for more complex apps?

If I have an app that has "multiple" widgets in it, like chat, video, slide presenter, etc., would I set up one directory in the FMS applications folder for the whole application, or multiple? Just one main.asc file for the whole app, or multiple? For instance, the platform comes with a "live" folder containing a sample live streaming s...

Flex 3: ConcurrencyError using HTTPService

I'm getting occasional ConcurrencyError faults when using HTTPService in Flex 3. I have four HTTPService objects, all configured with concurrency=single. I'm not sure though how to continue to diagnose, as I don't see in the FaultEvent what service object caused the issue, and I can't easily reproduce it on-demand. One feature of my app...

In PureMVC, should Proxies send Notifications themselves, or do so via the ApplicationFacade?

In the PureMVC framework, Proxies communicate with the ApplicationFacade (and thus any interested components) via a Notification. Should this Notification be sent via their own instance, or the Singleton instance of the ApplicationFacade? Frankly, does it matter? Here are two ways of doing this (in Flex/AS): // from the proxy itself ...

FLEX PORTLET CONTAINER

Hi ALL, Can somebody please let me know which container would be good for holding portlets containing Flex Applications , Iam new to this portal stuff and we are planning to bring in all the applications roughly aroung 10 Applications developed in FLex in to one hood so that user can have access to all the applications based on his or h...

Flex 3 not returning all the rows from JDBC

I am requesting rows back from JDBC, and binding the values in objects through Flex/BlazeDS into an arraycollection. If I ask twice in sucession, using the same function for the data, the second one invariably returns all the values,and binds them properly into an arraycollection. the first one doesn't return any rows, but doesnlt thro...

Flex NativeDrag Event on an mx:Html control?

I have an mx:HTML tag loading external content. The control takes up 100%w and 100%height of the application. How can I accept NativeDrag (or any drag) events and receive the drops? <mx:Canvas width="100%" height="100%" backgroundColor="#000000" id="cvDropZone"> <mx:HTML id="coreHtml" width="100%" height="100%" backgroundColor="r...

Draw a line on specific data value on cartesian chart in Flex

Hi, Is there a way to draw a line on a graph (or at least get the position) on specific date? I have a graph where X is Date data, I want to draw a line with a text on each Year and each 3 months as reference, not part of the graph series. thanks. ...

flex3 button state

Hi there, I would like to change the state of a flex button component with actionscript (on the fly) to present it as mouse-down/mouse-over/mouse-up, in order to use the css skining with out the existence of the mouse cursor. I tried to do this with button.currentState but this doesn't work. thanks in advance ...

Creating and editing CSS in Flex3 Air

Hi, I need to create a CSS file via the Flex 3 Air application. I need to create and edit the CSS file and access individual styles by class name. Please give any examples or related links of which you aware. Thanks & Regards Vinod.P ...

Create a timeline from date to date in Flex/AS3

Hi, I need to create a timeline between 2 given dates, ie: 2006-01-20 - 2009-02-14 The timeline must be drawn on a given width (can be altered), ie: 600px But I need to add markers, one on year beginning, and others 4 times during the year (each 73 days aprox): Any tips? ...

Flex tree vertical scroll issue

Hello, I have a flex tree control bound to an xml data from the database. I have item renderers for the tree items. My concern is, when my tree item size is huge, if I scroll using the mouse, it scrolls in 4-5 items at a time. I need it to scroll item by item. When it scrolls 4-5 items at a time, there seems to be a rendering issue as I...

Dyanmically updating Legends - ActionScript 3

Hey All, I have some issues in updating the legends created using action script. Please read the following steps to understand the issue. Created a line chart with two data Series. Created a legend. Appended chart and legend to a container. There is an update button. Clicked on the button. Now the line chart was updated with three da...