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

JavaScript ºÍ Flash µÄͨÐÅ

JavaScript ºÍ Flash µÄͨÐÅ
ÏÂÃæÊÇһЩÔÚFlashºÍʹÓÃJavascriptµÄHTMLÎļþÖ±½ÓͨÐŵÄʾÀý,ÿ¸öʾÀý¶¼ÓмòÂԵIJ½Öè
±¾ÎÄÌÖÂÛÁË3ÖÖ»ù±¾µÄFlash/JavascriptͨÐÅ·½Ê½:
Javascript µ½ FlashµÄͨÐÅ----ʹÓÃFlash²¥·ÅÆ÷µÄjavascript·½·¨
Flash µ½ JavascriptµÄͨÐÅ----ʹÓÃFlashµÄfscommand
Flash µ½ FlashµÄͨÐÅ----------ʹÓñ¾µØÁ¬½Ó¶ÔÏó»ò×ÛºÏÉÏ2ÖÖ¼¼Êõ
²¢²»ÊÇËùÓеÄä¯ÀÀÆ÷¶¼ºÜÖØÊӽű¾.ΪÁ˺ÍFlash²¥·ÅÆ÷ͨÐÅ,ä¯ÀÀÆ÷±ØÐëÓÐÄÚÖõĹ³×ÓÒÔ±ãFlash²¥·ÅÆ÷¿ÉÒÔ'¼àÌý'.ä¯ÀÀÆ÷±ØÐëÊÇÏÂÁеļ¸ÖÖ:
Netscape Navigator 3.0-4.7x, ºÍ Netscape 6.2»ò¸ü¸ß
(Windows 95/98/NT/2000/XP »ò MacOS; ÔÊÐíJavaºÍLiveConnect)
Internet Explorer 3.0 »ò¸ü¸ß
(½öWindows 95/98/NT/2000/XP; ÔÊÐíActiveX)
×¢Òâ:MacintoshÉϵÄInternet ExplorerºÍÔçÆÚ°æ±¾µÄNetscape6²»Ö§³ÖÕâÖÖ·½·¨.Çë²é¿´±¾Îĵĸ½¼ÓÐÅÏ¢
Ò»¡¢Javascriptµ½FlashµÄͨÐÅ
Õâ¸öÀý×ÓÑÝʾÁËÈçºÎʹÓÃFlashµÄmethod°Ñ±äÁ¿´ÓHTMLµÄinput text ·¢Ë͵½¸ÃÒ³ÃæÖеÄFlashÎļþÖÐ.HTML inputµÄÊý¾Ýͨ¹ýFlashµÄSetVariable·½·¨´«Ë͵½FlashÎļþÖÐ.
²é¿´Ê¾Àý:ʾÀý
ÏÂÔØÔ´Îļþ: javascript_to_flash.zip(17k)
²½Öè:
FlashÖÐ
1.н¨Ò»¸öÎļþ,±£´æΪjavascript_to_flash.fla
2.ÓÃÎÄ×Ö¹¤¾ßÔÚÎę̀ÉÏ´´½¨Ò»¸öÎı¾Óò
3.Ñ¡ÔñÕâ¸öÎı¾Óò,ÔÚÊôÐÔÃæ°åÖÐ,´ÓÏÂÀ­ÁбíÖÐÑ¡Ôñ¶¯Ì¬Îı¾(Dynamic Text),ÔÚ±äÁ¿(variable)À¸ÌîÉÏ"myVar"
×¢Òâ:×îºÃµÄÏ°¹ßÊÇʹÓÃInstance,ÓÃmyVar.text¸ü¸ÄmyVarµÄÖµ.ΪÁ˼òµ¥Æð¼ûºÍ¼æÈÝFlash4ºÍFlash5,ÎÒÃÇʹÓõÄÊDZäÁ¿ÃûµÄÐÎʽ.
4.±£´æÎļþ
5.·¢²¼HTMLÎļþºÍSWFÎļþ
DreamweaverÖÐ
ÏÂÒ»²½µÄ¹¤×÷תÒƵ½DreamweaverÖÐÁË,µ±È»Ò²¿ÉÒÔÊÇÆäËûµÄHTML±à¼­Æ÷
1.´ò¿ªÉÏÒ»²½·¢²¼µÄHTMLÎļþ
2.²åÈëÉú³ÉµÄSWFÎļþºÍOBJECT/EMBED±êÇ©
(1) Insert>Media>Flash,²¢Ñ¡ÔñÕâ¸öFlash
(2) Çл»µ½´úÂëÊÓͼ,ÎÒÃÇÐèÒªÐ޸ı»Ñ¡ÖеÄ<OBJECT>ºÍ<EMBED>±êÇ©
(3) ÔÚOBJECT±êÇ©ÖÐ,²åÈëid="myFlash"
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=5,0,0,0"¡¡
¡¡width=366 height=142 id="myFlash">
×¢Òâ:Èç¹ûÄãÊÇÕ³Ìù¸´ÖÆ´úÂëµÄ»°,È·±£É¾³ý²»±ØÒªµÄ»»ÐÐ.·ñÔò¿ÉÄÜ»áÒýÆð´íÎó; idÒ²¿ÉÒÔÔÚÊôÐÔÃæ°åÀïÖ±½ÓÊäÈë
(4) ÔÚEMBED±êÇ©ÖÐ,²åÈëname="myFlash"ºÍswLiveConnect="true",È·±


Ïà¹ØÎĵµ£º

C#ÓëFlash½»»¥

C#ÓëFlash½»»¥ £¨×ª×ÔСÀÚÔÚÏߣ©
C#ÓëFlash½»»¥
Ç°¶ÎÈÕ×Ó¹«Ë¾ÒªÇó×öÒ»¸öC#ÓëFlash½»»¥µÄ¶«Î÷£¬ÓÃÀ´C#Óë¶ÌÐÅèͨѶ½«Êý¾Ý´«µ½FlashÉÏÏÔʾÓë²Ù×÷µÄÓ¦Óá£
µÚÒ»²½C#Ìí¼Ó×é¼þ
´ò¿ªVS2005-¹¤¾ß-Ñ¡Ôñ¹¤¾ßÏäÏî-COM×é¼þ-Ñ¡ÔñShockwave Flash Object-È·¶¨
Ìí¼ÓºÃ×é¼þÍù³¡¾°ÉÏÍÏ·Å£¬Èç¹ûÌáʾע²áÐèÇó×¢²á
c# ×¢²á¿Ø¼þ-ÔÚÔËÐÐÊä ......

Javascript¼Ì³Ð

Ò»Ö±Ïë¶ÔJavascriptÔÙ´Î×öһЩ×ܽᣬÕýºÃ×î½ü×Ô¼ºÐ´ÁËÒ»¸öСÐÍJs
UI¿â£¬×ܽáÁËÒ»ÏÂJsµÄ¼Ì³Ð»úÖÆ£¬ÔÚÍøÉÏÒ²¿´ÁËһЩǰ±²ÃDz©¿ÍÀïµÄ×ܽᣬ¸Ð¾õ·ÖÎö²»ÊÇÌرðÈ«Ãæ¡£ÕâÀï½ö½öÊÇ°Ñ×Ô¼ºµÄѧϰÌå»áÄóöÀ´·ÖÏíһϣ¬Ï£Íû¶Ô´ó¼Ò
ѧϰJavascriptÓÐËù°ïÖú¡£


Javascript±¾ÉíÊÇ´ÓPerlÓïÑÔµÄÓï·¨Ñݱä¶øÀ´µÄ£¬±¾ÖÊÉÏÊǽű¾ÓïÑÔ ......

NOR FLASHºÍNAND FLASHÌصã


NORºÍNANDÊÇÏÖÔÚÊг¡ÉÏÁ½ÖÖÖ÷ÒªµÄ·ÇÒ×ʧÉÁ´æ¼¼Êõ¡£IntelÓÚ1988ÄêÊ×ÏÈ¿ª·¢³öNOR flash¼¼Êõ£¬³¹µ×¸Ä±äÁËÔ­ÏÈÓÉEPROMºÍEEPROMһͳÌìϵľÖÃæ¡£½ô½Ó×Å£¬1989Ä꣬¶«Ö¥¹«Ë¾·¢±íÁËNAND flash½á¹¹£¬Ç¿µ÷½µµÍÿ±ÈÌصijɱ¾£¬¸ü¸ßµÄÐÔÄÜ£¬²¢ÇÒÏó´ÅÅÌÒ»Ñù¿ÉÒÔͨ¹ý½Ó¿ÚÇáËÉÉý¼¶¡£µ«ÊǾ­¹ýÁËÊ®¶àÄêÖ®ºó£¬ÈÔÈ»ÓÐÏ൱¶àµÄÓ²¼þ¹¤³Ìʦ·Ö²»Çå ......

javascript keypressÓëkeydownºÍkeyupµÄÇø±ð

keypressÖ÷ÒªÓÃÀ´½ÓÊÕ×Öĸ¡¢Êý×ÖµÈANSI×Ö·û£¬¶ø keydownºÍ keyupʼþ¹ý³Ì¿ÉÒÔ´¦ÀíÈκβ»±» keypressʶ±ðµÄ»÷¼ü£¬ÖîÈ磺¹¦Äܼü£¨F1-F12£©¡¢±à¼­¼ü¡¢¶¨Î»¼üÒÔ¼°ÈκÎÕâЩ¼üºÍ¼üÅÌ»»µµ¼üµÄ×éºÏµÈ¡£Óë
keydownºÍ keyupʼþ²»Í¬µÄÊÇ£¬keypress²»ÏÔʾ¼üÅ̵ÄÎïÀí״̬£¨SHIFT¼ü£©£¬¶øÖ»ÊÇ´«µÝÒ»¸ö×Ö·û¡£keypress½«Ã¿¸ö×Ö·ûµÄ´ó¡¢Ð¡Ð ......

Javascript´úÂëÊղشóÈ«


Javascript´úÂëÊղشóÈ«
1. oncontextmenu="window.event.returnvalue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)><td>no</table> ¿ÉÓÃÓÚTable
2. <body onselectstart="return false"> È¡ÏûÑ¡È¡¡¢·ÀÖ¹¸´ÖÆ
3. onpaste="return false" ²»×¼Õ³Ìù
4. oncopy="retu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ