I load many images simultaneously with different Loader class. When loaded I add content of loaders to the movieclips which are child of some other movieclip which is child other... I check that images are loaded addChild method is called, but loaded images cannot be seen on the screen.
Actually, sometimes images can be seen, but someti...
Why is encryption algorithm may give different results in AS3 and PHP?
In AS3 I use library from http://labs.boulevart.be/index.php/2007/05/23/encryption-in-as2-and-as3/.
And in PHP I use RC4 Cipher.
Could some tell me what is the problem? Thanks.
...
how can we implement movable flex buttons or other controls on canvas or SBorderContainer ? any clue, or solution..
...
Hi all!
I can't get flash to show ä,ö and ü in TextField.
System.useCodePage = true;
does not help.
Any help will be appreciated.
...
Hi,
I have a very simple doubt. I have declared an array using <mx:Array> ... </mx:Array> with objects in it. Now If I have to make it bindable the how can I do it?
Thanks in advance.
...
What is the purpose of quick fix in Flash Builder 4? I have tried using it to auto create event listener functions, class methods or properties, local variables etc but none of these work. Does this functionality only exist in FDT? If so what does quick fix do in FB4?
For example:
myEventDispatcher.addEventListener(SomeEvent.EVENT_TYPE...
How would I use the following AS3 class within MXML?
AS3 Class:
package mtm
{
import flash.display.MovieClip;
import flash.display.Shape;
public class TestClass extends MovieClip
{
public function TestClass()
{
var s:Shape = new Shape();
s.graphics.beginFill(0x000000, 1);
s.graphics...
I have a flash polling application that is working properly most of the time. This swf uses flashvars to get the xml file that populates the chart. You can embed this flash chart in other places and if you click on the logo, it will take you back to the chart homepage.
When you access the chart url directly, it works fine. The embedded...
I'm currently building an application in Flex that utilizes SMTP Mailer to automatically send out emails to the user when a particular condition is satisfied. The application checks this condition every 30 seconds. The condition is satisfied based on new records being returned from a database table.
The problem is as follows:
When the ...
If I have a MovieClip with its "visible" property set to "false", would it aid performance to "stop()" its timeline? Or will that have no effect, since its not being rendered, anyway?
...
I have my preloader loading my main swf where I'm loading another swf that contains a background.
When my preloader is done it shows my main swf but it takes a while after that for the background to load.
Whats the easiest way to get my preloader to wait until the background swf is done loading?
...
I have an event listener for a custom event type. This custom event overrides the clone method as required.
In this event listener I want to dispatch an instance of a different type of event... a different custom event instance altogether. It also overrides the clone method as required.
The problem is I'm getting a type coercion error...
Hello,
I have an issue with my ExternalInterface.
The way it is currently set up is, on the page load up, a boolean is set to true in JavaScript and then checked by ActionScript constructors (using a timer) until it is true. This marks that JavaScript is ready to get calls from AS3.
At this point, AS3 will add the callback and do some...
Are static members slower to access than instance members in AS3?
...
In Actionscript...
If I Have an XML variable that equals this:
var X:XML=XML("<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" xmlns:ns1="Tools.*" minWidth="684" minHeight="484" creationComplete="Init();" xmlns:ns3="Components.*" initialize="I()"/>");
And I try to list the attributes via:
var AList...
Is it possible to add a attachment to a mail with the mailto function in actionscript 3?
Thats the thing, i want to open the default mail program compose window with some data but i also need to add a file as attachment, and that file must be a screen capture of the app.
Im doing some research and cant find nothing even close to this, so...
Using "introspection" In Flex I can say:
var classInfo:XML=describeType(SomeObject);
Which will list for me the Accessors, Methods And Variables.
(http://livedocs.adobe.com/flex/3/html/help.html?content=usingas_8.html)
But what is the equivalent to programmatically inspect all of an object's possible EVENTS?
(NOT JUST the events f...
i've only ever created external .as files that extended a class such as sprite. now i just want to create one that doesn't extend anything and call it from a frame script.
package
{
public class Test
{
public function Test(val:Number, max:Number)
{
trace(val, max);
}
}
}
from my frame script of an ...
I have a 2d plane rotated on its x axis, with 2d display objects I want to move around on the plane. Its pretty similar to a chess board:
http://static.open.salon.com/files/chess011237853612.jpg
The board is a rotated rectangle, and the pieces are just 2d display objects. Whats the easiest way to manipulate those objects so they appe...
When I try to access the uncaughtErrorEvents dispatcher when loaded directly, everything works well. But when I try the same code when loaded by another swf I get a reference error.
protected function onAddedToStage(e:Event):void {
trace("Flash version: " + Capabilities.version);
try {
loaderInfo.uncaughtErrorEvents.addEve...