flash

How do I send data from Java to Flash locally?

I have a website with a Java applet and a Flash application. I want the Java applet to send data to the Flash application locally. What's the best way to do this? The data I want to send are potentially large images (possibly up to 1MB in size). This means sending a base64 string to javascript and then to Flash would probably be too...

Should i use Adobe Flash or Flex for action scripting

I am new to flash and learning action script 3. I am using flex. But i find it hard. Should i use Adobe flash so that i can insert the components by drag and drop ...

How to open multiple pop up browser windows from ActionScript?

How to open multiple pop up browser windows from ActionScript? ...

html5 / flash video player

I'm working on a website in which I'm going to embed some videos. Are there any good open source html5 / flash video players around so I can avoid having to code up one of my own from scratch? EDIT: Note that I'm going to have a very small number of videos, probably no more than 5 or so, so format maintenance isn't really a problem. ...

AS3: FileReference ...

Let's say a user is starting to upload a file to the server via FileReference. What happens to that temporary file if the user cancels the upload or closes the browser? At what point is the server script called? Is the server script (in my case, ColdFusion) called only once the file has been successfully put on the server? I'm trying to...

How to protect a form HTML/PHP with JS callback to AS3

Hi guys, I'm developing a Flash website (as3) where I need to be able to upload directly to YouTube by using the DATA API. However in order to do so, I had to use a proper HTML form on top of my flash object. Why? Because of the Browser Based Upload restictions. I first hide the form using JQuery and with a little CSS the form is di...

Flash vs Javascript

Update 2: To add swf in web page Swf Object 2.0 is most used method, which is a javascript library, so flash will be depend on availability of JavaScript. So if javascript disabled then flash will not play. I always heard approx 5% users in the world keep JavaScript turned off. But Adobe claims Flash content reaches 99% of Intern...

How do I get my Flash CS4 buttons to direct the user to another URL?

My apologies if this has been fully addressed before, but I've read through several other threads and still can't seem to get my file to work. My actionscript code is at the bottom of this message. I created it using instructions from the Adobe website: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63...

Easy way to bring a php variable on flash with AS2

Can you show me an example of a very easy implementation in AS2 (action script 2.0) to bring a var from a php file. I have a php script who return a value into the var $result when it is executed, how can i use this var on flash? Thanks ...

Flash Buttons Don't Work: TypeError: Error #1009: Cannot access a property or method of a null object reference.

I've read through several threads about this error, but haven't been able to apply it to figure out my situation... My flash file is an approx 5 second animation. Then, the last keyframe of each layer (frame #133) has a button in it. My flash file should stop on this last key frame, and you should be able to click on any of the 6 butt...

what is different betwen .ipa and .app format in using iphone ?

i tried Adobe flash professional cs5 based to develop iphone application in windows os but when i publish it's out will be .ipa format , so is it working properly in iphone ? so could u know about ipa and app please explain me . And also is it possible to develop iphone application in Adobe flash professional cs5 and how can we get .app ...

Lightweight Flash Video Recording Server

I am currently using Wowza Media server for recording videos from webcam using Flash. However servers like Wowza, Red5 & Flash Media Server seem to be overkill for merely this task. Are there any alternative lightweight video recording servers which can be used for the purpose? My load would not be more than 5 users at a time and my ser...

How to pass immutable data through two webpages that can't be user-generated

I have a flash application (a game) and it needs to pass data to a php page to save the user, and the user's score. However I don't want the user to be able to alter the score him/herself or to initial a scoring without using the application. What is the best way to do this? ...

is Adobe flash professional cs5 mac projector (.app) and iphone application (.app) same or not ?

i tried to developed iphone application using adobe flash professional cs5 in windows so i bought iphone digital certification and etc , when i move to app store they asked app format application so i tried to publish as app format using adobe flash cs5 . But i don’t know is it same? but it also publish ipa format .( App store support ip...

AS3 / Java - Socket Connection from live Flash to local java

Hey guys, I'm trying to get a live flash that lives on a webserver to talk to a local java server, that will live on the clients PC. I'm trying to achieve this with a socket connection. (port 6000) Now, at first flash was able to connect, but it just sends <policy-file-request/>. After this nothing happens. Now, some people at Kirupa...

Resize a MovieClip on AS2 in function of text len?

Hello, i have a AS2 script who get information from a MySQL database. This information is a text from 0 to 300 chars. I want to display that text in this layout: I want to resize the black box you see on the picture in function of the amount of text imported. Any idea of how to do that on AS2? The instance name of the box is: cargador...

Flex/Flash: Don't show 'bar' cursor when dragging over a TextField/TextArea?

As the title suggests, how can I prevent the "bar" cursor from appearing when I click-and-drag over a TextField? For example, consider this interaction: I'd like to prevent the cursor changing to the "bar" in step "2". How can I do that? I've tried fiddling with the selectable flag: protected static function fixMouseOverAfordance(...

Java library to encode / decode AMF

Hi chaps, I currently have a Java server that talks to a Flash client by passing JSON encoded data over a binary socket connection. Is there a way on either side to encode / decode packets as AMF instead of JSON? It seems to me that there should be some native support in Flash player for doing this? All the implementations I have found ...

How to do a comet long pulling with ActionScript3?

I want to load data from my web server, I want it be the AJAX/Comet way, my web-server long holds the request, response it until something happened. Thus, I wrote some as3 code like this: private function load(): void { var request:URLRequest = new URLRequest(url); var variables:URLVariables = new URLVariables(); ...

Is it possible to show the download progress of a flash file?

I know how to setup a preloader and I have that working. But when I debug the flash application and simulate a download, it has a blank background until a few seconds have passed. I know it is "downloading" the swf file and I'm wondering if I can show a progress bar for that, or do I need to have the swf file as small as possible and pr...