flash

Getting directory listing using Flash

In flash you can open a file on the user's computer. In flash 9 you can upload and download the file and in flash 10 you can access the contents of the file. It is secure because the user has to choose the file from a file dialog box to allow flash access to it. What I would like to do in my application is to get a directory listing of...

Access savedThis property in Function

When I'm in the flash debugger, and I have some callbacks saved, I can see that the functions have a property named savedThis that is very usefull to know where that callback came from. I'm trying to access that property from code, but for some reason I can't. callback.savedThis throws an Error because it can't find the property, proba...

Flash and Accessibility

As a web developer, a number of the projects I work on fall under government umbrellas and hence are subject to 508 Accessibility laws, and sometimes W3C accessibility guidelines. To what extent can Flash be used while still meeting these requirements? For using javascript, the mantra is "Degrade gracefully" by providing the same conten...

Opening a swf file from within another swf with different than default values

Hopefully this won't be taken as asking the same question twice... So I'm working on a Flash website (in AS2) which has an outer index swf which loads sub swf files using loadMovie("subfoo1.swf", placeToShowSwf). These in turn load an xml file which tells it what content to load. Everything works peachy, but we'd like to add a button to...

Best way to make a flash "popup"

On my website I want a small flash banner which the user can activate somehow and it grows a lot larger to display a lot more information. I've seen advertising banners which annoyingly do this when you mouse over them although I'd want to ask the user to click a specific "more" button. I can think of two ways 1) Make the flash movie t...

Creating a camera that overviews a Papervision3D Scene

When first setting and subsequently experimenting with a Papervison3D scene, I often find myself lost because I somehow get the camera not looking at the scene geometry. If I don't realize that's the problem, then I start trying to find out why my scene isn't rendering - d'oh! Is there a best practice for setting up a camera that overv...

What are some resources for optimizing ActionScript (flash) for speed and size

I'm especially interested in memory profiling, reducing the size of a compiled .swf, measuring network latency, etc. Also, I'm focussed entirely on AS3. ...

FLASH save frame, to image (tiff, bmp, jpg, gif, png)

The title sort of explains itself. I am making some 'genrative' artwork in flash. Now I want to save the frame without making a screenshot so-on and sofort. And perhaps one day i would like to save a batch of frames. Is there an AS3 class/library out there that could help me out ? ...

What might cause connection errors when using bidirectional localConnection in Flash?

I'm trying to setup a bidirectional localConnection (LC) between two flash objects on the same web page. One object is AS2 and the other AS3. I'm using one LC object to send and receive data on each swf. (This shouldn't matter, right? I tried using two objects, one for sending and one for receiving, but got the same problem). They .c...

Flash - recording from user's webcam

I've seen a few sites that have a flash app which takes video from the users webcam and manipulates it. One example is the flash barcode reader http://www.renaun.com/flex2/BarcodeReader/BarcodeReader.html . I want users to be able to submit 10-15 second clips which I can save to my server and then play back later via flash again. Can ...

Why does Flash CS3 require you to specify the base class when exporting for actionscript (as3)?

In the library, right-click on a movieclip that you have written an ActionScript class for and select "Linkage...". Notice that the "Base class" field is not empty (it can't be). It's likely to be flash.display.MovieClip, but it could be something else, depending on what your class inherits from. This base class field is only required wh...

How does JavaFX compare to Flash and Flex?

I know Flex pretty good but also started to use Java FX. I am a little bit confused. Java FX seems to focus more on low level drawing operations and animations. Less on creating standard UIs like Flex. So is JavaFX more like Flash than Flex? On the other side JavaFX also supports Swing components as well as data binding, which makes it...

Browser links in Flash projector open but stay behind flash app

I have a flash projector file that is going on a CD-ROM. One section is just a simple list of links to useful websites. These links were created by adding URLs in the properties box to static text. The projector is running in full screen mode and was made using Flash CS3. This is the behaviour when running the flash projector app in Win...

script language for flash and c++?

I spend hours every week coding my own personal projects. I have a nice C++ backend. For my next idea, it is small and lite enough to be done in flash. But i want to do it in a scripting language so i can call the code in my C++ projects. What script can i use in flash along with c++? ...

Flex - URLLoader and HTTPService...

I use URLLoader to load data into my Flex app (mostly XML) and my buddy who is doing the same thing mostly uses HTTPService. Is there a specific or valid reason to use on over the other? ...

Silverlight/Flash webcast software, similar to Channel 9 PDC 2008

Anyone have recommendations for webcast software, similar to the Silverlight app here: http://channel9.msdn.com/pdc2008/TL57/ I looked at a couple other questions posted here, but I don't want a hosted solution. ...

JSON in Flex. "Access of undefined property JSON"

I am trying to parse JSON in an Adobe Flex app, using http://www.mikechambers.com/blog/2006/03/28/tutorial-using-json-with-flex-2-and-actionscript-3/'>This Tutorial Unfortunately, Flex Builder 3 is flagging a "Access of undefined property JSON" error on the line var arr:Array = (JSON.decode(rawData) as Array); I don't know what it wan...

Flash loader and dragging

I'm trying to load an external swf movie then adding the ability to drag it around the stage, however whenever I try to do this I just hit a dead end. Are there any limitations on what you can set be draggable or clickable? An example of what I'm doing is below: public function loadSwf(url:String, swfUniqueName:String) { var ...

Where to begin learning Flex and Flash

I want to start developing Flash and Flex applications so that I can put all of the concepts floating around in my head into action. The problem is that I have never done any programming nor dealt with code...ever. I have worked in the graphic design industry and a lot of the storyboarding features in Flash are intuitive to me. Additiona...

flash fscommands and javascript

I try get the mp3 flash player to work with my javascript on all browsers. All went well for first, but fast realized that my code doesn't work on MSIE. After trying to find out I found this in the reference code: <!--[if IE]> <script type="text/javascript" event="FSCommand(command,args)" for="myFlash"> eval(args); </script> <![endif]...