Hi
In my Flex application, I use a FileReferenceList that the user can populate with multiple files using fileList.browse() before upload.
I check each file's size and use fileList[i].upload() to upload to my server, this works fine.
I have a suspicion that this is not possible, but before upload I would like to convert each FileRefer...
I have use the mx:Grid layout component to layout some form elements in a manner very similar to an HTML table. However, the result does not stretch out horizontally when you resize the app like an HTML table would. How can I make it do that?
...
Hi i am trying to link flex to django with Pyamf
As a first step i tried the basic Hello World
http://pyamf.org/wiki/DjangoHowto
But that results in an ErrorFault.
I use django 1.0.2
amfgateway.py in the root folder of my project (same level as settings)
import pyamf
from pyamf.remoting.gateway.django import DjangoGateway
from djan...
I have a Google Web Toolkit (GWT) application that utilizes a Flash/PaperVision3D component that I have created. The GWT app places instances of the Flash component on different tabs in a tab panel. During execution of the app, everything works great until the user starts clicking in between tabs. At the GWT level, the JavaScript is chan...
I have BigDecimal objects serialized with BlazeDS to Actionscript. Once they hit Actionscript as Number objects, they have values like:
140475.32 turns into 140475.31999999999998
How do I deal with this? The problem is that if I use a NumberFormatter with precision of 2, then the value is truncated to 140475.31. Any ideas?
...
I'm making a text editor using Text Area. Which user can change font size, family and etc.
This is my code on as:
private function ChangeFont(event: Event):void
{
var mySelectedTextRange:TextRange = new TextRange(thistxtarea,true,
thistxtarea.selectionBeginIndex,
...
Hello world application that uses Flex, compiled with optimize=true has size 178K. How to reduce application size?
We do not like to use RSL, we don't like to avoid Flex.
Largest part of resulting SWF is unused bytecode. Are there any tools to optimize bytecode — drop unused methods, classes, give methods shorter names and so on?
I kn...
We are experiencing disconnects on our Tomcat/BlazeDS/ActiveMQ stack. Although our BlazeDS StreamingAMFChannel is configured with the default idle-timeout-minutes of 0, it seems to timeout after about 30 minutes of idle time (see log). The client does not do any requests during that time and we are also not pushing messages from the Acti...
Are there any tools available for transforming types defined in an xsd schema (may or may not include other xsd files) into ActionScript value objects? I've been googling this for a while but can't seem to find any tools and I'm pondering wether writing such a tool would save us more time right now than to simply code our value objects b...
I have a project which has several components loaded by a single preloader swf.
The preloader swf is strictly AS3 (No flex) and uses Loaders to load two different swfs which both use the flex library (Statically compiled, not rsl).
When I compile all three under linux and run the resulting preloader, one of the swfs fails to load prop...
Given this MXML component:
<mx:TextBox id="test" text="{test2.text.length > 5}" />
How can I get an event dispatched whenever the value of test2.text.length > 5 changes? I've tried ChangeWatcher, BindUtils and PropertyChangeEvent, but no luck :(
Thanks;
[EDIT]
Copying my comments from further down:
Well... I'm actually using...
I've created a swc library. Opening this swc, I can extract the library.swf.
Placing library.swf on my server and using it as an RSL, everything works fine.
If I run optimizer against the library.swf, the resultant library-optimized.swf does not work as an RSL. I get
Flex Error #1001: Digest mismatch with RSL
...
Redeploy the match...
Is there anyway to create an image map in Flash/Flex, and have it as a scriptable element in the DOM through jQuery?
I currently have a standard HTML image map that, when a certain selection is clicked, checks a checkbox on a form on the same page (via javascript). I'd like to replace it with something more visually appealing, so I tho...
We are working on a project that uses Flex and rails with WebORB. Everything was fine and dandy until we started tying the frontend and backends together.
We created a service for interacting with users and another for the session.
SessionService.rb
class SessionService
def view_session
session = RequestContext.get_session
...
Some as3 functions handle overloading by allowing for an arbitrary number of parameters using the convention:
public function doSomething( ... rest ):void;
I am in a situation where I need to pass all the values of an array (of arbitrary length) into this type of function... I am not sure how to do this. Suggestions?
Here is a hack...
Setting up Flex project for group development can be a bit tricky. There are lots of little local settings that might need to be tweaked in order to have a project that can be easily checked out.
I've had limited success using the built-in import/export flex project utilities. I seem to wind up editing by hand a lot and I think I migh...
I want to get the top-right corner of an image in flex .... so far i can just get the x and y which are top-left by default .... sorry im a noob and if this is a dumb question
...
I am processing a FileReferenceList.fileList[] of multiple files a user selects in the following code..
for (i=0;i < event.currentTarget.fileList.length; i ++){
fileByteData = new ByteArray();
fileByteData = (event.currentTarget.fileList[i].data as ByteArray);
loader = new Loader();
loader.contentLoaderInfo.addEventList...
My question is very simple: In flex3, is there a way to load an xml file synchronously?
I know how to load asynchronously, using a load event. This may be useful, or may not. I just want to read the file, parse it, do what I have to do with it, and continue executing code.
I have a component that uses an xml file to store some configu...
The Google Visualization Geomap component is a choropleth map of continents, countries and regions, with colors and values assigned to specific regions. Although it is rendered with Flash, it can only be accessed and customized via JavaScript or GWT API.
Does anyone know an alternative Flash/Flex component that I could easily embed into...