flash

Looking for open source flash image rotator or tools to create one

I want to put a flash banner(slider) to show a bunch of products iteratively. And I want it to allow interaction so the user can interrupt image looping and choose what she wants to see and what images to show how long it will be shown should be configurable. I already googled for 'flashe banner / slider' but with no luck. Is there any o...

Best method to scale DropShadows in AS3?

I'm creating a flash application that makes use of both the dropShadow filter and scaling of various sprites. And therein lies the problem: This filter supports Stage scaling. However, it does not support general scaling, rotation, and skewing. If the object itself is scaled (if scaleX and scaleY are set to a value other tha...

fl.video.VideoPlayer loads flv relative to swf?

Update: Turns out this is undocumented behaviour of the NetStream class - NetStream loads relative to the swf, as opposed to URLRequest which loads relative to the HTML doc... annoying. I am having a strange issue where loading an FLV file using the fl.video.VideoPlayer class that comes with CS4: Adobe docs here Usually when loading ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine's clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use Flash? My primary target is IE8, but would like to support FF and Chrome also. I have seen the technique to do this using Flash, but am loo...

How to build a dynamic resize-able Flash player

Morning stackers! So my question today isn't dealing with any code, but how to go about this the correct way from the start. I have a video player built to a static size (max: 800x600) which I'll have to re-code every time I need it to be a different size. What I need it to do in the near future is dynamically resize itself and all the ...

Red5 Security Tutorial

I am looking for a step by step tutorial on securing Red5 from intrusion. This seems to be a question that comes up alot in a google search, but is never really answered in a way that makes sense to your average flash developer. ...

AS3 try/catch out of memory

Hi, I'm loading a few huge images on my flex/as3 app, but I can't manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont know what to catch): try{ images = new Array(frames); for (var i:uint = 0; i < frames; i++){ imagesBA[i] = new Bitm...

Flex/Flash Shoutcast player

I am trying to build a flash player for my company's Shoutcast server, and have seen a few articles about it on the 'net, including this SO question here. However, I can't seem to get the audio stream to actually play. It seems to be connecting alright, but calling stream.play() doesn't seem to do anything. I have tried the code i...

Avoiding escape sequence processing in ActionScript?

I need to mimic C# functionality of the @ symbol when it precedes a string. @"C:\A\File\Path" for example What is the best way to do this? Also there are some sites that will escape larger strings for you so that they survive the processing but I could not find one for Actionscript. Help? ...

How can you get the height of an swf to expand with the content?

I am creating a site in flash that is reading in entries from a database. I want the swf to expand downward on the html page so the user can use the browser scroll bars to see all the content. I don't want to paginate everything into a 800 px high swf or something - I want the page to expand just like it would if it were html. Possible? ...

How to make right click menu in Flash with "open in new window" for sIFR link?

How to make right click menu in Flash with "open in new window" for sIFR link? Can we make in sIFR3 directly? ...

How do I limit the following cursor to a specific area

I have a flash cs3 file where I want a mask to move on the y axis (up and down) when the user is scrolling over the navigation area. In my code, I have: maskMC.startdrag(); How do I limit the area where the mask will move, then make it return it back to it's original position when the user moves away from the specific area (in this ca...

Flash and .Net and Comet

Hi guys, We have a browser based flash(AS2) client application which communicates with .Net based server app. We are using traditional javascript way [ie.ExternalInterface.call] to communicate between server and flash client. We want to remove this dependency on javascript and directly send data to the server from flash. Many times the...

How do you stop a setInterval function?

I have a function that I want to run at an interval within a frame. I use the following code to start the function: var intervalID = setInterval(intervalFunction, 3000); Then, in a button's onRelease I want to stop the function. In the onRelease, I make a transition to another frame. btn.onRelease = function() { clearInterval(int...

Can XMLSocket send more than once in a frame?

I have a XMLSocket and I call send twice in the same function. The first send works but the second does not? Does XMLSocket have a restriction to only send one message per frame? Do I have to queue messages and have an onEnterFrame function that checks the queue and sends one message for a frame? ...

flv does not play

I have a FLV file intended to be played with JW Players, however it won't play. I have windows server 2008, in IIS under the website I have .flv in MIME Types. Extension: .flv MIME Type: flv-application/octet-stream But on the browser, FLV doesn't play, the player is displayed though so no problem with my flash player. In my other se...

Recording and playback of multiple video streams?

I am planning an implementation for a lecture capture solution for a local university. It is supposed to record all aspects of the lecture: the presenter will be recorded using videocamera + mic, his desktop activity is captured and optionally the whiteboard is captured as well (using Mimio). These input streams arrive (as video streams)...

gotoAndPlay(1) when a video is completed

I am trying to create a video that can be streamed on a website. The video started with a screen grab of the video on frame one. This has the action on stop();. When this screengrab is clicked, gotoAndStop(2); is fired and the timeline moves to frame 2 and the video starts to stream. All is well... Except from when the video finishes... ...

Why does the Flash Player throw a sandbox error in this case?

I get a Flex 3 sandbox error #2048 after connecting to a Socket on a Java (1.5) server. The server code is all mine, i.e. not running under Apache. Flash Player 10.0 r32. The sequence is as follows... 1 Java server starts, listens on port 843 for policy file request and on port 45455 for my other requests. 2 Flex client served by Ap...

Flash AS3 Full Screen not working on a tablet PC.

I have a Flash (AS3, CS3) piece that has a button that will make the piece go full screen. stage.displayState=StageDisplayState.FULL_SCREEN; This works great in all of the computers that I have tested it in except a tablet PC (HP 2710p is the only tablet I have to test on, but I hear the same behavior happens on all tablets). Does an...