flash

air flash comparison core

What are the differences in developing for AIR versus flash? why should i choose one over the other in a given situation? ...

Flash + AS2.0 = Load XML file in constructor

How do you load an XML using a constructor, I need to parse it into an array and I use a custom class Menu. Here is my code: class Menu { // XML file's filename private var xmlFile:String = "menu.xml"; private var menu:XML; private var menuArray:Array; private var mainmenu:Array; function Menu() { menu = new XML(); menu.igno...

Web P2P video confrence solution

I'm looking for the best possible solution which will allow me to incorporate live video/audio conference between 2 users(only 2 at this point) into a flash gaming platform. The video chat is not just an extra feature, it's the main one. I'm mainly looking at open source implementations or something I'll be able to implement myself, b...

Actionscript 3: Queuing up FLVs using netstatus and cuepoints

Hi all, I'm building a flash site that uses video transitions to go from section to section. Each section's background is a still-frame photo at higher res than the transition videos themselves, which are scaled up during transition. The first frame of each video transition is the current background image, and the last frame of each vi...

Audio File Bloat in Adobe Flash CS4

Whenever I import an MP3 into Flash CS4, I see massive file size increases within the FLA. Not only does the file size of the MP3 in the Library bloat, but the file size and export time of the FLA increase dramatically as well. This leads to all sorts of memory errors and slow performance. MP3 File in Windows Explorer: MP3 File in Fl...

(ASP.NET) How do I remove special characters when doing a DateTime.Now.ToString()

So I have a flashobject which I need to pass a formatted DateTime string to. My code: string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); which outputs as: 2009-09-16 22:26:45 However when it is actually output to HTML and swfobject it renders it as: so.addVariable("inNowDate","2009-09-16+22%3a25%3a13"); I think this is m...

Problem accessing ExternalInterface exposed method in Google Chrome

My simple ActionScript I am trying to use Flash's ExternalInterface to setup a callback so that JavaScript can call a method on my Flash object. Everything works fine in Safari, Firefox and in IE, but I cannot get Chrome working. When I try the code on Chrome, I get the following error: Uncaught TypeError: Object #<an HTMLObjec...

Flex PopUpManager: How can I detect the existence of a modal popup?

My Flex 3 application has some modal dialogs displayed via the PopUpManager, but there are times when I'd like other view components to know there is popup displayed. The PopUpManager doesn't have any method for actually checking the existence of popups. Is there any other way to detect this in flash/flex without writing my own global ma...

playing .pls files in flash

Hello How I can play .pls files (like this: http://radio10.nlab.se:8000/listen.pls) in flash? best Vladimir ...

set and get variables throughout moive - actionscript 3

I need to set various variables depending on what a user clicks. Those variables then need to be accessed by other movieclips. The problem is that at the time of clicking, those "other movieclips" don't exist on the timeline yet. What I have done is assign the variable to the parent movieclip, although I guess I could just as easily se...

Scaling down to fit resolution, but not up in Flash CS4

My girlfriend is a graphic designer who is currently working on a website. She doesn't know any HTML or CSS and is only familiar with Flash, so she's building the entire website in Flash. It should be noted that I am developer and have close to 0 experience with HTML, CSS or Flash either. Work is progressing nicely, but after I helped h...

Can you make Flash URLRequest /web services work from behind a proxy in IE?

We have a Flash application that connects to a WCF REST web service returning json data. We use URLRequest/URLLoader with POST requests, not a lower-level library using sockets like as3httpclientlib. The application runs swimmingly well in the normal course of duties, but when we are behind a corporate proxy server (ie. In Internet Exp...

Help with uploading images to EC2 instance (Flash -> PHP)

I have developed an image uploading application that uses Flash to load an image, resize the image and send the bytearray of the image data to a PHP file that outputs the resized file using the following code - $default_path = '/uploads/temp/'; $filename = $_GET["filename"]; $destination = $default_path . $filename; if(file_put_contents...

Documentation of the lesser know AS3 properties.

Over the past three weeks, I have lost at least 120 man hours because of some lesser known functionality in ActionScript 3. One of the problems was that, with Internet Explorer, if there are too many messages sent through LocalConnections, it will slow the messages sent through, but in the standalone player and in Firefox, this threshol...

how to play flash in WPF application

Hi. I have a WPF application and I want to play flash movies in it. I used the WInforms active X control as described in this link It worked partially, but now whenever I run the application it crashes saying "InvalidActiveXStateException" does anyone have an idea how to solve this? ...

transform.matrix on textfields?

Changing the scale to (2, .5) on a textfield's transform.matrix just makes the font uniformly larger. Frustrating. Many other transforms just make the text disappear. I am embedding fonts, which is supposed to allow for rotating text. Well, that is one kind of transform... I would like the freedom to transform every which way. Is t...

Flash based credit card payments?

Does anyone know how the entire checkout process including credit card validation and payment/transactions can be done in Flash, without redirecting to another HTML page? Since Flash has all the capabilities of a web browser (page requests, GET, POST) and even some goodies (cross domain page requests, sockets) I'm assuming this shouldn'...

Generating a random seed in PHP for consumption by Flash

I'm working on a project with remote Flash developers, and they have requested that when my PHP application sets up the HTML to load their Flash object, I pass in a seed that they can use to generate random numbers with (the seed is stored so that a particular game can be replayed later). If you were seeding PHP's RNG, you might use the...

Flash ComboBox stops playback of stream AS3

Ok, this one is driving me batty. I've made a custom video player in CS4. Basically, I just used The Gimp to draw a video player and saved it as a PNG, which I dragged to the stage. I didn't want to use FLVPlayback, so I used Actionscript to add a Video to the stage. var video:Video = new Video(480,360); addChild(video); I'll spare ...

Inserting Space into audio event in Flash

Is there a way to insert empty space into an audio event in Flash? For example, I have a narrator who didn't pause long enough, and I want to add some space without having to change the file in a separate program. ...