flash

Load fresh swf from server

I have a main flash from wich i load another swf file from the server. From time to time i change the second swf file and want to load a fresh copy from the server. I clean the cache from the browser but my client does not know how to do that and it's a pain to give him directions. If i want to load a fresh copy of the main swf i just ad...

how to Play .flv files in WPF?

How to Play .flv files in WPF? please anyone help me out. ...

is it possible to value store cookies in Flash or Flex?

In php setcookie function based to store it . but flash is it possible ?. if it is possible then how ?. Plz help ... because i want to store value ... ...

swf movie over a html page (posh popup)

Hi everyone, I looking to hack something like this: An example >> Just click on "Start PicLens Lite Slideshow PicLens". Did you see how the swf/flash loads on top of the normal page? Im looking to do that :-D If there is some code out there the better otherwise any tips or hits are welcome. Thanks lots. ...

calling a Flash ExternalInterface with JavaScript

I'm trying to call a function declared with ExternalInterface in a Flash swf, using JavaScript. It worked once, but all of a sudden, it stopped working. I have a debug version of the Flash Player, but no errors occur in Flash. Not even a "Security Sandbox Error" or something. The only error I get is the following error in JavaScript Er...

How can I permit tab characters in a textfield in Flash?

I am working on an AS3 Flash game that initially takes a input from a barcode scanner. The data that it scans comes in as one long string using tabs to separate the data segments. The scanner acts as a keyboard and inputs the string into a hidden textfield so that I can grab the string and split it apart to get the data. The input and...

Flash Compiler/Interpreter Optimizations

I started working with ActionScript 3 / Flash 9 fairly recently, coming from a "real" programming background, and I have become a bit curious as to exactly what kind of machine code it ends up with at the end of the day. I would like to know what kind of optimizations the compiler makes when putting together the SWF with the optimize fl...

Open source actionscript/flash audio editor

I am looking for an open source browser based audio editor which shows a waveform and let me clip audio. Does anyone know of one? ...

What are the options and best practices for PV3D inspired modeling.

The studio I work at is currently developing the Tony Hawk XI website and I am responsible for the flash/AS3 development. As part of the pitch, I entered an augmented reality skateboard example to be shown which impressed the client very much. After a few weeks of getting stronger with Papervision3D, and getting to know the Flar Toolki...

Release/Debug Configurations with Flash + AS3

I recently ran into an embarrassing situation with some Flash coding where I had to accidentally sent clients a build where not all my debugging flags and variables were unset. (It was sending requests to the debug instead of release server, etc...) Part of this was poor code organization on my part; I've resolved that. However, Flash ...

idea for morphing captcha

I've been thinking of a dynamic way of creating a CAPTCHA that uses morphing shapes or dynamic colors. My first idea is to have a graphic, flash or something, that gradually changes from, say a square into a sphere. The user will be required to click the button when it becomes spherical enough. Second idea is to have an area of colo...

Playing audio streams on a web page

I have a list of radio stations, mostly .mp3 and .ogg. I would like to have a player on a web page that could be controlled with JavaScript. Now I use jlgui, but it is somewhat limited. Do you know of any alternative to jlgui? Preferably a java applet, but I can tolerate flash or even a system-default media player for a particular conte...

Problem with BasicView and CameraType.SPRING

Working with the BasicView class in Papervision 2.0, I'm getting an error when compiling: 1119: Access of possibly undefined property SPRING through a reference with static type Class. If I comment out the access of that static property and add the constant value manually, it works as expected: case "Spring": //CameraType.SPRIN...

Actionscript indexOf problem

When I create a TextField in AS3 with multiline set to true and equate the text to say: "Hola \r hola" I am unable to retrieve the index position of \r using indexOf function, it always returns -1 Does anyone know what I'm doing wrong? var txt:TextField; txt.multiline = true; txt.text = "Hola \r hola"; //txt now renders fine with t...

Firefox, wmode and fscommand

Hello, I'm using SWFObject to embed flash on my site. var so = new SWFObject("file.swf", "file", "100%", "100%", "8", "#FFFFFF"); so.addParam("wmode", "opaque"); so.addParam("allowscriptaccess", "always"); so.write(container); This works like a charm in all browsers as far I can tell, but I'm also using fscommand from flash, and thus ...

Is it possible to specify the display dimensions of a directly linked .swf?

Directly-linked .swf files, i.e not embedded in a web page, seem to render at 100% of the browser window size. Is it possible to specify in the .swf file itself dimensions for the .swf to display at? Thanks all, Richard. ...

How to determine if an associative array has a key?

In ActionScript 3, is there any convenient way of determining if an associative array (dictionary) has a particular key? I need to perform additional logic if the key is missing. I could catch the undefined property exception, but I'm hoping that can be my last resort. ...

CSS Menu does not appear over flash

I have a drop-down/multi-level CSS menu on a page. The menu however doesn't appear over a flash chart I have. The apparent fix seems to be to put wmode:transparent (or opaque), but that doesn't work for me. I have also tried setting the z-level in the CSS to very high values (2000) but that doesn't work either. In addition, I'm using op...

For loop with onRollOver problem

Hi, I can't get this For loop with onRollOver to work. for (var i:Number = 1; i<=4; i++) { this['videobutton'+i].onRollOver = function() { trace(i); this['stream'+i].pause(false); this['video'+i].attachVideo(this['stream'+i]); fadeIn(this['video'+i]); }; } It think it has to do with variable scope and the i, but I don'...

Is there an way to load external swf into a sandbox in flash?

I'm loading flash ad-banners inside my all flash site with Loader. I have no control over the code inside the banners as they come from advertisers. I'd like to load them so that there is no way they can mess up the mouse events on the site outside their limited area. Sloppy code on advertisers banner should not kill my site's function...