I hope this is an easy one, but here it goes..
I have a website called forumuniversal.com
Once you are logged in, you have a username that is stored as a cookie, along with tones of other crap. I want this flash chat to read the cookie, get only the username, and assign it to the variable that is the username for the chat room. This way, people will not be able to spoof the chatroom easly.
Here is the cookie I am dealing with...
and the filename is mike@forumuniversal[2].txt
feel free to install and use the cookie if you like, it is for a test user account.
That is actually the name I want to read from this cookie, the line that says 'testuser'
What actionscript do I use to do that???
Here is what I have so far...
Mentally, I am soooo lost right now..
ANY help is appreciated!
Thanx in advance!!!
Thank you!!!
Mike Kovacic
""" """
(o) (O)
\____/
I have a website called forumuniversal.com
Once you are logged in, you have a username that is stored as a cookie, along with tones of other crap. I want this flash chat to read the cookie, get only the username, and assign it to the variable that is the username for the chat room. This way, people will not be able to spoof the chatroom easly.
Here is the cookie I am dealing with...
Code:
xmblva
1116734163
forumuniversal.com/
1536
2767604608
29785427
655063408
29712002
*
xmblvb
1116732593
forumuniversal.com/
1536
2446346112
29712003
655063408
29712002
*
xmbuser
testuser
forumuniversal.com/
1536
483682048
29718037
529273408
29712002
*
xmbpw
5f4dcc3b5aa765d61d8327deb882cf99
forumuniversal.com/
1536
483682048
29718037
529273408
29712002
*
and the filename is mike@forumuniversal[2].txt
feel free to install and use the cookie if you like, it is for a test user account.
That is actually the name I want to read from this cookie, the line that says 'testuser'
What actionscript do I use to do that???
Here is what I have so far...
Code:
on (press) {
getURL ("javascript:document.Cookie.SetVariable('_level0.txtReadCookie',(document.cookie) ? document.cookie : '');");
}
on (release) {
if (_level0.txtReadCookie eq "") {
_level0.txtReadCookie = "No cookie entry found";
}
}
Mentally, I am soooo lost right now..
ANY help is appreciated!
Thanx in advance!!!
Thank you!!!
Mike Kovacic
""" """
(o) (O)
\____/