I'm working on a little blog app in flash and can't seem to load any variables with html embedded. Is there a way around this?
flash code:
var urlLoader:URLLoader = new URLLoader(new URLRequest(path + "index.php"));
urlLoader.addEventListener(Event.COMPLETE, showData);
function showData(e:Event):void
{
var dataObj:URLVariables = n...
My webhost has rules against socket servers so I've been looking into GAE.
Does anyone know of a socket server that can successfully run on GAE? I'm using it for flash so anything like smartfox would be amazing if it's possible.
Thanks.
...
Anyone else has experienced weird behaviors and unexpected values when checking for stage.stageHeight while you have Bandwith Profiler open in Flash IDE?
Say, I have been using this for testing Perlin Noise stuff:
package {
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.display.Sprite;...
I have an SWF file with only vector illustrations in it (no bitmaps). Is there a way to improve colour consistency across different monitors?
Colour management is a very complex topic and the more I read about it the more confused I become. There's this thing called ICC profiles which are supposed to convert colours into device indepen...
I'm trying to use the JPlayer (http://www.happyworm.com/jquery/jplayer/) jQuery plugin and having some trouble using it when it falls back to the Flash SWF. In that case I hit an error m.fl_play_mp3 is undefined which I've traced back to possibly a problem with the path to the SWF file. However, I've put the full path to the SWF direct...
Within my AS3 class I am calling this.width, and the value it returns is always 1, even though this is impossible given the contents of the object.
Is this a standard behavior for AS3?
Simple version of class is posted below. It is attached to a MovieClip symbol that just contains a simple hexagon.
package {
import flash.display....
Hi all -
I need a way to calculate lighter hex color(s) based on a provided one. I realize I could use a color transform, but I need the actual value in order to generate a gradient.
Thanks in advance for any help -
b
...
Assuming a network hierarchy that supports video multicasting, what options are there today to tap into this stream from a web page?
I've seen some references to this with Silverlight and project Star Light, which I unfortunately have no experience with. It also feels like a third option behind HTML5 and Flash.
What is out there on t...
Can anyone tell me some good cheap webhost servers that come with smartfox server for flash?
Thanks.
...
Hi all,
As I was working on this project for a friend of mine who is terrified of changing from HTML to flash, I realized that maybe there could be a bridge between them. So I started working on a flash project that would grab the HTML from his page and parse it to display it in flash. Although I am sure there are resources available f...
I am creating a game which uses the sharedObject to save each players progress locally. It also connects to a central database to create an online scoreboard. When a user inserts a score for the first time a unique ID is sent out of the database to the swf and saved as part of the sharedObject data.
Absolutely everything works and the ...
Hello all,
This is my first post, but this question has racked my brain and Google's servers all night, so I thought I would pose the question here.
Let me get started on the preliminaries of my problem so I can elaborate the issue. I know FLVPlayback is buggy but this seems like either a version problem or I might be in need of an upd...
What is the best MP3 player for embedding on a website? Something simple but needs to have list of items to play instead of just plays single item
Thanks
...
I draw figure in Flsh ID with JSFL methods, for example
// draw rectangle
doc.addNewLine({x:0, y:0}, {x:2000, y:0});
doc.addNewLine({x:2000, y:0}, {x:2000, y:500});
doc.addNewLine({x:2000, y:500}, {x:0, y:500});
doc.addNewLine({x:0, y:500}, {x:0, y:0});
// how can I fill it, because this way doesn't work
doc.setFillColor('#0000ff');
...
I've added an eventListener to the COLLECTION_CHANGE event that is fired when the grid is finished resorting the items in its dataProvider, after the user clicks on a column header:
MyType (myDataGrid.dataProvider).addEventListener(CollectionEvent.COLLECTION_CHANGE,
onDataGridResort);
...
private function onDataGridResort(e:...
hey how to create unsigned arrays with keys in actionscript 3?
in php its simple:
array('key' => 'val');
in ac3 you can create unsigned arrays like that:
['val']
['key': 'val'] // breaks
...
Hi,
I'm looking for some information regarding using SQLITE with AIR in Flash CS4, I cannot find any good examples, they're all built for Flex (which I don't want to use). Can anyone give me some basic examples of how to do this with Flash CS4 or direct me to some code examples / tutorials? I cannot find any anywhere...
...
Hi.
If I want to send an object to a function with one child called foo equals "bar", i need to do the following:
var obj:Object = new Object();
obj.foo="bar";
myfunction(obj);
is there a way to declare the object in the function itself ? something like that:
myfunction(new Object{foo:"bar"});
thank you!
using flash-as3.
...
I want to use Flash to write games. I don't want to learn about how to create glossy buttons for my 2005 website, or how to use the motion tween interface-- I just want to learn ActionScript 3 and the development environment.
Suggestions?
EDIT: I already know plenty about game programming; I'm just new to flash.
EDIT: I found this sit...
Hi,
I have an .fla file with 1 image in the library and 1 .as file.
I have linked the image up with the Class name of libraryImages and Base class is flash.display.BitmapData.
This is my AS:
package {
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.MovieClip;
public class Banner ext...