flash

Pre-Load Multiple Videos in Flash? In Flex?

I'm doing a project where we play multiple videos back to back, and if we load them the normal way by providing a stream url, there is a load delay each time we start the next video. I've looked through Adobe's docs for both Flash and Flex, and I can't find a way to pre-load the videos. Embedding them is not workable in this applicatio...

Implementations of Subspace JavaScript cross-domain communication?

This pdf paper describes a way to manage cross-domain communication using JavaScript with a bit of help from the server. Does anyone have experience with this approach? I know CrossSafe has an implementation, but it's pretty quiet over there. (NSFW spam in that group.) While we're here, does anyone know of a good flash bridge? I'm O...

Can I download multiple files to a directory with Flash?

In Flash, I can prompt the user for a location to save a file and write a file to that location. In my case, the user wants to download a large set of files. Is there a way to let the user choose a directory once and download a number of files into that directory without prompting the user for each file? ...

AS3 Timeline Variable issues

I'm trying to get a dynamic movie clip from the timeline. I have a timeline of unknown length with a movie clip with instance name "blah" on one of the key frames (assumed 88 in this case). No matter what I do, I cannot get a reference to the said movie clip. Here's what I tried: trace(blah); // null trace(this.blah); // null trace(g...

Trouble with ActionScript 3, not working, and i have no idea why, flash CS4

Hello I'm very new to ActionScript 3, and I've followed this toturial on adobe TV. But I don't get it to work. The thing is that I want the box to move left/right when I click the buttons, but nothing happens. You can download the .fla file here: http://www.habitats.no/files/AC3.zip Thanks. ...

Best way to stream movies

I'm trying to make a front end for all my music and video files on a spare PC I have but have come up against a bit of a road block. I originally wanted to stream the movies (avi, mpeg, flv etc) using a flash media player but after a bit of searching it seems that flash can only stream flv's. Obviously, I don't want to convert my whole h...

Disjointed swap multiple image from jpg to swf

My original question was "Is there a javascript function to swap a still image(jpg) to a movie(swf)? If there is is there a disjointed swap image path?" Jack's answer worked but did not have a disjointed rollover. His function imgToSWF works great but it isn't what is needed. What I need is to have multiple thumbnail images(jpgs) that w...

Scale image in flash to match size defined in html

I have a flash movie that loads images dynamically from an xml file. I want to re-use this .swf file on different pages, however the images on page1 are all 400 x 200 and the images on page2 are all 745 x 422. When i try to reuse this on another page, the loaded images are shrunken (resized) - i would like them to match whats defined i...

Checking flash file loading with javascript

Hello, Is there a way to check how much a flash file is (down)loaded to the page before it is shown? Our team cant put loading indicator inside the flash file because the swf file is uploaded by our client. Is there some kind of property on xmlhttprequest that we can use to indicate how much has been downloaded? Or any other suggestion t...

playing flash movies in lightbox

I'm using JQuery and Prototype in this web application that I'm developing. I'm looking for a way to use Lightbox v2.04 by Lokesh Dhakar to play flash movies. If its not possible using the Lightbox v2.04 then what other ways can I accomplish the shadowing overlayed flash video pop-up with jquery and/or Prototype? The reason I'm set on...

as3 tween - how do i keep from images with drop shadows going straight black?

I am using AS3 to create a tween affect between multiple images that have a drop shadow around them - it works great, except after 3+ tweens the drop shadow starts getting darker and darker - that makes sense, but not really want i want to happen. Ideally i would like to tween between 2 images, on the 3rd clear it out or something? I a...

Does flash support MP3 audio format natively?

I was of the idea that flash (more specifically Adobe's flash player browser plugin) probably uses some installed MP3 codecs (on the client machine) using OS APIs. I heard someone say that Flash supports MP3 natively. is that true? I guess flash has it's own video and audio format. (FLV and something similar for audio). This question ...

Stack overflow when tabbing in flash player 10

Has anyone run into this problem? All I am doing in tabbing from one TextInput component to another. I have reduced my TitleWindow (the container for the TextInputs) down to only these two components and I still get this error. I assumed that it had something to do with my flashplayer install, so I uninstalled and re-installed, but I st...

How do i load a .swf via a url in html object and/or embed tag?

I thought this would be simple, but its not working .. in both the object/embed code, i try to load a .swf via a url but nothing loads. ex: name="movie"value="http://localhost/mySite/Flash/Flash.swf" If i run the pages locally from the flash folder and ref via: name="movie"value="Flash.swf" ... it works fine I thought it might be a se...

Showing flash above content.

I have a page with a tutorial (http://www.poromenos.org/tutorials/bittorrent/download), but the site layout obscures the flash player, which is too wide. Is there a way to show the flash above the content through the z-order (or something else, lightbox-y)? ...

Abuse of Adobe Flash

Lots of websites in the wild seem to abuse their visitors by automatically starting flash based advertisements / trailers and the like. What are the defenses modern browsers offer, for example, Disallow automatic playing for a specific URL / site/ domain Disallow speaker use [flash does not allow this to be configured and I'm especial...

Display stocks data from Google Finance or Yahoo! Finance

How can I link up the Google Finance API to display stock data in Flash? Any Flash + JavaScript mashup code would be great! Even code that can just access Google Finance's data would be great for starters! Better still, code that can access Google Finance's data and convert it into a CSV or suitable format for these chart componen...

How can my Flash app determine its own URL?

My flash app needs to know its own URL, so that it can load some (non-embedded) content using relative paths. (I cannot hardcode the full paths because there will be multiple installs -- staging, production, etc. Nor can I use simple relative paths because there's one legacy install that uses a different relative path (ugh). And I c...

free or cheap open source browser-based Flash (flv) video players

Does any know of any free or cheap OSS browser based Flash video player? It's going to be embedded on ASP.NET 3.5, a webcontrol would be handy, but not required. I've been looking around and there are a lot of options. My client wants to host a video on their web site like in a player like YouTube. Here are some of the ones I've foun...

How to make Windows Flash games run on Linux?

I have some educational flash games for Windows (legally bought), that I would like for my daughter to be able to use on her OLPC. I know that some users have been able to run them under Linux by using wine, but that is really not an option on the OLPC as they need the cd in the drive to run, and the OLPC does not have a cd drive. The ...