I'm trying to get variable importing from a PHP script before I implement it into a larger project. So far all I've gotten is headaches.
// this is all thats in test.php other than the open and close brackets.
// Normally I'd have it doing a mysql_query and putting useful information into the print statement.
print( "lamegame.net/test/t...
I am planning to start a new project in as3 and I want Dependency Injection in the project. I found that parsley and Robotlegs are two popular frameworks for implementing DI in AS3. Which is the best one among these two?
My main requirements are
lightweight
minimal learning
extensive documentation and active helping community
...
Hi, I'm creating a flash application which loads in some XML which is generated dynamically from the CMS. I want to display an error in case the XML file isn't formatted correctly. When I test this with incorrectly formatted XML, it will just get to the line myXML = XML(myLoader.data); and then just bomb out. How can I catch the error, d...
I'm working on one current project, I don't have any issues to load a SWF into a main SWF but I can't figure out how to apply dynamically the scale down and up into a thumbnail images size while using the Resize event handler to fit in any browsers sizes.
I load SWF into a Loader object then add it into a container => currentMC.
I want...
I am trying to load a spreadsheet formatted in CSV directly from Google Docs.
I've published it and get this URL, which works great in a browser,
and if I run withing the Flash CS5 IDE.
When it's running in a web-browser (locally or online), it just hangs and never loads or give an error.
var request:URLRequest=new URLRequest(file); ...
I'm adding a bg to the same canvas, but it's overlapping everything added before it.
I want to change the depth and make it appear beneath everything.
...
i'm setting up a custom class that accepts some Number parameters, but i need to limit those parameters and would like to know the best way of doing so.
currently, i'm simply calling if statements, and throwing an error if the number is above or below what's accepted. for example, there is a parameter that accepts and angle, but only b...
Is there a way to apply two different shaders to one bitmap?
...
Hey everybody,
through a design decission or what-so-ever Adobe changed the content of the ResultEvent fired by a HTTPService Object.
Take a look at following example:
var httpService:HTTPService = myHTTPServices.getResults();
httpService.addEventListener(ResultEvent.RESULT,resultHandler);
httpService.send();
/**
* Handels the login...
I am building an application using Action script 3 I am retrieving some XML from the web however the node names are mms:Image mms:Results etc my action script compiler is throwing an error becuase it is not expecting to see the semi colon in the node name. How to I access the nodes?
thanks
...
Hello,
I have an URL loader with the following code:
public function getUploadURL():void {
var request:URLRequest = new URLRequest();
var url:String = getPath();
// Adds time to prevent caching
url += "&time=" + new Date().getTime();
request.url = url;
request.method = URLRequestMethod.GET;
_loader = ...
Does actionscript 2.0/3.0 have an equivalent of c# sleep() ?
...
I have been using a tidy little routine that I found here to calculate the difference in days between two dates in AS3. I am getting some strange results and I am wondering if any of you inter-codal-mega-lords can shed some light?
Why is Q1 of 2010 coming up one day short, when in all other cases the routine is performing fine?
Many th...
I'm working on a project that has a Main.fla and a Preload.fla. I am doing all the coding in Flash Builder 4. Each time I want to test I have to go to Flash CS5, publish Main.swf and then run Preload.swf. Is there a way to automate this process so I can just press the "Run Main" button inside Flash Builder 4 and all that is done automati...
What are the differences between flex mxml and as3.
...
I'm trying to dynamically stack images that are being pulled in via an xml file. Below is what I'm doing, and it almost works. The problem is that it only seems to fire off the event complete function on the very last one, instead of going for all of them. Is there a way to make it run the even.complete function for each image?
function...
I'm importing text in from an xml file and i'm using htmlText to try to keep some styling with tags. I have both the regular and bold face font embedded, and the bolding works fine. The problem is that it ads spaces around the words in bold like a paragraph indent and then makes a line-break after them. What's going on, is there a way t...
I have a class Grid which produces a graph paper like grid on in the drawing area. I then have 5 other classes for different shapes to draw with; Line, Polygon, Ellipse, Curve, Arc
Now, these 5 classes use an instance of Grid because Grid has a resolution and a scale. Inside Grid I have:
public function set resolution(x:Number):void {
...
I have some* experience using the flex framework for building web apps.
But I have no experience with server side languages, I have heard the saying "choose one and stick to it" several times in reference to programming.
I have chosen coldfusion.
Now I have no clue what to do or where to start.
Now to the details:
It will be a site...
How to convert color image into single Color as3?
...