日期:2014-05-18  浏览次数:20723 次

flex结合java连接数据库
本人最近由于工作项目需要改造http://www.flex2.org/node/85中的效果一,,其源代码为:

<?xml   version= "1.0 "   encoding= "utf-8 "?>
<!--
Copyright   (c)   2006   Adobe   Systems   Incorporated

Permission   is   hereby   granted,   free   of   charge,   to   any   person
obtaining   a   copy   of   this   software   and   associated   documentation
files   (the   "Software "),   to   deal   in   the   Software   without
restriction,   including   without   limitation   the   rights   to   use,
copy,   modify,   merge,   publish,   distribute,   sublicense,   and/or   sell
copies   of   the   Software,   and   to   permit   persons   to   whom   the
Software   is   furnished   to   do   so,   subject   to   the   following
conditions:

The   above   copyright   notice   and   this   permission   notice   shall   be
included   in   all   copies   or   substantial   portions   of   the   Software.

THE   SOFTWARE   IS   PROVIDED   "AS   IS ",   WITHOUT   WARRANTY   OF   ANY   KIND,
EXPRESS   OR   IMPLIED,   INCLUDING   BUT   NOT   LIMITED   TO   THE   WARRANTIES
OF   MERCHANTABILITY,   FITNESS   FOR   A   PARTICULAR   PURPOSE   AND
NONINFRINGEMENT.   IN   NO   EVENT   SHALL   THE   AUTHORS   OR   COPYRIGHT
HOLDERS   BE   LIABLE   FOR   ANY   CLAIM,   DAMAGES   OR   OTHER   LIABILITY,
WHETHER   IN   AN   ACTION   OF   CONTRACT,   TORT   OR   OTHERWISE,   ARISING
FROM,   OUT   OF   OR   IN   CONNECTION   WITH   THE   SOFTWARE   OR   THE   USE   OR
OTHER   DEALINGS   IN   THE   SOFTWARE.
-->
<Application   xmlns= "http://www.adobe.com/2006/mxml "   xmlns:local= "* "   height= "100% "   width= "100% "   layout= "absolute "   viewSourceURL= "download/index.html ">
 
  <Binding   source= "sel.value "   destination= "shelf.selectedIndex "   />
  <Binding   destination= "sel.value "   source= "shelf.selectedIndex "   />
 
  <Binding   source= "angle.value "   destination= "shelf.angle "   />
  <Binding   source= "pop.value "   destination= "shelf.popout "   />

  <Array   id= "dataSet ">
    <String> img/photos400/01000.jpg </String>      
    <String> img/photos400/01001.jpg </String>      
    <String> img/photos400/01002.jpg </String>      
    <String> img/photos400/01003.jpg </String>      
    <String> img/photos400/01004.jpg </String>      
    <String> img/photos400/01005.jpg </String> &