flash

Data Source for SWF Chart

Hello How would one go about reverse engineering a page such as the this one to work out where the data being used to create the chart comes from? Many thanks ...

1046: Type was not found makes no sense!!!

I've got several custom classes. Let's call them "Character", which is supposed to import and use "Head". Then "Head" imports and uses "Hat". That works just fine... package character { import flash.display.MovieClip; import flash.events.Event; import flash.display.Stage; import flash.display.Sprite; import flash.events.Event; i...

How to Upload a Video?

I want to know how to upload a video like on youtube, vimeo etc to get a final flash video. I'm using PHP. I have this HTML form: <form action="upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="upload_video" /> </form> So what should I do if the user has uploaded a video for example in .mov or othe...

How to convert a video to .swf?

How to convert any kind of videos into .swf format automatically? So if the user uploads a video in a format from the example inputs how should I convert it automatically into sfw format? Example Inputs: .avi, .ivf, .div, .divx, .mpg, .mpeg, .mpe, .mp4, .m4v, .wmv, .asf, .mov, .qt, .ts, .mts, .m2t, .m2ts, .mod, .tod, .3gp2, .3gpp, .3...

Generating video with Flash Player and Wowza Media Server

I'm currently creating a whiteboard in Flash, and I want to be able to record all of the user interaction for later playback. Is it somehow possible to create a video of what the user is drawing? ...

How to write component to upload files directly to Windows Azure Blobs?

I've been experimenting with Windows Azure Blob storage using the samples using Silverlight. I was wondering if it's possible to write a file upload component in Flash instead of Silverlight, since the former is installed almost everywere. I've never programmed in Action Script but I have a solid background in C# so that must not be ha...

JavaScript sound library the doesn't require HTML 5 or Flash

Is there a reason that all of the audio javascript libraries I'm finding (jPlayer, SoundManager 2, etc.) try to use HTML 5, and if that doesn't work attempt to use Flash but then don't fall back to anything else? Why wouldn't they try to fall back to the default HTML sound tags like <embed>, <object>, or <bgsound>? Is there a library o...

Error #1009 when trying to send a byte to a socket in action script 3?

I'v been looking and I can't seem to figure this out below is my code. import flash.net.Socket; var mySocket = new Socket mySocket.connect("127.0.0.1", 5331) var sym:SimpleButton; sym.addEventListener(MouseEvent.MOUSE_DOWN, symbtn); function symbtn(event:MouseEvent):void { mySocket.writeUTFBytes(1); } ...

How do I get the domain of the page that's loading my swf when I don't have script access?

I need my swf to be able to see the domain of the page that it's loaded on. Normally to to this I would just look at window.location over ExternalInterface, but in this particular case the swf is going to be embedded with allowscriptaccess="never", so that's not going to work. Is there an actual api that will give me that or do I have to...

Flash Cookies in Silverlight doesent work on Windows XP Embedded

Hi, I have a Silverlight 4 out-of-browser full trust application that shows a Flash file. This Flash file is using cookies to store some informations. When I opening the Flash application in my Browser (Internet Explorer) he can acces the cookies, but in my Silverlight application he can't do this. This happens ONLY on the Windows XP Em...

increase display speed of full screen adobe flash player application

HI. I'am under ubuntu 10.04, live CD. I run my adobe CS3 application in the stand-alone flash player V10. screen resolution : 1280x1024 I've set the /etc/adobe/mss.cfg file parameters. But, in full screen, the display performances are divided by 2!!! Is there a solution ? - Ubuntu optimisation ? - new flash player version ? - CS3 par...

How to anti-alias a dynamically loaded PNG in Flash

Hello everyone, I have a Flash file that I use to load in transparent PNG's (line-drawings), and use Flash to allow the user to select the color of drawing, and instantly change the color. This is all working like it should be. I am using the UILoader component to load in the image that I recieve through flashvars, and then change the ...

Is it possible to improve the performance of this drawing technique?

Am currently working on a tool created by a colleague of mine and would like to improve performance. Basically, it's a tool for drawing on screen and uses a combination of Sprites and the Graphics class to draw a line segment every time the mouse is moved when the mouse button is down. Here is the drawing bit: // on MouseMove protected...

Dropdown menus are "stopping" my Flash animation, causing choppy animation. IE ONLY.

Background: On a recent website, I'm using a jQuery driven dropdown menu in addition to a Flash scrolling animation. Note: I am only using the Flash animation in IE only as I created an equivalent, jQuery based animation for all other browsers (because, surprise, IE didn't handle the jQuery version). So please look at this in IE only....

Flex - SWF being used referenced on many Domains... HOW?

I have a swf hosted on "aaa.com", this swf is super smart and takes all kinds of HTML vars which change it's features and functions. I need to be able to allow other domains, "bbb.com", "ccc.com", ect to be able to paste the HTML code that references my swf on it's hosted site "aaa.com" and have it load up on any domain the reference i...

using papervision to create a 3d game

now i need to add a health bar and countdown timer on the screen. how am i going to do it? adding a plane in the 3d scene? the health bar is always on the top right corner of the screen. is there anyway of NOT using 3d concept to implement this. i mean i could do it with a plane keep changing it's texture to show the status of the chara...

Trim whitespace around a transparent PNG

So, I've managed to get myself stuck in a situation where a database full of images ( transparent images of various products ) needs to be placed on the stage, all of which need to be aligned the same by the products height. My problem is that the png's of products are 'floating' and I have no control of where about's in the png it will...

Audio not playing in Flash AS3

Hi guys, I've been trying to play an external sound file in Flash and failing miserably. The code couldn't be simpler: var s:Sound = new Sound(); var req:URLRequest = new URLRequest(MovieClip(root).videoLink); var context:SoundLoaderContext = new SoundLoaderContext(3000, true); s.load(req, context); var my_channel...

Stream the audio of Flash video only

Hi. Is it possible to have a Flash player that only plays the AAC audio of Flash video (FLV file)? In other words, we need the video muted and only play the audio. ...

Flash Projector with multiple windows, each with a new flashPlayer instance.

Does anyone know of a flash projector 'project' or 'framework' that uses a new flashPlayer for each window? We've used mProjector, which works well to a point, but I'm very disappointed in the fileIO patterns they use. It is very buggy with regard to reading and writing files. mdm zinc uses multiple windows, but it is all sits on one ...