flash

Why does my SWF file size not decrease when reducing content?

Often I find if my SWF file size is on the large side, when deleting media altogether or perhaps deleting and re-inserting compressed versions of images, sound etc, it has little or no effect on the resulting SWF's file size. I have tried deleting the SWF to allow Flash to recreate it from scratch but it makes no difference. Has anybody ...

Detect corrupted flash file

I once accidentally uploaded only part of my flash program to my website (i.e., it was truncated), and to my biggest surprise, the flash object was loaded successfully into the webpage, no errors were raised, no warnings were given at all. (This was a release version of the player, the debug version might have behaved differently, I don'...

How to determine the total number of "initProgress" events coming from the preloader?

The flash preloader emits FlexEvent.INIT_PROGRESS events to signal the progress of the flash application initialization. However, the number of times this event is dispatched depends on the application itself. I am trying to determine this number, but I couldn't find an answer in the Flex documentation, so right now I resort to experime...

Changing arbitrary flash objects wmode to transparent

I need to change wmode of arbitrary flash objects to transparent from external js file to make sure they don't hide menus without using Jquery or similar libs. In FF I use getElementsByTagName("embed") and set attribute. It seems to work well. Specifically I'm having trouble with object set by swfObject library In IE7. swfObject creat...

Is it possible to downsample an audio stream at runtime with Flash or FMS?

I'm no expert in audio, so if any of you folks are, I'd appreciate your insights on this. My client has a handful of MP3 podcasts stored at a relatively high bit rate, and I'd like to be able to serve those files to her users at "different" bit rates depending on that user's credentials. (For example, if you're an authenticated user, y...

Is it feasible to maintain a Web Application designed in Flash with Flexbuilder

I'm starting a new job Monday and part of the job description is to maintain outsourced Flash web pages that only consist of Rich UI Forms and very little animations. I don't have any experience with Flash or Flex but being a programmer the Flex IDE appears to be much more suitable to me, which brings me to my question: Can I maintain ...

avoiding page refresh when rewriting html with outerHTML

I have to read, change and rewrite an HTML OBJECT tag using node.outerHTML. on IE7. There is a brief refresh of the screen when I do that. I guess that the browser repaints the screen when I write the HTML. The actual OBJECT tag data is the same as before with only one parameter (wmode) that has changed. Size of the object and other pa...

building in flex builder for flash player 10

Is it possible to build Flash player 10 stuff, specifically papervision in Flex Builder latest version? ...

With this technology, would it be possible to compile and run silverlight IL in Flash?

I don't really understand this article. But it sounds like you can compile C/C++ for flash. If that's possible, how hard would it be to compile and run Mono inside flash? Sounds stupid I know...maybe I'm going crazy with my age. ...

What does a Flash object know about the page it's in?

The organization I work for has created a small flash widget that we're encouraging supporters to place on their website. I'm trying to determine if there are ways to improve the statistics we get from those embedded widgets. Mostly I would like to get the domain of the site that loaded the widget. Right now I'm able to see the referr...

Programmatically embed Kanji in Textfield

In the "Embed...Character Embedding" window in the Flash environment, you can select to embed Japanese Kanji. Does anyone know of a way to embed the same using a TextField created with Actionscript? ...

Dynamically accessing nested movie clips in flash actionscript 2

I have a nested movie clip instance that I want to access. The path to the movie clip is defined by two variables ( similar to a row and column). I am already dynamically accessing the parent movie clip like this: eval("row" + ActiveRow) Now I want to access one of row(#)'s children called let(#) dynamically. Here are my best guesse...

How would I get a Hash value of a users file with Javascript or Flash?

What I need to do is provide a file browser box on a web page where a user selects a file from their computer and, through javascript (or flash if necessary), some sort of Hash is returned such as CRC, MD5 or SHA1. I would prefer not to have to upload the entire file to the web server, as I expect some rather large files to be used in th...

Is there an open source alternative to Flash for web animation?

I want to make something similar to this, but I'd like to avoid proprietary platforms (flash). I'm relatively new to development and I'm willing to learn anything. I understand that some javascript frameworks like jQuery and MooTools are capable of some animation, but is this beyond their capability? What do you recommend? thanks ...

Flash: VideoPlayer.load method sometimes fails...thoughts on why and how to recover?

I have a movie that loads an flv using the VideoPlayer class. It does it with the load function. Here is a code sample of what I'm doing: _root.createEmptyMovieClip("SlideA", 1); ... SlideA.loadMovie(urlContainingFunctionForLoadVideo); ... // SlideA has completely loaded SlideA.loadVideo(urlToFLV); function loadVideo(url) { ...

Unique Identifier for Flash Installation

In a Flash application I would like to obtain the Flash product ID (or any other identifier which would uniquely identify a particular installation of Flash). I haven't found anything in the SDK that provides this? Any ideas? Terry. [email protected] ...

Make Flash movie autoload

Hello. I would like to embed a flash movie on my page but I would need it to autoload from the begining, not only when I reach it through page. I mean, I have a long page and the flash is about in the middle. It plays an animation with sound and I would like it to start itself, not only when I scroll down to it. Is this possible ? Thank...

Detect availability of Javascript from Actionscript?

I would like to open external URLs from within my Flash project. I typically use something like this: getURL("javascript:newwin=window.open('http://someurl.com','','');"); But, if Javascript isn't available (in cases where the SWF is not embedded in HTML) then this will fail. How can I detect whether Javascript is available? If it ...

What should I learn Silverlight or Flash ?

Silverlight is enticing from my C# background. But I'm concerned about it's penetration. Is it likely to catch on ? OR perhaps I should just bite the bullet and learn Flash. Does anyone have any advice on which to choose ? ...

flash interaction with javascript internet explorer

I have a flash object interacting with a javascript function. The interaction works fine in every browser except in IE (all versions) I have tried with swfobject and with classic embeding. AllowScriptAccess is set to "always". Is there any cause for this flaw ? Thanks ...