Hello all
I have some experience of developing in Flex/Actionscript using Cairngorm framework. At that time I had no prior experience of ActionScript/Flex and it took me some good 3 months to get started with seriously developing an application. That time too, I was skeptical developing an app based in Flash, which won't be viewable on ...
i have this:
public class AditionalPane extends BorderContainer {
//.....
private function storeRetrievedData(e : Event) : void {
var titleLabel : Label = new Label();
titleLabel.text = "Members: ";
titleLabel.height = 100;
titleLabel.x = 1;
titleLabel.y = 1;
//titleLabel.vis...
microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, gotMicData);
the event gotMicData is never fired.. however i tried using dispatchEvent but that will return null byteArray..
However similar code works fine in Flashcs5...
import flash.events.SampleDataEvent;
import flash.media.Microphone;
import...
I am absolute beginner in Flash, and AS3.
I need to make dynamically some amount of buttons in web page. I must use Action Script and MXML.
If It will be PHP I will call echo function.
So help me please.
...
I want to compress XML in Flex, send it to Java, decompress it in Java and recompress it in Java, resend it to Flex, decompress it and use it.
How to do please ? thnx
...
What is the use to event extend the cairngorm event in cairngorm framework.?
Can anyone explain about the cairngorm event.
Thanks,
Ravi
...
I need to build a room designer, ultimately in Flex (Flash Builder 4). The part I am having trouble with is creating the room outline AND allowing the user to add/remove/move points to edit the room's shape. See this application for what I mean:
http://www.deltaportercable.com/shopdesigner/
I know how to create a normal Rect, but not...
I am adding child as:
containerComponent.addChild(newComponent);
But, it adds it as last child. How can I add newComponent as first child of containerComponent?
...
Hi,
I'm trying to find a way to calculate the area of a polygon using lat long coordinates in a Flex 3 site. Hong007 on Google Maps for Flash group was cool enough to post the following function:
private function GetPolygonArea (polygon : Polygon):Number
{
var nVer : int = polygon.getOuterVertexCount();
...
Hi all,
So I know BlazeDS's standard MXML syntax for creating remote objects. Ex:
<s:RemoteObject id="sim" destination="SimulationWebService" >
<s:method name="getAvailableTargetNames" result="setTargetNames(event)" />
<s:method name="getAvailableToolNames" result="setToolNames(event)" />
<s:method name="ge...
In flex, I am handling event like this,
myImage.addEventListener(MouseEvent.CLICK, redoOperation);
Now, I want to pass some value to redoOperation. (function redoOperation(myId:String)) How can I pass String to it?
...
How do I change the application state in code, using a variable? when I provide a static string it works fine, but not with a variable.
For example, this works:
(parent as mx.core.Application).currentState= 'history'
And this does not:
(parent as mx.core.Application).currentState= @data
Yes, I know that @data is being populated, a...
I create an HBox, fill it with a grid of buttons, and set the scroll policy. When I resize the window, the stage changes size, and so does the HBox ... to a point. Once it reaches the height of the Grid it contains, it stops shrinking, like it has a "min-height". This ruins the scrollbar that I'm trying to establish in this case.
I've ...
I am adding a flex image component to a mx:canvas component with a fairly large image. I have the horizontal and vertical scroll policies set to "on", but when I add the image to the canvas, it doesn't expand to show the whole image (the scrollbars aren't activated).
Anybody else have this issue.
The code is pretty straightforward:
<m...
Here is how I usually write the compile task:
<compc keep-generated-actionscript="true"
include-classes="Class1 Class2 com.package.Class3"
output="${module.output.dir}/output.swc" fork="${flex.fork}" maxmemory="256m">
<source-path path-element="${module.basedir}/src"/>
</compc>
What I'm looking for is a...
So I'm trying to get sound on my flex application.
Then tried to load an swf movie with only audio in it.
But when it loads on init(), it loops non-stop.
Here's a sample code:
[Embed(source="assets/alert03.swf")]
private var alert01Swf:Class;
private var alert01Loader:MovieClip;
private function init():v...
How I can make a cursor with an image, but the mouse click area must be at the center of the image
In addition, if any way to change the img size this will be great
...
I am trying to save out a large image from flash using bitmapdata and the jpegencoder. I am looking into the limitations of this process and have noticed you can only set bitmapdata pizel width and height to a certain amount and this might be flexible with what you set the jpegencoder quality to (1-100).
Does anyone know what the specif...
So I have a PHP proxy that gets information from a website. Let's say the proxy gets the information from (www.example.com). It checks if the number of lines returned is the same as before, if not then there are more lines, it counts the difference then it need to push this information to the Flex client saying that it has new informatio...
I have a html paga which loads a flash(flex) swf file. Using https it loads successfully with Chrome, Safari and Firefox, but not with Internet Explorer.
Another page, a simple aspx page, does load in Internet Explorer using https (and no flash in it).
Haven't found anything so far on the internet to solve this... Anyone?
UPDATE: When...