flash

X,Y coordinates seem to be generated from the middle of an object instead of the top left in flash

I am converting a room editor I had made in AJAX to Flash where users can move furniture around where they want, but I am running into some issues with the x,y coordinates. With the Javascript/AJAX setup, I recorded the X,Y coordinates of the furniture image, and it worked fine from the top left corner of the image. However, now trying...

Flash Programming on Linux

Does anybody knows good IDE that will allow me to develop flash application on Linux? ...

Getting total amount of memory, available in Adobe Flash from ActionScript

I have to load a lot of data from BlazeDS and/or Livecycle DS service to Adobe Flex and would like to find out what's available from memory stand point. This is similar to querying in java: long heapSize = Runtime.getRuntime().totalMemory() ...

WIA through web browser - ASP.NET

I am wondering what would be the best/preferred way to write a scanning app that lives in a web browser. The basic idea is I want to use a web page from where I can click a button which will scan a document on the client and upload that document to server. The first thought that came to mind is write a native (C++?) browser plug-in. Howe...

Is there a way to get a Silverlight app and a Flash app to communicate?

The title basically says it all. I'm looking for any way to get a flash app to communicate with a silverlight app, and vice versa. Are there any drawbacks to communication between the two apps? What are (or not) you able to communicate? ...

Play Flash file under WinCE?

Is it possible to play a Flash file under WinCE? I know there is a player for Windows Mobile but WinCE seems to not have one. I seems like you can license a player from Adobe for WinCE but I have not had any luck getting information from Adobe. I found this post that mentions using a AxShockwaveFlashObjects using C# and .NET Compact F...

Flash: incorrect behavior in everything except Internet Explorer

I'm a complete Flash n00b, but I'm having difficulty and I thought posting my question here was worth a shot, even if it's probably too complex to effectively convey here. My client wanted a Flash intro (yuck!) so I made it so that it results in a menu with links to other pages on the site. To minimize annoying visitors, I'm using a co...

WPF, Flash and Airspace

Has anyone been able to solve the airspace issues when trying to play a flash (swf) movie in a WPF application? I've been able to play the swf file using a WinForms control and a WindowsFormsHost element, and also using the WebBrowser element - but both have the airspace issues. ...

AS3 keyboard events within a class?

I seem to have trouble getting a keyboard event within a class to work, I have an ENTER_FRAME event which works fine, but the keyboard event never gets called. Any ideas? here's the code package { import flash.display.MovieClip; import flash.display.Stage; import flash.events.*; public class mainGame extends MovieClip { var myPlayer:...

Global variable problem

I load an image and add it to the MC someMC. If "something" is true, the someVariable gets the someMC scaleX number. Let's say its 0.82. What I need is to get that number into the s.value in my Slider object. Since I want the Slider value to be where my image scale is. This of course doesn't work because of variable scope limitations. ...

Optimize javascript pre-load of images

I was wondering if anyone has any strategies for optimizing the pre-loading of images via javascript? I'm porting a Flash application into html/css, attempting to recreate the UI as close to the original site as possible. It's essentially a photo browser application, where a high-res image is shown when the user hovers over a link. Ther...

Removing Flash meta-policy communication warning

I am communicating to an external server via a URLLoader and receiving the following warning: Warning: Domain domain name does not specify a meta-policy. Applying default meta-policy 'master-only'. This configuration is deprecated. See http://www.adobe.com/go/strict_policy_files to fix this problem. The provided link r...

When a Flash applet loses focus, how can I catch that event in JavaScript?

How do I get a JavaScript event when a Flash movie loses focus? eg. like when the user clicks the HTML page. ...

AS3: Increase Child Index by 1

How would I increase the child index of a movie clip by 1? ...

External HTML file into Dynamic Text Field in Flash/AS3

Hi there, I've looked through the forums, and couldn't find the answer to my question outright, so I figured I'd just ask it. Apologies if this question has been asked already. I'm trying to load an external html file into a dynamic text field. The dynamic text field has html display enabled. The html file contains a list of links in ...

SWFobject on top of JS tooltips

http://richarcade.com/play/gunrun I'm using swfobject.js (richarcade.com/swfobject.js) to display Flash content, and wz_tooltip.js (richarcade.com/wz_tooltip.js) to display hovered tooltips. The problem is that the 'similar games' tooltips show up behind the flash game. Any ideas? ...

detect flash player in web browser in client

I'm now have a request to detect flash player version in client and if their version couldn't play so I will display something like "if you see this line is mean you need the flash player up to date to see this file". Some one help me please! ...

Taking Images From Camera with Adobe Flash

Hi, I want to help user to take their pictures with a plugged in video camera and post it to the server by using Adobe Flash. is there any component can do it ? ...

Degrafa Bezier spline bind data to string

Hi, I want to insert a bezier spline into my Canvas by this code <mx:Canvas id="graphCanvas" width="100%" height="100%" preinitialize="preInit()" /> <BezierSpline id="mySpline" graphicsTarget="{[graphCanvas]}" data="points" verticalCenter="0" horizontalCenter="0" > points is a string I initialize in the preInit() method [Bin...

Actionscript: LoadVars doesn't wait until data is loaded

variable = 0; function change() { variable = 1; } go = newVars(); go.onLoad = function(success) { trace("#First"); change(); } go.load('http://www.stackoverflow.com/variables'); trace("#Second"); trace(variable); // output = 0; The problem is that it executes #Second before #First, which means that the object is not fullly loade...