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

Flex¶ÁÈ¡ä¯ÀÀÆ÷²ÎÊý

Õâ¸öÀàÌṩµÄ¹¦ÄÜÓУº
´Óä¯ÀÀÆ÷ÖлñÈ¡ÍêÕûµÄURL
Ö÷»úÃû
µ±Ç°ËùʹÓõÄЭÒé
¶Ë¿Ú
Ö÷ÓòÃûºóÃæµÄ·¾¶
²ÎÊýÖµ
Ô­ÎĵØÖ·£ºhttp://www.flexpasta.com/index.php/2008/03/15/getting-url-parameters-host-name-port-in-flex-actionscript/
package com.flexpasta.utils
{
import flash.external.ExternalInterface;
import mx.core.Application;
import mx.collections.ArrayCollection;
import mx.controls.Alert;


public class HTTPUtil
{
//--------------------------------------------------------------------------
//
// Constructor
//
//--------------------------------------------------------------------------
/**
* @private
*/
public function HTTPUtil()
{
super();
}

/**
* Returns the current url that the swf player lives in
*
*/
public static function getUrl():String
{
return ExternalInterface.call("window.location.href.toString");
}

/**
* Returns the current host name.
* example: http://www.flexpasta.com/?x=1&y=2 would return www.flexpasta.com
*/
public static function getHostName():String
{
return ExternalInterface.call("window.location.hostname.toString");
}

/**
* Returns the current protocol, such as http:, https:, etc
*
*/
public static function getProtocol():String
{
return ExternalInterface.call("window.location.protocol.toString");
}

/**
* Gets the current port for the url
*/
public static function getPort():String
{
return ExternalInterface.call("window.location.port.toString");
}

/**
* Gets the context following the base of the url
* Example http://www.flexpasta.com/test?x=1&y=2 would return /test
*/
public static function getContext():String
{
return ExternalInterface.call("window.location.pathname.toString");


Ïà¹ØÎĵµ£º

flexÊ÷ÐÎÑ¡ÔñÓû§µÄʵÏÖ

ʹÓÃflex tree ºÍlistʵÏÖÈçÏÂÑ¡ÔñÓû§µÄЧ¹û
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
                showCloseButton="true" creationComplete ......

Flex ºÍC++ Ö®¼ä´«Êä½á¹¹ÌåÊý¾Ý ÓÃXML´«Êä

Flex ºÍC++ Ö®¼ä´«Êä½á¹¹ÌåÊý¾Ý
Ò»Ö±ÏëÊÔÑéÓýṹÌå´«Êý¾Ý
µ«ÊÇFlex ºÍC++ µÄÀàÐÍËùÕ¼µÄ×Ö½ÚÊýÓÐʱ²»Ò»Ñù
Èçint ÔÚC++ÖÐÕ¾2¸ö×Ö½Ú£¬¶øÔÚFlexÖÐÕ¼4¸ö×Ö½Ú¡£
ת»»±È½ÏÂé·³¡£
×îºó¾ö¶¨ÓÃXML½øÐд«Êä
È»ºóÁ½±ß¶¼¼ÓÒ»¸öXML ½âÎöºÍ·â×°Àà¡£
C++ ¶ËʹÓõÄtinyXML Àà
FlexÖ±½ÓʹÓÃ×Ô¼º´øµÄ E4X Àà
Flex´úÂëÈçÏÂ
 &nb ......

ÔÚ Flex Ó¦ÓóÌÐòÖÐʹÓà AnyChart

AnyChart Flash Charting Component ÊÇÒ»¸ö»ùÓÚ Adobe Flash µÄÁé»î½â¾ö·½°¸£¬¿ÉÓÃÓÚ´´½¨Íâ¹Û¾«ÃÀµÄ½»»¥Ê½ flash ͼ±íºÍָʾ°å£¨dashboard£©¡£ËüÊÇÒ»¸ö¿çä¯ÀÀÆ÷ÇÒ¿çÆ½Ì¨µÄÖÆÍ¼½â¾ö·½°¸£¬¿ÉÓÃÓÚ´´½¨Ö¸Ê¾°å¡¢±¨±í¡¢·ÖÎöͼ±í¡¢Í³¼ÆÍ¼±í¡¢²ÆÎñͼ±íÒÔ¼°ÈÎºÎÆäËû¿ÉÊÓ»¯½â¾ö·½°¸¡£
Çë·ÃÎÊÒÔÏÂÁ´½Ó²é¿´ÓÐ¹Ø AnyChart µÄ¸ü¶àÐÅÏ¢£º ......

Flex 4 SDK ÐÂÌØÐԽ̳ÌϵÁÐ – Flex 4¸ÅÊö

ÕâÊÇFlex 4 SDK ÐÂÌØÐԽ̳ÌϵÁеĵÚ2Õ¡£±¾Õ¸ÅÊöÁËFlex 4µÄÉè¼ÆÄ¿±ê¼°ºËÐÄÌØÐÔ£¬²¢½éÉÜһЩÏà¹ØµÄѧϰ×ÊÔ´¡£
Flex 4¸ÅÊö
×ݹÛFlexµÄ·¢Õ¹Ê·£¬¿ÉÒÔ˵ÊÇÒ»¸ö“ÓÉ·â±Õ¿ª·Å£¬ÓÉÉÌÒµ»¯µ½ÉçÇø»¯”µÄ½ø³Ì¡£ÔçÔÚ2004ÄêMacromediaÍÆ³öFlex 1.0(׼ȷµÄ˵Ӧ¸ÃÊÇFlex Server 1.0)ʱ£¬ÔÚ´ó¶àÊý¿ª·¢ÕßµÄÑÛÖУ¬FlexÊÇÉñÃØÇҸ߲ ......

¹ØÓÚFLEXÖеÄÒþ²Ø·½·¨£¨mx_internal£©


±¾Ìû×îºóÓÉ flashyiyi ÓÚ 2009-2-22 23:18 ±à¼­
×îÖÕÎÒ¾ö¶¨»¹ÊÇÓÓÒþ²Ø”Õâ¸ö²»ÊǺܺÏÊʵĴʡ£mx_internalÊÇÒ»¸ö×Ô¶¨ÒåÃüÃû¿Õ¼ä£¬ÖÁÓÚ“ÃüÃû¿Õ¼ä”µ½µ×ÊÇʲô¾Í²»ÔÚÕâÀï˵ÁË¡£×ÜÖ®£¬µ±ÎÒÃÇÔÚ´úÂëÍ·²¿Ð´ÉÏ£º
use namespace mx_internal
£¨Èç¹ûÊÇ.ASÎļþ£¬ÐèÒªÊÖ¶¯import mx.core.mx_internal£¬×¢ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ