flash

I would like to know to create a youtube like flash player

I basically want to embed a swf object and then feed different videos to it. Right now, I made a xml driven video player, however, I would have to create a new swf and xml list for each video I want to embed on my site. This is a real drag and pain. What is the procedure to make a universal player like youtube. FYI: I can't use flow play...

can asp.net access flash shared object?

I'm looking for a direct way for server-side code to access a flash shared object. Obviously you can write some javascript that can read flash shared objects via ExternalInterface. But doing that requires a client code execution, and then a push of the shared object data back to the server-side code. This seems rather complicated. So is...

how to do collision detection for hollow(?) movieclips in flash AS3?

Hey everyone, I'm making small interactive games in flash to learn AS3, now I ran into a problem that I need some help with. I need to check the collision between the player and the wall which is normally simple using the hitTestObject function. But now I made a wall object totally surrounding the player with corridors and turn, a col...

in actionscript, how to tell whether the type of a number if Number or int or uint?

var n:Number = 1; trace("n is Number:" + (n is Number)); //true trace("n is int:" + (n is int)); //true trace("n is uint:" + (n is uint)); //true var m:Number = 1; trace("m is Number:" + (m is Number)); //true trace("m is int:" + (m is int)); //true trace("m is uint:" + (m is uint)); //true They all true! in actionscript, how to tell ...

I need to add a KeyboardEvent to a movie clip in Flash cs4 AS 3.0

I have a movieclip called keyCButton that I want to add a keyboardEvent ("C" Key) to. This will play an animation from frames 2-30 with a sound. I have watched a few tutorials but still haven't gotten the correct information to make it work. The following is my code. stage.addEventListener(KeyboardEvent.KEY_DOWN, cNote); function cNote(...

What are Adobe FLEX, Flash, ActionScript and their relationship to eachother, if any?

This is obviously a rookie question about Adobe technologies, but I am seeking a canonical answer to help me understand the adobe development stack. Thanks, -bn ...

Can Flash Builder 4 Premium compile Flex Builder 3 Pro project?

That's about it. Oh, and I don't want to convert the Flex Builder Project making it incompatible with Flex Builder 3 Pro. ...

How to serve MP3's using RED5 flash server

I have installed RED5 flash server and 12 hours after installing it, I still cannot serve a simple MP3 file. So far, If I have understood correctly, you need to create and compile a Java application to simply serve a file!?.... Which seems a little over-complicated to be honest. Never touched Java. I have used the oflademo however can...

AS3 notification for video first frame

When I play a video in Flash, fist, it starts buffering and then, when the buffer is full, it plays. While the buffer is filling, the associated Video object automatically displays the fist video frame. Is there a way to receive a notification when this frame is available ? Because I want to hide the video component until there is an im...

Why would some POST data go missing when using Uploadify?

I have been using Uploadify in my PHP application for the last couple months, and I've been trying to track down an elusive bug. I receive emails when fatal errors occur, and they provide me a good amount of details. I've received dozens of them. I have not, however, been able to reproduce the problem myself. Some users (like myself) exp...

Registered Symbol Problem with Flash Mailto Link

The problem I'm having is an extra  Chracter being added before the ® symbol in the body of an email created from a mailto: link in flash. This only happens on the PC in MS Outlook Instead of: MasterCard®! It shows up as MasterCard®! The code in flash AS3: var req = new URLRequest("mailto:"); var variables = new URLVariables(); va...

Adobe Flash or After Effects: How to make a piece of virtual paper blow away?

About a month ago I saw a portfolio website in Flash that featured a stack of cards, and each time you clicked on it, they sort of blew all over the place, thus exposing the backs as videos and pictures. Although I could easily take a bunch of 3D planes and tween them to turn and flip, these cards actually seemed to 'bend'. How is this...

How to remove flash cache on a web site periodically

I'm using a flash rotating banner in my website which takes images and descriptions from an XML file. I do changes to my XML very often... but in my local machine, the banner takes a day or two to get updated. Although I can clear my local machine's cache, the problem still remains for other users who visit my web page.. is there a ...

Flash Catalyst - Export Component to FB

Hi, I'm working on an AIR project using Flash Builder. There's a couple of component that I could see would be easy to generate using Flash Catalyst. I can't see any way to export a Flex component/library (SWC) of some UI elements from Flash Catalyst. All I can see is that I can export an entire project from there and import it as a...

Audio player / Flash issue - displaying content header and characters?

Not sure how to describe this issue, but I only get it in Firefox and not any other browser. When clicking around, the page sometimes blows up with the attached pic. Sometimes it has even more characters than that, and you can see things like LAME encoder referenced. Anyone know what the deal is? All site caching is disabled. I am no pr...

set countdown correctly, as3

How can I set my countdown correctly? I'm counting from 33,000.00 to zero. It works in a fashion, but the minus operator appears in the textfield. //Countdown from 33,000.00 to zero var timer:Timer = new Timer(10); var count:int = -3300000; var fcount:int = 0; timer.addEventListener(TimerEvent.TIMER, incrementCounter); timer.star...

coin rotation, as3

What's the better way to make a coin rotation? I tried Math.random, but the coin doesn't wobble correctly. starter code //ROTATION addEventListener(Event.ENTER_FRAME, enterFrameHandler); function enterFrameHandler(event:Event):void { /* ADD VELOCITY, GRAVITY, ACCELERATION */ coin.rotationY += 8; } tried this, but it has no gravity o...

Flash/Javascript upload in spite of same origin policy

Can one upload files to a domain other than the domain a script originates from? For example, suppose you're hosting files on www.example.com, and you want to upload files to uploads.example.com, would the following script violate the same origin policy (using uploadify): <!-- from http://www.example.com/upload.html --> <input id="file...

Receiving RTMP upload with ASP.NET

Is it possible to upload audio from a Flash component in the browser to an ASP.NET server? I would need a server side component able to extract the audio from the RTMP stream. ...

I am a c++ programmer that looking for good Flash and AS3 tutorials

I need a tutorial that explains the basics of Flash and AS3 (including usage of OO in AS3) Any recommendations? ...