Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Flex Ò³ÃæÌøת

flex Ò³ÃæÌøת
·½·¨Ò»£ºÊ¹ÓÃnavigateToURL
var url:String = "http://localhost/flex/test.jsp";
var request:URLRequest = new URLRequest(url);
navigateToURL(request,"_self");
·½·¨¶þ£ºÒýÓÃflashÖÐµÄ import flash.external.ExternalInterface Õâ¸ö½Ó¿Ú
ËûÄÜÌṩÏñjsÖÐwindow.location.href·½·¨Ò»Ñù·½±ã
ExternalInterface.call("function(){ "
+ " window.location.href='http://localhost/flex/test2.jsp';"
+ "}")
²Î¿¼£º http://blog.csdn.net/tianpeijun/archive/2009/04/17/4088496.aspx


Ïà¹ØÎĵµ£º

flexͨ¹ýblazedsÓëjavaʵÏÖÔöɾ¸Ä²é Õû¸öʵÏÖÁ÷³Ì

1£¬½¨Ò»¸öuserdb¿â£¬ÔÙ½¨userinfo±í£¬×ֶΣºid(int),username(varchar),password(varchar)¡£
2£¬DBConnection.java
    package com.datainfo;  
 
  import java.sql.Connection;  
  import java.sql.DriverManager;  
  import java.sql.SQ ......

Flex ´øÑéÖ¤ÂëµÄµÇ½ҳÃæ


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="initApp()">
 <mx:states>
  <mx:State name="index">
   <mx:RemoveChild target="{loginPanel}"/>
  ......

ÓÃFlexµ÷ÓÃSWF²é¿´PDF

  ÓÐʱºòһЩ×ÊÁÏÖ»Äܸø±ðÈË¿´£¬Èç¿É´òÓ¡µÄÎĵµÈçDOC£¬PDF£¬µ«²»ÄÜÈÃÆäËûÎÞȨÏÞµÄÈËÁí´æ»òÕß´òÓ¡£¬ÌرðÊÇweb°æµÄÎļþ¹ÜÀíÀàµÄϵͳ£¬×ܻῼÂǵ½Õâ¸öÎÊÌâ¡£µ±ÓÃIEÖ±½Ó´ò¿ªpdfµÄʱºò£¬¾¡¹Ü¿ÉÒÔÆ£±ÖIEµÄÁí´æΪ£¬µ«Êǵã»÷PDFÎļþµÄʱºò£¬ÔÙ°´F8µÄʱºò£¬PDFµÄÔĶÁÆ÷È磨adobereader£©»áÏÔʾToolsBar£¬ËùÒÔÖ±½Ó´ò¿ªpdfòËÆÐв ......

FlexµÄÀ¬»ø»ØÊÕ»úÖÆ

½ñÌìÔÚ×öÏîĿʱºò£¬ÔÚ¿ªÊ¼ÏîĿʱºòÓÐÒ»¸öºÜÖØÒªµÄÎÊÌ⣬¾ÍÊÇÔÚ×ö»ÃµÆµÄÏîĿʱºò£¬ÒòΪ³õʼ»¯µÄʱºò½«Í¼Æ¬È«²¿¼ÓÔؽø³ÌÐò£¬Ôì³ÉÏîÄ¿Æô¶¯µÄʱºò£¬»úÆ÷¾Í±ÀÀ£ÁË£¬ÒòΪÏîÄ¿ÒѾ­Íê³ÉÁË£¬Ö»ÄÜÏëһЩ²¹¾ÈµÄ·½·¨£¬¾ÍÊÇÀûÓÃflashplayµÄÀ¬»ø»ØÊÕ£¬ÒÔÏÂÊÇÁ½ÖÖ·½·¨¡£
1.   flash.system.System.gc();
2.   try
& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ