flash

Hosting Flash movie in a WPF project

I want to host a SWF (Flash animation) in a WPF project. I searched Google and found something. I tried that technique but had some troubles. In this article, it says: **Then, as mentioned in this posting, it is necessary to run AxImp.exe from the .net sdk on the Flash ocx to generate following files. 1. AxShockwaveFlashOb...

Looking for html/flash/ajax uploader component with specific requirements

There is a number of Flash and AJAX based uploaders around. I need a file upload component for an existing form in an existinc application, so I have very specific requirements for it. Maybe somebody knows one off the top of their head and saves me a lot of research. I need a file upload component that has a progress bar and "upload" bu...

Firefox 3.5.3 Windows + Flash + swfobject wmode problem

I'm having issues with Firefox 3.5.3 Windows embedding Flash using wmode. If I set the wmode parameter to 'transparent' or 'opaque' Firefox 3.5.3 Win XP (Flash player 10.0.32.18 r32) completely fails to embed the movie, but it works in everything else, including IE on the same machine and the same FF in Mac OS. Can anyone help please? ...

Basic Authentication with Flash

This is *** unbelievable! Flash programmers are familiar with the example: var req:URLRequest = new URLRequest("http://yoursite.com/yourservice.ext"); req.method = URLRequestMethod.POST; req.data = new URLVariables("name=John+Doe"); var encoder:Base64Encoder = new Base64Encoder(); encoder.encode("yourusername:yourpassword"); v...

What should I put on my programming cheat sheets/flash cards?

The cards are specifically for ActionScript 3, though anything programming related would probably still be helpful. I can think of a lot of things to put on them, but I know if I rush into it they won't be coherent and difficult to search through. Class Hierarchies? Function Names? Example code? Any insight at all? ...

Sound visualization in ActionScript 2.0

I need to create a basic bar chart distribution in ActionScript 2.0 based on sound output. I realize that ActionScript 3.0 has a very nice sound visualizer class SoundMixer.ComputeSpectrum but the limitations of my project require me to use ActionScript 2.0. Im wondering if you know of A. Any third party libraries that I can use or ...

Referencing static variables from frame scripts in AS3

Got some external classes, say MyClass.as MyClass.as has a static variable called foo So, ordinarily in other AS files I can call this with MyClass.foo = bar; However, this seems to be different in timeline scripts. Every time I try this I get the reference with a static type error 1119: Access of possibly undefined property foo th...

How feasible is it to translate this Ruby websocket / flashsocket server into PHP?

How feasible is it to translate this Ruby websocket server to PHP? http://github.com/gimite/web-socket-ruby/blob/master/lib/web_socket.rb I know a little bit of Ruby and a decent amount of PHP, thought I've never done socket programming. I'd like to build a chat app on top of what gimite has put up on git, but all my sites are in PHP. ...

Detecting glyphs occurrences in any fonts

Hi, everyone. I'm writing a small .NET application that can produce SWF files, and I need to support Unicode fonts. I don't know the things on it and font rendering well, so I understand that I've made some blunders while writing my application: many fonts installed on my Windows don't support Unicode characters so I can see hollow squa...

AIR app in front of Keynote presentation

Does anyone know of a way to make an AIR app display over top of a Keynote presentation? I currently have alwaysInFront set to true. Thanks for any help, Dan ...

Looking for a web based embeddable file manager that is cross platform

I'm looking for a web based embeddable file manager that is cross platform. I haven't found anything suitable through Google or the Stack Overflow archives. Does anyone know of a file manager that meets the following criteria? The file manager must be embeddable (e.g. Flash or a Java applet) run from my server (no storing uploads in...

How to "go back"

I'm creating a learning application in Flash and am trying to figure out how to program a "back" button using ActionScript 3. I'm guessing that I need to set a variable to find the previous frame and then set an Event Listener to listen for the back button, but I don't know how to program the variable to find the previous frame, especial...

AS3 Instantiate Class From External SWF

Hi, I was chatting with my buddy about this, he is convinced you can do this and says he has done it, but I cannot get this to work. I am wondering if it is even possible at all. I tried typing a var as a Class that is within the externally downloaded SWF and then making an instance but no can do. some code private static function on...

how to catch an http post file from Flash to ASP.Net page?

I'm working on a sample i found on this site: http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/ it captures the webcam & saves the image then posts it to a page. but it seems that i couldn't catch the saved image, im kinda rusty on AS so I hope someone here could help me. i'm capturing the response in a aspx page and s...

XML vs. Array in Flash

In manipulating data in Flash, which data format gives faster speeds in terms of searching and manipulation, XML or nested associative arrays? Meaning I currently send data in strings into the Flash client (I don't want to load an XML file) but I'm not sure if formatting the data into an XML file or into nested associative arrays is bett...

Flash object captures webcam picture then streams to asp.net page

i found a couple of samples, but they seem to be fixed only to PHP. Do you guys know any sample that points to an ASP.Net? ...

Problems of different domain with flash

I don't know which title I should use for this question. I have a webpage (e.g. index.html) which contains flash content, url: http://www.abc.com/travel/sg/traffic/ After I finish the webpage and upload onto the staging server, the customers said that they may need to use different domain to go to the site, e.g. http://sg.travel.com/ ...

How do you reset an AS3 list component so that nothing is selected (NOT selectedIndex=0)

I have a list component on the stage in an AS3 movie. I populate it with values at runtime and the user can select multiple values. When a button is clicked I want the list to reset to a state where nothing is selected, all I can figure out is to set the selected index to 0 and have the first position on the list either blank or readin...

How to call a function in a Class from another Class?

Update: Modified title to better reflect my question Hi everybody :) My question today revolves around a CustomEvent I'm trying to send from one sub Class to another. I've used my CustomEvent class to pass an event from a sub Class to my main class fine, but I'm not sure who to do that between sub classes. My Custom Event Class pack...

How do I fix this cross-domain ActionScript 3 error?

I'm going to be as specific and verbose as possible and include some of the code I'm using. I already did a search and found this question, which seems similar; however the author there was using ActionScript 2 instead of 3, and I couldn't seem to apply any of the answers given to my own situation effectively. I am trying to emulate (in...