I have this blank project, just to check out System.totalMemory variable. As far as I can see, i get this values:
3076
3092
3096
3088
3092
3096
3100
3104
3108
3112
3117
3121
3125
3129
3133
3137
3141
3145
3149
...
And so on
I had no Flash open, no Internet Browser, no other instance of flash.
The project is blank, only one static text...
We are loading external swf content into an adobe air application. Content is provided by an increasing number of third parties.
Being third party content, it will be loaded in a separate security domain (trustContent=false) and a sibling app domain (loadForCompatibility=true). We are doing this using the Loader class.
What are the fea...
I have put together an example page detailing my problem
My website is going to have a main wrapper that is set to a max-width property for compatible browsers. It will stretch to 940px across at max. When scaled down I would like the swf to scale proportionately with it. Like an image with width percent applied. The flash movie has the...
I created a new actionscript project using Flex Builder 3 and tried
to run the following file. I get this error :
Definitions: fl.controls:Button could not be found.
All I want to do is, to add a button to the application.
How could I do it?
package {
import PaperBase;
import org.papervision3d.objects.primitives.Cone...
I've been programming in ActionScript for about 6 years now but never heard of the term 'garbage collection' until AS3 came out. Why do we have to worry about it now, and never before? And what, precisely, is it? From what I've read/heard, it has something to do with memory management/leaks, etc. -- and even that I don't understand much ...
Hi,
I want to embed some images at compilation time so I end up with just a single swf.
They need to be inside of an array as I need to modify them programatically and they can be 100s of images. Cant use flex as I want to keep the whole function in actionscript (aka make files smaller)
I found how to do it in flex:
...
<mx:Array id="...
My webpage loads a background flash which will connect to the server using socket.
If a user open multiple windows/tabs of my website, the server will get multiple socket connections. Any idea of how to make sure that only one socket is connected from the same user and same browser?
I am thinking of using Javascript to monitor the wind...
When, in ActionScript, an event is dispatched:
foo.addEventListener("some event", someHandler);
foo.dispatchEvent(new Event("some event"));
At what point are the event handlers executed?
I ask because I caught this at the end of an Adobe developer guide:
Notice that some properties are assigned to the [AsyncToken] after the call ...
I have been trying to understand the way ActionScript's events are implemented, but I'm stuck.
I know that AS is single threaded, which means that only one event handler will be executing at a time, and also means that handlers will be executed in a deterministic order*.
For example, consider the following code:
1: var x = {executed: ...
I am interested in writing games for the iPhone and the Web. Ideally, there would be one language that I could write my games in and it would work on both platforms. I know this is not the case, so what is the best way to leverage code between iPhone apps (Objective-C/C++) and Flash SWFs (ActionScript)?
...
I'm using a mx.containers.Grid to layout some data, and the last column is a set of checkboxes. MXML Code snippet:
<mx:Grid width="95%" height="50%">
<mx:GridRow id="row1">
<mx:GridItem>
<mx:Label id="label1" ... />
</mx:GridItem>
<mx:GridItem>
<mx:Label id="textValue1" ... />
</mx:GridItem>
<mx:GridIte...
I'm using a Flex ColumnChart with a custom dataTipRenderer. I'm able to apply a nice skin with the dataTipRenderer, but am not sure how to move the datatip to be centered.
Is there a way to have the chart center the data tips over the column instead of the normal top-right alignment the chart does?
Instead of:
|tip text|
++...
Is there a way to query an embedded flash element to determine the available methods that can be executed on it via JavaScript?
Edit:
It appears that in IE it's as simple as
for ( i in flashNode ) {
alert(i);
}
After much clicking, they will be some of the very last members enumerated.
Still not able to determine this in Firefo...
Hi when I have an array in actionscript
var arr : Array = new Array();
arr["fsad"] = 1;
trace(arr.length);
and now put an entry to it with an associative string and afterwards count the length I get a length of 0 but why? How can I iterate it now?
Thanks in advance
Sebastian
...
Hi,
Is there a way to get the screen dpi ?
I have tried Capabilities.screenDPI but it is broken, it always return 72.
Any Ideas?
Many Thanks.
...
What is Model Framework for Actionscript 3.0?
...
In Flex, say I have a Class object. How do I get a string for the class it represents?
e.g.:
var clazz:Class= String;
trace(clazz); // this gives "[class String]" but what I want is "String"
...
I was wondering how do you inject metadata into an f4v file with quepoints? I've been reading somewhere that it's either during encoding or a custom actionscript that embeds when the file runs.
...
How to open new re sizable window using flash action script in html page
...
Is it possible to pause / resume downloads with the URLStream object?
...