flex

flex <mx:Array> bindable

Hi, I have a very simple doubt. I have declared an array using <mx:Array> ... </mx:Array> with objects in it. Now If I have to make it bindable the how can I do it? Thanks in advance. ...

Quick fix (CTRL+1) in Flash Builder 4

What is the purpose of quick fix in Flash Builder 4? I have tried using it to auto create event listener functions, class methods or properties, local variables etc but none of these work. Does this functionality only exist in FDT? If so what does quick fix do in FB4? For example: myEventDispatcher.addEventListener(SomeEvent.EVENT_TYPE...

Can flex have a transparent bg over the browser like Flash and can it work with a jquery overlay?

so right now im using shadowbox jquery overlay, but was wondering if I could have a transparent background and use the overlay in tandem. Is there a way to export it like in flash? ...

Flex 3 ComboBox skin, limiting text width

I've created a ComboBox skin by extending mx.skins.ProgrammaticSkin. It's working fine, except I can't figure out how to limit the width of the text. Is there a way to control this within the skin? See the attached image for an example of the text going too far. I would like it to stop before the separator line to the left of the down ...

How to use AS3 class in MXML?

How would I use the following AS3 class within MXML? AS3 Class: package mtm { import flash.display.MovieClip; import flash.display.Shape; public class TestClass extends MovieClip { public function TestClass() { var s:Shape = new Shape(); s.graphics.beginFill(0x000000, 1); s.graphics...

Good book for Flex 4?

I read the O'Really Book: Programming Flex 3 and I thought it was awesome. I am now migrating to Flex 4 and wanted to read a great book for Flex 4. There are many Flex 4 books out there and I really just want to read 1 to get me up and running fast. So if anyone can share/recommend some books that would be great! ...

Emails sent using Flex app are delayed

I'm currently building an application in Flex that utilizes SMTP Mailer to automatically send out emails to the user when a particular condition is satisfied. The application checks this condition every 30 seconds. The condition is satisfied based on new records being returned from a database table. The problem is as follows: When the ...

SWFLoader - "SWF all over the place"

I need to load in an swf component but I want it to be an exact width and height, problem is that when I set width and height it doesn't matter, content of that swf still goes out of predefined bounds. How can I tell it not to do so, so it will work exactly as in html document embed? ...

Flex RemoteObject Intermittently Failing to Invoke CFC

I have a Flex app that uses Flash Remoting and the RemoteObject to pull data from a ColdFusion CFC. About 75% of the time it works, but the other times I get a message using Charles (a debugging tool) that says faultString = "Unable to Invoke CFC". FaultCode = "Server.Processing". Here's my RemoteObject: <mx:RemoteObject id="carsSvc...

Flex & XML in IE-- Parse Me, Baby!

Hi I've got a Flex 3 project. I'm having a problem with XML in Internet Explorer only. Pls see the problem lines below: _clickURL = [email protected](); _mediaSource = [email protected](); These variables are coming up "" in IE. But, they grab the data in Safari and Firefox. Any suggestions as to what the problem might ...

Flex useHandCursor when not the window is not in focus?

I have two window A and B. I have a picture in window A that is clickable and I want to use hand cursor for it. I can set useHandCursor and buttonMode to true and hand cursor works fine as long as window A is in focus. However, if I have window B in focus, the picture in window A no longer use hand cursor until I change the focus back to...

How To Access Namespace Elements In MXML Using Actionscript

In Actionscript... If I Have an XML variable that equals this: var X:XML=XML("<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" xmlns:ns1="Tools.*" minWidth="684" minHeight="484" creationComplete="Init();" xmlns:ns3="Components.*" initialize="I()"/>"); And I try to list the attributes via: var AList...

Flex Panel Content Background Color

Hello guys. I am trying to set the gradient background color for my panel via skins. I try to change my code but nothing seems to change. Not sure what to do. Thanks for any reply. My skin file /<!-- layer 2: background fill --/> <!--- Defines the appearance of the PanelSkin class's background. --> <s:Rect id="backgro...

Equivalent of describeType for Flex Component EVENTS

Using "introspection" In Flex I can say: var classInfo:XML=describeType(SomeObject); Which will list for me the Accessors, Methods And Variables. (http://livedocs.adobe.com/flex/3/html/help.html?content=usingas_8.html) But what is the equivalent to programmatically inspect all of an object's possible EVENTS? (NOT JUST the events f...

Unable to bind to a variable

Hello, <?xml version="1.0" encoding="utf-8"?> <s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300" title="Monitor" xmlns:plcservicebean="server.services.plcservicebean.*"> <fx:Script> <![CD...

convert remote object result to array collection in flex...........

HI guys, im using zend_amf and flex. My problem is i have to populate my advance datagrid using array collection. this array collection have a children. example: [Bindable] private var dpHierarchy:ArrayCollection = new ArrayCollection([ {trucks:"Truck", children: [ {trucks:"AMC841", total_trip:1, start_time:'3:46:40 AM...

Anyone else unable to listen to uncaughtErrorEvent when loaded by another swf?

When I try to access the uncaughtErrorEvents dispatcher when loaded directly, everything works well. But when I try the same code when loaded by another swf I get a reference error. protected function onAddedToStage(e:Event):void { trace("Flash version: " + Capabilities.version); try { loaderInfo.uncaughtErrorEvents.addEve...

Mesh simplification

I wish to develop a softare for 3D object compression (by polygon reduction) in flex using papervision 3D. Could you please suggest me an efficient algorithm for the same? ...

Flex ItemRenderer Issue

Am using Checkbox as ItemRenderer in tilelist. Am trying to setting checkbox selected values through xml. I got the values perfectly.. but checkbox could not bind the values(could not accept that). It's automatically sets true for all checkboxes. This is my xml <PmhTreeAllow> <PmhTreeAllowname id='1' label ='Allow Text' isField='false...

Mesh simplification

Possible Duplicate: Mesh simplification I wish to develop a software for mesh simplification (3D object compression) in flex using papervision 3D. Which algorithm will be the best one to implement? ...