Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Server Authentiacation in action script

 
Jump to:  
 
adinana
PostPosted: Fri Aug 29, 2008 1:19 pm    Post subject: Server Authentiacation in action script
       
I get the following Http Errror 407 - googled this and found that its a proxy-
server error.
I access the internet through a proxy server and have to provide user id and
passwrd

-> is there any way to provide the userid and passwrd through action script.

Heres the sample code I ran on my machine

this.createTextField("params_txt", 10, 10, 10, 100, 21);
params_txt.autoSize = "left";

var my_lv:LoadVars = new LoadVars();
my_lv.onHTTPStatus = function(httpStatus:Number) {
trace("HTTP Error No : " + httpStatus); // Got Error No 407 Here.
};
my_lv.onLoad = function(success:Boolean) {
if (success) {
trace("text file successfully loaded");
params_txt.text = my_lv.dayNames;
} else {
params_txt.text = "unable to load text file";
}
};
my_lv.load("http://wordpress.org/extend/plugins/about/readme.txt");
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Rasizm grecja Wizualizacje gorÄ…ce dziewczyny rodos last minute