I am working with Flex, Flash, Action Script and I want to browse the local machine file system using Operating System's file browse window and select a file then i want to get the full path of the selected file. How can I do this? Please give me some code.
Thanks in advance!
...
Couldn`t find any ActionScript native APIs even in the beta documentation, am I right supposing that this means the only way to measure CPU / memory consumption is by cooking up a custom native solution, hooking it up with AIR and making it work on each targeted platform?
Basically the aim is to be able to have this information availabl...
Hey there,
I'm trying to build a conditional statement that will addChild and removeChild at different Timer Delays. Before I go any further, I thought, I should mention that I'm usinig TweenMax to ease the alpha of ease Child from 1 to 0 and back during the process to imitate a fade-in/out.
I'm getting issue with only one line - insid...
I have a large project built in as3. Part of its main functionality is to load and unload various as2 swfs. The problem is that the memory ins't free up once they are unloaded.
I have access to the as2 swfs code base and destroyed all objects, stopped and killed timers, listeners, removed from stage, destroyed all the MovieClip.protoyp...
We are going to develop a simple chatroom in flex using Red5.
Should we store UserList in a Remote Shared Object or Server Side List?
Are there any example exit on Red5 or FMS , which uses Server Side programming and Remote Shared Objects? Red5 examples are not documented at all.
...
I'm working on a large Flash CS4 project with multiple swfs and want to consolidate my build process. Are ant/make overkill or have people out there successfully used them on large Flash projects?
Thanks
...
Hey all, what is the Actionscript 3 equivalent of PHP's deg2rad function?
...
According to the pixel bender specs a shader can have one or more outputs. The pixel bender toolkit, whose "export to flash" option tends to be preety strict about the flash specific do's and dont's, would even compile such a shader without complaints.
However actionscript's shader related classes seem to be geared toward single output ...
In a sane world, this works as expected:
var array:Array = ['a','b','c'];
trace(array.indexOf(array[0])); // returns 0
In an insane world, this happens:
trace(Screen.screens.indexOf(Screen.screens[0])); // returns -1
... if Screen.screens is an Array of the available instances of Screen, why can't that array give an accurate indexO...
Hi there,
I'm getting some strange behaviour in my Flash movie, only in Firefox for MAC (3.6.2).
Basically, the mouseX and mouseY properties of all display objects become massive numbers: > 100000000. This issue only occurs on Firefox, it is not present when the movie is run standalone, nor when it is run on any other browser.
The swf...
I'm trying to build a Flex AIR app using Flex Builder 3, which I'm just getting started with.
In Flash CS4, there's a text field in the authoring environment where you can specify a class that will become the "base" class - your class inherits from Sprite and then "becomes" the Stage at runtime. Is there a a way to do the same thing wit...
var arr1:Array = new Array();
arr1.push(item1);
arr1.push(item2);
arr1.push(item3);
then arr1 and its elements get passed to other functions
is there a way to know the index of an item in the array?
GetParentArrayIndex(item2) would give me 1;
...
Have you seen AS SSH Client?
...
Hi,
I have the following code in my XML (EDIT:) which I am trying to show in a RichText using htmlText.
<ul>
<li>List Item 1
<ul>
<li>List Item 2</li>
</ul>
</li>
</ul>
Unfortunately, Flash doesn't seem to support nested lists, and I am getting output which looks like this:
List item 1
List item 2
Where I want the sec...
Hi,
I am looking for a fairly simple image comparison method in AS3. I have taken an image from a web cam (with no subject) passed it in to bitmap data, then a second image is taken (this time with a subject) to compare this data, from these two images I would like to create a mask from the pixels that match on both bitmaps. I have been...
Hi,
does anyone know how to encrypt the parameters that are passed to a flash movie? The case is, that the user should not be able to read the parameters in the source code in plaintext.
And of course, I have to able to decrypt the parameter in actionscript 3 ;-)
thx,
tux
...
Hi,
I have a main swf which has sound on/off buttons. It has many SWF's which are loaded into different placeholders at different time. All of them have different sounds in them. In addition to that there is a music loop going on in the background.
Now, this perticular swf lets call it Father will be placed in some swf later on. What I...
Is there a work around for European Buckets and aws-s3 with RoR?
Thanks!
...
Can I change mouse cursor for textfield to appear as a clickable object?
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.net.*;
import flash.text.*;
import flash.ui.ContextMenu;
import flash.utils.*;
import mx.core.*;
...
How do I loop through all of my children, and display each? I would like to know the best
way to do this.
my children and containerfive children, one plays every sec, 1,2,3, etc.
var square1:Square1 = new Square1;
var square2:Square2 = new Square2;
var square3:Square3 = new Square3;
var square4:Square4 = new Square4;
var square5:S...