Hi,
I've encountered a memory problem using FileReference.save(). My Flash application generates of a lot of data in real-time and needs to save this data to a local file. As I understand, Flash 10 (as opposed to AIR) does not support streaming to a file. But, what's even worse is that FileReference.save() duplicates all the data before...
Is this possible? I would like to have a main swf that can be viewed by users who either have flash 9 or flash 10 installed. Inside of this swf, a separate module will be loaded only for users who have flash 10 installed. This module will use some advanced flash 10 features.
...
This one may seem basic but I don't know how to do it - anybody else?
I have a string that looks like this:
private var url:String = "http://subdomain";
What regex do I need so I can do this:
url.replace(regex,"");
and wind up with this?
trace(url); // subdomain
Or is there an even better way to do it?
...
I have a little Adobe Air app and I want to have several 'views' within it. I can achieve these views using a ViewStack but am having difficulty finding a nice way to animate between them.
This is what I have tried and although it works, one view disappears before sliding into view when what I want is more like the DestroyTwitter app wh...
Is there any way to call an action script function from an anchor which defined in TextArea component's htmlText property.
Thank you
...
I'm working on a very large flash project that shares code extensively across runtime libraries. I'm evaluating whether to obfuscate our code, and which obfuscator to use, and I'm having trouble finding one that fits the bill.
-Many RSLs, many source trees and projects.
-We use some dynamic properties, so I'd like to have a good deal of...
How, ultimately, does papervision3d (the popular 3D rendering package for Flash) draw transformed textures onto the screen?
Is it internally using any of Flash's rendering apparatus - i.e. by drawing textures into DisplayObjects and transforming them, or with 3D MovieClips for example? Or perhaps filters? Or is it ultimately just readin...
I'm a C# developer who is trying to learn some AS3, so this is going to be a pretty newbie question.
I'm getting confused with regards to scope and GC, as I have a custom MovieClip-extending class (Slide) which I create instances of within a loop and push() into an Array, but afterwards the items are null when I pull them out of the col...
I'm trying to write a very simple/minimal custom video player in Flash CS3
I have a .fla file with 2 MovieClips in my library, Player and PlayButton. The PlayButton movieclip is found on the first frame inside the Player movieclip. Player is exported to actionscript and linked to a Player.as class which dynamically creates a video obj...
should be simple right? but have not found any anwsers :(
...
I'm new to Java, but have some OOP experience with ActionScript 3, so I'm trying to migrate relying on stuff I know.
In ActionScript 3 you can create getters and setters using the get and set keywords, meaning you create a method in the class and access data through a property of an instance of that class. I might sound complicated, but...
Hi,
I've extended the ByteArray class, like this:
[RemoteClass(alias="MyByteArray")]
public class MyByteArray extends ByteArray {}
and cloned an instance of this class using ByteArray#readObject()/writeObject(). However, for some reason, the cloned object is an instance of ByteArray rather than MyByteArray. This is illustrated in the...
I have some interesting problem for an hour.. In my flex project, all width and height properties returns as zero.. i tried this :
private function onEnterFrame(e:Event):void
{
trace(stage.width, parent.width, this.width, root.width);
}
and results :
0 0 0 0
using Flex, sdk 3.2
Anybody could help me?
Thank you..
...
i dowload some animation from http://www.3dfreeair.com . so how can i run without Adobe AIR ?. How can i install in linux os ?.
I am beginner so don't mistake me . i dont know anything about air . plz guys tech me about this .
...
HI All,
I have a AS2 code. I want to change AS3.
Any Migration tool AS2 to AS3.
Please help me. thanks
WIth regards
Viswa
...
I have a flash application that connects to a users webcam using
public static function getCamera(name:String = null):Camera
When the application is done with the use of the webcam it needs to be disconnected since its making use of resources unnecessarily.How can I do this?
Apologies for being a "micro-efficiency" freak. I am not e...
Okay getting some weirdness. I have a simple URLLoader in AS3 that loads an external XML document. It's loading just fine, I get a correct 302 Not Modified response in Charles, however flash tells me:
"URL Not Found"
Here is the relevant code:
//==============================================================================...
I am trying to load a swf written in AS2 into an AS3 swf - using Loader class and listening for Event.COMPLETE. in my onCompleteHandler function i want to add this to the stage so Im trying -
addChild(evt.currentTarget.content)
... but I get the following error message:
Error #2180: It is illegal to move AVM1 content (AS1 or AS2) to...
I just tried to use the Eclipse "move" function to move my project. Instead of Eclipse moving it, Eclipse deleted my project. I have most of it backed up, but I will lose a few hours of work if I cannot recover it.
Does anyone know how to recover it?
Thanks!
...
Hi,
This somehow simple task is not so simple.
I can get the number of lines of the textarea using mx:internals, but thats is not always the longest line ending by a newline.
I tried all sort of textArea.text.split("\n") \r <br/> {/n ..
It always returns me the length of 1.
My eternal worshipping to anyone who can put me in the righ...