Hi, I'm using code similar to the following:
http://blog.flexexamples.com/2007/08/29/launching-new-browser-windows-from-flex/
I have a Flex app running in AIR, and when I click on a URL it opens a new tab in my existing browser. In addition to this the focus doesn't set to the browser. What this means is that I'm not aware of the URL ...
Hi, I have a component that were exported from catalyst (the component is based on a tag). Now I created a new component extending this. However when I add this new component to my module it doesn't seem to inherit the designs that were exported from catalyst. Any idea how i can do that?
Ofcource when I add the component that were dire...
I have a project that is for several customers, the only difference is in the DB, everything else looks the same, except for the main page's text. That is loaded from an external swf file. I created a library, compiled it as an swc, imported it and using it as an RSL. The problem is that if once I've opened the page, and afterwards updat...
Hi - I am working on a function to generate a form at runtime in Flex based on a call to the DB. The call to the DB returns the field types, id, tooltips etc as an arraycollection, the arraycollection is then parsed in order to ascertain what control to display based on the type field in the array - this bit works fine.
However, i am st...
I have a Renderer:
<?xml version="1.0" encoding="utf-8"?>
<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Metadata>
[Event(name="addToCart",type="event.ProductEvent")]
</fx:Metadata>
<fx:Scrip...
When a path is specified as the source argument of a SWFLoader, arguments can be appended to the path so that the SWF runs with the desired arguments.
<mx:SWFLoader id="mySwf" source="pathOfSwf.swf?arg1=1"/>
How do you do the same thing when instead of a path you specify a ByteArray as the source argument of a SWFLoader.
<mx:SWFLoade...
I seem to recall that Loader.unload() could once be used to stop loading a swf before it had finished loading. I can no longer find documentation or the blog where I read this. Perhaps it was an unofficial feature. Anyhow, IModuleInfo, returned by ModuleManager.getModule() has an unload() method. If I want to halt loading a Flex Modul...
I have a flex app running on my server.
I have had a request from some clients to have the swf loaded on their server, so that their customers dont have to be transferred to my server to login; i.e. from the user's point of view it looks like they are logging in from theirsite.com instead of mysite.com
I tried something really simple, ...
How do you use this great new API in connection with Java? Do you use just pure native process API like nativeProcess.standardInput.write() and nativeProcess.standardOutput.read() with which you cannot debug Java side neither invoke remote java method. Or you are using some library that leverages remote method invocation such as flerry l...
My itemrenderer has 2 custom states, no hovered state, and no normal state
<s:states>
<s:State name="state1" />
<s:State name="state2" />
</s:states>
When I initialize it, I force it to go to state2. The problem is that when the mouse rolls out away from the item, it relapses back to the first state state1. It's kind of weird ...
Hello..
I am trying to do the move vertically animation on a button nested in the vertical layout. I am not sure if the Hgroup restricts the button moving vertically. Are there ways to go around it? Thanks for the helps.
<s:states>
<s:State name="default"/>
<s:State name="addRecommend"/>
<s:State name="seeOther"/>
</s:states>
AS:
...
What are your advises on using model driven development in developing enterprise applications. Adobe's LiveCycle Data Services looks very promising, I have found numerous tutorials/videos that shows how fast an application can be build by having methods/functions auto-generated.
What are the best-practices, is it good/bad to use those a...
How can I have one tile for two columns in a Flex datagrid, like the example "Identification"
...
Right now I am using an apply task inside of an antrun execution.
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>compile-default-theme-css</id>
<phase>compile</phase>
<configuration>
<tasks>
...
I would like to be able to operate a scanner from my AIR application. Since there's no support for this natively, I'm trying to use the NativeProcess class to start a jar file that can run the scanner. The Java code is using the JTwain library to operate the scanner. The Java application runs fine by itself, and the AIR application can s...
Is there anyway to create a custom item editor based on the dataField value? For example:
<mx:DataGrid editable="true" dataProvider="{_actionArr}" id="prop">
<mx:column>
<mx:DataGridColumn headerText="Component" editable="false" dataField="label"/>
<mx:DataGridColumn headerText="Value" editable="true" itemEditor="{data.ie}"...
I am using Mate version 0.8.8.1 for my Flex Framework. RemoteObjectInvoker (http://mate.asfusion.com/page/documentation/tags/services/httpserviceinvoker) allows you to set showBusyCursor="true" but not HttpServiceInvoker. Is there something I'm missing?
...
Hello,
I want to access a webservice:getMonitorData() , on creationcomplete and returns an array, in an infinite loop so that the getIndex0.text is updated each time.
Flex is not able to handle an infinite loop and gives a timeout error 1502. If I run the for loop until i<2000 or so it works fine.
How can replace the loop so that my w...
How can I validate the cells in a DataGridColumn individually? (ActionScript 3.5) The validation is configured per-cell, based on fields in the given row. For example
FIELD VALUE TYPE
age 13 Integer
height 13x3 Integer
registered true Boolean
temperature 98.G6 ...
is it possible to move a flex mxml project into flash?
i have the project complete in mxml with actionscript but due to the fact that flex is limited in its visual animations ( no timeline! ) i would prefer to switch to using flash.
the project is relatively huge, all done in mxml and i cant just re-create it in flash, it will take mon...