Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2004, 02:05 PM
Junior Member
 
Join Date: Jul 2003
Posts: 29
Default Stop Inet download and file size...

Hi eveyone,

Is there a way to stop an ongoing Inet download proccess? and... can I know a remote file's size with the Inet object?

Thanks,

Ariel.
Reply With Quote
  #2 (permalink)  
Old 10-19-2004, 02:22 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Stop Inet download and file size...

You can stop the Inet download by handling the OnGetURL event.

Code:
var inet = new Inet;
inet.onGetUrl = function(type, msg)
{
    ...

    //return false to stop 
    return false;
}

inet.getUrl("something", "localname");
The Inet object cannot get the size of the remote file. We'll improve it in the new version.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:36 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.