flash

Mod_rewriting a query string onto a swf file

I'm attempting to use mod_rewrite to clean up the URL's to a flash video player. First, here is the original URL that I'm trying to rewrite to: library/player.swf?path=path-to-file.flv The above URL works perfectly fine when I access it directly. I have coded the swf to automatically grab the path parameter and play the video. No prob...

Generate XML with PHP and pass it to an SWF

In the past I have created a php file that generates the XML and then referenced it in place of the xml file and it has worked. I am trying this with a precompiled flash app and it is not working. Any ideas why? It works if I run the script, save it and then reference that file to the swf. I would rather not generate a file to the file...

How do I reverse my sound volume math for my volume slider?

Hi Stackers, I'm building a video player and am kinda stuck at the volume slider part. It's a YouTube style vertical slider, meaning if the slider is in the top position volume should be 100% and if the slider is dragged to the bottom position sound should be 0. Currently it's doing the opposite of what I want :( Dragging the slider dow...

Scale proportionally below movieclip size

Hi there, I'm trying to make a movieclip scale proportionally only if the item is being resize smaller than the current. Obviously I can use the ScaleX/Y values like so: if (cont.scaleX < cont.scaleY ) { cont.scaleY = cont.scaleX; } else { cont.scaleX = cont.scaleY; } I need to restrict/reset the scale proportions only in special cas...

AS3: Loading SWFs in a for loop

I'm trying to load external SWFs in a for loop, and I have this problem that is really eating me: In the event handler I need to know the filename of the SWF that was loaded, but I can't obtain this. The code below shows what I'm trying to do. Does anybody have any idea? function loadManySWFs(arrayOfFileNames:Array) { for(var i=0;...

Buffer Webcam Video Upload

I currently publish streaming webcam video from a Flex web app to a Wowza server. However I don't need the video to be live. Is there a way I can buffer this upload, or even wait until the recording is complete? This way I can avoid bandwidth and latency, and deliver higher quality video. ...

flash movie won't load? linking issue?

artoferichu.com/figures/ doesn't load. artoferichu.com/figures loads. the flash movie won't load in the first link and loads in the second link. any idea what is going on?? i'm using .htaccess to redirect figures to figures.php oh btw, my .htacces looks like this: RewriteRule ^figures/?$ figures.php ...

Flajaxian File Uploader Settings

Hi, I have renamed a image that has been uploaded using FileNameDetermining... Then I launched the javascript FileStateChanged to show the image that has been uploaded to the user..... Is this possible? Because the javascript's file.name actually takes the actual filename and not the renamed filename.. how could I use the renamed file...

Is there a port of prefuse in javascript/flash?

http://prefuse.org/ It's originally written in java,but I want to do it with client script,like javascript/flash. ...

Flash: combine two BitmapData objects via max( channel )

I have two BitmapData objects with alpha channels. I'd like to combine them into a single one by using max(channel_image_one, channel_image_two) for each channel, including the alpha. Is there an easy way to achieve this result? ...

fluid css layout for flash .swf file

I'm trying to make a fluid design, I'm using percentage for width and height trough out the site, but I have an embedded flash file which doesn't follow the percentage, I have to use em which is not good and it doesn't resize according to the viewport. so I was wondering if I'm doing sth wrong. this is the link to the website when 100...

My flash reinitializes (reloads) when it's container is resized (via javascript - jQuery) in FireFox

I have a flash within a holder div (flash container). I use swfobject to insert the flash object (if it makes any difference). I want to resize that holder div to make it smaller in width, when I achieve the "second level" in my "flash application". (with jQuery .animate() function). What "flash application" mean: I have a human body ...

Application compiled by Flex Builder 3 does not trace

I've built a simple application in Flex Builder 3 with some trace() calls. It's an "ActionScript Project", no MXML or AIR involved. I don't run the app from within Eclipse, I just open the generated html file with Firefox. I'm using the Flash Player 10 Debug version. I've correctly set mm.cnf to log trace output, following the official ...

as3 mouseChildren=true does not hold the name of the button created.

for(var l:int=0; l<anXML.length(); l++){ aButton=new btn_secondTier(); aLocation.addChild(aButton); //var aButtonDefaults:ButtonDefaults=new ButtonDefaults(aButton); aButton.y=l*24; aButton.name=anXML[l].attribute("id"); aButton.title_txt.text=anXML[l...

Is "Export Movie" as PNG Sequence for movies with actionscript animation possible in Flash CS4?

Hello All, I was wondering if there is any way to use the "Export Movie" as "PNG Sequence" to work for movies where objects are animated with actionscript. Exporting like this works just dandy for normal animations, but it doesn't work for my current project. Basically I am creating images using mathematics and I want to be able to expo...

What is the most effective way to style a Flex application?

This may be more of an opinion poll than a question, but here goes. I have a fairly complex Flex application that uses many different components. I want the application to be able to custom styling and/or skinning. I also want to be sure that the styling approach makes the most efficient use of system resources (memory, CPU, network),...

SSL Client Side Certificate authentication in Adobe AIR

I'm trying to use a RESTful web service in Adobe AIR. The service uses client side certificates for authentication, thus I need to set the cert and private key used by AIR/Actionscript's URLRequest when connecting to this RESTful service. Is setting the Cert/Private Key possible in Adobe AIR? I did find some documentation from Adobe p...

How can the actionscript version of a swf file be determined in C#?

What libraries or methods would be needed to achieve this? ...

Flash Stage Losing Focus

I built this incredibly brilliant scrolling thumbnail image viewer for a client in flash actionscript 3. (Basically it just scrolls up or down depending on the mouse position). It works so so, (I can never get the percentages right so that it shows the top most image) but, that's beside the point. What is REALLY irking me is when I h...

Embed vimeo player in Rails?

I want to allow users to submit a vimeo url and embed that in a player. Is there a plugin or gem that does that? Thanks ...