[Flashcoders] Projector File download with GetURL

2007-05-16 Thread Bennington Purcell
Hey everyone! i am working on a projector file, i would like to do some actionscripting on download links that checks if it is a MAC or PC, and if there is internet or not. If it is a mac i want to always download the file from the internet (some pdf files) if it is a PC i want to download

Re: [Flashcoders] Projector File download with GetURL

2007-05-16 Thread R�kos Attila
Mac or PC? - it can be read from the System.capabilities.os property Online or offline? - send a request to a remote server and if you get the expected response, then you are online; otherwise (no response, error, etc.) you are offline Attila BP i am working on a projector file, i would

Re: [Flashcoders] Projector File download with GetURL

2007-05-16 Thread Bob Wohl
var result_lv:LoadVars = new LoadVars(); result_lv.onLoad = function(success:Boolean) { if (success) { trace(we got connection); getURL(www.thefileyouwant); } else { trace(no connection); //no connection do stuff } }; var send_lv:LoadVars = new LoadVars();

Re: [Flashcoders] Projector File download with GetURL

2007-05-16 Thread Muzak
I can't figure it out at all, but then i am a Flash Newbie... Then this list might be a better fit: http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription options