flex

screen sharing software creation using as3.

I wish to do screen sharing application using as3 as the part of one project. how to get screen sharing video using as3. Thanks. ...

Actionsript/Flex String replace for <

I have a string like "My <color>" I want to replace "<color>" with "Orange". I did str = str.replace("<color>","Orange"); but it doesn't work. How to do it? ...

flex vs silverlight for student

I am a student of computer science and am interested in learning development of RIAs. So which among silverlight and flex is more suitable for me and y? ...

Flex: Load images and swf's dynamically

I'm building a slide-show like application in Flex and I'm trying to load images dynamically. The images are in a folder outside the application folder. This is the folder structure: /Bildvisare-debug/ Bildvisare.html Bildvisare.swf /Images/ 01_02_01_01_B.jpg 01_02_01_01_T.JPG I'm reading the image ...

Flex maps howto examples

Hello, I've stumbled upon this flash map http://www.washingtonpost.com/wp-srv/special/nation/unemployment-by-county/ it looks like they used this map to construct the website. http://commons.wikimedia.org/wiki/File:USA_Counties_with_FIPS_and_names.svg I am curious as to what people have done or any blogs that describe what can be don...

Adobe Flex Charting SDK

I have Flexbuilder installed, with SDK 3.2. I wanted to try upgrade my SDK to 3.3, so I downloaded it from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3, extracted to my directory, changed the project properties in FlexBuilder, and it mostly worked fine. The problem seems to be that the Charting Components are not in...

Flex Chart Colors

When creating a flex Chart, the list of colors is always the same, something like (orange, green, blue, ... ) I imagine that the Flex Charts use any array of default colors, Is there a way to get this array ? ...

Flex 4 - Using .pfm/.pfb fonts

Hi everyone, I just switched to Flash Builder 4 & Flex 4 SDK, and it seems it's no longer possible to use a .pfm/.pfb font, either by embedding it or using it as a system font. I keep getting error messages, and Google can't find anybody having the same issue. I tried several methods: - copy/pasting the [Embed] statement which was wor...

Check if clicked element is inside of IVisualElement (parent)

Hi, I'm trying to check if a clicked element is inside of an IVisualElement in Flex 4. So I want something like "if this element is in this element, then execute function". I'm aware of the 'parent' property but this doesn't seem to work when my element is not a direct child of the element but for example 3 levels deep. Can anyone he...

Flex Printing - Can it be done?

I want to know if anyone has successfully printed something from Flex. By successful I am talking about some sort of report or document or whatever. I know its fairly simple to print a component(which is a bit cheap) from Flex by using the printJob() class and passing a component. But I want to pass an object like a list or XML to pr...

Flex 4: Loading XML into a Model Actionsript Class

I'm trying to create an actionscript class to serve as a data model for my Flex app. I already have a formatted XML file to read from, and when I was simply declaring the data service in my MXML app I used this code inside the declarations: <fx:XML id="xml" source="datapoints.xml"/> I'm now trying to create a model class and can't se...

In Flex 4.. how??

http://stackoverflow.com/questions/950571/how-can-i-set-window-application-as-light-weight-in-flex-still-not-get-answe There's a solution but how to do it in flex 4 using spark? Because it says it can't find "window"... ...

FLEX: UIComponent Click Handler??

Hello, Thanks for reading. I'm trying to put a label and an image on a UIComponent, side-by-side. I want to use UIComponent for efficiency reasons, and the entire component is more complicated than just a button with an icon. I'm trying to get a click handler on ther entire UIComponent so that when a click happens on either the label...

Control the number of tick marks the datetimeaxis displays along its axis.

Hello All, I was wondering if it was possible to control the number of tick marks the Flex DateTimeAxis displays along its axis? Currently, the datetimeaxis controls how many tick marks to display on its axis whenever I change the date range on my chart. Ideally, I would just like there to be only and always 7 tick marks. I went into th...

FLEX button to trigger event continiously when pressed... not once!!!!

Hello. I'm wondering if there's a way to configure a FLEX button so it behaves like a push button... ...

Generating Source Info For Flex BitmapData.

Instead of populating the BitmapData class from an IMAGE. I would like to (within Actionscript) GENERATE some new BitmapData by capturing the Bitmap representing say, a TextArea component on the stage. In other words, sort of take a "screen capture" or "screenshot" of one of the components, and convert that into an image. Am I silly t...

How to access the Principal from a Java service object without using FlexContext?

We're building some Java objects that are exposed via BlazeDS to our flex client application. So basically the BlazeDS messagebroker servlet instantiates and invokes methods on these objects in response to client requests. Works great. We're using app server-based authentication and have set up a security constraint on the <destination...

How to turn Bytes into number (IEEE754 to number) Actionscript

How to write such C# code in Actionscript? Console.WriteLine(BitConverter.ToDouble(new byte[8] { 0x77, 0xBE, 0x9F, 0x1A, 0x2F, 0x0D, 0x4F, 0x40 }, 0)); ...

Resizing a container when child's visibility is changed?

When I set the visible property to false for a child in a container, how can I get the container to resize? In the example bellow, when clicking on "Toggle", "containerB" is hidden, but the main container's scrollable area is not resized. (I do not want to scroll through a lot of empty space.) <mx:Application xmlns:mx="http://www.adobe....

Summary row count appears zero for a field like 'wip.aggregatedValue' but not for 'wip'

Hi, I am using advanceddatagrid with groupedColumns and summary rows. I have following columns grop. <mx:AdvancedDataGridColumn id="wipId" dataField="wip.aggregatedValue" headerText="WIP"/> <mx:AdvancedDataGridColumn id="closedId" dataField="closed.aggregatedValue"/> <mx:AdvancedDataGridColumn dataField...