I'm working with a Flash movie and I'm trying to get the size of the player itself (i.e. the height and width Flash has to work with from the object/embed tag). As far as I can tell, Flash doesn't make this available to ActionScript.
I'm able to use this.root.loaderInfo.width and this.root.loaderInfo.height to get the "intended" size of...
I have a string which is ultimately the id of a CheckBox.
What I need to be able to do is to access the CheckBox's properties from the string
var myCheckBox:Object;
var myString:String;
myString = "checkbox_1"
myCheckBox = Object(myString); ?!?!
... and then I'd need to get to myCheckBox.selected, and myCheckBox.label etc
...
I noticed this full flash site and wonderring
http://www.houseoforange.nl/site/#/Photographers/Philip%20Riches/editorial%20women/
How can I apply the resize method like the way they did?
Any examples might help me a lot.
I have one main.swf and page.swf which loads within main.swf.
My page.swf contains thumbnail images, and it's alrea...
Ok, so mouseOver and RollOver, and their respective outs work great as long as your mouse is actually over the item, or one of it's children. My problem is that I may have another UI component "between" my mouse and the item I want to process the mouse/rollover(maybe a button that is on top of a canvas, but is not a child of the canvas)....
Is there any way I can get a list of all the classes in a particular package?
I know getDefinitionByName, getQualifiedClassName, and getQualifiedSuperclassName in flash.utils can find me a class, but I can't find anyway to find all the classes in a package at runtime.
...
I'm working on a large-size dual AS3/Flex project (some parts are pure AS3, other parts are Flex), and I'm experiencing a lot of Flash Debugger crashes.
These crashes aren't completely random - it seems like I can get them to occur with greater consistency when I perform certain actions in my app. However, at the same time, they aren't...
I am extremely frustrated. I'm following a tutorial and mimicing it on my own. I've been able to sort out most of the errors so far but this one has me stumped. I have tried replacing all of the class files with the tutorial specimen ones but i still get the error.
TypeError: Error #1009: Cannot access a property or method of a null obj...
I'm seeing something weird in my actionscript code
I have two classes foo and bar, bar extends foo. In a model class I have a foo member variable, I assign an bar object to the foo variable. But after the assignment the foo variable is null.
[Bindable] public var f:foo;
public function someFunc(arr:ArrayCollection):void {
if(arr...
i was wondering that how to load a single symbol from a swf file contatining many symbols.
we can use this symbol in CSS but my point is how we can display it on canvas ? as SWFLoader loads the whole SWF but i need.. only one symbol.
...
how i can display a symbol from the .swf on canvas.. i have exproted the .fla file from the flash CS3 as .swf file...
...
Hi, I have a question:
In Flash, I have the ability to save certain info onto the server.
Now the problem is the user needs to be authenticated as admin in order to do so.
I can't use sessions, since if you work longer than 20 minutes in the Flash application,
the session is gone.
The way I see it, I have 2 possibilities:
1. passing a...
Dear All,
I'm looking to browser based map solution like google interactive chart map. I googled and i looked to smilar solution, but i didn't find good solution for it. It should be possible to created on flash, silverlight, ajax etc.
And should be change parameters easyly via javascript or sth. But i didn't like google chart beacu...
Is it possible to get the content of a ppt file with as3? Possibliy similar to loading and reading an xml?
...
Hi,
A couple of days ago I asked a question about how to replace and edit values in an xml file with c#. The question got a great answer. Now I wonder how to do this in Actionscript and if there is an as simple way as in c#.
The question can be found here:
http://stackoverflow.com/questions/2856459/advanced-replace-in-c
Thanks
...
I'm employing color in a current AS3 project, and have come across what appears to be an error in the Flash Player (version 10). it might also be an error with Apple's DigitalColor Meter (version 3.7.2), which is what i'm using to sample the displayed colors on Mac OS X Snow Leopard (version 10.6.3).
//Primary, secondary, and tertiary ...
Hi everybody,
I would like to know if it is possible to load an external movie and add code with ByteArray inside, in order to add anymore properties, functions or why not Sprites?
Regards,
Stephane
...
We are in process of optimization of Flex AS3 Application.
One of my team member suggested us to make varible name length smaller to optimize the application performence.
i.e.
var IsRegionSelected:Boolean = false; //Slower
var IsRS:Boolean = false; //faster
Is it True?
Please provide your views...
...
is it not possible to define a static const array? i would like to have an optional parameter to a function that is an array of colors,
private static const DEFAULT_COLORS:Array = new Array(0x000000, 0xFFFFFF);
public function myConstructor(colorsArray:Array = DEFAULT_COLORS)
{
}
i know i can use ...args but i actually wanting to s...
Hello i need to know there my flash application is running.
in object src my domain. but flash running on others domains.
and i want to know where. and send it with request on my server.
Thanks.
sorry for y bad grammar.
...
How to work with specific mouse buttons such as xbutton1 and xbuton2?
...