ÈçºÎʹÓÃFlex HSlider ÖÆ×÷½ø¶ÈÌõ
Í϶¯Ë®Æ½¹ö¶¯ÌõÀ´¸Ä±äͼƬ´óС¡£
<?xml version="1.0"?>
<!--
Simple example to demonstrate the HSlider control.
ˮƽÍ϶¯Ìõ¡£
MyShareBook.cn ·Òë
-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
private var imageWidth:Number=0;
private var imageHeight:Number=0;
// Event handler function to change the image size.
private function changeSize():void
{
phoneImage.width=uint(imageWidth*hSlider.value/100);
phoneImage.height=uint(imageHeight*hSlider.value/100);
}
]]>
</mx:Script>
<mx:Panel id="panel" title="HSlider Control Example" height="100%" width="95%"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
<mx:HBox
Ïà¹ØÎĵµ£º
Flex Viewer½âÎö-----Òý
FlexViewerÊÇESRI¹«Ë¾ÀûÓÃFlex¼¼Êõ£¬»ùÓÚ±¾ÉíÒÑ¿ª·¢ºÃµÄFlex API°ü¿ª·¢µÄÒ»¸ö³ÉÊìµÄWebGISʵÀý¿ò¼Ü¡£ÆäÍêÈ«ÊÇ¿ª·ÅµÄ£¬¿ÉÒÔ´Ó¹Ù·½ÍøÕ¾ÉϵÄCode GalleryÖ±½Óϵ½Ô´Âë¡£Ò²¿ÉÒÔ´Ó±¾È˵Ä×ÊÔ´µãÏÂÔØ¡£ÍøÖ·£º
http://download.csdn.net/source/2374602
ÏÂÔØÍê³Éºó½âѹֱ½Óµ¼ÈëAdobe Flex 3 BuilderÏîÄ¿¼ ......
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·½·¨Ò»Ñù·½±ã
Extern ......
/*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, m ......
1.java
Java´úÂë
package com;
public class LoginDemo {
public String validate(String username,String password){
&nb ......