flash

Is it possible to capture the screen and save the image in actionscript 3?

I need to capture whats currently shown in my app and save it as a image, is a flash app running locally, without apache, just a flash app with AS3, is it possible? Ive seen many solutions googling but all need a webserver and this app is running as a desktop app. Thanks in advance. ...

Custom Context Menu with Javascript?

Is there a way to add custom fields to the built in browser context menu using Javascript? I know flash/actionscript can do this, how are they doing it? Example: right click on http://josephjewell.com and see the custom context menu. Is this possible with pure javascript or do you have to use flash? Note, I'm looking for adding to th...

Print a bitmap without printing a sprite?

Following up from: http://stackoverflow.com/questions/3021557/as3-printing-problem-blanks-swf-after-print-or-cancel I am trying to comeup with a function to print without creating a sprite, because that's what it seems to be causing my problem: public function printScreen():void { var pJob:PrintJob = new PrintJob(); ...

NetStatusHandler never gets called (Flash CS5)

Hi, I'm using this code to connect Flash CS5 to WebORB: import flash.display.*; import fl.events.*; import flash.events.NetStatusEvent; import flash.net.*; import flash.utils.*; import fl.transitions.*; // var connection:NetConnection; // function initORB(){ var gateway:String = "http://www.domain.com/weborb30/console/weborb.aspx"; conn...

Flash video player VS HTML 5 Video.....

I need to add a video player to play a video on a webpage. usually i use Flash player with the help of swfobject library. which works if flash player and javascript both are enabled. I'm currently using XHTML 1.0 strict doctype. My question is can i just change my doctype to HTML 5 doctype and add Video player using HTML 5 video. for ...

Blank Swf after printing from another app.

Ok, so i am having a problem, where i developed an app that uses the webcam, adds an image and then takes a picture, well, i implemented textbook style the printjob, and well everytime after printing my swf goes blank. http://stackoverflow.com/questions/3021557/as3-printing-problem-blanks-swf-after-print-or-cancel But now i have been c...

play live video in flash player

i want a flash player which can play a live video in browser. my video is increasing per second. EDITED: i am making video using images by ffmpeg i want to play that video in browser but when video is playing size of that video in keeps on increasing. to view the increased video user have to reload the page . ...

Problems unloading xml (movieclip) when changing to another frame

I need some help. I loaded xml on a movieclip and i also have a button to go to another frame but the xml keeps loadding!! what can i do to remove the xml each time i click on that button? I'm using flash cs4 AS3.Please help ...

How to retrieve real time video stream(from web camera) from flash media server in a browser ?

Or say, How does the url of FMS real time video stream look like? I guess it shouldn't be like http://domain.name/f.flv, then how is it like? ...

Facebook - using an external flash application to connect via PHP

So, I have this application that needs to connect to facebook. It uses php for all of its data access, in older examples of the facebook API, i see people get the UID, and sessionkey from the iframe page, then send them to php and run a function called $facebook->setUser($UID, $sessionKey). This is how the majority of the tutoria...

how can i get MC in stage function??

hi, i create three circles. if a circle is dragged to right side of the stage, it becomes invisible and vice versa. when MOUSE_UP is invoked, it must stay in its last position. so in the appear() function how can i assign the selected circle to current_mc? function createCircles(evt:Event):void { for(i=0; i<3; i++) { ...

Flash CS5 projects panel totally gone?

So, I popped open up Flash CS5 just now, and I couldn't find my projects panel. I was working on a dual screen set up previously, so my windows were everywhere anyways (sans external). I switched over to a smaller screen workspace, and popped opened the projects panel. Oddly enough, the code snippets panel came up instead. So, I switc...

C# Flash ActiveX - Recording

I wrote an application that monitors live streams from various sites. The application has done well but theres a feature that is highly requested. And that's the ability to record the stream. I'm currently using the Adobe Flash ActiveX control to stream the videos from the various sites. Is there a way to record the stream? Whether it b...

Flex DataBinding Drilling Down Through Arrays

The help page on the BindUtils.bindProperty function: http://livedocs.adobe.com/flex/3/langref/mx/binding/utils/BindingUtils.html Has this to say: "For example, to bind the property host.a.b.c, call the method as: bindProperty(host, ["a","b","c"], ...)." But what if I need to bind to host.a.b[2].c? How do I do that? ...

Proper syntax for jQuery's SWFObject plugin

What is the syntax for jQuery's SWFObject plugin? I can't find examples containing more object attributes or parameters other than the ones in the plugin's homepage. edit var flashvars = {}; flashvars.clickTag = "http://www.onesite.com/?tag=10606&amp;tag2=~banner_1134&amp;target=_blank"; var params = {}; params.scale = "exactfit"; v...

Why are my event listeners firing more than once?

In my Flash project I have a movieclip that has 2 keyframes. Both frames contain 1 movieclip each. frame 1 - Landing frame 2 - Game The flow of the application is simple: User arrives on landing page (frame 1) User clicks "start game" button User is brought to the game page (frame 2) When the game is over, the user can press a "play ...

Equivalent of Flex DataBinding using Pure Actionscript

When Flex Sees Something Like This: <mx:Label text="Hello {MyVar} World!"/> It Must Translate That Somehow Into ActionScript. But What If I Need To Do Something Similar, At Runtime. How Can I Accomplish What DYNAMICALLY? WHEN I DO NOT KNOW THE CONTENTS OF THE BINDING TEMPLATE. In ActionScript it would need it to look something lik...

which header do i need to send to browser when responding with flash file

hello all i build ed simple single threaded web server that i embedded to my application in Qt c++ this server are responding fine with simple html pages , but when i try to response with flash file embedded inside the html all the html string just got printed to the browser my question is what headers and http responses do i need to una...

ASP.NET Javascript Clock

Hi, I would like to put a clock on my webpage which should show time and a timer for a particular interval. Could you please suggest me some open source javascript to do that?? I tried unsuccessfully searching web for flash one's. Please help. Thanks, Mahesh ...

What components can you use to create AIR apps?

Dear community, I'm creating AIR apps in FlashDevelop using the free Flex SDK. Are there any AS3 components that I can use to speeden up the development process?? For example: List with renaming Tree with dragging items, renaming I searched Google lots, but in vain. ...