flash build 4Õýʽ°æÀïµÄͼÎÄ»ìÅÅ
Ö±½Ó¿½±´µ½flash build 4 Õýʽ°æÀï½øÐвâÊÔ£¡
Ô´Â룺
/*
*
ºËÐIJ¿·Ö
//Ϊtf³õʼ»¯¸÷ÀàÊôÐÔ
tf = new TextFlow();
um = new UndoManager();
em = new EditManager(um);
tf.interactionManager = em;
//¸ñʽ
var fmt:TextLayoutFormat = new TextLayoutFormat();
fmt.fontFamily = "_sans";
fmt.fontSize = 12;
fmt.paddingTop = fmt.paddingLeft = fmt.paddingBottom = fmt.paddingRight = 10;
tf.hostFormat = fmt;
//define elements to contain text ¶¨Òå°üº¬µÄ½ÚµãÊôÐÔ
d = new DivElement();
p = new ParagraphElement();
s = new SpanElement();//ƽ³£µÄÎÄ×Ö--- ÓÃÓÚ¶¨ÒåÎÄ×Ö
s.text ="Press the green button to start. Sometimes the loaded images will flash large (unscaled) when they come in. ";
//add these elements to the TextFlow ¼ÓÈë¸ù½ÚµãtextFlowÖÐ
p.addChild(s);//Ôö¼Óµ½ pragraphÀï Óëhtml±êÇ©ÀàËÆ
d.addChild(p);// divÇøÓò Óëhtml±êÇ©ÀàËÆ
tf.addChild(d); //×îÖյĸù½ÚµãΪ TextFlow
var leaf_el:FlowLeafElement = tf.getLastLeaf();//
if(!leaf_el) return;
var para_el:ParagraphElement = leaf_el.getParagraph();//µÃµ½paragraphÇøÓò//¸ÃÇøÓòÓÃÀ´·ÅÍⲿͼÏñ
var link:String = "http://www.theyrule.net/test/ExternalMovie.swf?"+ String((Math.random()*1000)/100); //ÍⲿҪ»ìÅŵÄͼÏñ×ÊÔ´
var imgElem:InlineGraphicElement = new InlineGraphicElement();//ÓÃÓÚ¼ÓÔØÍⲿͼÏñ
imgElem.height = 10;
imgElem.width = 10;
//******************************** ͼÎÄ»ìÅŵĺËÐIJ¿·Ö***************************************
imgElem.source = link;
para_el.addChild(imgElem);//²åÈëparagraphµÄ¶ÎÂäÖÐ
tf.flowComposer.updateAllControllers();//Ë¢ÐÂTextFlow
*/
package {
import flash.display.Sprite;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.text.TextFormat;
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.edi
Ïà¹ØÎĵµ£º
NAND flashÎļþϵͳ
Ä¿Ç°flashµÄÎļþϵͳ±È½Ï¶à£¬ÓõıȽ϶àµÄ¾ÍÊÇJFFS2Îļþϵͳ¡£»ùÓÚNOR flashÉϵÄJFFS2Îļþϵͳ¿ÉÒÔ˵ËãÊDZȽϳÉÊìÁË£¬Ö§³ÖNAND flashµÄJFFS2Ò²ÒѾ·¢²¼ÁË¡£Ô´´úÂë¿ÉÒÔµ½http://www.linux-mtd.infradead.orgÉÏÃæÏÂÔØ¡£µ«ÊÇÔÚÎҵIJâÊÔ¹ý³ÌÖУ¬ÔÚnand flashÉϹҽӵÄJFFS2ÎļþÏµÍ ......
adodeµÄflash²¥·ÅÆ÷¿ÉνӰÏìÉîÔ¶£¬¸øÎÞÊýÓû§´øÀ´Á˺ÜѤÀöµÄÊÓ¾õЧ¹û¡£
¿ÉÒÔºÁ²»¿äÕŵØ˵£¬flash²¥·ÅÆ÷½â¾öÁËÍøÒ³µÄ¸´ÔÓ½»»¥ÎÊÌ⣬´Ó¶øΪ»¥ÁªÍøÌṩÁËÁ¼ºÃµÄÌåÑéЧ¹û£¬Ä¿Ç°
flash½¨Õ¾¡¢flashÈ«Õ¾¡¢flash Ó¦ÓÃÔÚÍøÒ³ÉÏÔ½À´Ô½¶à¡£»¥ÁªÍøÉÏflashµÄСӦÓÃÓëflashÕ¾¿Éν¶àÈçţë¡£
ÔÚÊÖ»úƽ̨ÉÏ·¢Õ¹ÈçºÎÄØ£¿ÊÖ»úÉÏÄ¿Ç ......
ÔÚhtmlÎļþÖÐǶÈëµÄ´úÂëÈçÏÂ:
<script type="text/javascript">
var xmlUrl="news.xml";
var swfURL="news.swf";
var img_Speed=2;
var page_Speed=3000;
var TextPosition="down";
var HeadlineColor="#ff0000";
var HeadlineFont="14px";
va ......
¡¡¡¡Ò»Ð©Æ»¹û°®ºÃÕßÒÑÔÚ¸ÃÁãÊÛµêÖÜΧÅŶÓÊýÌìʱ¼ä¡£¶ÓÎé·ÖΪÁ½Ìõ£¬Ò»ÌõÕë¶Ô´ËÇ°ÒÑÔÚÏßÔ¤¶©iPadµÄÓû§£¬ÁíÒ»ÌõÔòÕë¶ÔÏ£ÍûÖ±½ÓÔÚÉ̵êÖйºÂòiPadµÄÏû·ÑÕß¡£´Óµ±µØʱ¼äÉÏÖÜÁùÉÏÎç9µã¿ªÊ¼£¬ÈËÁ÷¿ªÊ¼»º»º½øÈëÆ»¹ûÁãÊÛµêÖУ¬Ò»´Î·ÅÐÐ10ÈË»ò15ÈË¡£ÄѵÀiPadÕæµÄÊÇÒ»´úÉñ»ú£¿ÏÂÀ´Ð¡±à´øÄã×ß½øiPad......
¡¡¡¡¹¤ÒµÉè¼Æ
¡¡¡¡iPadÅ䱸Á ......
×÷ÕߣºØýÃû À´Ô´£º±¾Õ¾ÕûÀí ·¢²¼Ê±¼ä£º2010-02-24 09:42:10
ÎÒÃÇÏþµÃdoubleClickÊÂÇéÊÇÔÚas3ÖÐÐÂÔö¼ÓµÄÊÂÇé,ÎÒÃǾ³£ÐèÇóʹÓõ½Õâ¸öÊÂÇé,ÔÚas2ÎÒʱÆÚÐèÇó±¾ÈËдº¯ÊýÅбðË«»÷,ÔÚas3ÖоÍÄܹ»Ö±½ÓʹÓÃÕâ¸öÊÂÇéÁË,µ«ÊÇÔÚʹÓÃÕâ¸öÊÂÇéµÄʱ·ÖÓиöϸ½ÚÒª´ÎÒª,Ê×ÏÈÊÂÇéÊÇInteractiveObjectËùÊôµÄ,Òò¶ø´ÓInte ......