flash

Suggetions for overcoming a flash waveform performance problem

Hi, My question is sort of a follow on from this question below but I thought it'd be best to start a new question. http://stackoverflow.com/questions/3211755/help-converting-this-as3-code-to-pixel-bender-code So I have a waveform drawing implementation in flash that extracts pcm data from an mp3 and draws a waveform at multiple zoom ...

Javascript/Flash tiny, cross-browser sound player

I was searching for Javascript/Flash tiny, cross-browser sound player (notifier), but every solution I've met was or too big and feature-full, or based on different libraries (not on Jquery I'm using), or with bugs. The only feature I need is 'play'. :) For example, http://flash-mp3-player.net/players/js/download/ - this nice little pla...

How to Get the Current Page's URL into Flash

Is it possible to get page URL into flash ? Without using ExternalInteface.call('window.location') trace(this.loaderInfo.url) simply return URL from where flash was loaded. Thank you. ...

How to pass parameters to actionscript 2 in flash ?

I read though this answer for as3, which is not working for as2. What's the most compatible way to handle parameters in flash? ...

[ as3 - garbage collecting ] delete a movieclip forever

hello! im just trying to delete forever a mc. i create a mc and then i make an addChild of a sprite. var mcSwap1:MovieClip = new MovieClip(); addChild(mcSwap1); mcSwap1.addChild(mySprite); if i want to delete from everywhere and forever mcSwap1, what can i do? removeChild(mcSwap1); mcSwap1=null; doesn't work very well...the memory ...

What styles are used by tabStyleName?

The language reference says "Name of CSS style declaration that specifies styles for the tabs. The default value is undefined." But, what is the "type" of style that is being used? That is, what style properties can I put in that style definition. For example, I wish to set the disabledColor of the text on the tab. I couldnt seem to do ...

Record audio from web page and upload to server

From a web page, I'm looking to record audio from the user's microphone and then upload the file to a server to be stored as an MP3. My solution is built using .NET. Most similar apps that I've seen use Flash on the client and presumably Flash Media Server on the server. We don't have the kind of budget for FMS. I'm looking for a fre...

Forcing smaller redraw regions in actionscript.

I've got a small action-script chart, that's meant to be live updating, and also be able to support more than 10000 points of data. The way it's currently set up it doesn't need to redraw the whole chart if the new line we wish to add doesn't extend that chart's boundaries. Yet it does, the redraw regions show the whole chart as being...

Is this an efficient use of the Array.filter() method for searching and retrieving an Object instance from an Array?

I am curious if this is an okay implementation of the Array.filter() method. //Array of generic Object instances representing galleries. //The images property is empty for the example var galleries:Array = new Array(); galleries[0] = {name: 'Portraits', images: new Array()}; galleries[1] = {name: 'Landscapes', images: new Array()}; ga...

How to determine currently processed event in ActionScript?

When one call Clipboard.generalClipboard.getData() in ActionScript outside of Event.PASTE processing function it fails with following message The Clipboard.generalClipboard object may only be read while processing a flash.events.Event.PASTE event. Even if I dispatch Event.PASTE event and call this function within event handler it s...

sIFIR does ot work when saved in Flash CS4

Helow! I am trying to use (sIFR) version 3, revision 419 When i test the defaults SWF files( that came whit the package ), it works fine. But when i edit with my own fonts, it does not work properly. Is there any issue, or something that i must to do? ...

Enter on frame or timer - which to better use for updating in AS3?

So I've about hundred of map tiles and each title has some object which does some stuff. And one of things it should do is to update text (a time after which you need to do something) in text field. How should i do it better - with enter frame event and on each enter frame update it or set up a timer object which on each second would upd...

Flash Embed: how do i add a message that appears instead of a flash video if a user has not installed flash?

i have a flash video called abc.swf that i would like to play when a user first registers to our website. however, if the user does not have flash, i need it to tell them that in an easy way. for this reason, i am trying to tell them how to download flash with the following html: <div style="text-align:center;"> <p><strong>You do ...

Javascript is passing an Array of Objects instead of an Array of Arrays...

I'm passing a Javascript Array() to Flash via FlashVars but Flash complains. Can you guys point me what am I doing wrong here? javascript code // array with the user defined cities var usercities = new Array( {'nome':"London", 'lat':51.5002, 'long':-0.1262 }, {'nome':"NYC", 'lat':51.5002, 'long':-0.1262 } ); flashvars.newcit...

Live streaming h.264 with FMLE 3.1 and FMS 3 not showing video

I'm using FMLE 3.1 to stream live video encoded with H.264 format with FMS 3 and Flash player 10 + AS 3 to connect to the stream. When I connect to the stream, just the audio is played. I'm able even to get the metadata information about the video, but I just receive the audio. I already tried some stuff like "Flash 10 won't play ...

Server-side Actionscript 3 Image Processessing

I have an as3 project that lets a users create labels for jars and containers (think t-shirt editor) using custom images and text. To send them to the printer as pngs, I create a Bitmap object and use a scale matrix and they come out perfect. There is, however, a 2-14 sec lag between building the bitmap, sending it to the php service...

Where can I get older versions of the Flash Player Debugger?

Abobe seems to only list the most recent debugger version, even though I can target previous players in build. ...

Compiling AIR application with Ant Task (WindowedApplication could not be found)

I'm trying to compile my AIR application with Ant, using the mxmlc Ant Task. It seems to compile fine, and I get a .swf, but when I try to run it with ADL, I get the message "Class mx.core::WindowedApplication could not be found." It looks like the AIR libraries aren't being included properly. Here's my mxmlc task: <mxmlc file="${...

Does anyone know of an iPaper alternative?

We would like to display office documents in the browser (DOC, PPT, XLS and PDFs). The iPaper API from Scribd is perfect but ideally it would be installed on our server. Open source is a preference but commercial is ok. Looking for an easy, server side, good looking, minimal interface flash frontend viewer. Thanks! ...

google maps api and https

I am using the google maps api with regular key (not premier). When connecting to my server with http, everything works fine, but when connecting with https i receive the following instead of map: "nitialization failed please check the API key swf location, version and network availability" Is that because it is not premier key? can i f...