flex ±£´æ³Épdf Îļþ¸ñʽ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"
viewSourceURL="srcview/index.html" backgroundColor="0x000000" layout="absolute">
<mx:Script>
<![CDATA[
import org.alivepdf.pages.Page;
import org.alivepdf.pdf.PDF;
import org.alivepdf.layout.Orientation;
import org.alivepdf.layout.Size;
import org.alivepdf.layout.Unit;
import org.alivepdf.display.Display;
import org.alivepdf.saving.Method;
import org.alivepdf.fonts.FontFamily;
import org.alivepdf.fonts.Style;
import org.alivepdf.colors.RGBColor;
import mx.utils.UIDUtil;
protected var claimPDF:PDF;
[Embed(source="assets/Insuricorp-Logo.jpg", mimeType="application/octet-stream" )]
prote
Ïà¹ØÎĵµ£º
Flash/FlexÒ²Ö§³Ö»ùÓÚSocketµÄÍøÂçÁ¬½Ó £¬·þÎñÆ÷¶Ë¿ÉÒÔÊÇC++,VB,C#,JavaµÈÈÎÒ»ÓïÑÔ¿ª·¢¡£¼àÌýÒ»¸öÍøÂç¶Ë¿Ú±ã¿ÉÒÔ½ÓÊÕµ½Flash/Flex¿ª·¢µÄ¿Í»§¶ËµÄÁ¬½Ó¡£
ActionScript 3.0ÌṩÁËͨ¹ýSocketÁ¬½ÓµÄ·½Ê½Óë·þÎñÆ÷¶ËͨÐÅ¡£ÕâµãÊdz¬Ô½´«Í³B/S½á¹¹µÄÖØÒªÌØÕ÷¡£ÕâÑùʹµÃÍø ......
ÔÚÓ¦ÓÃÖУ¬ºÜ¶à¶¼ÏëʵÏÖflexµÄ¿Ø¼þûÓйö¶¯ ¶øÊÇͨ¹ýÆäËûµÄ°´Å¥·½Ê½½øÐпؼþÄÚÈݵĹö¶¯£¬ÕâÑùʵÏֵĿªÊ¼µ±È»ÊÇÒªÉèÖÃhorizontalScrollPolicy="off" verticalScrollPolicy="off"ÁË£¬È»ºóͨ¹ýcontainerµÄhorizontalScrollPosition »òverticalScrollPositionµÄ¼Ó ¼õÀ´ÊµÏÖÄÚÈÝ×óÓÒ¡¢ÉÏϹö¶¯¡£Ë¼Â··½·¨ÍêÈ«ÕýÈ·£¬µ«ÊÇÔÚÕâÑùµÄÇ ......
FLEXÖÐËùÓеIJ¼¾Ö¶¼ÐèÒªÈÝÆ÷¡£<mx:Application>±êǩʵ¼ÊÉϾÍÊÇÒ»¸öÈÝÆ÷¡£Ã¿¸öÈÝÆ÷¶¼ÓÐÒ»¶¨µÄ¹æÔòÀ´È·¶¨×ÓÔªËصÄÅÅÁз½Ê½£¬Ò²¾ÍÊDZ¾ÎÄÌÖÂÛµÄFLEXÈÝÆ÷²¼¾Ö¹æÔò¡£
VBox
×ÓÔªËØÑØ´¹Ö±·½ÏòÅÅÁС£Ã¿¸ö×ÓÔªËض¼»á»æÖÆÔÚÇ°Ò»¸ö×ÓÔªËصÄÏ·½¡£
HBox
×ÓÔªËØÑØˮƽ·½ÏòÅÅÁС£Ã¿¸ö×ÓÔªËض¼»á»æÖÆÔÚÇ°Ò»¸ö×ÓÔªËصÄÓÒ·½¡£
Canv ......
Ò»¡¢×Ô¶¨ÒåPanel×é¼þ
package test
{
import mx.containers.Panel;
import mx.core.UIComponent;
/**
* ×Ô¶¨ÒåPanel
* **/
public class MyPanel extends Panel
......
ÔÚflex ¿ª·¢ÏîÄ¿ÖУ¬ºÜ¶à¶¼»áʹÓÃModuleÀ´¼õÉÙapplication¼ÓÔعý´óµÄÎÊÌâ¡£ModuleҲȷʵ½â¾öÁËÕâ¸öÎÊÌâ¡£
µ«ÊÇÔÚʹÓÃModule¹ý³ÌÖÐÐèҪעÒâµÄÒ»µã ·Ç³£¹Ø¼üµÄÒ»µãÄǾÍÊÇ ¶¨ÒåÒ»¸öIModuleInfoµÄʱºò Ò»¶¨Òª¼ÇµÃ°Ñ¶¨Òå³ÉÈ«¾Ö±äÁ¿Å¶¡£²»È»¾Í»á³öÏÖ µÚÒ»´Î¼ÓÔز»ÁË ¶þµÚ¶þ´Î µÚÈý´Î¡£¡£¡£¡£¶¼¿ÉÒÔµÄЧ¹û¡£²»×¢ÒâÕâµãÕÒËÀÁ˶¼ÕÒ² ......