flex

How can I implement a "pause" button for music in a Flash game?

I'm making a flash game, and I want to make a button. When I click on it, pause the music. When I click again, resume the music. ...

Flash Builder 4: Error #1009 in when Button is wrapped in BorderContainer

This is really bugging me, but I have a component where a Button is wrapped in BorderContainer. I'm passing a custom property to the component at run-time to change the label of the button but Flex is reporting the following error: Cannot access a property or method of a null object reference When the error occurs, Flex highlights the...

getting client computer name in a flex web application?

is it possible to obtain the computer name of the client using flex? I made a small intranet application and I need to log computer access to it. I used Flex 3.4 and web services in .net 3.5 thanks. ...

Changing properties of several objects in Flex

In my example below I have several objects. I want to change the label of all objects in one go, without calling each element by id. I know how to do this in HTML, but not in Flex. // HTML <div class="text" id="text1">SomeText</div> <div class="text" id="text2">SomeText</div> <div class="text" id="text3">SomeText</div> // jQuery $(".te...

Flex DropdownList does not show the correct values

Hi All I have a Flex Spark dropdownList in which I need to show the Provider FirstName,LastName: <s:DropDownList id="providerList" dataProvider="{model.practiceProviderList.practiceProviders}" labelField="provider.providerName.firstName"/> But the output shows only [object Object] & [object Object] as there are 2 p...

ActionScript Cue Points for closed captioning in Video control?

I am using using Flash Builder to create an AS3 video player which needs to support Closed Captioning. However, I am not using the FLVPlayback component. Is there a way of doing something like addASCuePoint() to flash.media.Video;, or is my only option using Flash's Timer to do my own check? I would imagine there must be lib out there ...

can I pass the Array values (not the array collection values) to the Bar charts or column charts using flex 3.5

Is there anyway where I can pass the Array values (not the array collection values) to the Bar charts or column charts using flex 3.5... here is the thing i want::: I have array values like this,, array1 = [23, 49, 40, 239, 20, 80, 39,49,120, 24, 31,41]; and i want to show these values on the Yaxis and months on Xaxis.... -- I ha...

Flex - Air "nativeprocess not supported"

Hi, I want to fix the error when am using "nativeProcess" class it giving error, How to resolve the error.Any air installation failed? ...

Remove flex license key from Flex builder 3

Hi, I had installed flex builder 3 plug-in in Eclispe 3.4. Now the license is expired. So i need to add another license into the same. But i could not able to change the license key because the option is disabled. So please any have idea how to change the license key in eclipse with flex builder plug-in 3. Thanks, Ravi ...

Flex module error

Hi, I'm trying to load a module into a flex 4 application (the module was compiled using SDK4 as well) but I got this error (I'm migrating this app from Flex 3 to Flex 4): VerifyError: Error #1014: Class mx.core::LayoutContainer could not be found. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame...

How can I stop the Flash privacy popup from occurring twice on a page?

My web-app records users via webcam and microphone. I want to use HTML/JS for the controls and content, so I created two separate Flex modules: * A "Webcam Setup" module that lets you choose your camera and mic input devices * A "record" module that lets the user record and submit the recording When I embed either of these on the page...

Flex - Script timeouts (Error #1502) and WebService component

Hello StackOverflow community, I am getting a script timeout (error #1502) when I am calling a SharePoint Web Service (CopyIntoItems) when trying to upload large files (greater than 40 MB). The error does not occur when using the Web Service for smaller files. The large files can be uploaded directly to SharePoint using the web interfa...

create interface object in mxml

Let's say I have an interface public interface IFoo { ... } and I have several implementing classes public class Foo implements IFoo { ... } ... public class Bar implements IFoo { ... } ... public class Baz implements IFoo { ... } I want to reference IFoo in MXML like this <ns:IFoo id="myfoo"/> and have it be ...

Flex Datagrid Column not displaying the value

Hi All We have a Datagrid: <nross:ScalableDataGrid id="grid" dataProvider="{model.practiceJoinRequestThickList.practiceJoinRequestThicks}"> <nross:columns> <ui:DataGridToolTipColumn headerText="ID" dataField="practiceJoinRequest.userId"/> <ui:DataGridToolTipColumn headerText="Name" dataField="u...

component getting items from array before its needed

I have an app where a user puts in the required info into text inputs inside a titlewindow pop up and it sends the data entered into a datagrid. This first time when I call for the popup and enter info it works fine. Here's the problem: the next time I call the component pop up and click anywhere on the popup, including textInputs, the f...

Flex 4 Problem using datagroup with XML and item renderer.

Hi, I have a Datagroup with a custom item renderer the momment I bind it to XML from an http service it stops working. My XML: <SDLIST> <chartlist> <reportname>FACTORY STATUS</reportname> <reportimage>file:/D:/Work/RapidReport/Images/Charts/Vertical-Linear-Gauges.png</reportimage> </chartlist> <chartlist> <reportname>FACTO...

flex write runtime errors stacktrace to file

Hi, I am developing a Flex + AIR application. While debugging using Flash Builder sometimes I get runtime errors dialog with 'continue' & 'dismiss all' buttons. But when I release a build(.air) & run the application after installing. Then I don't get the same dialog in the release build. I need to track these types of runtime errors f...

Flex: Row based rendering in Datagird

Dear Friends, I need to have custom rendering of each row in ny data grid. It is column based by default is there some way to achieve this ? If any one has tried this before or has any idea in this regard then please share. Thanks in advance. Ashine. ...

Flex Datagrid display item editor on hover

Hi all, I have a datagrid and I want to display an item editor (text input) when the mouse is over the cells. Thanks in advance. ...

Cannot bind data to DropDownList control in Flex 4

I'm fetching some data from a PHP application using Zend AMF. However I can't get the data to bind to a simple DropDownList control. The PHP method is: class Test { public function myMethod() { $res = array(); $res[] = array('NAME' => 'ThisIsATest', 'ID' => 1); return $res; } } Network Monitor repor...