|
|||
|
Yes, this can be done by handling the events of the Inet object. If you use the Inet.getUrl method to download a ftp file, please handle the Inet.onGetUrl method, or handle the ftp.onDownload method if you use the ftp.download method to download a ftp file. E.g.
Code:
// for getUrl method
inet.onGetUrl = function (type, msg)
{
if (type == 0)
{
// an error occurs
return false
}
if (!processMsg()) return false;
return true;
}
inet.getUrl("ftp://xxx.com/xxx.zip", "c://xxx.zip");
// for the ftp.download method
ftp = Inet.openFtp("ftp://xxx.com");
ftp.onDownload(percent)
{
trace(percent);
if (!processMsg()) return false;
return true;
}
ftp.download("xxx.zip", "c:\\xxx.zip");
|
|
|||
|
i used this coding as u say...
but it still freezing my movie clip until it download the file from ftp and the file i am downloading is only 1kb and it is taking 5 seconds for that it is more than normal... http://jasbir.vndv.com/my.as and my import swfkit.* is also not working in flash cs3 with swfkit 3.2 and i try so hard to upload a sample ... but there some problem in your site... so unable to upload the samples please download it for this link http://jasbir.vndv.com/ftp.zip regards js |
|
|||
|
As you make each button, you need to save it (right click, Save Picture As for IE users) to your own computer with a descriptive name. For example, a good name for the 50% button would be 50perc.png. When you're all done making buttons, upload them from your computer to your image host. If you don't have an image host, try Photobucket or ImageShack; they're free and easy.Once you have your images made and hosted, you can display them on your blog sidebar (or where ever you want) just as you would any other button. As your project progresses, simply update your blog template to show the appropriate percent bar. Easy!
________________________ Hostgator consumer report audio software |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|