There another person asking the same question here:
http://stackoverflow.com/questions/987130/how-do-i-call-a-remoteobject-method-from-actionscript
but what I need is to add more than one method to the RemoteObject.
Using the other question's example but adding one more method, how would this look in actionscript?
<mx:RemoteObject id...
Are there any general tips on managing scrollbars and maintaing a complex liquid layout in flex?
Here is the scenario:
The application container is full browser screen with a docked application bar at the top.
Inside the app is a general container called "appbox" which contains a viewstack of subcomponents. The subcomponents themselv...
I'm trying to use ANTLR to create a simple math parser targetting AS3 (Flash). I am using the latest version of AntlrWorks (1.2.3) on a Mac and have downloaded the runtime SWC from http://antlr.org/download/ActionScript/antlr3.swc.
The generated code looks fine, but seems to be incompatible with the runtime. There are many compile-time ...
I've just dropped a TabNavigator into my application:
<mx:TabNavigator width="100%" height="100%"
backgroundColor="#F7F7F7">
<custom:SomeCustomContainer label="Details" />
<mx:Canvas label="Reporting" width="100%" height="100%">
</mx:Canvas>
</mx:TabNavigator>
And when the app first loads, everything seems fine:
Un...
Hi All I've to create a flash image gallery as same as like at the given link:
http://movies.yahoo.com/summer-movies/shorts/1810030254
Can someone suggest me any tutorial for or link for solving the given purpose.
Thanks in advance
...
Is there a way, in both Actionscript 2 and 3 to determine the name of a function from the Function object. So for example I want something like:
function Log(message:String, fn:Function):void
{
textbox.text = message + " function name: " + fn.determineName();
}
...
Can anyone recommend an AOP framework for AS3?
...
After prompting the user for the login and submitting it's details, my application appears in the facebook lightbox instead of the browser window.
This is not the case when I remove the SWFAddress params (all the info after the hash in the URL bar).
Is it possible to tell the API to ignore the info after the hash or is there a way i can ...
I made a class, which has to register to the Event.RENDER event so that it will know when the stage is being rendered. The simplified version of my code looks like this:
package
{
import flash.events.Event;
import flash.display.Sprite;
public final class Test extends Sprite
{
public final function Test()
{
...
I want to create a component that has a couple of "holes" that are to be filled in differently on each use. Currently, I'm doing it like this (using the Flex 4 framework in this example --- it would look almost the same for Flex 3):
public var fooComponent : IVisualElement;
public var barComponent : IVisualElement;
override protected ...
I have a mask i'm using for a continuous scroll type thingy, and notice that when my masked sprite gets past a certain pixel size in height (2878) the mask does not mask. Has anyone experienced this? is this a bug?
to reproduce:
create a sprite over 2878 px in height and apply mask, mask breaks
create a sprite 2877 px in height and a...
I have an Advanced Data Grid (Flex) and I am showing numeric values. I am formatting each value by using a labelFunction, which returns a currency formatted value (using a currency formatter).
Let's say the dataprovider holds the value 1000 for the first element.
The first cell of the datagrid will then show $1,000
Now, if I click into...
How can I find the Angle of a line between two points in actionscript 3.
I have an object that dynamically animates out arrows, given the points that represent start, elbows, and then end point.
I need the angle of the line to rotate the arrow at the tip to accurately point with the current segment being drawn
I can easily get the ang...
I've developed a component which is a combination of a few items (canvas, labels, etc...) but when I try to bind it to a variable such as : {stationXML.getItemAt(1).AAA.@value}, it doesnt work. Before I combined all the items in a component, they were all in the main MXML file at which time they worked.
Not sure if it matters, but the ...
I'm used to J2ME where you actually set the view size of the window and you can render just that view size (so anything off the screen doesn't get rendered).
After a google/stakcoverflow search I came up with nothing (maybe bad terms) but anyways how would I go about setting a render area in my flash AS3 game? I dont want anything off ...
Finding the loading time of Swf in browser
Hi,
i need to find the loading time of swf in Milli-seconds,the project is done in flash cs4 prof and its run in browser with flash player 10 ...
Is there any tool to find the exact loading time taken by the application.
Thanks in advance
...
In an AIR app, I am loading a bunch of arbitrary text via JSON, loading it into an object, and displaying it via a custom renderer. I would like to have urls be clickable. So I'm sure that this is possible via some crazy regex thing (as I found for php here), but, Flex being flex, I'm astonished that there isn't some builtin functionali...
When I am debugging my application and I pause the application, looking through the debug window, there is a window which shows the name and value of all my variables. However, for ArrayCollections, it shows something like "(@B3FB02)" instead of the value. I know I can get the values of the various items inside the array by clicking th...
Hi there
The Challenge:
i d like to collect all nodes with the attribute "id".
The Problem:
The code doenst work with nested nodes.
<?xml version="1.0" encoding="utf-8"?><contentmap><fonts id="fonts">
fonts/Arial.swf
swf/library_main.swf
private function onXMLLoader(event : Event) : void {
_xml = _loader.getXML(event.targ...
Hi,
I want to implement an Excel like keyboard (arrow) navigation in an Advanced Datagrid in Flex.
The docu at
http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid%5F11.html
states that arrow keys can be used to navigate around cells. However, in my case that does not work. I can only navigate rows up and down
---snip -...