flash

flash in jquery accordion

I am using openflashchart in my website that generates multiple flash graphs for a certain model. I am trying to figure out best way to present these multiple flashes in one page. I have tried slideshow plugins (the issue with them is that the next/previous type elements which are generally over the sliding content, stop working when t...

i want to display a Quadratic equation with format like (4x2).

i want to display a Quadratic equation with format like (4x2). i want to display 2 as superscript automatically after typing x in the textbox. ...

convert .fla file to .swf on linux

hello, i'm totally new to flash and action script, here some action script code, for capturing images from webcam (from here): var cam:Camera = Camera.getCamera(); var video:Video = new Video(640,480); video.attachCamera(cam); video.x = 20; video.y = 20; addChild(video); import flash.display.Bitmap; import flash.display.BitmapData; ...

Is this a good implementation of Polymorphism?

This is working, but is this a good example of polymorphism? package mtm.test { import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.MovieClip; public class TestDocument extends MovieClip { public function TestDocument() { var image:Image = new Image(); ...

The class or interface 'flash.utils.ByteArray' could not be loaded.

Hi there.. I am a total Flash newbie. I just installed Flash CS5 and ran this code. import flash.display.BitmapData import flash.geom.Matrix import com.adobe.images.JPGEncoder; import flash.net.FileReference; import flash.utils.ByteArray; //get the default camera //change your Default camera using the Flash Player Settings. cam=Camera...

How to generate FLV video on the server side?

Hi, I need to create a server-side application that takes an array of images and produces FLV file with animated slideshow. Does anybody know what technology can I use to achieve this? I'm primarily looking for a linux tool, but if you know any windows-based technology, it will be appreciated too. You can see what I'm looking for here. ...

implementing dynamic in-game advertising inside flash games

I'm a django(python) web developer. I can also make 2D flash games. I'm planning to make : online flash games distribute them to various websites then use dynamic in-game ads inside these games( ad changes during game play). These ads will not annoy users because ads will be placed inside games elements( will look as if they ...

Detecting flash on a web page

Hi, I want to programmatically detect flash on a web page. From my search, I understand I need to parse the code and look for embed tags that have the attribute "application/x-shockwave-flash". Is that all? Or there are other ways to embed flash into a web page? Thank you. ...

transparent parts of sprite responding to mouse events

I'm making a puzzle game in Flash cs5/as3 which can have custom puzzle shapes. Basically, the user can draw basic protrusions of a puzzle. Then I create a black and white puzzle piece with a custom function like this var piece:PuzzlePiece= new PuzzlePiece(true,true,false,false); PuzzlePiece is a class that extends Sprite. The four arg...

Create objects(movieclips) in execution time on Flash (AS2 or AS3)

I have a movie clip who is only a square, i need to copy it on the flash stage a number of times (dinamic). How can i do this in execution time, i know AS2, so i prefer a solution in AS2. Thanks for you help! ...

Flex canvas with many UIComponents, if one moved are others redrawn/reprocessed?

Hi I have a canvas called Host with many UIComponents as children, sometimes up to 1000 or 3000 items. This is fine for now, as they are not interactive. But, I have added a 'marker line' (a 1 pixel wide UI Component with a colored background) to the canvas which follows the mouse movement. When this UIComponent is added to the Host c...

Uploading large files with ASP.NET: what are the best practices?

What are, nowadays, the best practices for uploading a large file (which may cause a timeout) with ASP.NET Web Forms and/or MVC? Increase Server.ScriptTimeout (only for the specific POST request); Use some flash client-side uploader like swfupload ( http://swfupload.org ) or plupload ( http://www.plupload.com/ ), but Flash uploads have...

How to use the same function for both a Timer event and Mouse event in AS3?

Hi everyone, so today my question is how can we have 1 function triggered by both a Timer event and a Mouse event? 'm trying to avoid having to re-write/re-name a function just because I also have a Mouse event that triggers it and not just a Timer event. Issue: I have a addThis bubble fade in with icons on a button rollover, the addTh...

JavaScript Flash Embed Error

hi i have the following page: [here][link removed] the script i wrote is working fine. but the script attached to the flash player which i have no control over is throwing a script error (im using IE8). any ideas as to how can i fix this? if i run it locally there is no error. thanks. EDIT: says 'null' is null or not an object...

Ad-hoc (WiFi or bluetooth) in flash-app on Android

Hi. Would it be possible to create an ad-hoc multiplayer connection (close range) between two or several phones in a flash application? ...

flash as3 loader question

What I am trying to do is load 2 different swf's using 2 different buttons. What I want to happen is when you click on button 1 it loads the first swf and button 2 loads the second swf removing any other swf from the stage first. The problem I seem to be running into is with the loader. I cannot seem to load the images into the loader ...

URLStream and unicode

Hi, I am trying to send info using USLStream from flash client to JAVA server. Some of the info is Chinese so i have to use Unicode. How can i do that? now the Unicode info retrieved in the server is corrupted. ...

flash as3 external swf help/error

I am having an issue loading an external swf into my as3 project. I have created both swfs and both were creating using as3. In the one file I am trying to load the other swf, just for testing purposes. It works fine but for some reason I am getting this error: TypeError: Error #1009: Cannot access a property or method of a null object ...

The class or interface com.adobe.images.JPGEncoder could not be loaded

Hi there, I am a total Flash newbie. I just installed Flash CS5 and wrote the following code: import flash.display.BitmapData import flash.geom.Matrix import com.adobe.images.JPGEncoder; import flash.net.FileReference; import flash.utils.ByteArray; //get the default camera //change your Default camera using the Flash Player Settings....

actionscript text not appearing when embed font is set to true.

I added a custom class for a custom font in the flash project library. Now when i try to embed the font and use it from actionscript , the text is not getting visible. There is no error being thrown. Here is my code. var tabfont:Font = new tabHeaderFont(); var format:TextFormat = new TextFormat(); format.font = tabfont.fontName; ta...