flash

Actionscript Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047: Security sandbox violation: LocalConnection.send: 127.0.0.1 cannot access

When running flash components that use localConnection within an HTML container, I get the following error in a popup box (flash player is the debug version): Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047: Security sandbox violation: LocalConnection.send: 127.0.0.1 cannot access ...

Unload MovieClip before Removing?

Is it better to Unload a MovieClip before Removing it off the Stage, in order for its contents to get cleared from RAM and therefore free up RAM better? Adobe Flash AS2 Documentation: removeMovieClip() - Removes a movie clip instance. unloadMovie() - Removes the contents of a movie clip instance. ...

Is the "_" prefix reserved for MovieClip names?

Is it possible to use the "_" underscore prefix for your own MovieClip names? (AS2) i.e. Can you name a created/attached MovieClip "_feature" or "_bug" ? Typically this is reserved for internal properties like _x or _visible. ...

Returning typed objects from .Net - Flex - FlourineFX

Has anyone had experience with flourineFX? I have to fix something that uses fluorineFX on the backend to provide typed objects to the a flex presentation layer. I was under the impression that if I register the objects in Flex like so registerClassAlias("Kanpeki.Domain.Staff", Staff); [Bindable] public class Staff implements IListabl...

HTML Object over a SWF

Hi, I have a SWF Video player on my webpage. I want to draw a div tag over it with a high z-index to act as a popup on it . Its a very generic popup. Hence I cannot make it as a part of swf. but, SWF seems to have very high zIndex and would not allow any HTMLO entity to sit over it. How do I achieve this or is there an alternate soluti...

Embedded video in WinForms (AxShockwaveFlash)

I have uploaded a couple of tutorial videos in youtube. In my winforms application (by using the AxShockwaveFlash object) i reproduce the selected video by the user. AxShockwaveFlash1.LoadMovie(http://www.youtube ..video1) Here comes the story. The first time the user selects a video, reproduction works like a charm. When the user s...

How do I setup an ASP.Net/IIS dev enviroment on a Mac for my Flash developer?

No, no, I'm not getting hives ;). I am able to run a local version of my .NET 3.5 site on IIS and troubleshoot whilst I develop. However, my flash developer is forced to log onto our Windows 2003 and mess with our staging server when he wants to see how his work is doing. This is unacceptable, I understand, but right now there are time...

Javascript bridge to Flash to store SO "cookies" within flash

After reading this on the question How do I uniquely identify computers visiting my web site? : A possibility is using flash cookies: Ubiquitous availability (95 percent of visitors will probably have flash) You can store more data per cookie (up to 100 KB) Shared across browsers, so more likely to uniquely identify a machin...

Compc (Actionscript Library Compiler) Doesn't Fail Unless I Delete the File First?

Here's the scenario: I run compc on a source directory to recompile an already existing library after some changes, which completes successfully. Then I remove the library (the .swc file) and re-compile, which causes many errors to be thrown. Nothing changed in the interim - clearly this should have either succeeded both times or failed...

How do you stop Copy/Paste in a flash form

I work for a medical transcription company and our medical transcription test we administer to our applicants is an older flash forms app that stops copy and paste by emptying the clipboard when you enter the form. This worked great in IE 7, but recently it has come to my attention that it does not work so well in Firefox. Or perhaps it ...

ActionScript 3.0 Preloader Issues

First off, I greatly appreciate any help, as always.... I have created a preloader from Jarrod's Advanced AS3 Preloader Tutorail. I searched elsewhere and this seemed like my best option as it was the only one I understood that did not require 2 SWF files. My code is really in 2 classes, my preloader class and my program class. My pro...

Embedding HTML in Flash using Deng

The Deng XML browser engine claims to be able to render XHTML within Flash objects. Does anyone have any experience using it in this capacity or could recommend alternative solutions? ...

Does ActionScript 3 require an error event handler for XML?

In a Flash game I am developing, there are some settings that are set by an external XML file. When I run the SWF file through the Flash IDE, it loads fine. If I run the same file as a projector (.exe) or the independent SWF file, it does not load the XML file. My (unexpected) fix was to assign an error event listener to the loader ob...

Rotate an AS3 Dynamically created object

I'm building a site that requires an audio file to be played with an equalizer. I don't know alot about AS3 yet so this might be a simple question. I've found an example that I would like to use Demonstrated here and the source files here The code to add the equalizer object to the stage (from the tutorial) package { import flash...

How can I access files uploaded with Yui uploader 2.6.0 from a server running Google App Engine

I am using the Yui Uploader 2.6.0 advanced example and apparently it is working fine on the client side. Basically the uploadAll function in javascript passes to the uploader the url containing the script to handle the uploaded file/s on the server: function upload() { if (fileList != null) { uploader.setSimUploadLimit(parseInt(docum...

Flash loading external file freezes page -or- multiple simultaneous downloads

I've got a flash mp3 player on one of my web pages, streaming external audio. Check this site out as an example (no affiliation, just an example): http://www.1pixelout.net/code/audio-player-wordpress-plugin/ When it's a decent sized mp3, once I start playing the file, it takes a little time to buffer. While it's buffering, if I click o...

How can I allow a user to always allow my flash app to access the microphone?

We've got a flash application which has started displaying some rather irritating behavior. Every time the user logs into the site, they see a warning dialog from flash asking them if they want to allow our site to access their microphone for recording: Sorry; I can't get my machine to show that dialog in English, but it basically sa...

How can flash pass J2EE authentication - it can't send a cookie containing jsessionid

We have a web page of a J2EE application, in which the user signs-in to the application. It contains a flash widget that needs to call services in the server, using the session that the user created. The web page passes the jsessionid to the flash widget, in order for the flash to use it to pass the authentication. However, the flash p...

Convert? Domain objects to DTOs - Cannot create an instance of an interface

Hi I need to pass some objects to and from .Net and a Flex presentation layer. I need to pass and recieve the following object. public class Room: BasicRoom { private int _seatingCap; private RoomType _roomType; private IList<Equipment> _equipment; public virtual RoomType roomType { get { return _roomType; }...

When handling a flash.events.MouseEvent, how do I find the localX/Y with respect to the currentTarget?

I have a component which draws a grid of things and I want a small highlight square to follow the mouse around highlighting the square that the mouse is currently over. The whole grid is basically just one big sprite (it's a very large grid and this was faster than using pre-existing components) and the highlight square is another sprit...