Flex Air, static main window reference?
As I can get a reference to the main window of an Air Flex application within a component? (The component is not in the main MXML) ...
As I can get a reference to the main window of an Air Flex application within a component? (The component is not in the main MXML) ...
I've got a small action-script chart, that's meant to be live updating, and also be able to support more than 10000 points of data. The way it's currently set up it doesn't need to redraw the whole chart if the new line we wish to add doesn't extend that chart's boundaries. Yet it does, the redraw regions show the whole chart as being...
Can a Flax Air Window (NativeWindow) be modal? how? ...
When one call Clipboard.generalClipboard.getData() in ActionScript outside of Event.PASTE processing function it fails with following message The Clipboard.generalClipboard object may only be read while processing a flash.events.Event.PASTE event. Even if I dispatch Event.PASTE event and call this function within event handler it s...
I have a Flex tree that gets its datatip from a function that returns an "@action" property from the XML node if it has one, otherwise an empty string. This works fine, except for when I'm expanding a group of nodes with one that has an action property in it. The tooltip pops up in the upper-left corner of the flex app, then if I move my...
Abobe seems to only list the most recent debugger version, even though I can target previous players in build. ...
I have a dataProvider that's defined with mx:XML like this. <mx:dataProvider> <mx:XML format="e4x"> <root label="All Items"> <morning label="Evening" type="check" /> <evening label="Evening" type="check" /> <night label="Night" type="check" /> </root> </mx:XML> </mx:dataProvider> This do...
Hi, All I need user download JPEG file from my app, however, when user change the file name the saved file will be downloaded without extension. For Example: I am using FileReference.download() and set the default filename as "demoPic.jpg" and user's windows system setting control file extension not being shown. So when the dialog open...
Hi, I've got an XML Doc loaded in. I've created an Horizontal List and referenced the arraycollection as the Data Provider. But what I need to do now is then pull the data out from that. I have 3 nodes / variables. They are id, title, thumbnail. But when I go to pull through the data as : {videos.title} Flex Builder gives me the Error...
I am using the google maps api with regular key (not premier). When connecting to my server with http, everything works fine, but when connecting with https i receive the following instead of map: "nitialization failed please check the API key swf location, version and network availability" Is that because it is not premier key? can i f...
in Flex Datagrid, I need to support line wrap function in one column. In theory I need to set wordWrap="true" and variableRowHeight="true". It works well. But the problem is that if in the cloumn I set itemRenderer="lc.monitoring.logviewer.components.CustomColumnRenderer" properties, then the line wrap funciton does not take effect. It...
I have an itemRenderer for a list where I'm just displaying items and their details respectively. I want to keep the details invisible and have a button,Show Details, in my main mxml file which when clicked would make the details visible. So, my problem is in the clickHandler how can I access the details property within the itemRenderer...
I wasn't sure if this question would go better here or at superuser, since it kinda crosses between the two. I have a Flex web app with a PHP service, using ZendFramework. The app works fine on Ubuntu 9.04 Server. No errors at all, behaves exactly as expected. If I install Ubuntu 10.04 Server, I suddenly start getting a "Channel discon...
Does anyone know of a way to specify different vertical gaps between siblings in a Tree? I want to child nodes spaced tighter together (maybe 10px) while the top level parents remain spaced further apart (20px). Essentially, I need to change the gap dynamically based upon the depth of the node, but I'm not sure if the Tree class (or the ...
Hi, I've got an <mx:Button> in my application, I have 10 items in an XML Node. What I'd like to do is when the button is clicked show the next 5 XML Nodes. How do I achieve this? My code is as follows at the mo : <mx:Button x="1380.65" y="582.65" styleName="rightButton"/> The style is just setting the up / over and down states of t...
Hi all, is it possible to run the ant mxmlc task with custom tokens? Here some part of my services-config.xml. ... <channels> <channel-definition id="java-amf" class="mx.messaging.channels.AMFChannel"> <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndp...
Hi, I've got an Horizontal List. It contains 6 XML Nodes at the moment. But what I'd like to do is remove the scrollbar so that an button can function to scroll through the nodes instead. Has anyone achieved this, if so how did you go about it? Thanks in advance ...
Does anybody know how to add custom rolloveridicatorskins to a flex 3 list component? it doesn't have the rolloveridicatorskin in the css. ...
In flex component life cycle, after we make some change in a components property, invalidation methods schedules a call to methods like commitProperties, updateDisplayList, etc for some later time. I need to call the updateDisplayList instantaneously. Is there some direct way to do this. Currently, both the labels are changed simultane...
Dear friends, We use 3 types of services in Flex; HTTP, Remoting and WebServices and would like to increase my understanding about their use cases. As far as I understand, Remoting can be used only in homogeneous environment like Flex-RubyOnRails (through RubyAMF) while Webservices can be used in Heterogenous environment using SOAP pr...