for some reason this flex 4 code gives me an error but I can't figure out why. In my WindowedApplication I have:
var prefs:Object = fs.readObject();
fs.close();
var rect:Rectangle = new Rectangle();
rect = prefs.bounds as Rectangle;
this.bounds = rect; // error here
Error message:
ArgumentError: Error #2007: Parameter rect must...
Hi,
I'm using Flash Builder 4 to create an application. I need to set an background image for the app. I've pulled through the data from XML.
I am using an <mx:Image> for the background-image. But I need elements to then be added inside it. How do I achieve this? I considered using Layers, but dont know how you achieve this.
Any help ...
I have created a datagrid in ActionScript class and I want to add an Image to one of the columns..I tried to add an image this way..but it doesnot work..Can anyone help me..
[Embed(source="../../../../css/images/redCircleIcon.png")]
public static const redIcon:Class;
var statusRedImg:Image = new Image();
statusRedImg.source = ...
I have a custom Flex Container component written in AS3, called StatisticsContainer. When used in the application, it contains various custom Label components called StatisticsBoxes. So there might be a StatisticsContainer containing 3 StatisticsBoxes: "averageAge", "divorceRate" and "infantMortalityRate".
The StatisticsContainer needs ...
Hi Flex guru!
I need FlexAntTasks.jar for Ant to execute flex unit tests
the one i am currently working with is Beta version Is there any release for it?
...
Hi all,
I've got a problem in an ItemRenderer in Flex 3.5. I've looked at the other posts regarding this error but still can't figure it out. The ItemRenderer is part of an AdvancedDataGrid who's data provider is HierarchicalData. I'm getting the ArgumentError but the trace doesn't go to any of my code. I've gone through in debug mod...
Currently I have a form in a window like this:
<mx:Form>
<mx:FormItem label="Reference">
<mx:TextInput id="reference" width="100%"/>
</mx:FormItem>
<mx:FormItem label="Command">
<mx:TextInput id="command" width="100%"/>
</mx:FormItem>
<mx:FormItem label="Command Field">
<mx:TextInput id="commandField" wid...
Hello there.
Since I found the webpages explaning the bindable propety quite confusing,so I would like to post my question here,which is quite simple,if I declare a variable to be bindable,does that mean whenever I changed the value of this variable in another class,all appearence of this variable will be synchronized to be the same val...
Hello,
I have a function fooA(valueA1, valueA2) which calls web method myWSA(). Upon reeiving the result, it invokes a result handler which inturn calls another web service myWSB(value2). I want to know how I can pass/access this value2 into foo2. These values: value1 and value2 are dependent on the button clicled.
private function foo...
What could be good question to decide if candidate has strong or atleast fair knowledge working with Flex and ActionScript.
...
can anyone help me in building a desktop app that can compile java, c, c++ files and display the results using the flex app
...
My web hosting PHP setting has a hard limit of 200mb for maximum upload size, is there any way to split a video file of 2GB size into 200mb each and upload then concat at server side?
I'll be using either PHP or Flex for upload using HTTP protocol. No FTP.
...
Hi
I created a 9-scalled background in Flash CS5 which is working fine in Flash CS5
But when i imported it as embeded graphic in Flex, and change dimensions in runtime, 9-scalling doesnt work.
Here is my code.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="librar...
hi all, i've been working on texthandler in flex.
the refernce site i m using is http://www.spreadshirt.net/create-your-own-t-shirt-C59
does n e body have worked on multiline text handlers , then plzz give me some guidance, or if u have some code, on which u have worked,
thank you in advance
...
Hi,
I have a flex application written using PureMVC framework.Now,I want to write tests.We are using FlashBuilder 4.Is FlexUnit sufficient for testing? Are there any issues you have faced while writing tests?
...
I have a flex webapp and trying to display some pdf's that I have stored in a mysql database. I am using php.
Is there a way to transfer the pdf file via zend so that the transfer time is quicker?
...
Does anyone know how to recompile Adobe Flex 4 framework RSLs?
I'm using the compiler directive -dump-config to get the build config file that the FlashBuilder IDE is using for compiling my application. I then pass that config file into the mxmlc compiler so I can build from the command-line. The results of the command-line build are ...
I am uing Flash Builder 4.0.1 under Windows 7.
My application write to files in documentsDirectory (the program reads and writes to files in a subdirectory of "My Documents"...):
var trFile:File = File.documentsDirectory.resolvePath(name);
var fs:FileStream = new FileStream();
fs.open(trFile, FileMode.WRITE);
...
I am trying to grab a webpage with actionscript, but keep getting this error (example trying to grab github.com):
[SWF] /get-webpage.swf - 2,708 bytes after decompression
Error: Request for resource at http://github.com by requestor from
http://localhost:4567/get-webpage.swf
is denied due to lack of policy file permissions.
...
http://www.adobe.com/products/flex/media/flexapp/modal.html?width=928&height=732
Doesn't matter which browser I use, it doesn't work and yes, I've installed Flash and I'm able to view flash content on other sites.
Windows 7, 32-bit, several browsers.
...