Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ʹÓÃxml flashÓëASPͨÐŵļ¸ÖÖ·½·¨

FlashÖеÄXML¶ÔÏóÒ²Óз½·¨¿ÉÒÔ½«XMLÊý¾ÝÏò·þÎñÆ÷·¢ËÍ¡£¼´sendºÍsendAndLoad¡£send·½·¨Ïòij¸ö URL ´«µÝ XML ¶ÔÏ󣬷µ»ØµÄÐÅÏ¢¶¼±»·¢Ë͵½ÁíÍâÒ»¸öä¯ÀÀÆ÷´°¿Ú£»sendAndLoad ·½·¨Ïòij¸ö URL ·¢ËÍÒ»¸ö XML ¶ÔÏó¡£·µ»ØµÄÐÅÏ¢¶¼·ÅÔÚÒ»¸öXML¶ÔÏóÖС£
ÔÚijÖ̶ֳÈÉÏ£¬ XMLµÄsend·½·¨ºÍsendAndLoad·½·¨ÀàËÆÓÚloadVars¶ÔÏóµÄsend·½·¨ºÍsendAndLoad·½·¨¡£
ÒÔloginϵͳΪÀý¡£Ê×ÏȽ«FlashÖÐÐèÒª´«Ë͵ÄÐÅÏ¢£¨Óû§ÃûºÍÃÜÂ룩ת»»³ÉÒ»¸ö XML ¶ÔÏó£¬È»ºó½«Êý¾Ý×÷Ϊ XML Îĵµ·¢Ë͵½·þÎñÆ÷¶Ë½Å±¾¡£ÔÚ·þÎñÆ÷¶ËÎÒÃÇ»¹ÊÇ´ÓÊý¾Ý¿âÖÐÌáÈ¡ÏàÓ¦µÄÊý¾Ý£¬ÔÚ·þÎñÆ÷¶Ë½Å±¾ÖжÔÕâÁ½ÖÖÐÅÏ¢ÑéÖ¤¡£×îºó½«ÑéÖ¤³É¹¦µÄÐÅÏ¢Ò²ÒÔXML¸ñʽ´«ËÍ»ØFlash¡£Í¼1ÏÔʾÁËÕâÖֽṹ£º
Ê×ÏÈ£¬¿´¿´Êý¾Ý¿âµÄ½á¹¹£¬ºÜ¼òµ¥£¬ÓÃAccess×öÒ»¸öÃûΪlogin.mdb£¨´æ´¢µ½Í¬swf£¬aspÎļþͬͬһĿ¼Ï£©µÄÊý¾Ý¿âÎļþ£¬È»ºóн¨Ò»¸öÃûΪadminµÄ±í£¬µÚÒ»¸ö×Ö¶ÎÃû³ÆÊÇ”id”£¬Êý¾ÝÀàÐÍÊÇ×Ô¶¯±àºÅ£»µÚ¶þ¸ö×Ö¶ÎÃû³ÆÊÇusername£¬Êý¾ÝÀàÐÍÊÇÎı¾¡£×ֶδóС¸ÄΪ16£»µÚÈý¸ö×Ö¶ÎÃû³ÆΪpassword£¬Êý¾ÝÀàÐÍÊÇÎı¾£¬×ֶδóСҲ¸ÄΪ16¡£±í½á¹¹Èçͼ2Ëùʾ£º
½Ó×Å£¬ÎÒÃÇÓÃFlash×öÒ»¸öµÇ¼½çÃ档ΪÁËʹµÃÕâ¸ö½çÃæÔÚÆäËûµØ·½Ò²ÄÜÓõ½£¬¿ÉÒÔ½«ËùÓеÄÔª¼þ¶¼¼¯Öе½Ò»¸öÃûΪloginµÄMCÀïÃæ¡£Õâ¸öMCµÄ»ù±¾½á¹¹ÈçÏ£º
bg²ã£ºÓÃÀ´·ÅÖõǼ½çÃæµÄ±³¾°¡£µÚ¶þÖ¡¼Ó¹Ø¼üÖ¡£»
Title²ã£ºÓÃÀ´·ÅÖñêÌâMC£¬MCÃû×ÖΪtitle£¬ÒòΪֻÊÇÒ»¸ö±êÌ⣬¾Í²»ÁгöÕâ¸öMCµÄ½á¹¹ÁË¡£µÚ¶þÖ¡¼Ó¹Ø¼üÖ¡£»
Inputbg²ã£ºinputÎı¾µÄ±³¾°¡£
InputTXT²ã£ºÁ½¸öinputÎı¾£¬µÚÒ»¸öµÄvarΪname£¬µÚ¶þ¸öµÄvarΪpass£¬ÀàÐÍΪPassword£¬ÎÒÃÇÒªÏò·þÎñÆ÷·¢Ë͵ıäÁ¿¾Í´ÓÕâÀï»ñµÃ£»
Pushbt²ã£ºÒ»¸öÈ·¶¨°´Å¥(Ãû×ÖΪpushbt)£¬ÓÃÀ´·¢ËÍÒ»¸öXML±äÁ¿£¬ÆäactionÈçÏ£º
Action for pushbt:
on (release, keyPress "<Enter>") {
//н¨Ò»¸öxml¶ÔÏ󣬽ڵãÃ÷ΪLOGIN¡£ÔÚÊôÐÔ
//Öдæ·ÅÓû§ÃûºÍÃÜÂë
loginXML = new XML();
loginElement = loginXML.createElement("LOGIN");
loginElement.attributes.name = this.name;
loginElement.attributes.pass = this.pass;
loginXML.appendChild(loginElement);
//н¨Ò»¸öxml¶ÔÏó£¬ÓÃÀ´´æ·Å´Ó·þÎñÆ÷·µ»ØµÄÐÅÏ¢
loginReplyXML = new XML();
loginXML.sendAndLoad("http://localhost/chklogin.asp", loginReplyXML);
Msg = "ÕýÔڵȴý·þÎñÆ÷ÑéÖ¤";
gotoAndStop(2);
}
ÕâÒ»²ãÓÐÁ½Ö¡£¬µÚÒ»Ö¡µÄactionΪstop();µÚ¶þÖ¡ÉϵÄactionΪ


Ïà¹ØÎĵµ£º

Debian 5.0 'Lenny' : Flash Player 10°²×°Éý¼¶

Architecture: i386, amd64
Configure your system to use lenny-backports by adding this line to your sources.list
deb http://www.backports.org/debian lenny-backports main contrib non-free
How to install flashplugin-nonfree :
apt-get update
apt-get install flashplugin-nonfree
How to update flash ......

ÓÃVC++2005¶ÁXMLÎļþµÄСÀý×Ó

 1¡£Ð´Ò»¸öxmlÎļþ
 
 <?xml version="1.0" encoding="utf-8" ?>
- <root>
- <user id="101">
<name>abc</name>
<password>abc</password>
</user>
- <user id="102">
<name>ccc</name>
<password>ccc< ......

ASP±àÂë¹æ·¶

ASP±àÂë¹æ·¶
 
µÚÒ»Õ ASP±àÂë¹æ·¶Í¨Êö
¡¡¡¡¡¡¡¡ASP±àÂë·ÖΪÁ½´ó²¿·Ö£¬Ò»²¿·ÖΪ¾²Ì¬Îļþ±àÂ룬һ²¿·ÖΪ°üº¬·þÎñÆ÷¶Ë½Å±¾µÄ¶¯Ì¬Îļþ±àÂë¡£
¡¡¡¡¡¡¡¡¾²Ì¬Îļþ±àÂë·Öscript±àÂëºÍHTML±àÂëÁ½²¿·Ö¡£
¡¡¡¡¡¡¡¡·þÎñÆ÷¶Ë±àÂëÔò·ÖΪ·þÎñÆ÷½Å±¾¡¢¿Í»§¶Ë½Å±¾¡¢HTML½Å±¾Èý²¿·Ö¡£
¡¡¡¡¡¡¡¡±àÂë¹æ·¶²ÉÓÃÈçÏÂÔ¼¶¨£º
¡¡¡¡¡¡¡¡ Ë ......

asp classÀàÓ÷¨ASP¼¼Êõ

asp classÀàÓ÷¨
asp class
 
ÑϸñµØ˵£¬ASP ²¢²»ÊÇÒ»Ãűà³ÌÓïÑÔ£¬ËùÒÔ²»´æÔÚÀàÕâÒ»¸ÅÄÎÒÃÇÕâÀï˵ ASP ÀàÊÇÖ¸ ASP µÄ±à³ÌÓïÑÔ VBScript ÔÚ ASP ÀïÓ¦ÓÃʱµÄÀà¡£
ASP Àà±È½Ï¼òµ¥£¬Ëü²»¾ßÓÐÕæÕýÒâÒåÀàµÄ¼Ì³Ð¡¢ÖØÔصÈÌØÐÔ£¬¾¡¹ÜÈç´Ë£¬ËüÈÔÈ»ÊǷdz£ÓÐÓõģ¬Ëü½µµÍÁËÎÒÃDZà³ÌµÄ¸´ÔӶȣ¬Ê¹ÎÒÃǵijÌÐòÄ£¿é¸ü¼ÓºÏÀí¡£
A ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ