(I have asked this before but I dont think I was direct enough with my question and therefore it did not get resolved so here goes again!)
I am working through a book called Foundation Actionscript 3.0 Animation, making things move.
I am now on Chapter 9 - Collision Detection. On two lines of my code I get the 1135 error, letting me kn...
Hi there.
I would like to build an image gallery in Flash with AS2 or AS3 that detects automatically the number of images available in a specific folder (say a level below the swf file).
The goal is to don't have to config any xml files with the images to show.
Is this possible?
Thanks in advance.
...
Hi Everyone,
I use this pattern to test for undefined and null values in ActionScript/Flex :
if(obj) {
execute()
}
Unfortunately, a ReferenceError is always thrown when I use the pattern to test for child objects :
if(obj.child) {
execute()
}
ReferenceError: Error #1069: Property child not found on obj and there is no defau...
hi,
i am having this hard time figuring what is needed to do,
i am using URLVariables to send/recieve values between flash and PHP
the problem is, i am unable to access nested arrays ( array inside an array ) with flash
heres an example:
$dgresult = array("total" => $results);
echo http_build_query($dgresult,"flf_");
in flash, all ...
Hi,
I'm developing an AIR application, where i need to access
WindowedApplication's function from the package class.
This is the Main application (Partial code)
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="initApplication()">
<mx:Script>
<![CDATA[
import mx.events.Clo...
Hello Friends, I need to get the value of the item clicked and the name of the columns.
for each(item in colunas) {
var itemok:String = item.dataField;
Alert.show(''+datagridlist.selectedItem.itemok); // show value of column
}
But this way it returns 'undefined'.
But if I put the name already in functio...
How to put\save files into your application directory? (adobe air) (code example, please)
...
Hi,
I am developing a player and i want to make it for only one domain usage for one download. If user needs again then again hew needs to download another version from my site. How can i make it. Please some one tell me
...
We have a very large SWF hosted in a website which is just a repository of hundreds of movies/symbols. We load this SWF at the beginning with the Loader class but then the client will access a very few of them at that moment.
Is it possible to tell the loader to download symbols only when they're needed? (as with applicationDomain.getDe...
i'm having a strange issue with banding between certain colors of a gradient.
to create the gradient, i'm drawing evenly spaced circle wedges from the center to the border, and filling each circle wedge from a bitmap line gradient pixel in a loop.
i'm creating a circle with 3600 wedges, although it doesn't look like it based on the scr...
Hi,
I have an issue in flex which is causing a bit of a headache!
I am adding objects to an ArrayCollection but in doing so, another ArrayCollection is also picking up these changes even though there is no binding occurring.
I can see from the debug that the two ACs have the same address but for the life of me can't figure out why.
...
We develope for multy users OS. So my Air App needs to save some files to let all users acsess them (and be able to acsess them on its own). So I need a function to save files into public directoris (crossplatform function) .
Can any one please share such one?
...
How to download and unpack .ZIP folder using Adobe Air? So I have http link onto that zip file example.com/zip.zip I need a function to download it onto users hard drive and unpack it into some folder on filesystem.
How to do such thing? (code example, please)
...
I am trying to create a modular structure that will eventually live inside another actionscript/flex application. I am using cairngorm in the outside application and I'd like to create more than one instance of this new component in the inside application. Cairngorm doesn't work for creating multiple duplicate components because of the...
in this how can rotate car when it goes to collied with the track side.
package
{
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.text.TextField;
import flash.ui.Keyboard;
import Math;
/**
* ...
* @author Ashok
*/
public class F1race extends MovieClip
{
publ...
I'm drawing a 3D pie chart that is calculated with in 3D vectors, projected to 2D vectors and then drawn on a Graphics object. I want to calculate the most left and right point of the circle after projected in 2d. (So not 0 and 1 Pi!) The method to create a vector, draw and project to a 2d vector are below. Anyone knows the answer?
publ...
import mx.controls.Alert;
package dbconfig // error line here
{
public class DBConn
{
private var dbConn:SQLConnection;
private var dbFile:File;
public function DBConn()
{
this.openConnection();
}
public function openConnection(){
dbFile = File.applicatio...
I have a Wrapper SWF that loads a series of AS2 movies. Each AS2 movie loads a series of .png files.
AS3_wrapper.swf
|-> AS2_1.swf
|-> image_1.png
|-> image_2.png
|-> AS2_2.swf
|-> image_1.png
|-> image_2.png
Inside of the AS2 I listen for the load of the pngs using onLoadInit and update my UI.
This works fi...
I've used the graphics package before, but not sure if this can be done. I'm trying to create a dog ear effect programmatically with flex. Can it be done? If not possible, what other options or libraries do I have.
...
I'm building a Flex/Flash Builder 4 application that loads data using E4X/XML, like this:
I originally build an application that was a single MXML file which loaded this XML file and built a form from the data.
I've now build a main menu screen with a button to load the form screen as a seperate module. How do I g...