Buttons in flex can be pressed with the space key, but a client would like to press enter instead of space. This can be achieved by programming each button, but it would be very time consuming.
Does anyone have an idea how to do this in the less amount of time?
thanks.
...
Hi,
Ive made a query in PHP, and I'm trying to send the results back into Flash via AS3, but it's throwing up this error...
Error: Error #2101: The String passed
to URLVariables.decode() must be a
URL-encoded query string containing
name/value pairs. at
Error$/throwError() at
flash.net::URLVariables/decode() at
flash.net...
In Flash 10/AS3, I added some sound and it seems to be working alright, but I think I'm doing it wrong. I imported the sound into the library, but I believe that it's reloading it from the folder with the swf/sound. I'm loading them like so:
var request1:URLRequest = new URLRequest("CLICK8C.mp3");
clickSound = new Sound();
clickSound.ad...
anybody knows how to control the volume of the microphone with a slider ?
...
Hey,
I have been given an SWF to edit a link in the AS code.
The fact is the SWF uses some XML that is generated (actually retrieved) by PHP code from a database.
menuXML.load("/sub/page/dynamic.php?genre=" + genre);
so the point is we can use the same SWF 'mainfraim' and fill them with different animations/sources based on the link ...
Hi
Newcomer to Objective C and trying to translate concepts and sytax I know from ecmascript based languages to Objective C.
Is it proper to think of the .h header file in ObjectiveC as an Interface in Actionscript?
Lets take the following code example in Objective C which calls a method containing 2 arguments
[myTextObject setString:...
Here's an interesting architectural query. I have a piece of code that needs to run on the server (under Node.js) and on the client (in a Flash 10 app written with Actionscript 3). The code is mostly fairly intricate object manipulation, it doesn't make any API calls, and works fine in both contexts.
So far the project is just a demo, ...
How can I skew a Textfield in order to set a ascending space for each line.
Following image should illustrate my intention:
link to example
...
Hi All - I am still a bit of a beginner at AS3, so bear with me, please.
I have created a loop to instantiate tiles on a board. In the following example, "Gametiles" is an array containing objects of class "Tile" which is a class that extends MovieClip. "Game" is a MC that I added to the stage in the flash developing environment.
for...
I'm relatively new to flash, and is confused about what I should use to store and retrieve key value pairs. After some googling I've found various map-like things to choose from:
1) Use a Object:
var map:Object = new Object();
map["key"] = "value";
The problem is that it seems to lack some very basic features. For example to even get...
My movieclip clipArt_mc receives movieclips that are loaded dynamically from a listbox selection using:
var myLoader9:Loader = new Loader();
I apply color to clipArt_mc using the following:
var trans3:Transform = new Transform(MovieClip(parent).design_mc.clipArt_mc);
I would like to access the nested or loaded in movieclip insid...
So If I play one sound I use
sound = new Sound(); ...
sound.addEventListener( SampleDataEvent.SAMPLE_DATA, onSampleData);
sound.play();
And so I'll get data, but If I have 20 sounds playing and I want to get data from the sound I here as a resalt of data mix of all that sounds... How to get it?
...
I have an SWF loading in an SWF containing a papervision scene.
I've done it before yet problem is, I get an error - I'm not sure what the issue really is.
private function downloadSWF(url:String):void
{
trace(url);
var urlRequest:URLRequest = new URLRequest(url);
var loader:Loader = new Loader();
loader.contentLoade...
I'm trying to play some sounds in my flash project through action script. However for some reason in my code the call to Sound.play takes from 40ms to over 100ms in extreme cases, which is obviously more than enough to be very noticeable whenever a sound is played. This happens every time a sound is played, not just when that sound is fi...
I'm loading a swf-file from my program written in as3 using the flash.display.Loader class. When I'm using the debug build configuration in FlashDevelop everything works fine. But when I'm using the release build configuration the program freezes for around two seconds efter the loader sends the progress events and before sending the com...
I have a controller.swf which loads an external swf into a movieclip.
news_mc = loadEvent.currentTarget.content as MovieClip;
the swf is called "news.swf" and has a movieclip on the maintimeline, frame 1 called "sb".
I have tried everything to access this such as
mews_mc.sb.alpha = 0;
but nothing works?
...
I'm setting out to develop a number of Facebook applications/games, which make use of some Facebook user information and stores game info in a database backend etc, in ActionScript 3.0.
How can one leverage the new Graph API
Should I use JavaScript or PHP as a "middle layer" or should I go with the ActionScript Client Library?
Are ther...
Hello,
I am doing this simple project using Flex 4 SDK and I got stuck with this simple problem: I have turned sortable property for AdvancedDataGridColumn to false, but the column header is still rendered as:
As You can see, my label for this header is "06", but the column header is divided and it keeps the place for sort arrow.
How...
How can I add an MXML component as a child of the main application using ActionScript. It's not possible to instatiate it, is it? Assuming that behind every mxml file stands an actionscrpt3 class, I tried to import it but id didn't show up.
...
EDIT: Due to the answer I change the code posted. I've added the Security.allowDomain("*") line and that line throws me an error. So, how can that be made?
I want to run an Action Script 3.0 Application into a Flex Application. To do this I've done the following:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication windowComp...