flex4+fms3.5+flash cs4¿ª·¢ÊµÊ±ÒôÊÓƵֱ²¥¼°µã²¥Ïê½â
×î½ü¹«Ë¾Òª×ö¸öÅÄÂôÐеÄÏîÄ¿£¬ÎÒ±»·ÖÅäÁ˓ʵʱÒôÊÓƵֱ²¥¼°µã²¥”µÄ²¿·Ö¡£ÎÒÒ»Ö±´ÓÊÂJAVAÖØÀ´Ã»Ñо¿¹ýadobeµÄ¶«Î÷£¬ËäÈ»sun£¨ÏÖÔÚÊÇORACLEÁË£©Ò²ÓÐJMF£¬µ«ÊÇÕâ¸ö¶«Î÷Ôç¾ÍÔÝÍ£¸üÐÂÁË£¬¸Ð¾õÒѾÓëʱ´úÍѽڡ£×îºó¾¹ýÎÒÃÇ¿ª·¢ÈËÔ±¶¼ÓеĿ̿àרÑУ¬ÂñµØ¿à¸ÉµÄ¾«ÉñÖÕÓÚÔÚÒ»¸öÀñ°Ý¸ã¶¨ÁË¡£
Ïл°ÉÙ˵£¬ÎÒÃÇÇÐÈëÕýÌâ
¿ª·¢¹¤¾ß¼°»·¾³£º
1)flash builder4
2)flash cs4
3)flash media server3.5
fms²¿·Ö
fmsÊÇadobeµÄÁ÷ýÌå·þÎñÆ÷£¬²»¹ýÊÇÊշѵģ¬¼Û¸ñ´ó¸ÅÊÇoracleµÄÒ»°ë£¬²»¹ý»¹ÊǾõµÃͦ¹óµÄ¡£adobeÌṩ¿ØÖÆÁ¬½ÓÊýµÄ¿ª·¢ÈËÔ±°æ£¬³ýÁËÕâµã¾ßÌåºÍÍêÈ«°æÒ»Ñù¡£·þÎñÆ÷µÄÅäÖÃÍøÉϺܶ࣬´ó¼ÒÒ»ËѾÍÒ»´ó°Ñ¡£
ÆäÖйؼüµÄÊÇ£º
ÓÉÓÚÐèÇóÊDz»½öÒªÌṩֱ²¥£¬¶øÇÒ»¹Äܵ㲥ÀúÊ·ÒôÊÓƵ¡£¶øasµÄNetStreamµÄpublish·½·¨ÌṩµÄ¼Öƹ¦ÄÜÊǽ«Â¼ÖƵÄÊÓƵ·ÅÔÚÖ±²¥µÄͬһ¸öÎļþ¼ÐÏ£¬ËùÒÔÒªÐèÒª¸ÄÒ»ÏÂfmsÅäÖá£
1£©fmsµÄdvrĬÈÏÊǹرյģ¬ÐèÒªÐÞ¸ÄC:\Program Files\Adobe\Flash Media Server 3.5\applications\live\main.farÀïµÄApplication.xml£¬½«ÎļþÖеÄ
<StreamManager>
<StreamRecord override="no">false</StreamRecord>
</StreamManager>
¸ÄΪ
<StreamManager>
<StreamRecord override="yes">true</StreamRecord>
</StreamManager>
Ð޸ĺóÖØмÓÈëmain.farÖÐ
2£©fmsĬÈÏÊǽ«Ö±²¥Óëµã²¥ÎļþĿ¼·Ö¿ªµÄ£¨liveºÍvod£©£¬µ«ÊÇÊÓƵ¼ÖÆÊÇÔÚliveÎļþ¼ÓÏ£¬ËùÒÔÎÒÃÇÒªÐ޸ĵ㲥Ŀ¼
C:\Program Files\Adobe\Flash Media Server 3.5\conf\fms.iniÎļþÖн«
VOD_DIR ÉèÖÃΪ C:\Program Files\Adobe\Flash Media Server 3.5\applications\live
ÕâÑù¾Í¿ÉÒÔʵÏÖÖ±²¥µã²¥Í¬Îļþ¼Ð¹²´æÁË
3£©ÅäÖÃÐéÄâĿ¼
´ò¿ªC:\Program Files\Adobe\Flash Media Server 3.5\applications\live\Application.xmlÔÚ<VirtualDirectory>ÖмÓÈë
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;${VOD_DIR}</Streams>
²¹³ä£ºÈç¹ûÔÚflexÖÐÖ±²¥ÊÓƵʱÅ׳önoAccess´íÎó£¬ÇëÔÚ·þÎñÆ÷Éϸø¼ÖÆ»ú·ÖÅäдÈëµÄȨÏÞ¡£
ͨ¹ýÒÔÉÏÅäÖÃfms¾ÍÍê³ÉÁË
flex²¿·Ö
&l
Ïà¹ØÎĵµ£º
Flex Viewer½âÎö-----Òý
FlexViewerÊÇESRI¹«Ë¾ÀûÓÃFlex¼¼Êõ£¬»ùÓÚ±¾ÉíÒÑ¿ª·¢ºÃµÄFlex API°ü¿ª·¢µÄÒ»¸ö³ÉÊìµÄWebGISʵÀý¿ò¼Ü¡£ÆäÍêÈ«ÊÇ¿ª·ÅµÄ£¬¿ÉÒÔ´Ó¹Ù·½ÍøÕ¾ÉϵÄCode GalleryÖ±½Óϵ½Ô´Âë¡£Ò²¿ÉÒÔ´Ó±¾È˵Ä×ÊÔ´µãÏÂÔØ¡£ÍøÖ·£º
http://download.csdn.net/source/2374602
ÏÂÔØÍê³Éºó½âѹֱ½Óµ¼ÈëAdobe Flex 3 BuilderÏîÄ¿¼ ......
2.2 ´úÂëʵÏÖ
ÏÂÃæ¸ø³öÁËFlexBuilder¹¤³ÌµÄÒ»¸öÎļþ£¬ÉèÖÃÁËFlashµÄ²¼¾Ö¡£
view plaincopy to clipboardprint?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
......
servlet ¶Ë£º
String userId = request.getParameter("userId");
System.out.println(userId);
response.setCharacterEncoding("UTF-8");
response.getWriter().println("hello world -- ÎÒ°®Äã¡£¡£¡£");
Flex ǰ̨¶Ë
<fx:Script>
<![CDATA[
import flash.trace.Trace;
private var loader:UR ......
divµÄͼ²ãÓÉdivµÄstyleÖеÄz-indexÀ´¾ö¶¨£¬z-indexÊDz㴹ֱÆÁÄ»µÄ×ø±ê£¬0×îС£¬Ô½´óµÄ»°Î»ÖÃÔ½¿¿ÉÏ¡£
ÓÉÓÚFusionChartsµÄͼ±í¶¼·ÅÔÚdivÖУ¬Èç¹ûÒ³Ã滹ÓÐÆäËûµÄdiv£¬½«±»FusionChartsµÄͼ²ãµ²×¡¡£²»¹ýÉèÖÃz-index²¢²»Æð×÷Óã¬ÆäËûµÄdivÈÔÈ»±»µ²×¡¡£¾¹ýÍøÂçÉϲéÕÒ£¬·¢ÏÖÔÀ´ÊÇÕâÑùµÄ£º
flashµÄͼĬÈÏÇé¿öÏÂ×ÜÊÇλÓÚ×îÉϲ ......
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 ......