FlashÓë×é¼þ£ºÖÆ×÷Slider×é¼þ
ÀûÓÃas3£¬ÎÒÃÇ¿ÉÒÔ³¢ÊÔÖÆ×÷һЩÓÐȤµÄ×é¼þ£¬ËäÈ»ÏÖÔÚÒѾÓкܶàʵÓõÄ×é¼þ£¬µ«ÊÇ×Ô¼º³¢ÊÔдһÏÂÒ²ÊDz»´íµÄ¡£ÀûÓÃas3Óï·¨£¬½èÓÃÁË»æͼApiÎÒÃdz¢ÊÔÖÆ×÷Ò»ÏÂÕâ¸ö×é¼þ¡£ÒòΪÎÒÃDz»ÐèÒªºÜÇ¿´óµÄ¹¦ÄÜ£¬¶Ô´ËÎÒÃÇÖ»ÊÇÐèҪѡȡÆäÒ»²¿·Ö¾Í¿ÉÒÔ¡£
Ê×ÏÈ,ÎÒÃÇËùÐèµÄÖÆ×÷Á½¸öͼÐΣ¬Ò»¸öÊÇÍ϶¯µÄ·½¿é£¬Ò»¸öÊǵ×ͼƬ¡£¶ÔÓÚÕâÁ½¸öͼÎÒÃǶ¼²»ÄÑ×ö£¬²ÉÓûæͼAPiµ±ÖеĻæÖƾØÐεİ취¾ÍÄÜʵÏÖµ½¡£
ÎÒÃÇÐèÒª¶¨Òå¸ö°ü£¬Õâ¸ö°üÊÇΪÁË·ÀÖ¹ÓëflashÄÚ²¿×é¼þÀàÃû³Æ³åÍ»ÈçÏ£º
package org.summerTree.components
ËùÐèÒª×öµÄ¹¤×÷ÊÇ£¬¶¨ÒåºÃ¹¹Ô캯ÊýÀïÃæµÄ²ÎÊý¡£ÉèÖÃÈÝÆ÷£¬×î´óÖµºÍ×îСֵ¡£Á½¸öÖµ¾ÍÊÇÁ½¶ËµÄλÖã¬ÒÔ¼°³õʼ»¯µÄĬÈÏÖµ
//¹ö¶¯µÄ×é¼þ
package org.summerTree.components
{
import flash.display.Sprite;
import flash.display.Shape;
import flash.events.*;
import flash.geom.Rectangle;
import flash.display.DisplayObjectContainer;
import flash.text.*;
public class Slider extends Sprite
{
private var bar_control:Sprite;
private var values:Number=0;
private var msg:TextField=new TextField();
private var minValue:Number=0;
private var maxValue:Number=100;
private var initializtion:Number;
public function Slider(contain:DisplayObjectContainer=null,minValue:Number=0,maxValue:Number=100,initializtion:Number=0)
{
}
}
ÔÚÕâÀï¹ý³Ì£¬ÎÒÃǵ¼ÈëÎÒÃÇËùÐèÒªµÄ°ü£¬°üÀ¨Ê¼þÀàÐÍ£¬°üÀ¨¼¸ºÎͼÐοâµÈµÈ¡£
ÎÒÃÇ´´½¨Slider ×÷ΪÕâ¸ö×é¼þµÄÀàÃû³Æ£¬½¨Á¢ÆðµÚÒ»²½Ö®ºó£¬ÎÒÃǾͿÉÒÔʵÏÖ½øÐлæÖÆͼ°¸½øÐд´×÷¡£
µÚ¶þ²½£º´´Ê¼»¯£¬
ÔÚÕâ¸ö¹ý³Ìµ±ÖУ¬ÊµÀý»¯¿ØÖƵÄÍ϶¯µÄÔª¼þ£¬²¢ÉèÖõ׵ÄͼÐΣ¬ÔÚÕâÀï¹ý³ÌÉèÖò»Í¬ÑÕÉ«ÒÔÇø±ð¡£²¢ÇÒ¶ÔÔª¼þ½øÐмàÌýÊó±êÍ϶¯£¬ÔÚÍ϶¯µÄ¹ý³Ìµ±ÖУ¬Ôª¼þµÄx×ø±ê»á²úÉú¸Ä±ä£¬ÕâÑùÎÒÃÇÐèÒª°ÑÕâ¸öֵͨ¹ý¼ÆËã³öÀ´´«µÝÉèÖÃvalueµÄÖµ£¬
this.value=bar_control.x*(maxValue-minValue)/100+minValue;//¼ÆËãÔª¼þ¿éλÖöÔÓÚµÄÖµ
Èç¹û°´0-100ÕâÑùµÄÇø¼ä£¬Ö»ÓÐÎÒÃÇ»ñÈ¡µ½Í϶¯µÄÔª¼þµÄ×ø±êÖµ£¬¼´¿ÉÒԵõ½ÎÒÃÇËùÐèÒªµÄÊý¾Ý¡£bar.x=[0,100]Ö®¼äµÄÇø¼ä
Èç¹ûÕâ¸öÇø¼ä²»ÔÚ0-100 £¬¿ÉÒÔËæÒâÒ»¸öÇø¼ä£¬ÎÒÃÇÔò¿ÉÒÔͨ¹ý¼òµ¥µÄ»»³É¾Í¿ÉÒÔ
(bar.x/bar.width)*(max-min)+min; ÕâÑù»»ËãÔò¿ÉÒÔʵÏÖµ½¡£
private function init():void
{
//¿Ø¼þµ××ù
Ïà¹ØÎĵµ£º
Õâ¸ö¼ýÍ·µÄСͼ°¸¡£
Õâ¸öÖ»ÊÇÓÃÓÚ´´×÷µÄС¹¤¾ßͼÐΣ¬Õâ´ÎÔö¼ÓÁ˼ýÍ·£¬Ô²»·£¬ÁâÐΣ¬Óã¶ùµÈһЩÓÐȤµÄͼ°¸¡£
ʹÓÃÔ²»·µÄ´´×÷£º
³ÝÂÖͼ°¸£º
´´×÷
ʹÓÃÁâÐεĴ´×÷
ÐÂÔöÓã¶ù£ºÍ¼°¸
Demo ÔÚÕâÀ
ÓÐÐËȤ½øÐд´×÷µÄʱºòʹÓá£
ÕâЩÀà¿â½ö½öÓÃÓÚʵÑéµÄʱºò½øÐд´×÷¡£·á¸»Ò»Ð©As±¾ÉíһЩͼ°¸¡£ ......
ÕâÊÇһƪ½²½âÈçºÎʹÓÃXMLʵÏÖFlashÓëͨÐŵÄÈëÃż¶ÊµÀý½Ì³Ì¡£Í¨¹ý±¾ÀýµÄѧϰ£¬ÎÒÃǽ«Á˽âʹÓÃXML¿ª·¢Flash RIAsµÄ»ù±¾Á÷³Ì¡£
´ÓFlash Player 5¿ªÊ¼£¬¾Í¿ÉÒÔʹÓÃXML¶ÔÏóÀ´ÊµÏÖFlashÓëºǫ́ͨÐÅ¡£Flashä¯ÀÀÆ÷ÓëXMLÊý¾ÝÖ®¼äµÄÖ±½Ó½øÐÐÊý¾Ý½»»»£¬²¢ÇÒͬLoadVarsº¯ÊýÒ»Ñù£¬¶¼ÊÇÒÔ×Ö·û´®ÐÎʽ´«µÝµÄ¡£ºǫ́ÓïÑÔ×÷ΪXMLÊý¾ÝºÍÊý¾Ý¿â ......
http://plugindoc.mozdev.org/linux-amd64.html#flash
download flash:
http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
cp libflashplayer.so /usr/lib/mozilla-firefox/plugins
restart firefox
check:
about:plugins ......
ÁªÏµQQ£º787135989
ÌṩFLASHÎļþ±£»¤.
¿ÉÒÔ×î´óÏ޶ȱ£»¤ÄãµÄFLASHµÄ°²È«!
·ÀÖ¹ÉÁ¿Í¾«Á黹ÔÄãµÄSWFÎļþ
ÖжÏAction Script Viewer²é¿´½Å±¾×ÊÔ´£¡
Ò²ÌṩÊÖ¹¤ÆƽâFLASH
·ÀÖ¹·Ç·¨·ÖÅäÄãµÄ¸öÈË×ÊÔ´.
------- ......
gebi1218 ·¢±íÓÚ 2010-5-25 22:32:00ÓÉÓÚNAND FlashµÄ¹¤ÒÕ²»Äܱ£Ö¤NANDµÄMemory ArrayÔÚÆäÉúÃüÖÜÆÚÖб£³ÖÐÔÄܵĿɿ¿£¬Òò´Ë£¬ÔÚNANDµÄÉú²úÖм°Ê¹Óùý³ÌÖлá²úÉú»µ¿é¡£»µ¿éµÄÌØÐÔÊÇ£ºµ±±à³Ì/²Á³ýÕâ¸ö¿éʱ£¬²»Äܽ«Ä³Ð©Î»À¸ß£¬Õâ»áÔì³ÉPage ProgramºÍBlock Erase²Ù×÷ʱµÄ´íÎó£¬ÏàÓ¦µØ·´Ó³µ½Status RegisterµÄÏàӦλ¡£×ÜÌåÉÏ£¬» ......