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

½â¾öVSÖÐShockwave Flash Object²»ÄÜÒýÈ룬δע²áÎÊÌâ

½«FlashÈںϵ½WinFormÖÐÄܹ»ÔöÇ¿³ÌÐòµÄ¶àýÌåЧ¹ûºÍìÅÀöµÄÍâ¹Û¡£ÏÖÔÚÎÒÃǾÍÀ´¿´¿´ÔÚC#×ÀÃæ³ÌÐòÖÐÈçºÎ²åÈëFlashÊÓƵ£¬¶øÇÒÈ¥µô·³È˵ÄÓÒ¼ü²Ëµ¥¡£
Ê×ÏÈÒª²åÈëFlash¾Í±ØÐëʹÓÃFlash¿Ø¼þ£¬ÔÚ¹¤¾ßÀ¸ÓÒ¼üÑ¡Ôñ“Ñ¡ÔñÏî…”£¬È»ºóÔÚ“COM×é¼þ”Ãæ°åϵã»÷“ä¯ÀÀ”°´Å¥£¬ÔÚ±¾»úµçÄÔC:\WINDOWS\system32\Macromed\Flash\Ŀ¼ÀïÑ¡ÔñFlash8.ocx£¨Ò²ÓпÉÄÜÊÇFlash9F.ocx£¬°æ±¾²»Í¬ËùÖ£©£¬È»ºóµã»÷È·¶¨¾Í¿ÉÒÔÁË¡£µ«µ½ÕâÀﻹûÓÐÍ꣬ÒòΪҪʹÓÃFlash¿Ø¼þ±ØÐë×¢²áËü¡£
ÔÚCMDÀïÃæÊäÈëÈçÏ£º
regsvr32 C:\WINDOWS\system32\Macromed\Flash\Flash8.ocx
ϵͳ»áÌáʾע²á³É¹¦£¬Õâ¸öʱºî¾Í¿ÉÒÔÔÚVS2008ÀïÃæʹÓøÿؼþÁË£¡
´ò¿ªVS2008£¬Ð½¨Ò»¸öWindows³ÌÐò£¬È»ºó°Ñ¸Õ²ÅÎÒÃÇÑ¡ÔñµÄFlash¿Ø¼þShockwave Flash ObjectÍϵ½´°ÌåÖУ¬Õâʱ´°ÌåÖлá³öÏÖÒ»¸ö°×É«µÄ¾ØÐοò£¬NameÊôÐÔÎÒÃÇÉèÖÃΪMyflash£¬ÔÚÀïÃæ¿ÉÒÔ²¥·ÅÎÒÃÇÐèÒªµÄswfÎļþ¡£
×¢Òâµ½¸Ã¿Ø¼þÖ÷ÒªÓм¸¸öÊôÐÔ£º
NameÊôÐÔ£¬Õâ¸öÊÇËùÓжÔÏ󶼻áÓеġ£
MenuÊôÐÔ£¬Õâ¸öÊÇFlash²Ëµ¥ÏĬÈÏֵΪtrue£¬Ò²¾ÍÊÇÓÒ¼üµÄʱºò»á³öÏÖÍêÕûµÄFlash²Ëµ¥£¬Èç¹ûÉèÖÃΪFalse£¬ÔòÖ»³öÏÖ×î¼òµÄ²Ëµ¥£¨ÉèÖÃÓë¹ØÓÚ£©¡£
MoveÊôÐÔ£¬Õâ¸öÊôÐÔÊÇÓÃÀ´Ö¸¶¨Òª²¥·ÅµÄFlashÎļþµÄ¡£
PlayingÊôÐÔ£¬Ö¸¶¨ÊÇ·ñ×°ÔÚӰƬ֮ºóÂíÉϲ¥·Å¡£
QualityÊôÐÔ£¬ÉèÖÃӰƬµÄÖÊÁ¿¡£
ScalemodeÊôÐÔ£¬ÉèÖÃӰƬµÄËõ·Åģʽ¡£
VisibleÊôÐÔ£¬ÉèÖÃӰƬ¿Ø¼þµÄ¿ÉÊÓÓë·ñ¡£
½ÓÏÂÀ´ÎÒÃÇÔÚ´°ÌåÖзÅÖÃÒ»¸ö°´Å¥£¬TextÊôÐÔÉèÖÃΪLoadSwf¡£Ë«»÷Ìí¼Óʼþ´úÂëÈçÏ£º
OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "FlashÎļþ|*.swf";
DialogResult dr = ofd.ShowDialog();
if (dr == DialogResult.OK)
{               
    Myflash.Movie = ofd.FileName;
    Myflash.Play();
}   
ÕâÑùµ±³ÌÐòÔËÐеÄʱºòµã»÷°´Å¥»áÒªÎÒÃÇÑ¡ÔñÒ»¸öSWFÎļþ£¬Ñ¡ÔñºÃºóÈ·¶¨¾Í×Ô¶¯²¥·ÅÁË£¡
µ±È»£¬ÎÒÃÇ»¹¿ÉÒÔÌí¼ÓһЩ°´Å¥£¬·Ö±ðΪPlay£¬Pause
Play°´Å¥µÄ²¥·Å¹¦ÄÜÈçÏ£º
This.Myflash.Play();
Pause°´Å¥µÄÔÝÍ£¹¦ÄÜÈçÏ£º
This.Myflash.StopPlay();
ÕâÀï¾Í²»ÔÙ啰àÂÁË£¬¸÷λ԰ÓÑ¿ÉÒÔ×ÔÐÐÈ¥Ñо¿Ò»Ð©³£ÓõŦÄÜ¡£ÏÂÃæÎÒÃÇÖ÷ÒªÀ´½²½âÈçºÎÏûÈ¥·³È˵ÄFlashÓÒ¼ü²Ëµ¥£¡
ÏûÈ¥FlashÓÒ¼ü²Ëµ¥ÓÐÁ½ÖÖ·½·¨(±¾ÈËÓÞ±¿£¬µ½Ä¿Ç°Ö»·¢ÏÖÕâÁ½ÖÖ)£º
·½·¨Ò»£º
Õâ¸ö·½·¨±È½Ï


Ïà¹ØÎĵµ£º

ÈçºÎÔÚPSºÍFLASHÀï×ö½¥±äÑÕÉ«Ìî³äµÄ×ÖÌå

PSÖоͰ´Â¥ÉÏ˵µÄ
FLASHÖа취¾ÍÓкܶàÖÖÑ¡Ôñ
Â¥ÉÏ˵µÄÊÇÒ»ÖÖ
ÔÙ²¹³äÒ»ÖÖ,д×Ö,´òÉ¢,н¨²ã,·ÅÔÚ×ÖÌå²ãÏÂ,×ö´øÓн¥±äÉ«µÄͼÐÎ,¿ÉתΪԪ¼þ,½«×ÖÌå²ã±äΪÕÚÕÕ²ã,½«Í¼ÐÎÔøÍÏÈëÕÚÕÕ²ãÏÂ,¼´¿É.½«´øÓн¥±äÑÕɫͼÐÎתΪԪ¼þ¾ÍÊÇ¿ÉÒÔ½«Ëû×öλÒƶ¯»­,ÕâÑùÄãµÄ×־ͿÉÒÔ³öÏÖÑÕÉ«±ä»¯
×÷ÍêºóЧ¹ûÊDz»ÏÔʾµÄ,Ô¤ÀÀʱ¿É¼û
ÔÙ¾ÍÊÇÓýű ......

Fedora12 x86_64 °²×°FLASH²å¼þ

·½·¨Ò»£º
1.ÏÂÔØ64λµÄFlash²å¼þ£¬µØÖ·£ºhttp://labs.adobe.com/technologies/flashplayer10/64bit.html
2.ÏÂÔغúóÊǸötar.gzµÄѹËõ°ü£¬ÓÒ¼ü½âѹËõ£¬µÃµ½.soÎļþ
3.½«´ËÎļþ¸´ÖƵ½firefoxµÄ²å¼þĿ¼£¬´ò¿ªÖնˣ¬»ñµÃ¹ÜÀíԱȨÏÞ£¬Ö´ÐÐÏÂÃæÓï¾ä
cp   libflashplayer.so   /usr/lib64/mozilla/plugin ......

UbuntuÖÐFlashÎÞ·¨ÏÔʾÖÐÎĵĽâ¾ö°ì·¨

    UbuntuÖÐÓиöÀúÊ·ÒÅÁôÎÊÌâ——FlashÖеÄÖÐÎÄÖ»ÄÜÏÔʾ·½¿ò£¬ÆäÔ­ÒòΪ×ÖÌåÅäÖõÄÎÊÌâ¡£½â¾ö°ì·¨ÈçÏ£º
ÖÕ¶ËÖÐÊäÈ룺
cd /etc/fonts/conf.d/
sudo gedit 49-sansserif.conf
´ò¿ªºó£¬½«ÀïÃæµÄÁ½¸ösans-serifÌ滻Ϊsans serif£¬¼´½«¶ÌºáÌ滻Ϊ¿Õ¸ñ¡£±£´æÍ˳ö¼´¿É¡£ ......

ubuntu flash ÂÒÂë½â¾ö

sudo gedit /etc/fonts/conf.avail/49-sansserif.conf 
½«
                <edit name="family" mode="append_last">
                        <string>sans-serif</string>
......

Flash as3 AIR1.5 ÆÁ±ÎESC ALT+F4°´¼ü

package
{
import flash.display.Sprite;
import flash.events.MouseEvent;
import flash.system.fscommand;
import flash.display.StageDisplayState;
import flash.events.KeyboardEvent;
import flash.events.Event;
import flash.ui.Keyboard;
/**
* ...
* @author LittleSpace
*/
public ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ