flex

Create a webbrowser in Flex?

Is it possible to create a webbrowser inside a Flex (not AIR!) application? I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible? ...

Which is the best development tool for CBT (computer based training) / LMS (learning management system)

The CBT involves user interaction, like quizes, quiz progress, licensing etc. Should I go with flex, or should I go with flash? ...

How do i know that which button is clicked in flex ?

for (iss = 0; iss < listOfProductIds2.length; iss++) { // Alert.show(listOfProductIds2[iss]); var productMain:VBox=new VBox(); var p1:HBox=new HBox(); var l1:Label=new Label(); var b1:Button=new Button(); var spacer:Spacer=new Spacer(); spacer.width=300; b1.labe...

Get Object using id in flex ?

Acctually I want to remove Child from VBox , i have id of child , but i don't to have real object that i want to remove using removeChild function of VBox ...

change surface coordinates from Action Script

Hi! I'm trying to use degrafa in my Flex project, and I would like to change a surface coordinate reference point. I want to put the center of the screen as (0,0). I have tried many ways but I can't make it work. Any ideas, please? ...

Does clipRect parameter of the BitmapData.draw method really clips the source?

The documentation says that clipRect parameter of the BitmapData.draw method sets clipping for the source. Reading this I wrote an AnimatedObject class for my potential flash game. This class draws a frame from a .png animation strip, and doesn't work with Flash scene hierarchy. var frame : Number; public function onDraw(backBuffer : ...

Adobe Flex3: Keyboard shortcuts when a view is visible?

I have a quite large Flex application with a large set of views and I ceratain views I'd like to add shortcuts. And i'm looking for something like: <mx:Vbox> <foo:Shortcut keys="ctrl+s" action="{bar();}"/> .... </mx:VBox> Is there any framwork or component already done that does something like this? I guess it should be too diffi...

Documenting private members with ASDoc

Can ASDoc be set to document private members ala JavaDoc? ...

how do i call <rest:RestHttpService> from Appache webapps folder ?

when i call <rest:RestHttpService id="loadProductService" server="localhost" port="8080" method=" {RestHttpService.METHOD_GET}" contentType="application/xml" resource="/rest/product/1" result="getEmployeeSuccess(event)" fault="faultHandler(event)"/> it properly work using following url in browser file:///home/company/flexwork...

Flex Combobox: how to get the value of the selected item?

I am using a combobox for the us states, link. The label is set to the full name of the state, while the value attribute holds the abbreviation. What I want to do is to get the selected item's value. So I tried combo.selectedItem.value and combo.selectedItem.@value, but neither of them worked. Can someone shed a light on this please? ...

Creating loop for sending variable to other components in Flex

Hi! I have some simple function in Flex in which I would like to send one of my variables to all the components used in my app... The problem is that there is lots of components in my app, and I'm not sure how to reference to my component's id... Basically, is there an easier way to do this; private function preloadStuff():void{ //...

Why do DragOver/Enter events require a background on Canvas?

I have a canvas which I want to accept drags on. I have added a dragOver and dragEnter event listeners to the canvas, but they only work if I drag over something inside the canvas (another child element). I realised that if I set the canvas' background colour to black it works. So I have set it's background transparency to 0, which wor...

ViewStack Vs State

Hi, Can anyone explain difference between the ViewStack and States? Thanks, Ravi ...

flex 3 retrieving colors values from MySql database with AMFPHP to style flex 3 Components at runtime

Hello Stackoverflowers, I'm making a social community application with profile. User must be able to style their profiles. That's why i'm looking for a way to store and retrieve color values from a MySql database to style flex 3 components at runtime. Does anybody know how i could accomplish this. (I don't want to use Runtime css swf s...

generate screenshot and send it to server (not using FileReference.upload)

Do you have any ideas? ...

In Flex, is there a way to determine how long an HTTPService.send() call takes round-trip?

I am looking to find out and track how long a round-trip to the server is taking. Just kinda curious more than anything. ...

IE not letting flash stream audio

This problem is happening is both IE8 and IE7. I have a small swf compiled with flex. It's basically just a wrapper around audio streaming functionality. All the controls and such are in html with javascript. I load the swf using swfobject's "static" method. This works great in Firefox and Chrome. In IE, the swf loads correctly, but as ...

Flex: Displaying properties from two objects in a datagrid

Previously I post a discussion on this matter on Flex Adobe forum and still don't understand what needs to be done. So, I'll try my luck again on stackoverflow. I'm using drag and drop data binding functionality in flash builder 4 on a data-grid. However, the data I need to show need to be query from another object. <mx:DataGrid id="da...

where do i add RestHttpService-0.9.10.swc file in appache ? so that it access the <rest:RestHttpService>

please tell me .... ...

InvalidApp error while red5's client side code with flex

hi I am trying to make simple chat program using red5 server using flex builder 3. I am using eclispe galilio 3.5 for server side code.i have installed jdk 1.6 update 14 and apache ant 1.7.1.when i am running demo program already in red5 then its fine!. but my own code is giving NetConnection.Connect.InvalidApp NetConnection.Con...