flash ½»»¥²Ù×÷£º²Ã¼ôλͼ
Íæ¹ý½ØÍ¼µÄÈ˶¼ÖªµÀ½ØÍ¼ÊÇÔõÑùÒ»»ØÊ£¬Í¨¹ý½ØÈ¡Í¼Æ¬Ò»¸öµØ·½¾ÍÄܹ»»ñÈ¡µ½Í¼Æ¬Ä³Ò»¸öƬ¶Î¡£ÕâÒ»¸ö²¿·ÖÔÚflash ÀïÃæ¿ÉÒÔÀûÓÃλͼµÄ¸´ÖÆÏñËØÀ´ÊµÏÖ¡£Í¨¹ýcopyPixels »òÕßdraw Äܹ»»ñÈ¡ÏñËØ¡£
ÏÖÔÚÎÒÃÇÌÖÂÛÒ»¸ö»°Ì⣺ÔÚflashÀïÃæÔõÑùʵÏÖÕâÖÖ½ØÍ¼£¿ ´ø×ÅÕâ¸öÎÊÌ⣬³¢ÊÔÖÆ×÷Ò»¸ödemo³öÀ´¡£¹¦ÄܾÍÊÇ»ñȡλͼ¡£
ËùÐèÒªµÄ²ÄÁÏ£ºµÚÒ»¾ÍÊÇflash»æÍ¼API £¬µÚ¶þ¾ÍÊÇλͼÏñËØ²Ù×÷¡£ÀûÓÃÕâÁ½¸öÎÒÃǾÍÄܹ»ÊµÏÖ³öÕâÖÖ½»»¥Ð§¹û¡£
Éè¼ÆµÄͼ°¸£º
ÖÆ×÷˼·£ºÊ×ÏÈÖªµÀÔõÑù»æÖÆÒ»¸ö¾ØÐΣ¬¿ÉÒÔÉÏÍøËÑË÷һϣ¬»òÕß²éѯһЩflash»æÍ¼API ÊÇÈçºÎ²Ù×÷µÄ¡£½èÖú»æÖÆÕâ¹É¾ØÐΣ¬ÎÒÃǾÍÄܽØÈ¡µ½ÎÒÃÇËùÐèÒªµÄƬ¶Î¡£
½ÓÏÂÀ´£¬Îª³ÌÐòдһ¸ö»ùÀࣺItem.as
¶¨ÒåһЩ³£Óõķ½·¨ºÍÊôÐÔ¡£
ÀýÈç»æÖÆ¾ØÐΡ£»ñȡλͼ£¬¶¨ÒåÏßÌõµÄÑùʽµÈ£¬ÅжϾØÐÎÊÇ·ñÓÐЧ
ÕâЩ·½·¨¶¼ÊǶ¨ÒåÔÚÕâ¸ö»ù´¡À൱ÖС£
package org.summerTree
{
//Ñ¡ÔñÀà»ù±¾ÉèÖÃ
import flash.display.Sprite;
import flash.geom.Rectangle;
import flash.events.EventDispatcher;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.geom.Point;
public class Item extends EventDispatcher
{
public var LineColor:int=0x0000ff;//ÏßÌõÑÕÉ«
public var FillColor:int=0x0000ff;//Ìî³äµÄÑÕÉ«
public var FillAlpha:Number=0.1;
public function Item()
{
}
//»æÖƾØÐεĻù±¾·½·¨
protected function DrawRect(shape:Sprite,rect:Rectangle):void
{
shape.graphics.clear();
shape.graphics.lineStyle(1,LineColor,1);
shape.graphics.beginFill(FillColor,FillAlpha);
shape.graphics.drawRect(rect.x,rect.y,rect.width,rect.height);
shape.graphics.endFill();
}
//ÅжÏrectÊÇ·ñÓÐЧ
public function checkRect(rect:Rectangle):Boolean
{
return rect != null?true:false;
}
//¶¨ÒåÑùʽ
public function setStyle(lcolor:int,fcolor:int,aplha:Number):void
{
this.LineColor=lcolor;
this.FillColor=fcolor;
this.FillAlpha=aplha;
}
//»ñȡλͼ
public function getImage(source:Bitmap,rect:Rectangle):Bitmap
{
var bitmapdata:BitmapData = source.bitmapData;
var Width:Number=Math.abs(rect.width);
Ïà¹ØÎĵµ£º
UbuntuÏÂ×°ÍêAdobeµÄFlash²å¼þºó£¬ä¯ÀÀÆ÷Àï¿ÉÒÔ²¥·ÅFlash¶¯»ÁË¡£µ«ÊÇ»¹´æÔÚÒ»¸öÎÊÌâ¾ÍÊǺº×ÖÎÞ·¨ÕýÈ·ÏÔʾ£¬ÏÔʾΪ·½¸ñ
½â¾ö°ì·¨£º
ÐÞ¸ÄÕâ¸öÅäÖÃÎļþ
/etc/fonts/conf.d/49-sansserif.conf
°ÑÆäÖÐËùÓеÄ×ÖÌåÃûÌæ»»ÎªÖÐÎÄ×ÖÌåÃû¼´¿É£¬ÎÒÕâÀïÓõÄÊǓ΢ÈíÑźڔºÍ“Consolas“¡£
<?xml version=" ......
×î½ü¶Ô¸ßÊýÆðÁ˺ܴóµÄÐËȤ£¬ÌÍÇ®ÂòÁËÒ»±¾¸ßµÈÊýѧ¡£·¢ÏÖÀïÃæµÄÕæÊÇÒ»·Ý±¦Î×î½ü¿´ÁËÒ»¸öÈ˵IJ©¿Í¡£¹ØÓڸߵÈÊýѧµÄ֪ʶ£¬¶ÔÂÝÐýÏßµÄÐÎ̬ÔÀ´²»½ö½öÊÇÒ»ÖÖ¡£¹ýÈ¥³¢ÊÔÖÆ×÷µÄͼÐÎÒ²ÊÇÒ»Öֵķ½Ê½£¬ÏÖÔÚÌá¼°ÕâÖÖÂÝÐýÏß²»ÊÇÎ§ÈÆ×ÅÔ²ÖùÐÎ×´Ðýת£¬¶øÊÇÔ²×¶¡£¶ÔÎÞ´í£¬Ô²×¶Ìå¡£ÓÖÊÇÈÃÈ˾õµÃ²»Ë¬µÄÊýѧ£¬²»¹ýϸÐÄ· ......
ScrollPane¼ÓÔØÍ¼Æ¬£ºhttp://flash.9ria.com/viewthread.php?tid=37296&highlight=ScrollPane
SoundChannel¿ØÖÆÉùÒô£ºhttp://flash.9ria.com/viewthread.php?tid=25745&highlight=Sound
²¶»ñ´°Ìå±ä»¯Ê¼þ£ºhttp://flash.9ria.com/viewthread.php?tid=7203&highlight=%E6%9C%80%E5%A4%A7%E5%8C%96
¼ÓÔØºÍÐ¶ÔØ ......
http://www.top000.com/mp3.html
Õâ¸öÒ³ÃæÖУ¬ÀïÃæÄǸö²¥·ÅÆ÷µÄswf±¾ÉíµÄ³¤¿íÊÇ:360x50.
ÕâÀïÊÇÕâ¸öÒ³ÃæµÄÔ´´úÂë:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh_cn" lang="zh_cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Mp3& ......
½ñÌìÔÚµ÷Õû¹«Ë¾ÍøÕ¾ÊÇ·¢ÏÖ£¬ÔÚÊÓÆµ²¥·ÅµÄÒ³Ãæ£¬·ÖÏí°´Å¥µ¯³öÍÆ¼ö²ã»á±»flash²¥·ÅÆ÷ÕÚµ²£¬¸ø²ã¼ÓÉÏz-indexÒ²²»Æð×÷Óã¬ÈçÊÇÈ¥googleÁËһϣ¬ÕÒµ½Ò»Ð©·½·¨£º
wmodeÊôÐÔ£º
“Window ” ÔÚ Web Ò³ÉÏÓÃӰƬ×Ô¼ºµÄ¾ØÐδ°¿ÚÀ´²¥·ÅÓ¦ÓóÌÐò£¬²¢ÇÒʼÖÕλÓÚ×î¶¥²ã¡£
“Opaque ” ÏÔÊ¾Ò³ÃæÉÏλÓÚËüºóÃæµÄÄÚÈÝ¡ ......