Hi, I'm just wondering if anybody can help me with my simple but frustrating problem.
I have created an SWF that loads an XML file from http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml, but I get this error when running the movie using Test Movie in the Flash IDE.
Error #2044: Unhandled ioError:. text=Error #2032: Stream ...
This question extends beyond the Facebook library and is really a general architecture question. I am using the Facebook AS3 lib which has a FacebookSession class. The class contains data for a facebook session so that I can make authenticated calls to the Facebook API.
I am using the Facebook API all over my Flex app and I am tempted...
Hello,
I'm looking for a lightweight ComboBox for as3. The normal ComboBox component introduces an overhead of 60kb, that's too much for a banner or a landing page.
I google this looking for options but what I found are paid custom components.
Do you know where I can find a lightweight combobox for as3?
Thanks in advance,
Jonathan....
How do I finish arguments to control an external swf? A sketchy “starter code” example of how to write this would be helpful.
problem
I can’t follow the string arguments and “drilling-in-to” external documents. I'm playing catch up.
loader.swf
import flash.net.*;
import flash.display.Loader;
import flash.events.*;
import flash.sy...
quick question.. I'm trying to make two variables appear in one text box but I'm not sure how to do so
Here's what I have.
title1.text = dg_post.selectedItem.post_title;
date1.text = dg_post.selectedItem.post_date;
I'd like to have post_title and post_date appear in the title1 box and remove the date1 box altogether.
...
Hey everyone, not sure what is going on here :(
Basically I have a function that is needs to tell 2 other classes to do something. It works for one of the classes: BigPlayButton, but not Background for some reason.
TabMenu.as Class function
Note: The function below WILL call the hitPlayCircle function in my BigPlayButton class, but I ...
Hi, i am trying to do the following:
I want to load an external image (dest) and display it on the stage, and i want to load another image (src) which will not be visible. When i hold the left mouse button on the image that appears on the stage, then a function that start copies the src image to the dest will be invoked. Actually i want ...
I am sending a var to Flash:
// incoming
var pageColor:String = "rgb(81, 89, 112)";
I have this function to covert the RGB values to a HEX
function rgb2hex(r:Number, g:Number, b:Number) {
return '0x'+(r << 16 | g << 8 | b).toString(16).toUpperCase();
}
// trace(rgb2hex(81, 89, 112));
Now I am looking for the best way to extract...
So let's say we want to load some XML -
var xmlURL:String = 'content.xml';
var xmlURLRequest:URLRequest = new URLRequest(xmlURL);
var xmlURLLoader:URLLoader = new URLLoader(xmlURLRequest);
xmlURLLoader.addEventListener(Event.COMPLETE, function(e:Event):void{
trace('loaded',xmlURL);
trace(XML(e.target.data));
});
If we need to know t...
Can't seem to bind to data from within a custom component. I've tried BindUtilis and {} but can't seem to fathom it out. Here's what I've got:
I have a class DataModel which has been made bindable
Within Mainn.mxml I have two components: DataGrid (used for testing) & CustomComponent (which extends Canvas)
When the data within DataMod...
Hi
When I load an XML using ActionScript all the characters inside strings render fine except special characters like:
ñ, Ñ, á, é, í, ó, ú
In that cases the letter is omitted.
I even try with:
ñ or í
But in that case show exactly ñ and í instead of ñ or í.
¿What can I do?
Thanks.
...
How to get the values of a selected row in the Advanced DataGrid control in Flex ?
thanks
...
Hi!
I need to load multiple images from ZIP archive and do some actions after all files from ZIP archive have been loaded. I use FZip library to manipulate with ZIP files. My problem is that sometimes the loading of all files are not going.
In this code I starting loading process:
loadedImages = zip.getFileCount();
trace("Starting... "...
I am searching for a way to load and play karoke files "cdg"
The loading part is easy the difficult part is interpreting the byte array that i get after loading the file...
...
Is there any way to draw text in a DisplayObject or Shape using only ActionScript? The only way I can find on the web is by creating a TextField, but I can't add a TF to a DisplayObject or Shape.
Edit:
Solved thanks to viatropos.
For anyone that's interested:
DisplayObject implements IBitmapDrawable which can be passed as an argument...
I have a Flash application that I made and I want to basically take it and make it into a desktop app using my Flash file... (assuming user has Flash installed on PC) What would be the best way of simply taking a Flash web app and making into a desktop one (that doesn't require any other runtime besides flash for the user).
...
Something like sprintf3 for Actionscript 3? I've googled around, and not found much.
...
Hi,
I have a 2 different date formats. 1) dd/mm/yyyy 2) dd-mm-yyyy
I want to compare these 2 date formats in Javascript or Actionscript.
Is it possible.
Thanks,
Ravi
...
Hi Friends,
Is it possible to control the properties of 'advancedgridcolumns' in 'advanceddatagrid' mxml tag. For e.g. suppose the grid data provider has 3 different fields. Out of these 3 fields, one field is 'to_be_decided'. This field should not be displayed initially. Only the remaining 2 columns should be displayed (visible true) a...
Hi Friends,
Knowledge has no limits but still in your opions, what are the basic requirements for an individual, where he can call himself a flex developer. To make it a bit concrete lets say after having a 2-3 years experience.
In my perspective it should be something like below. It is a very (very) rough idea and please let me know yo...