I'm trying to do a very simple app in Flash/Flex, that loads an image embedded in the swf itself and then shows it. The thing is I'm trying to do it using the command line only (mxmlc and compc) and without using @Embed, and failing miserably.
I have a very simple Main.as :
package
{
import flash.display.*;
import flash.utils.*...
We have a flex application which compiles fine on windows box using mxmlc ant task but when we try to run the same build scripts on linux, it throws the 'Invalid Embed directive in stylesheet' error indicating it is not able to resolve the path to the image files.
Can someone pls. educate me on if there is a difference in the way the im...
We have an Adobe Flex client talking to a .NET server using WebORB. Simplifying things, on the .NET side of things we have a struct that wraps a ulong like this:
public struct MyStruct
{
private ulong _val;
public override string ToString()
{
return _val.ToString("x16");
}
// Parse method
}
And a class:
...
Hi,
I'm used to play with regexp in languages where I can use parenthesis to capture references. The only thing near that in flex that I'm seeing is the yytext variable. But it's contents are the full matched regexp and not just some part of it.
Isn't the use of back references in flex possible? If so, how can I do it? I can't find any...
I am Using Flex 3 and apache with PHP 5.2.
I am searching for simple as possible way to fill my mx:List with data using POST URLRequest.
In Flex builder I am using the next code
public var variables_se:URLVariables = new URLVariables();
public var varSend_se:URLRequest = new URLRequest("DataProvider.php");
public var varLoader_se:URLL...
Hi,
I'm using Flex 4(beta2) with Ruby on Rails 2.3.5 and using RubyAMF to transfer data back and forth between Flex and server.
I set up Authlogic on the Rails side for authentication.
I wasn't sure what's the best method to handle user sessions. I know this is done automatically with Rails by sending session id with cookie which Rail...
How to calculate the song total time in flex audio player. i want to assign the total time to progress slider.. please any one help me..
Thanks
Aswath
...
[Bindable]public var headingData1:Object = new Object();
<mx:HTTPService id="srv" url="components.xml" resultFormat="object" result="getHeadings(event);"/>
private function getHeadings(evt:ResultEvent):void{
//Alert.show(xmlData.toString());
xmlData = evt.result;
headingData1 = xmlData.root.CIT;
...
Hi:
Using Adobe Air 2.0 beta 2 I want to open a cmd file when the user clicks on a button, but I get "Error #3001: File or directory access denied".
the code:
<mx:Button width="200" height="50" click="OpenFileHandler()"/>
<mx:Script>
private function OpenFileHandler():void
{
var file:File = new File("C:\\OpenIE.cmd");
file.ope...
Fullscreen mode and I have been battling for a while in this Flex application, and I'm coming up short on Google results to end my woes. I have no problem going into fullscreen mode by doing a Application.application.stage.displayState = StageDisplayState.FULL_SCREEN;, but the rest of the content just sits there in the top, left corner ...
I am opening a pop up within a application and problem is that this popup window is not opening correctly when i want to open popup at the end of the application that means popup height decreases and some data truncated in popup window .I am using canvas for pop up.
...
I have a Canvas which has many components inside it and those again, have many components inside them.
getChildren() returns only the top level children. What is the best way to retrieve all the children (children of children of children and so on).
Well, I sorta know how to do this by iterating through the children, but the code is ...
I'm using an Ant build script for my project developed in Eclipse 3.4.2. It's actually a Flex 4 project (using Flash Builder Eclipse Plug-in).
Everything worked ok. But someday something happened and now the executions of Ant build script is silently terminated each time I run it.
When trying to debug Ant script the IDE stops for a mom...
need to make a reusable custom component from the existing code here. So that I can use this code to make this effect(view stack) to work in any direction. In the code it has user specified height and works from downside.
I need to make this component customizable, something like user is able do it in any direction.I need it urgently....
I am creating a TextBox class that extends textArea in actionscript in adobe flex. Let's say I create an instance of this TextBox class called textBox1 and set the text equal to a textArea called textArea1 that contains a sentence:
textArea1.text = "Jack and Jill went up the hill";
textBox1 = new TextBox;
canvas1.addChild(textBox1);
...
Hi,
I'm currently developing a Spring + Flex app. What is the best Flex framework to use? I've been using PureMVC...
Thanks
...
Is it possible to clear a Flex flash.utils.Dictionary? I have a Dictionary that I want to clear (remove all elements).
...
Hello,
I have problem with parallel call (by RemoteObject calss) AMFPHP method.
AMFPHP side:
method_1
methot_2
Flex side:
call method_1
call method_2 before method_1 send result
Result/errors:
in Flex log: Error "delivery in doubt".
In PHP log: Fatal error: Cannot redeclare class AmfphpGateway in (my path)/AmfphpGateway.php on line 6
...
Hello,
I have a Flex application. Surprisingly it keeps my CPU at ~50% loaded (it fluctuates between 40% and 60%) when run on my laptop. The laptop is a 4 year old Dell model - CPU is Intel T1350 @ 1.86GH. The strange thing is that the application keeps my CPU at 50% even though it doesn't do anything. It is a static, rather complex Fle...
var viewStack:ViewStack = new ViewStack();
viewStack.percentWidth = 100;
viewStack.percentHeight = 100;
viewStack.addChild(canVas1);
viewStack.addChild(canVas2);
viewStack.addChild(canVas3);
lb = new LinkBar();
lb.dataProvider=viewStack;
Its only displaying canVas3 contents not canVas1 and canVas2
thanks
...