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();
send_lv.sendAndLoad("http://www.google.com";, result_lv, "POST");



;)



B.

On 5/16/07, Bennington Purcell <[EMAIL PROTECTED]> wrote:

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 them if there is an
internet connection, if no connection i want to grab the one on the cd?

I can't figure it out at all, but then i am a Flash Newbie...   Any help
would be appreciated, or any ideas...  (i have spent the last 2 days
looking
for a solution online, i didn't want to bother you first)

Thanks everyone
Bennington V Purcell


--
=================================
Bennington V. Purcell

-- Integrated Technology Solutions ---
[EMAIL PROTECTED]
802.558.2075
=================================
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to