flash

python FLV checker

i need a simple python lib that check the uploaded files to my webserver are flash media (FLV), by reading the flv header (metadata) and not the mimetype extension. ...

Flex (Flash Builder 4) modify image, keep quality

I'm writing an simple application for users to upload an image, modify it and save it back to the HD. Because most images are bigger than the image view of the app, they are scaled to fit. When te image is modified, it will be saved to the disk. At this point the quality of the image is bad. Is it possible to scale an image for displ...

HTML overlay on a swf flash movie

Hi All I'm having trouble displaying a overlay div saying "Please wait..." on top of a flash movie, even with absolute positioning and z-index highier than the flash movie itself. But the overlay div is still behing the flash movie. Why is that? I think it's something to do with embed/param tags but I'm not sure, please can someone advi...

Flash media server with php

We want to build an application that allows the user to record a video using their webcam on our site using flash and save the URL in a database using PHP. So that we can allow the user to send the video's to other users etc. Also we want to offer the user the possibility to upload their movies (per mail and with PHP) and convert them t...

Is there a way to allow users of my site to download large volumes of image files from Amazon S3 via Flash / PHP / other service?

Hi all, My website allows users to upload photographs which I store on Amazon's S3. I store the original upload as well as an optimized image and a thumbnail. I want to allow users to be able to export all of their original versions when their subscription expires. So I am thinking the following problems arise Could be a large volume ...

sIFR 3 showing on my Home Pge but not on any other pages

I have integrated sIFR3 and it shows perfectly in my home page but not on any other pages. I never changed anything only the name of the font. Here is my sifr-config.js: sIFR.replace(helvetica, { selector: 'h3', wmode:"transparent", css: '.sIFR-root { color: #ffffff; font-size:18px; margin:0; padding:0;}' }); sIFR.replace(helvetic...

Error 2036 from loadClip using AS2

I'm troubleshooting an old AS2 application, particularly where it is loading a swf into an empty movie clip. We're a secure site, but the clip to be loaded is on the same domain. We tested loading a clip from a non-secure http address, and the swf successfully loads: //Throws Error #2036: Load Never Completed my_mcl.loadClip([valid pa...

Clear Class ( new ClassName() )

Dear, Question: What is Obverse of var animals:Pets = new Pets(); ?? Script: package { import flash.events.MouseEvent; public class Pets { public function Pets() { // constructor code my_btn.addEventListener(MouseEvent.CLICK, onClick) } private function onClick(e:MouseEvent) { trace(Sta...

TCP/IP sockets and flash

Hi, What is the best tutorial for TCP/IP sockets and flash? My project also involves Linux server as well. I'm looking for a book or tutorial I can share with my team. Your recommendations are appreciated. Thanks, Details 'not much I can give' • Need middleware solution to send packets to Flash ...

Flash and HTML5 the Fallback?

Is it possible to have Flash video first then to fall back to html5? Like I have something like this if(Flash is installed){ run flash player} else if(can do video tag w/ h.264){ use HTML5 video tag with h.264} Now this is javascript so it's being written in javascript, then the inner html will get the right tags. ...

Flash, actionscript...load and parseXML with scrolling

Hi, I would like to add a component in my flash website which will, 1.load xml data. 2.parse it using stylesheet 3. Have a scrollbar incase xml data is a lot. any suggestions will be helpful ...

BOX2D flash game Applyforce/Apply Impulse?

I am trying to replicate this game for flash using Box2D http://www.physicsgames.net/game/Tricharge.html . I have everything fine, the only problem i am having is when the group of bubbles burst, How do i apply a uniform increase in speed like it does in the game. I have tried ApplyForce, ApplyImpulse but all i get is what looks like an ...

creating a dynamicly named object

Hi there! I'm trying to create a dynamicly named object. something like private var myVar:String = "dynamicName"; private var [myVar+"staticName"]:Object = new Object; but what i wrote above dosn't work for some reason. ...

external flash file loader

hi, i want to show progress bar while the flash file is loading, for example http://www.roketoyun.com/guc-gosterisi.html in this site it's loading file dynamicly. my page like this index.php?file=15 preloader will take the file id and show the progress bar how can i do this ? i searched for jquery but couldn't but i think i can do this w...

Converting a flex component w/images to bitmap

I am trying to take images I am placing in a flex canvas component to a bitmap. I was able to get to the point where I'm not getting an error but then no image shows up and the image I save out as a jpg is blank. I imagine I'm not setting the bitmap data correctly but can't figure out what I am doing wrong. Here is the code where I am c...

AS3, How to show just the last line of dinamic text (and more)?

Hi, I have made an actionscript that loads an external text file, and scrolls its content to the bottom: var myTextLoader:URLLoader = new URLLoader(); myTextLoader.addEventListener(Event.COMPLETE, onLoaded); function onLoaded(e:Event):void { track_info.text = e.target.data; addChild(track_info); addEventListener(Event.ENTER_FRAME, ...

Flashplayer processes not closing when testing in flex / flashbuilder

Having this new problem with flash builder where I run a debug flashplayer, close out the flash and it doesn't always kill the process. Sometimes it does sometimes it doesn't, leaving me, after a while, having 10 or more flashplayer tabs on windows still open. I try to close them using the task manager with no luck. This hasn't always ...

Why does calling this function with more than 2 parameters in Actionscript 3 cause stack overflow?

function testFunc(val1:int, val2:int, val3:int):int { var returnVal:int = 0; return returnVal; } var val:int = testFunc(1, 2, 3); causes locals: Main int int int * 4:dup VerifyError: Error #1023: Stack overflow occurred. ...

SampleDataEvent.SAMPLE_DATA never fires in Flex??

microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, gotMicData); the event gotMicData is never fired.. however i tried using dispatchEvent but that will return null byteArray.. However similar code works fine in Flashcs5... import flash.events.SampleDataEvent; import flash.media.Microphone; import...

How to make a some button on web form with Action Script

I am absolute beginner in Flash, and AS3. I need to make dynamically some amount of buttons in web page. I must use Action Script and MXML. If It will be PHP I will call echo function. So help me please. ...