In my project environment I have 2 projects.
MyApp & MyModule
MyApp loads MyModule. When it loads it attempts to get a class of type DisplayObject and add it to a container of itself.
The problem comes when I try to use a check box / radio button / progress bar.
The check box and radio button appear exactly like normal buttons, and t...
What is the best way to create a 'global event' in flex/actionscript - preferably using a static class?
I want to raise an event to indicate that a stylesheet is loaded in order to show components that require that stylesheet. So I want each portion of the application that requires a style from the stylesheet to listen to an event telli...
We have Youtube videos on a site and want to detect if it is likely that they will not be able to view them due to (mostly likely) company policy or otherwise.
We have two sites:
1) Flex / Flash
2) HTML
I think with Flex I can attempt to download http://youtube.com/crossdomain.xml and if it is valid XML assume the site is available
B...
So I have a flex tree component with a xmllistcollection as it's data provider. I would like to be able to rearrange the leaves and branches in the tree by drag and drop. I want to limit the drop area to the current level of the item being dragged. Like
branch
branch 0
leaf 1
leaf 2
branch x
...
In Flex I have a lot of Move effects and AnimateProperty effects.
What I have found in several different places in my code is that far too frequently the effect stops halfway through for no apparent reason.
I have found this in numerous places in my application and it occurs whether or not I am doin something particularly complicated.
...
How to find the width of the icon which is embedded in a button?
...
Can an XML-RPC call be made and the resulting XML response be utilized by Adobe's Flex?
Would Flex be better served by a non-XML response and if so what format?
...
When writing a custom itemRenderer, how do you reference the height and width of the grid cell that it will be rendered in? In such a way that it will resize correctly when the grid is resized.
I am writing a dataGrid itemRenderer that draws a bar graph in the final column of a table.
I have tried referencing 'this', 'this.parent', an...
Ruby on Rails controllers will automatically convert parameters to an array if they have a specific format, like so:
http://foo.com?x[]=1&x[]=5&x[]=bar
This would get converted into the following array:
['1','5','bar']
Is there any way I can do this with an ActionScript 3 HTTPService object, by using the request parameter? ...
I'm looking to develop a website that will be fairly database intensive and that will be playing quite a few videos. My question is this: I don't have any experience as a programmer and I'm trying to figure out whether or not I should learn Ruby on Rails or Flex...or both. I have several people that are working on this project with me th...
I am trying to link the as3corelib library to use their JSON functionality following this tutorial. But am having trouble compiling it. My command looks like:
mxmlc --strict=true -library-path+=as3corelib.swc --file-specs myapp.mxml
But I am getting this error:
_divided_mx_managers_SystemManager.as(13): col: 14 Error: Interface me...
I'm using the PureMVC framework on a FlexBuilder 3 project. I have already hooked up the ApplicationFacade and have executed simple commands successfully.
I have a ModuleLoader in my entry point Application.mxml and I set the url of the ModuleLoader when the user logs in from the ApplicationMdiator.
Where do I register my module media...
I'm facing this problem again and again, but can't find any solution (except mine, which is not as a good one I guess).
Don't know why, sometimes Flex Builder executes old source codes after making changes. While debugging I see how it steps through a source (e.g. changing local variables) which does not exist (even if I delete all that...
Hey all.... I am having a little bit of difficulty to make the integration between flex and cakephp to work with authentication...
I have an MVC on Flex that comunicates with Users MVC on cakephp. It authenticates and sends me back the logged user, but when I try to access another controller, the value for $this->Auth->user() is allways...
I have a Canvas in a Flex application which has items inside it that cover only about 50% of the area of the main canvas.
i want the canvas to respond to rollOver events for the full area, and not just the area that is covered by the items inside.
I have been setting the following attributes to achieve this :
<mx:Canvas backgroundColo...
This code is blunderous, as it adds a class to an array and later tries to pull it and manipulate it as if it were an object.
private function fail(event:Event):void
{
var myObj:MyClass;
var a:ArrayCollection = new ArrayCollection();
var x:MyClass;
var y:MyClass;
myObj = new MyClass;
a.addItem(myObj);
a.addItem(MyClass); // !!B...
Hello,
We are currently working with Flex creating a web application. We are having trouble taking Arabic text from the user and displaying correctly (like in a chat feature). While presumably Flash 10 will solve this problem, we don't want to force our users to upgrade.
Flash flips the order of the sentence's words. so if I wrote somet...
A few years ago client Java was unsuitable for web development because a remarkable part of web users did not have Java installed. ( I don't remember exact numbers, more than 10%).
Now I see the Google Analytics stats for a big site and it tells that >98% of users have Java installed.
Is these stats very biased by Javascript usage? As...
I have a canvas in Flex that shall be able only to be scrolled in vertical direction, so I set the attributes of the canvas as follows:
verticalScrollPolicy="auto" horizontalScrollPolicy="off"
The problem here is that the vertical scrollbar covers the content when it appears - altough there is enough horizontal room left. I would have...
The most common way of changing a cursor in Flash apps seems to be based on simply hiding the native OS cursor and displaying a graphic (drawn by the Flash Player) inside the Flash rectangle where the (hidden) cursor would be. This is what mx.managers.CursorManager does, for example. The reason why I find this approach unacceptable is th...