AÐÇËã·¨£¬flash ÑÝʾ°æ
package
{
import flash.display.Sprite;
import flash.events.MouseEvent;
[SWF(width="550",height="550",backgroundColor="#999999")]
public class astart extends Sprite
{
// ³£Êý¶¨Òå
private static const size:int = 50;
private var points:Array = new Array();
private var bg:Sprite = new Sprite();
private var person:Sprite = null;
private var line:Sprite = new Sprite();
public function astart() {
var i:int = 0;
// Ìî³äÑÕÉ«
bg.x = bg.y = 25;
bg.graphics.beginFill(0xff0000,1);
bg.graphics.drawRect(0,0,500,500);
bg.graphics.endFill();
// »¸ñ×ÓÏß
bg.graphics.lineStyle(1,0);
for ( i=0;i<=size;i++ ) {
bg.graphics.moveTo(0,500/size*i);
bg.graphics.lineTo(500,500/size*i);
bg.graphics.moveTo(500/size*i,0);
bg.graphics.lineTo(500/size*i,500);
}
// ³õʼ»¯¸ñ×Ó
for ( i = 0;i<size;i++ ) {
var _points:Array = new Array();
for ( var j:int=0;j<size;j++ ) {
......
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 flashplugin-nonfree :
apt-get update
apt-get upgrade
How to update the Adobe Flash Player :
/usr/sbin/update-flashplugin-nonfree --install
¹ÙÍøתÀ´µÄ£¡ ......
Èç¹û×¢²á¹ý³Ì»ò´ò¿ªflash build 4³öÏÖ´íÎó£¬ÇëÕÒµ½Program Files\Adobe\Adobe Flash Builder 4\plugins\com.adobe.flexide.amt_4.0.0.272416\os\win32\x86\updaternotifications.dllÎļþ£¬²¢°Ñ´ËÎļþ¸ÄÃû£¬Èçupdaternotifications.dll.bak¡£
Èç×¢²á»¹²»³É¹¦£¬ÇëÔÚC:\WINDOWS\system32\drivers\etcÕÒµ½hostsÎļþ£¬¼ÓÉÏ
127.0.0.1 activate.adobe.com
127.0.0.1 activate*.adobe.com
127.0.0.1 *activate.adobe.com
127.0.0.1 *activate*.adobe.com
¼´¿É¡£
......
P0werPointÖвåÈëFlash¶¯»µÄÁíÒ»ÖÖ·½·¨
PowerPointÒòÆäͨË×Ò׶®¡¢ÈÝÒ×ÉÏÊÖ¶ø³ÉΪÀÏʦÃÇÖÆ×÷¿Î¼þµÄ³£Óù¤¾ß£¬¶øFlashÊÇÄ¿Ç°±È½ÏÁ÷ÐеĶ¯»ÖÆ×÷Èí¼þ£¬ÓÐʱÔÚPowerPoint¿Î¼þÖÐΪÁ˸üÐÎÏóµØ˵Ã÷ÎÊÌ⣬ϣÍû¿ÉÒÔ²åÈëFlash¶¯»¡£
¿´¹ý¡¶ÖйúµçÄÔ½ÌÓý±¨¡·ÒÔÇ°¿¯µÇ¹ýÔÚPowerPointÖвåÈëFlash¶¯»µÄÎÄÕ£¬»ù±¾·½·¨ÊÇÑ¡Ôñ²Ëµ¥“¹¤¾ß→¿Ø¼þ¹¤¾ßÏä→Shockwave Flash 0bject”£¬ È»ºóÔÚµØÖ·À¸Î»ÖÃÊäÈëFlash¶¯»ÎļþµÄ·¾¶¡£ÕâÖÖ²åÈëFlash¶¯»µÄ·½·¨ÓÐÒ»¸öȱµãÊÇÔÚ²¥·Å»ÃµÆƬʱ£¬Flash¶¯»»á×Ô¶¯²¥·Å£¬²»ÄÜ×ÔÖ÷µØ¿ØÖÆ¡£
½üÈÕ£¬ÎÒ·¢ÏÖÔÚPowerPointÖвåÈËFlash¶¯»µÄÁíÒ»ÖÖ·½·¨£¬¿ÉÒÔ±ÜÃâ³öÏÖ×Ô¶¯²¥·Å¶¯»µÄÇé¿ö¡£
1¡¢ÏÈ´ò¿ªÒ»»ÃµÆƬ£¬Ñ¡Ôñ“²åÈë→¶ÔÏ󔣬ÔÚ³öÏֵĶԻ°¿òÖÐÑ¡Ôñµ¥Ñ¡¿ò“ÓÉÎļþ´´½¨”£¬Õâʱ¶Ô»°¿òÒªÇóÌîÈëÎļþµÄλÖ㬵¥»÷[ä¯ÀÀ]£¬Ñ¡ÖÐÐèÒª²åÈëµÄFlash¶¯»Îļþ£¬×îºóµ¥»÷[È·¶¨]·µ»Ø»ÃµÆƬ¡£
2¡¢Õâʱ£¬ÔڻõÆƬÉϾͳöÏÖÁËÒ»¸öFlashÎļþµÄͼ±ê£¬ÎÒÃÇ¿ÉÒÔ¸ü¸Äͼ±êµÄ´óС»òÕßÒƶ¯ËüµÄλÖã¬È»ºóÔÚÕâͼ±êÉÏÓÒ»÷Êó±ê£¬Ñ¡ÖГ¶¯×÷ÉèÖÔ¡£ÔÚ“µ¥»÷Êó±êʱµÄ¶¯×÷”ÖÐÑ¡ÖГ³¬¼¶Á´½Óµ½”£¬È»ºóÔÚÏÂÀÁбíÖ ......
Õâ¸ö¼ýÍ·µÄСͼ°¸¡£
Õâ¸öÖ»ÊÇÓÃÓÚ´´×÷µÄС¹¤¾ßͼÐΣ¬Õâ´ÎÔö¼ÓÁ˼ýÍ·£¬Ô²»·£¬ÁâÐΣ¬Óã¶ùµÈһЩÓÐȤµÄͼ°¸¡£
ʹÓÃÔ²»·µÄ´´×÷£º
³ÝÂÖͼ°¸£º
´´×÷
ʹÓÃÁâÐεĴ´×÷
ÐÂÔöÓã¶ù£ºÍ¼°¸
Demo ÔÚÕâÀ
ÓÐÐËȤ½øÐд´×÷µÄʱºòʹÓá£
ÕâЩÀà¿â½ö½öÓÃÓÚʵÑéµÄʱºò½øÐд´×÷¡£·á¸»Ò»Ð©As±¾ÉíһЩͼ°¸¡£ ......
µÚÒ»£¬Ìí¼Ó¿Ø¼þ¡£
¹¤¾ßÏä Ìí¼Ó—COM×é¼þ—Ñ¡ÔñShockwave Flash Object£¬µã»÷È·¶¨¡£Ö®ºó¸ù¾ÝÐèÒª¶Ô¸ÃdllÎļþ½øÐÐ×¢²á¡£
×¢²á·½Ê½Îªregsvr32 C:\Windows\System32\Macromed\Flash\Flash10a.ocx [²é¿´Õâ¸öĿ¼£¬°æ±¾²»Í¬¿ÉÄÜ´ËÎļþÃû²»Í¬]
µÚ¶þ£¬ÍϷſؼþÖÁ´°Ìå¡£
ÍϷſؼþFlashwave Flash ObjectÖÁ´°ÌåÏàӦλÖá£
µÚÈý£¬Ìí¼Ó´úÂë¡£
Ìí¼Ó´úÂëµÄʱºò£¬Ö»ÐèÒªÌí¼Ó¿Ø¼þµÄÁ½¸öÊôÐÔ¼´¿É£¬×¢ÒâÌí¼ÓMovieÊôÐÔÎñ±ØÊǾø¶Ô·¾¶¡£
axShockwaveFlash1.Movie = "D:\\Ô´Âë\\flash.swf";
axShockwaveFlash1.Play();
ÆäËü¼¸¸ö·½·¨£º
Play()·½·¨£¬ÓÃÓÚ²¥·Å¶¯»¡£
Stop()·½·¨£¬ÓÃÓÚÍ£Ö¹²¥·Å¶¯»¡£
Rewind()·½·¨£¬ÓÃÓÚ²¥·ÅºóµÚÒ»Ö¡¶¯»¡£
Back()£¬ÓÃÓÚ²¥·ÅÇ°Ò»Ö¡¶¯»¡£
Forward()·½·¨£¬ÓÃÓÚ²¥·ÅºóÒ»Ö¡¶¯»¡£ ......