I have assets in external swfs which I load. I would like to know the exact size of the stage and the position of the asset in the fla that created it. If I try to ask the resulting MovieClip for it's size, it turns out it gives me the size when it is trimmed down to the tightest box around the non-transparent pixels. Looking at the c...
I have 2 files, 1 to dispatch the event and 1 to receive it (of course in addition to the event class itself).
I've done this before with both dispatching and receiving files being mxml, but this time the dispatching file is an actionscript class, and it's not working this time. Is it different for actionscript classes?
Here's a dumbed...
I have got a simple flex client requesting some data from a php script. I am using URLLoader to pass the parameters to the php and wait for the response. Since the value of the parameter can contain any character, I was using escape function on the flex side to pass the value to the php script. I figured out that flex escape does not wor...
I am having a column series with two columns side by side.
<mx:ColumnSeries xField="period" yField="FirstCalls" displayName="1st calls" />
<mx:ColumnSeries xField="period" yField="SecondCalls" displayName="2nd calls"/>
I am facing a problem here. If the 'FirstCalls' field used in the first series is more than some 4000 then it is not ...
Hi,
I have a desktop application made in Flex using PureMVC multi-core and Sqlite as back-end.Now, I want to write integration tests.The proxy layer makes database calls using async method of SQLConnection.And, the result-handler throws notification.I want to test that expected values were modified in tables.Any ideas,how can this be do...
I tried with flex and java in the backend. In this, I am able to upload files till 100 MB using remote object (blazeDs) where we will read the file as byte array and send it to the java method. If the file size exceeds after that, then I get the run time error in IE.
...
I'm creating a class that extends another class.
public class ASClass extends UIComponent{
}
but I'm trying to make it extend multiple classes. Is this somehow possible? I read it may be possible through composition?
...
Hi chaps,
I'm trying to load a module from an air application. Using ModuleManager. My loading code looks rather like:
public function loadModule(lib:String):void
{
//lib = "file:///path/to/my.swf"
var moduleInfo:IModuleInfo = ModuleManager.getModule(lib);
moduleInfo.addEventListener(ModuleEvent.READY, moduleLoaded);
moduleInfo.addE...
Hi guys,
I have created a flex chart with multiple Y axis. I want that it shows origin for one of the data series. It shows the line, but on the wrong plase.
Maybe it is because I didn't tell to GridLines which axis use as a source? But, I am not sure if it is possible to do...
Please help if you know how to show horizontal origin on ...
I have a components and classes project library. Within the library, flex builder only seems to display content/code assist options for top level classes (e.g. arguments, Array) but not other classes such as VBox. Also, within the non top level classes, class properties are not provided by content assist.
In my other flex projects in th...
Is it possible to completely remove the sort arrows on an AdvancedDataGrid header?
I know that you can kinda do this by using
<mx:AdvancedDataGrid sortExpertMode="true"/>
and I even tried using
<mx:AdvancedDataGrid sortExpertMode="true">
<mx:columns>
<mx:AdvancedDataGridColumn sortable="false" />
This doesnt work be...
One application is loaded from the other using SWFLoader.
...
I have some generic functions like copy, paste,etc in an AS file. I want to use them for editing data present in different mxml applications embedded in one application. If I pass the child's component id as a parameter of a function in one of the events, I get the value as either null or the parent app name. But I want the id of the chi...
Hello!
How can I send a message to the currently logged in user from inside a Flex application contained in a Facebook iFrame and using the official AS3 Library for Facebook please?
...
Dear friends,
While making my choice b/n Array and Arraycollection I get confused why whould I use one and why not another.
I have read the theory in langref but apart from that is there some general advantages/disadvantages of one over the another that you have learned from your experience.
Thanks in advance.
...
I've been having trouble creating a mechanism to allow the user to select a span of time from a timeline. Basically i want them to be able to click and drag horizontally, and retrieve the start and end positions of that event.
I especially need to include the case where the event goes off the edge of the screen (even if the end positio...
Hi there,
i allready searched abit around here and found the solution to call a fx:script function defined in a mxml from a AS class.
// MXML
<fx:Script>
<![CDATA[
public static function write(text:String):void{
myTextfield.append(text)
};
]]>
</fx:Script>
// ActionScript Class
import MXMLPackage
private function c...
I'm not sure I'm using the right terms. Long ago I tinkered with Eclipse and recall there were "environment variables" that could be specified in project settings and compiler directive fields in the GUI itself to customize builds. I believe the syntax was similar to ant properties, like ${env.HOME} for inserting the user's home direct...
Hi,
I've got OpenX working on my Flex site. But, I'm having problems getting OpenX Market working. At the moment, I only get my OpenX dummy ad-- no OpenX Market ads are displayed.
So, I set an alert on the img tags and looped through the return. I'm trying to figure out whether the img tags that are referenced are correct.
The odd on...
I have a VBox, I assigned a handler to click, and inside the VBox I have components such as images and texts with no handler assigned for click. Would the click function be called when I click on the text and image? If not how can I make it so without assigning handlers individually, but on the container level?
Thanks
...