I am getting an object back from ASP.NET, and when tracing the XML it as follows:
var xml:XML = new XML(event.message.body);
trace(xml);
I get the following output:
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://localhost:49329/">
<string>One</str...
I would like to put an eventListener on an ArrayCollection's length proprety, but I don't know how to go about this.
I want to do this because I only want code to execute when a certain number of things are in a certain ArrayCollection. I want Flex to wait to execute this code over the next object until that length property drops back t...
I have 3 sprites: img1spr, img2spr, and img3spr. Inside every sprite I have some bitmaps.
Every sprite has a name:
img1spr.name=name1;
img2spr.name=name2;
img3spr.name=name3;
Now the names are changing every time a function executes and what I want to know if there is a way to do something like:
getChildByName("name1").getChildAt(0)
...
Acoustic Echo Cancellation (AEC) with Flash AS3?
What do I need?
Open Source Libs/wrappers.
Tutorials and blog articles on How to do it.
...
I want to extend the FileReference class of Flex to contain a custom property. I want to do this because AS3 doesn't let me pass arguments to functions through event listeners, which makes me feel sad, so I need this property to exist on the event target, so I can access it.
I also want to be able to cast extant FileReference objects to...
I have a simple component I created which I instantiate in my main program like so:
newMessage = new MessageDetail();
newMessage.body.text = "Hello World";
I receive the error "Cannot access a property or method of a null object reference" on the second line because newMessage was not fully created prior to hitting the second line of ...
I've worked on some recent projects where I load many swfs and other assets in a main site preloader, then access these items later (from other classes, not within the preloader) with something like this:
mc = BulkLoader.getLoader("site").getMovieClip("gallery.swf");
But during development, I cannot test anything that makes calls like...
I've searched the web but i'm not getting it
This is my flex code:
private function callWS():void{
var ws:WebService = new WebService();
//changed this
ws.addHeader(new SOAPHeader(new QName("uri","header1"),{AUTH:"bla"}));
ws.loadWSDL("http://localhost:49548/test/WebService1.asmx?WSDL");
ws.HelloWorld.addEventList...
How do I make Flex/ActionScript 3 objects eligible for garbage collection? What are the thumb rules?
... apologies if this was answered else where.
...
I need to return the value from my Responder object. Right now, I have:
private function pro():int {
gateway.connect('http://10.0.2.2:5000/gateway');
var id:int = 0;
function ret_pr(result:*):int {
return result
}
var responder:Responder = new Responder(ret_pr);
gateway.call('sx.xj', responder);
return...
In AS3 I can retrieve data via Zend just fine using this:
nc.call("Service.addNewService", responder);
But I'm having trouble when I want to ADD data to the database. To do so I need to pass in parameters to the php class. I can't find any documentation on how to pass multiple parameters.
var params = new Array("one", "two", "etc");
...
How do you make a List control wrap around to a second column (or multiple columns)? Thanks, let me know if there is a solution for this with the List control or some other Flex control.
For example, if you have one list with 42 items in it, but I want to cap the height of a list to 20 items; then instead of having one list with 42 item...
I have a Movieclip with about five FLV movies embedded on its timeline, one after another.
I am loading multiple instances (about 5-10) of this movieclip onto the stage. Once added to the stage, they each play there timelines in a loop.
The problem is that when one of the instances switch over to playing a new FLV, then some of the oth...
I'm receiving a date field from a php file, and I need to format it.
I get this string: "2009-11-12 17:58:13"
I want to convert to "November 12, 2009 5:58:13 pm"
I tried to work with the Date class, but I get stuff like this:
Type Coercion failed: cannot convert "2009-11-12 17:58:13" to Date.
Anyone know of any good utilities for doin...
Is it possible for Flash or possibly Adobe AIR to have access to a local Access database?
I will have either a Flash EXE or AIR application running on a local PC (WinXP). The PC will also have a local Access database. I need my Flash application to get the data from this Access database. How would I do this?
I doubt it can be done with...
Hi,
I'm using Actionscript 3, and am building an image viewer. So far, I have the following functionality, based around the "onClick" mouse event:
1) When viewing the normal sized image, clicking will display a "zoomed" image.
2) When viewing the zoomed image, clicking will display the "normal" image.
Great stuff.
Now I want to appl...
When I make a new Flex application in Flex 4 beta 2 (Flash Builder), then it creates a border around the outside of the Panel in this example of a thick width. It places a border with a shadow on the bottom and on left and right but not top. I want NO BORDER please.
I must use mx:Application because of some older Flex 3 libraries which ...
I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation.
If there's none, which will be a good approach in creating a virtual tour? Flash or Ajax?
...
I am trying to import a SWF file into a custom loader and then treat the loaded SWF file as a MovieClip object. The code for the functionality can be seen below.
public function loadMyMovie(movie:String)
{
var now:Date = new Date();
var rnd:String = "?randomize=" + now.time;
var request:URLRequest = new URLRequest(movie);...
I'm a complete newbie to this, I've been watching tons of tutorials, reading tutorials, reading the Adobe site, etc... The last time I programmed was BASIC on Apple IIe...
I'm trying to create a preloader that my html page will link to, and when the main .swf file (Portfolio.swf) is loaded, it will display and stop (it's a print swf, ...