flash

pause / resume download with URLStream?

Is it possible to pause / resume downloads with the URLStream object? ...

Monitor browser tabs with localConnection and sense when a user closes a tab.

In my application the browser window connect with long polling(comet) with the server. If the user open several browser tabs, only one of them(called the master) communicate with the server and serves as a proxy for the other tabs. I want to use flash localConnection to exchange data between the tabs. What happens when a user closes the...

webinar application

Hi... I want to build webinar application (chat,live video, presentation, white boart and etc). Now, I trying to choose platform (flash/flex, javafx). Does anyone have experience in developing such applications? ...

Documentation for Adobe Flash CS4?

Adobe Flash CS4 contains no documentation at all; it simply redirects to the online docs. Since I own the older Flash CS3 I was wondering if I could use the older HTML files with the newer IDE, by changing some XML file within the Flash CS4 directory on my C: drive? ...

Ajax/Flash file uploads with a progress bar?

I'm looking for a simple solution that will be: Easy to integrate Allow multiple file uploads Show a progress bar while the file is being uploaded Any ideas? I've tried Swfupload and its a real pain to integrate. ...

Flash / ActionScript 3: Load .FLV file into a MovieClip and start playing that FLV file

How can I load a FLV file into a MovieClip (lets call the instance "flvPlaceHolder") and start playing that FLV file.. using ActionScript 3? ...

Is it possible to create a 'command line' swf?

I'd like to be able to write a .swf file that is runnable as a command line app. In other words, I would be able to create actionscript classes which can interact with stdin and stdout, and could then execute that .swf directly in the command line. I suspect that this isn't really possible. Can anyone confirm that? EDIT: A couple of th...

Security error when doing a post from a flash application to an Asp.Net MVC application...

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://mysite.com/Content/MyFlashApp/myflash.swf cannot load data from http://www.mysite.com/Home/SaveData. at Main/encodeAndSave() ...

Resizing of AS-based Flash app from FireFox vs. IE...

I have put in some controls to allow users to resize my Flash app via Javascript: document.getElementById("flashApp").height*=1.25; document.getElementById("flashApp").width*=1.25; This works great in IE/Safari, but is ignored in Firefox. I know it's talking the the flash app and gets and sets the height/width vars ok, but the same co...

Rotation in flash causing image borders to look "pixely", how to fix?

I have a bitmap loaded in flash, for a 2D game. The bitmap represents a character and is rotating when the user uses the A (left) or D (right) keys. The problem I have is that the border of the image becomes ugly while rotating, you can see "pixels" (you can always see pixels, but I hope you understand what I mean). How can I fix this i...

Send array from Flash (AS3) to JavaScript.

Is it possible to send an array from Flash (AS3) to JavaScript using an ExternalInterface call? I currently am calling a function multiple times from a 'for each' loop inside Flash but it goes too fast for the JavaScript to keep up. My idea is to create an array of the attributes, pass that to the JavaScript function and then to loop...

FlexUnit and callLater

I'm trying to use callLater with FlexUnit v0.9: public function testCallLater():void { Application.application.callLater( addAsync(function():void { assertTrue(true); }, 1000)); } but when it runs I get this error: ArgumentError: Error #1063: Argument count mismatch on flexunit.framework::AsyncTestHelper/handleEvent(). Ex...

Flash Questions

Hi All, I am new to flash, but I want to learn! I have questions: In Flash you can define the interface with some XML like: ?xml version="1.0" encoding="utf-8"?> txtPage> pageTitle>indie Blog]]> pageTxt> page text /pageTxt> /txtPage>" How can I add Hyperlinks? Simply putting it inbetween the doesn't render in the...

Get Rid of Windows Menu around Standalone Flash App?

I have a standalone Flash application that has its own File menu. You double-click the .swf file to launch it. How do I make the standard Windows window (the blue bar with the minimize, maximize, close buttons, as well as the "File, View, Control, Help" Bar) disappear so that my flash app is "naked?" I'm using Flash Player 10 with Actio...

Cross Platform Flash Player Embedding

I need to embed the Flash player in a native application (C++) in a cross platform way (at least Windows and Mac OSX). I need to allow the Flash gui to make calls back to the native application to do things that Flash normally can’t do (e.g. write to the file system, talk to devices, loading native image processing libraries, etc). The A...

AS3 - Detecting variable change and pass values through to listener

I've got the following code from another question on SO to track the changing value of a counter. package com.my.functions { import flash.events.Event; import flash.events.EventDispatcher; public class counterWithListener extends EventDispatcher { public static const VALUE_CHANGED:String = 'counter_changed'; ...

Internet browser keep loading old swf files?

Hi, i have an swf file, uploaded in server. But whenever I make changes to the files, uploaded and replace the old one, I go to browser, clear cache and everything, refresh the page, but it still load the old swf file. (Do you know what I mean?) But after 10 - 20 hours, I visited the page again, it loaded the new one. Is there anyway t...

Flash caching

I have a flash movie that dynamically generates urls based on some params. Snip: <object data="images/flash/header.swf?button=1&lang=foo... The problem is that both IE and FF do not get the swf from cache when the params differ. How can I get around this and make the browser cache the swf, ignoring the params values? ...

tweenlite as2 oncomplete

Hi, I seem to be having trouble with TweenLite in AS2. I've created a class which I call on the main timeline. Within the class I've loaded images and once they are loaded I want to fade between them. I am calling (inside my class) the following code when the images have finished loading: TweenLite.to(_root["loadedimg1"], 1, {_alpha: ...

Pdf to Swf conversion using Java

Does anybody know a Java tool that can convert a pdf file to a swf file ? To clarify, we are building a site to generate photo albums. The photo album editor is written in Flash (ActionScript 3.0) and then on the back-end is written in Java and it generates a pdf for the album. The problem is having two rendering engines (Flash for clie...