FORUMS: list search recent posts

making a simple downloadbutton

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Frank Feijen
making a simple downloadbutton
on Apr 22, 2008 at 4:21:29 am

Hi there,

i was trying to create a simple webpage with a button to download a quicktimefile using the following code:

import flash.display.Sprite;

function linkdownload480 (event:MouseEvent):void
var request:URLRequest = new URLRequest("");
var fileRef:FileReference = new FileReference();;


bttn.addEventListener(MouseEvent.CLICK, linkdownload480);

Unfortunately, this doesn't seem to work. basic example on
The where-to-save menu popsup, you can click save but nothing seems to happen.

What am i missing here?
Or is there a better solution to do this?

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved