Questions tagged [actionscript-3]

AS3, also known as ActionScript 3, is an object-oriented programming language utilized in the Adobe Flash and AIR Platforms. This open-source language is commonly used for developing RIAs, mobile applications, and desktop software. (ActionScript 3 is a variation of ECMAScript.)

Integrate a Google Maps API Javascript into a Flex application

I'm trying to incorporate a Google Maps API JavaScript into my Flex Application, but I have been unsuccessful so far despite looking at various examples. If anyone has any tips or guidance on how to achieve this, I would be extremely grateful for you ...

Is it possible to retrieve data from multiple services with just one click of a button using asynchronous calls in a flex layout?

Currently, I am working on a project that utilizes Flex for the front end and Blazeds/Java for the backend. The codebase already has prewritten services that I need to work with. My task involves making calls to three different services in the backend (ess ...

Is there a way to save a screenshot locally in AS3 and PHP without having to deal with system dialogs

Is it possible to save a bitmap of a display object, along with text input, locally without triggering system dialogs usually shown by Flash Player? Can PHP help in achieving this task? I've heard about Air being effective in handling this, but I'm not v ...

What is the best way to retrieve time from a MySQL timestamp in ActionScript 3?

I need help displaying an ActionScript 3.0 Timer, based on a timestamp retrieved from MySQL. Imagine that PHP returns a string like $my_birthday="2013-05-22 12:30:45". I fetched it in ActionScript using a URLLoader, and now I want to present the timer in ...

Utilizing numerous JSON entities within an AS3 socket

When receiving JSON data from a camera through a Socket, I encountered an issue. The received data contains two JSON objects in the socket. Is there a way to separate them before decoding? This is the error message I receive when trying to decode the J ...

How can I extract data from a swiffy animation?

Suppose I am tracking the number of mouse clicks in Flash. To do this, I have utilized the following code: import flash.events.MouseEvent; plus.addEventListener(MouseEvent.CLICK,aaa) var i:int=0; function aaa(e:MouseEvent) { i++; var a:Number ...

Decoding the information received from Socket.IO within the Flash client

When utilizing server node.js and module Socket.IO, data transmission is handled as shown below: var tests = [555, 777]; client.send("Test string"); //first message client.send({tests:tests}); //second message If the data sent is a text string (fi ...

Can I send the FileReference directly to PHP?

Is there a way to pass the complete FileReference Object to a PHP Service for uploading purposes? uploadTheVideoResult.token = uploadVideo.uploadTheVideo(mFileReference, nameTextInput.text); If not, what is the most efficient approach for sending a File ...

Transfer files from flash to server using PHP

I am attempting to transfer files from Flash to a server. When the user starts, they input their username, which is then sent to PHP using the following method: var myusername:String = username.text; username.restrict = "A-Za-z0-9"; login_btn. ...

When the JS function 'postMessage()' is invoked on an HTML object tag, what specific action does it perform?

Not too long ago, I found myself on a quest to figure out how to trigger the print function on a PDF that I was displaying in Adobe AIR. With a bit of guidance from a helpful individual and by utilizing postMessage, I successfully tackled this issue: // H ...

How can I eliminate the blank page that appears when using the Force PHP download script?

When running the PHP file with headers to force a download (from a flash/as3 project), it also brings up a blank page. Is there a way to close that after? I believe most users wouldn't appreciate unexpected popups with blank pages. My initial idea was to ...

Horizontal SWF's are providing spaces of white in between them

I'm struggling with removing the white space between SWFs on my HTML page. I've tried using 'block' in CSS, but it's not working for a horizontal layout. Adding "0" for the border hasn't helped either. I'm getting frustrated trying to figure this out. He ...