Flex tag archives

ADOBE AIR 2.7 FLEX 4.5.1


ADOBE vient de mettre à disposition une nouvelle version de AIR la 2.7 :

Mobile : Amélioration des applications AIR tournant sous IOS. On pourra installer le runtime AIR sur la carte SD de votre mobile Android.

Desktop : possibilité de fairre de la VOIP

Une nouvelle version aussi pour Flash Builder (Flex Builder) la 4.51. On pourra porter son application sur les mobiles, sur Android, iOS et le BlackBerry Playbook. Avec un même développement, il suffira de choisir sur quel mobile on voudra installer son application. Flash Builder est donc un outil de développement pour téléphone et tablettes.
Si Apple ne veut pas de Flash c’est Flash qui vient à Apple. Flash Builder permet d’avoir une application native iPhone, iPad.

web2.0     Étiquettes : , ,

Inplémenter Blazeds dans vos projets Flex Java

Voici une vidéo d’une présentation de la mise en œuvre de BlazeDS avec vos applications Flex. BlazeDS interface l’accès distant basées sur le serveur Web Java et la technologie Flex d’ Adobe ® ® Flex et Adobe AIR ™ pour les applications Internet riches (RIA) .

Flex     Étiquettes : ,

Flash Builder 4

Depuis hier, Flash Builder 4 le nouveau nom de Flex builder & Flash Catalyst versions demo sont téléchargeables sur Adobe Labs.

le lien vers Flash Catalys
le lien vers Flash Builder 4

flash     Étiquettes :

Flex+Ajax FABridge exemple

FABRIDGE, pour Flex Ajax Bridge, est  le pont que propose Adobe entre sa technologie Flex/Flash et la technologie Ajax. FABRIDGE est une bibliothèque de fonctions qui permet de piloter un composant Flash/Flex à partir d’un simple code Javascript .

Ajax permet une multitude d’actions dans une page internet sans avoir à la recharger. FABridge permet d’insérer facilement de la technologie Flex dans des applications web tournant déjà avec des composants Ajax.

Pour utiliser Fabridge avec Flex Builder 3 voici la démarche :

Créer un nouveau projet. Puis dans la colonne gauche de navigation faire un clic doit sur le dossier de votre projet. Cliquer sur « Create Ajax Bridge ».

Vous aurez alors dans votre mxml et votre projet tous les liens pour utiliser Fabridge.

Dans votre index template ajouter les liens vers les javascripts :

<script type= »text/javascript » src= »js/FABridge.js »></script>
<script type= »text/javascript » src= »js/ajax_demo.js »></script>

Voici un exemple le code Flex mxml :

< ?xml version="1.0" encoding="utf-8"?>
<mx :Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="bridge.*">
	<ns1 :FABridge/>
	</mx><mx :Script>
		< ![CDATA[
			import mx.controls.Alert;		
 
			public function genAlert(val1:String="default"):void
			{
				Alert.show(val1, "Invoked with javascript..");
			}
 
		]]>
	</mx>	
 
	<mx :TextInput id="txt_input" text="Hello javascript"  x="53" y="10"/>
	<mx :Button id="button"	label="JavaScript-defined click event"  y="40" x="34"/>

Et le javascript ajax_demo.js

?View Code JAVASCRIPT
/**
 * WARNING! THIS IS A GENERATED FILE, AND WILL BE RE-GENERATED EACH TIME THE
 * AJAXBRIDGE IS RUN.
 *
 * You should keep your javascript code inside this file as light as possible, 
 * and rather keep the body of your Ajax application in separate *.js files. 
 *
 * Do make a backup of your changes, before re-generating this file (AjaxBridge 
 * will display a warning message to you).
 *
 * Please refer to the built-in documentation inside the AjaxBridge application 
 * for help on using this file.
 */
 
 
/**
 * Application "ajax_demo.mxml"
 */
 
/**
 * The "ajax_demo" javascript namespace. All the functions/variables you
 * have selected under the "ajax_demo.mxml" in the tree will be
 * available as static members of this namespace object.
 */
ajax_demo = {};
 
 
/**
 * Listen for the instantiation of the Flex application over the bridge
 */
FABridge.addInitializationCallback("b_ajax_demo", ajax_demoReady);
 
 
/**
 * Hook here all the code that must run as soon as the "ajax_demo" class
 * finishes its instantiation over the bridge.
 *
 * For basic tasks, such as running a Flex method on the click of a javascript
 * button, chances are that both Ajax and Flex may well have loaded before the 
 * user actually clicks the button.
 *
 * However, using the "ajax_demoReady()" is the safest way, as it will 
 * let Ajax know that involved Flex classes are available for use.
 */
function ajax_demoReady() {
 
	// Initialize the "root" object. This represents the actual 
	// "ajax_demo.mxml" flex application.
	b_ajax_demo_root = FABridge["b_ajax_demo"].root();
 
 
	//------------------------------------------------
	//for use in Flash	
 
	ajax_demo.callback = function() {
	 	alert("Hello to javascript from Flex!");	
	};
 
	//associate fabridge_demo.callback with a Flash button's click event (cool!)
	b_ajax_demo_root.getButton().addEventListener("click", ajax_demo.callback);
 
	//using these in html <a> tags
	ajax_demo.getFlashText = function () {
		alert("swf input text: "+b_ajax_demo_root.getTxt_input().getText());	    	
	};
 
	ajax_demo.alertme = function(){ 	
	 	b_ajax_demo_root.genAlert( "Hello Flex, just your ECMA cousin saying hello!" );	 	
	};
 
	//-----------------------------------------------
 
	// Global variables in the "ajax_demo.mxml" application (converted 
	// to getters and setters)
 
	ajax_demo.getConstructor = function () {
		return b_ajax_demo_root.getConstructor();
	};
 
 
	ajax_demo.getSuper = function () {
		return b_ajax_demo_root.getSuper();
	};
 
 
	ajax_demo.getThis = function () {
		return b_ajax_demo_root.getThis();
	};
 
 
	ajax_demo.getTransitions = function () {
		return b_ajax_demo_root.getTransitions();
	};
 
 
	ajax_demo.getStates = function () {
		return b_ajax_demo_root.getStates();
	};
 
 
	ajax_demo.getControlBar = function () {
		return b_ajax_demo_root.getControlBar();
	};
 
 
	ajax_demo.getPageTitle = function () {
		return b_ajax_demo_root.getPageTitle();
	};
 
 
	ajax_demo.getPreloader = function () {
		return b_ajax_demo_root.getPreloader();
	};
 
 
	ajax_demo.getScriptTimeLimit = function () {
		return b_ajax_demo_root.getScriptTimeLimit();
	};
 
 
	ajax_demo.getResetHistory = function () {
		return b_ajax_demo_root.getResetHistory();
	};
 
 
	ajax_demo.getFrameRate = function () {
		return b_ajax_demo_root.getFrameRate();
	};
 
 
	ajax_demo.getScriptRecursionLimit = function () {
		return b_ajax_demo_root.getScriptRecursionLimit();
	};
 
 
	ajax_demo.getHistoryManagementEnabled = function () {
		return b_ajax_demo_root.getHistoryManagementEnabled();
	};
 
 
	ajax_demo.getUsePreloader = function () {
		return b_ajax_demo_root.getUsePreloader();
	};
 
 
	// Global functions in the "ajax_demo.mxml" application
 
	ajax_demo.toString = function() {
		return b_ajax_demo_root.toString();
	};
 
	ajax_demo.hasOwnProperty = function(argString) {
		return b_ajax_demo_root.hasOwnProperty(argString);
	};
 
	ajax_demo.isPrototypeOf = function(argObject) {
		return b_ajax_demo_root.isPrototypeOf(argObject);
	};
 
	ajax_demo.propertyIsEnumerable = function(argString) {
		return b_ajax_demo_root.propertyIsEnumerable(argString);
	};
 
	ajax_demo.Object = function() {
		return b_ajax_demo_root.Object();
	};
 
	ajax_demo.toLocaleString = function() {
		return b_ajax_demo_root.toLocaleString();
	};
 
	ajax_demo.setPropertyIsEnumerable = function(argString, argBoolean) {
		b_ajax_demo_root.setPropertyIsEnumerable(argString, argBoolean);
	};
 
	ajax_demo.valueOf = function() {
		return b_ajax_demo_root.valueOf();
	};
 
	ajax_demo.FlexSprite = function() {
		return b_ajax_demo_root.FlexSprite();
	};
 
	ajax_demo.toString = function() {
		return b_ajax_demo_root.toString();
	};
 
	ajax_demo.regenerateStyleCache = function(argBoolean) {
		b_ajax_demo_root.regenerateStyleCache(argBoolean);
	};
 
	ajax_demo.initialize = function() {
		b_ajax_demo_root.initialize();
	};
 
	ajax_demo.getAutomationTabularData = function() {
		return b_ajax_demo_root.getAutomationTabularData();
	};
 
	ajax_demo.getUid = function() {
		return b_ajax_demo_root.getUid();
	};
 
	ajax_demo.setUid = function(argString) {
		b_ajax_demo_root.setUid(argString);
	};
 
	ajax_demo.getScaleY = function() {
		return b_ajax_demo_root.getScaleY();
	};
 
	ajax_demo.setScaleY = function(argNumber) {
		b_ajax_demo_root.setScaleY(argNumber);
	};
 
	ajax_demo.getScaleX = function() {
		return b_ajax_demo_root.getScaleX();
	};
 
	ajax_demo.setScaleX = function(argNumber) {
		b_ajax_demo_root.setScaleX(argNumber);
	};
 
	ajax_demo.getRepeaterItem = function(argInt) {
		return b_ajax_demo_root.getRepeaterItem(argInt);
	};
 
	ajax_demo.getStyleDeclaration = function() {
		return b_ajax_demo_root.getStyleDeclaration();
	};
 
	ajax_demo.setStyleDeclaration = function(argCSSStyleDeclaration) {
		b_ajax_demo_root.setStyleDeclaration(argCSSStyleDeclaration);
	};
 
	ajax_demo.getMaxWidth = function() {
		return b_ajax_demo_root.getMaxWidth();
	};
 
	ajax_demo.setMaxWidth = function(argNumber) {
		b_ajax_demo_root.setMaxWidth(argNumber);
	};
 
	ajax_demo.measureHTMLText = function(argString) {
		return b_ajax_demo_root.measureHTMLText(argString);
	};
 
	ajax_demo.getSystemManager = function() {
		return b_ajax_demo_root.getSystemManager();
	};
 
	ajax_demo.setSystemManager = function(argISystemManager) {
		b_ajax_demo_root.setSystemManager(argISystemManager);
	};
 
	ajax_demo.validateDisplayList = function() {
		b_ajax_demo_root.validateDisplayList();
	};
 
	ajax_demo.getMinWidth = function() {
		return b_ajax_demo_root.getMinWidth();
	};
 
	ajax_demo.setMinWidth = function(argNumber) {
		b_ajax_demo_root.setMinWidth(argNumber);
	};
 
	ajax_demo.getExplicitOrMeasuredWidth = function() {
		return b_ajax_demo_root.getExplicitOrMeasuredWidth();
	};
 
	ajax_demo.getInitialized = function() {
		return b_ajax_demo_root.getInitialized();
	};
 
	ajax_demo.setInitialized = function(argBoolean) {
		b_ajax_demo_root.setInitialized(argBoolean);
	};
 
	ajax_demo.contentToGlobal = function(argPoint) {
		return b_ajax_demo_root.contentToGlobal(argPoint);
	};
 
	ajax_demo.getAutomationValue = function() {
		return b_ajax_demo_root.getAutomationValue();
	};
 
	ajax_demo.getExplicitHeight = function() {
		return b_ajax_demo_root.getExplicitHeight();
	};
 
	ajax_demo.setExplicitHeight = function(argNumber) {
		b_ajax_demo_root.setExplicitHeight(argNumber);
	};
 
	ajax_demo.executeBindings = function(argBoolean) {
		b_ajax_demo_root.executeBindings(argBoolean);
	};
 
	ajax_demo.getPercentWidth = function() {
		return b_ajax_demo_root.getPercentWidth();
	};
 
	ajax_demo.setPercentWidth = function(argNumber) {
		b_ajax_demo_root.setPercentWidth(argNumber);
	};
 
	ajax_demo.getModuleFactory = function() {
		return b_ajax_demo_root.getModuleFactory();
	};
 
	ajax_demo.setModuleFactory = function(argIFlexModuleFactory) {
		b_ajax_demo_root.setModuleFactory(argIFlexModuleFactory);
	};
 
	ajax_demo.getParentApplication = function() {
		return b_ajax_demo_root.getParentApplication();
	};
 
	ajax_demo.drawRoundRect = function(argNumber1, argNumber2, argNumber3, argNumber4, argObject5, argObject6, argObject7, argObject8, argString, argArray, argObject9) {
		b_ajax_demo_root.drawRoundRect(argNumber1, argNumber2, argNumber3, argNumber4, argObject5, argObject6, argObject7, argObject8, argString, argArray, argObject9);
	};
 
	ajax_demo.resolveAutomationIDPart = function(argObject) {
		return b_ajax_demo_root.resolveAutomationIDPart(argObject);
	};
 
	ajax_demo.setChildIndex = function(argDisplayObject, argInt) {
		b_ajax_demo_root.setChildIndex(argDisplayObject, argInt);
	};
 
	ajax_demo.getUpdateCompletePendingFlag = function() {
		return b_ajax_demo_root.getUpdateCompletePendingFlag();
	};
 
	ajax_demo.setUpdateCompletePendingFlag = function(argBoolean) {
		b_ajax_demo_root.setUpdateCompletePendingFlag(argBoolean);
	};
 
	ajax_demo.getProcessedDescriptors = function() {
		return b_ajax_demo_root.getProcessedDescriptors();
	};
 
	ajax_demo.setProcessedDescriptors = function(argBoolean) {
		b_ajax_demo_root.setProcessedDescriptors(argBoolean);
	};
 
	ajax_demo.getDoubleClickEnabled = function() {
		return b_ajax_demo_root.getDoubleClickEnabled();
	};
 
	ajax_demo.setDoubleClickEnabled = function(argBoolean) {
		b_ajax_demo_root.setDoubleClickEnabled(argBoolean);
	};
 
	ajax_demo.setActualSize = function(argNumber1, argNumber2) {
		b_ajax_demo_root.setActualSize(argNumber1, argNumber2);
	};
 
	ajax_demo.getOwner = function() {
		return b_ajax_demo_root.getOwner();
	};
 
	ajax_demo.setOwner = function(argDisplayObjectContainer) {
		b_ajax_demo_root.setOwner(argDisplayObjectContainer);
	};
 
	ajax_demo.measureText = function(argString) {
		return b_ajax_demo_root.measureText(argString);
	};
 
	ajax_demo.getRepeaters = function() {
		return b_ajax_demo_root.getRepeaters();
	};
 
	ajax_demo.setRepeaters = function(argArray) {
		b_ajax_demo_root.setRepeaters(argArray);
	};
 
	ajax_demo.notifyStyleChangeInChildren = function(argString, argBoolean) {
		b_ajax_demo_root.notifyStyleChangeInChildren(argString, argBoolean);
	};
 
	ajax_demo.setStyle = function(argString, argObject) {
		b_ajax_demo_root.setStyle(argString, argObject);
	};
 
	ajax_demo.getFlexContextMenu = function() {
		return b_ajax_demo_root.getFlexContextMenu();
	};
 
	ajax_demo.setFlexContextMenu = function(argIFlexContextMenu) {
		b_ajax_demo_root.setFlexContextMenu(argIFlexContextMenu);
	};
 
	ajax_demo.createReferenceOnParentDocument = function(argIFlexDisplayObject) {
		b_ajax_demo_root.createReferenceOnParentDocument(argIFlexDisplayObject);
	};
 
	ajax_demo.getMouseFocusEnabled = function() {
		return b_ajax_demo_root.getMouseFocusEnabled();
	};
 
	ajax_demo.setMouseFocusEnabled = function(argBoolean) {
		b_ajax_demo_root.setMouseFocusEnabled(argBoolean);
	};
 
	ajax_demo.stopDrag = function() {
		b_ajax_demo_root.stopDrag();
	};
 
	ajax_demo.localToContent = function(argPoint) {
		return b_ajax_demo_root.localToContent(argPoint);
	};
 
	ajax_demo.prepareToPrint = function(argIFlexDisplayObject) {
		return b_ajax_demo_root.prepareToPrint(argIFlexDisplayObject);
	};
 
	ajax_demo.endEffectsStarted = function() {
		b_ajax_demo_root.endEffectsStarted();
	};
 
	ajax_demo.registerEffects = function(argArray) {
		b_ajax_demo_root.registerEffects(argArray);
	};
 
	ajax_demo.getActiveEffects = function() {
		return b_ajax_demo_root.getActiveEffects();
	};
 
	ajax_demo.getFocusPane = function() {
		return b_ajax_demo_root.getFocusPane();
	};
 
	ajax_demo.setFocusPane = function(argSprite) {
		b_ajax_demo_root.setFocusPane(argSprite);
	};
 
	ajax_demo.getInheritingStyles = function() {
		return b_ajax_demo_root.getInheritingStyles();
	};
 
	ajax_demo.setInheritingStyles = function(argObject) {
		b_ajax_demo_root.setInheritingStyles(argObject);
	};
 
	ajax_demo.verticalGradientMatrix = function(argNumber1, argNumber2, argNumber3, argNumber4) {
		return b_ajax_demo_root.verticalGradientMatrix(argNumber1, argNumber2, argNumber3, argNumber4);
	};
 
	ajax_demo.determineTextFormatFromStyles = function() {
		return b_ajax_demo_root.determineTextFormatFromStyles();
	};
 
	ajax_demo.getMaxHeight = function() {
		return b_ajax_demo_root.getMaxHeight();
	};
 
	ajax_demo.setMaxHeight = function(argNumber) {
		b_ajax_demo_root.setMaxHeight(argNumber);
	};
 
	ajax_demo.getBaselinePosition = function() {
		return b_ajax_demo_root.getBaselinePosition();
	};
 
	ajax_demo.callLater = function(argFunction, argArray) {
		b_ajax_demo_root.callLater(argFunction, argArray);
	};
 
	ajax_demo.hasFontContextChanged = function() {
		return b_ajax_demo_root.hasFontContextChanged();
	};
 
	ajax_demo.getDescriptor = function() {
		return b_ajax_demo_root.getDescriptor();
	};
 
	ajax_demo.setDescriptor = function(argUIComponentDescriptor) {
		b_ajax_demo_root.setDescriptor(argUIComponentDescriptor);
	};
 
	ajax_demo.deleteReferenceOnParentDocument = function(argIFlexDisplayObject) {
		b_ajax_demo_root.deleteReferenceOnParentDocument(argIFlexDisplayObject);
	};
 
	ajax_demo.getErrorString = function() {
		return b_ajax_demo_root.getErrorString();
	};
 
	ajax_demo.setErrorString = function(argString) {
		b_ajax_demo_root.setErrorString(argString);
	};
 
	ajax_demo.getWidth = function() {
		return b_ajax_demo_root.getWidth();
	};
 
	ajax_demo.setWidth = function(argNumber) {
		b_ajax_demo_root.setWidth(argNumber);
	};
 
	ajax_demo.getInstanceIndex = function() {
		return b_ajax_demo_root.getInstanceIndex();
	};
 
	ajax_demo.move = function(argNumber1, argNumber2) {
		b_ajax_demo_root.move(argNumber1, argNumber2);
	};
 
	ajax_demo.getClassStyleDeclarations = function() {
		return b_ajax_demo_root.getClassStyleDeclarations();
	};
 
	ajax_demo.initializeRepeaterArrays = function(argIRepeaterClient) {
		b_ajax_demo_root.initializeRepeaterArrays(argIRepeaterClient);
	};
 
	ajax_demo.getExplicitMaxWidth = function() {
		return b_ajax_demo_root.getExplicitMaxWidth();
	};
 
	ajax_demo.setExplicitMaxWidth = function(argNumber) {
		b_ajax_demo_root.setExplicitMaxWidth(argNumber);
	};
 
	ajax_demo.getExplicitMinHeight = function() {
		return b_ajax_demo_root.getExplicitMinHeight();
	};
 
	ajax_demo.setExplicitMinHeight = function(argNumber) {
		b_ajax_demo_root.setExplicitMinHeight(argNumber);
	};
 
	ajax_demo.clearStyle = function(argString) {
		b_ajax_demo_root.clearStyle(argString);
	};
 
	ajax_demo.invalidateProperties = function() {
		b_ajax_demo_root.invalidateProperties();
	};
 
	ajax_demo.setCacheHeuristic = function(argBoolean) {
		b_ajax_demo_root.setCacheHeuristic(argBoolean);
	};
 
	ajax_demo.getFilters = function() {
		return b_ajax_demo_root.getFilters();
	};
 
	ajax_demo.setFilters = function(argArray) {
		b_ajax_demo_root.setFilters(argArray);
	};
 
	ajax_demo.validateProperties = function() {
		b_ajax_demo_root.validateProperties();
	};
 
	ajax_demo.getIncludeInLayout = function() {
		return b_ajax_demo_root.getIncludeInLayout();
	};
 
	ajax_demo.setIncludeInLayout = function(argBoolean) {
		b_ajax_demo_root.setIncludeInLayout(argBoolean);
	};
 
	ajax_demo.addChildAt = function(argDisplayObject, argInt) {
		return b_ajax_demo_root.addChildAt(argDisplayObject, argInt);
	};
 
	ajax_demo.getAutomationName = function() {
		return b_ajax_demo_root.getAutomationName();
	};
 
	ajax_demo.setAutomationName = function(argString) {
		b_ajax_demo_root.setAutomationName(argString);
	};
 
	ajax_demo.getClassName = function() {
		return b_ajax_demo_root.getClassName();
	};
 
	ajax_demo.getNonInheritingStyles = function() {
		return b_ajax_demo_root.getNonInheritingStyles();
	};
 
	ajax_demo.setNonInheritingStyles = function(argObject) {
		b_ajax_demo_root.setNonInheritingStyles(argObject);
	};
 
	ajax_demo.getExplicitWidth = function() {
		return b_ajax_demo_root.getExplicitWidth();
	};
 
	ajax_demo.setExplicitWidth = function(argNumber) {
		b_ajax_demo_root.setExplicitWidth(argNumber);
	};
 
	ajax_demo.getMinHeight = function() {
		return b_ajax_demo_root.getMinHeight();
	};
 
	ajax_demo.setMinHeight = function(argNumber) {
		b_ajax_demo_root.setMinHeight(argNumber);
	};
 
	ajax_demo.dispatchEvent = function(argEvent) {
		return b_ajax_demo_root.dispatchEvent(argEvent);
	};
 
	ajax_demo.getExplicitMinWidth = function() {
		return b_ajax_demo_root.getExplicitMinWidth();
	};
 
	ajax_demo.setExplicitMinWidth = function(argNumber) {
		b_ajax_demo_root.setExplicitMinWidth(argNumber);
	};
 
	ajax_demo.getStyle = function(argString) {
		return b_ajax_demo_root.getStyle(argString);
	};
 
	ajax_demo.getMouseY = function() {
		return b_ajax_demo_root.getMouseY();
	};
 
	ajax_demo.getMouseX = function() {
		return b_ajax_demo_root.getMouseX();
	};
 
	ajax_demo.getScreen = function() {
		return b_ajax_demo_root.getScreen();
	};
 
	ajax_demo.getExplicitOrMeasuredHeight = function() {
		return b_ajax_demo_root.getExplicitOrMeasuredHeight();
	};
 
	ajax_demo.setFocus = function() {
		b_ajax_demo_root.setFocus();
	};
 
	ajax_demo.horizontalGradientMatrix = function(argNumber1, argNumber2, argNumber3, argNumber4) {
		return b_ajax_demo_root.horizontalGradientMatrix(argNumber1, argNumber2, argNumber3, argNumber4);
	};
 
	ajax_demo.setConstraintValue = function(argString, argObject) {
		b_ajax_demo_root.setConstraintValue(argString, argObject);
	};
 
	ajax_demo.getInstanceIndices = function() {
		return b_ajax_demo_root.getInstanceIndices();
	};
 
	ajax_demo.setInstanceIndices = function(argArray) {
		b_ajax_demo_root.setInstanceIndices(argArray);
	};
 
	ajax_demo.getRepeaterIndices = function() {
		return b_ajax_demo_root.getRepeaterIndices();
	};
 
	ajax_demo.setRepeaterIndices = function(argArray) {
		b_ajax_demo_root.setRepeaterIndices(argArray);
	};
 
	ajax_demo.getTweeningProperties = function() {
		return b_ajax_demo_root.getTweeningProperties();
	};
 
	ajax_demo.setTweeningProperties = function(argArray) {
		b_ajax_demo_root.setTweeningProperties(argArray);
	};
 
	ajax_demo.getCachePolicy = function() {
		return b_ajax_demo_root.getCachePolicy();
	};
 
	ajax_demo.setCachePolicy = function(argString) {
		b_ajax_demo_root.setCachePolicy(argString);
	};
 
	ajax_demo.addChild = function(argDisplayObject) {
		return b_ajax_demo_root.addChild(argDisplayObject);
	};
 
	ajax_demo.invalidateSize = function() {
		b_ajax_demo_root.invalidateSize();
	};
 
	ajax_demo.setVisible = function(argBoolean1, argBoolean2) {
		b_ajax_demo_root.setVisible(argBoolean1, argBoolean2);
	};
 
	ajax_demo.parentChanged = function(argDisplayObjectContainer) {
		b_ajax_demo_root.parentChanged(argDisplayObjectContainer);
	};
 
	ajax_demo.getMeasuredHeight = function() {
		return b_ajax_demo_root.getMeasuredHeight();
	};
 
	ajax_demo.setMeasuredHeight = function(argNumber) {
		b_ajax_demo_root.setMeasuredHeight(argNumber);
	};
 
	ajax_demo.removeChild = function(argDisplayObject) {
		return b_ajax_demo_root.removeChild(argDisplayObject);
	};
 
	ajax_demo.validateNow = function() {
		b_ajax_demo_root.validateNow();
	};
 
	ajax_demo.invalidateDisplayList = function() {
		b_ajax_demo_root.invalidateDisplayList();
	};
 
	ajax_demo.getMeasuredWidth = function() {
		return b_ajax_demo_root.getMeasuredWidth();
	};
 
	ajax_demo.setMeasuredWidth = function(argNumber) {
		b_ajax_demo_root.setMeasuredWidth(argNumber);
	};
 
	ajax_demo.getAutomationChildAt = function(argInt) {
		return b_ajax_demo_root.getAutomationChildAt(argInt);
	};
 
	ajax_demo.getPercentHeight = function() {
		return b_ajax_demo_root.getPercentHeight();
	};
 
	ajax_demo.setPercentHeight = function(argNumber) {
		b_ajax_demo_root.setPercentHeight(argNumber);
	};
 
	ajax_demo.getIsPopUp = function() {
		return b_ajax_demo_root.getIsPopUp();
	};
 
	ajax_demo.setIsPopUp = function(argBoolean) {
		b_ajax_demo_root.setIsPopUp(argBoolean);
	};
 
	ajax_demo.getId = function() {
		return b_ajax_demo_root.getId();
	};
 
	ajax_demo.setId = function(argString) {
		b_ajax_demo_root.setId(argString);
	};
 
	ajax_demo.getStyleName = function() {
		return b_ajax_demo_root.getStyleName();
	};
 
	ajax_demo.setStyleName = function(argObject) {
		b_ajax_demo_root.setStyleName(argObject);
	};
 
	ajax_demo.globalToContent = function(argPoint) {
		return b_ajax_demo_root.globalToContent(argPoint);
	};
 
	ajax_demo.getIsDocument = function() {
		return b_ajax_demo_root.getIsDocument();
	};
 
	ajax_demo.setCacheAsBitmap = function(argBoolean) {
		b_ajax_demo_root.setCacheAsBitmap(argBoolean);
	};
 
	ajax_demo.getRepeaterIndex = function() {
		return b_ajax_demo_root.getRepeaterIndex();
	};
 
	ajax_demo.getParent = function() {
		return b_ajax_demo_root.getParent();
	};
 
	ajax_demo.getRepeater = function() {
		return b_ajax_demo_root.getRepeater();
	};
 
	ajax_demo.getMeasuredMinHeight = function() {
		return b_ajax_demo_root.getMeasuredMinHeight();
	};
 
	ajax_demo.setMeasuredMinHeight = function(argNumber) {
		b_ajax_demo_root.setMeasuredMinHeight(argNumber);
	};
 
	ajax_demo.getFocusManager = function() {
		return b_ajax_demo_root.getFocusManager();
	};
 
	ajax_demo.setFocusManager = function(argIFocusManager) {
		b_ajax_demo_root.setFocusManager(argIFocusManager);
	};
 
	ajax_demo.effectStarted = function(argIEffectInstance) {
		b_ajax_demo_root.effectStarted(argIEffectInstance);
	};
 
	ajax_demo.UIComponent = function() {
		return b_ajax_demo_root.UIComponent();
	};
 
	ajax_demo.getDocument = function() {
		return b_ajax_demo_root.getDocument();
	};
 
	ajax_demo.setDocument = function(argObject) {
		b_ajax_demo_root.setDocument(argObject);
	};
 
	ajax_demo.getFocus = function() {
		return b_ajax_demo_root.getFocus();
	};
 
	ajax_demo.validationResultHandler = function(argValidationResultEvent) {
		b_ajax_demo_root.validationResultHandler(argValidationResultEvent);
	};
 
	ajax_demo.setCurrentState = function(argString, argBoolean) {
		b_ajax_demo_root.setCurrentState(argString, argBoolean);
	};
 
	ajax_demo.finishPrint = function(argObject, argIFlexDisplayObject) {
		b_ajax_demo_root.finishPrint(argObject, argIFlexDisplayObject);
	};
 
	ajax_demo.contentToLocal = function(argPoint) {
		return b_ajax_demo_root.contentToLocal(argPoint);
	};
 
	ajax_demo.validateSize = function(argBoolean) {
		b_ajax_demo_root.validateSize(argBoolean);
	};
 
	ajax_demo.getEnabled = function() {
		return b_ajax_demo_root.getEnabled();
	};
 
	ajax_demo.setEnabled = function(argBoolean) {
		b_ajax_demo_root.setEnabled(argBoolean);
	};
 
	ajax_demo.getNestLevel = function() {
		return b_ajax_demo_root.getNestLevel();
	};
 
	ajax_demo.setNestLevel = function(argInt) {
		b_ajax_demo_root.setNestLevel(argInt);
	};
 
	ajax_demo.getCursorManager = function() {
		return b_ajax_demo_root.getCursorManager();
	};
 
	ajax_demo.getValidationSubField = function() {
		return b_ajax_demo_root.getValidationSubField();
	};
 
	ajax_demo.setValidationSubField = function(argString) {
		b_ajax_demo_root.setValidationSubField(argString);
	};
 
	ajax_demo.setAlpha = function(argNumber) {
		b_ajax_demo_root.setAlpha(argNumber);
	};
 
	ajax_demo.styleChanged = function(argString) {
		b_ajax_demo_root.styleChanged(argString);
	};
 
	ajax_demo.getVisible = function() {
		return b_ajax_demo_root.getVisible();
	};
 
	ajax_demo.setVisible = function(argBoolean) {
		b_ajax_demo_root.setVisible(argBoolean);
	};
 
	ajax_demo.getHeight = function() {
		return b_ajax_demo_root.getHeight();
	};
 
	ajax_demo.setHeight = function(argNumber) {
		b_ajax_demo_root.setHeight(argNumber);
	};
 
	ajax_demo.removeChildAt = function(argInt) {
		return b_ajax_demo_root.removeChildAt(argInt);
	};
 
	ajax_demo.getY = function() {
		return b_ajax_demo_root.getY();
	};
 
	ajax_demo.setY = function(argNumber) {
		b_ajax_demo_root.setY(argNumber);
	};
 
	ajax_demo.getX = function() {
		return b_ajax_demo_root.getX();
	};
 
	ajax_demo.setX = function(argNumber) {
		b_ajax_demo_root.setX(argNumber);
	};
 
	ajax_demo.getAutomationDelegate = function() {
		return b_ajax_demo_root.getAutomationDelegate();
	};
 
	ajax_demo.setAutomationDelegate = function(argObject) {
		b_ajax_demo_root.setAutomationDelegate(argObject);
	};
 
	ajax_demo.replayAutomatableEvent = function(argEvent) {
		return b_ajax_demo_root.replayAutomatableEvent(argEvent);
	};
 
	ajax_demo.getConstraintValue = function(argString) {
		return b_ajax_demo_root.getConstraintValue(argString);
	};
 
	ajax_demo.getMeasuredMinWidth = function() {
		return b_ajax_demo_root.getMeasuredMinWidth();
	};
 
	ajax_demo.setMeasuredMinWidth = function(argNumber) {
		b_ajax_demo_root.setMeasuredMinWidth(argNumber);
	};
 
	ajax_demo.getToolTip = function() {
		return b_ajax_demo_root.getToolTip();
	};
 
	ajax_demo.setToolTip = function(argString) {
		b_ajax_demo_root.setToolTip(argString);
	};
 
	ajax_demo.getNumAutomationChildren = function() {
		return b_ajax_demo_root.getNumAutomationChildren();
	};
 
	ajax_demo.getParentDocument = function() {
		return b_ajax_demo_root.getParentDocument();
	};
 
	ajax_demo.stylesInitialized = function() {
		b_ajax_demo_root.stylesInitialized();
	};
 
	ajax_demo.effectFinished = function(argIEffectInstance) {
		b_ajax_demo_root.effectFinished(argIEffectInstance);
	};
 
	ajax_demo.getContentMouseY = function() {
		return b_ajax_demo_root.getContentMouseY();
	};
 
	ajax_demo.getContentMouseX = function() {
		return b_ajax_demo_root.getContentMouseX();
	};
 
	ajax_demo.getExplicitMaxHeight = function() {
		return b_ajax_demo_root.getExplicitMaxHeight();
	};
 
	ajax_demo.setExplicitMaxHeight = function(argNumber) {
		b_ajax_demo_root.setExplicitMaxHeight(argNumber);
	};
 
	ajax_demo.createAutomationIDPart = function(argIAutomationObject) {
		return b_ajax_demo_root.createAutomationIDPart(argIAutomationObject);
	};
 
	ajax_demo.getCurrentState = function() {
		return b_ajax_demo_root.getCurrentState();
	};
 
	ajax_demo.setCurrentState = function(argString) {
		b_ajax_demo_root.setCurrentState(argString);
	};
 
	ajax_demo.owns = function(argDisplayObject) {
		return b_ajax_demo_root.owns(argDisplayObject);
	};
 
	ajax_demo.getShowInAutomationHierarchy = function() {
		return b_ajax_demo_root.getShowInAutomationHierarchy();
	};
 
	ajax_demo.setShowInAutomationHierarchy = function(argBoolean) {
		b_ajax_demo_root.setShowInAutomationHierarchy(argBoolean);
	};
 
	ajax_demo.drawFocus = function(argBoolean) {
		b_ajax_demo_root.drawFocus(argBoolean);
	};
 
	ajax_demo.getFocusEnabled = function() {
		return b_ajax_demo_root.getFocusEnabled();
	};
 
	ajax_demo.setFocusEnabled = function(argBoolean) {
		b_ajax_demo_root.setFocusEnabled(argBoolean);
	};
 
	ajax_demo.LayoutContainer = function() {
		return b_ajax_demo_root.LayoutContainer();
	};
 
	ajax_demo.getConstraintColumns = function() {
		return b_ajax_demo_root.getConstraintColumns();
	};
 
	ajax_demo.setConstraintColumns = function(argArray) {
		b_ajax_demo_root.setConstraintColumns(argArray);
	};
 
	ajax_demo.getLayout = function() {
		return b_ajax_demo_root.getLayout();
	};
 
	ajax_demo.setLayout = function(argString) {
		b_ajax_demo_root.setLayout(argString);
	};
 
	ajax_demo.getConstraintRows = function() {
		return b_ajax_demo_root.getConstraintRows();
	};
 
	ajax_demo.setConstraintRows = function(argArray) {
		b_ajax_demo_root.setConstraintRows(argArray);
	};
 
	ajax_demo.finishPrint = function(argObject, argIFlexDisplayObject) {
		b_ajax_demo_root.finishPrint(argObject, argIFlexDisplayObject);
	};
 
	ajax_demo.setPercentWidth = function(argNumber) {
		b_ajax_demo_root.setPercentWidth(argNumber);
	};
 
	ajax_demo.getUrl = function() {
		return b_ajax_demo_root.getUrl();
	};
 
	ajax_demo.initialize = function() {
		b_ajax_demo_root.initialize();
	};
 
	ajax_demo.styleChanged = function(argString) {
		b_ajax_demo_root.styleChanged(argString);
	};
 
	ajax_demo.getViewSourceURL = function() {
		return b_ajax_demo_root.getViewSourceURL();
	};
 
	ajax_demo.setViewSourceURL = function(argString) {
		b_ajax_demo_root.setViewSourceURL(argString);
	};
 
	ajax_demo.setIcon = function(argClass) {
		b_ajax_demo_root.setIcon(argClass);
	};
 
	ajax_demo.setTabIndex = function(argInt) {
		b_ajax_demo_root.setTabIndex(argInt);
	};
 
	ajax_demo.setToolTip = function(argString) {
		b_ajax_demo_root.setToolTip(argString);
	};
 
	ajax_demo.getViewMetrics = function() {
		return b_ajax_demo_root.getViewMetrics();
	};
 
	ajax_demo.prepareToPrint = function(argIFlexDisplayObject) {
		return b_ajax_demo_root.prepareToPrint(argIFlexDisplayObject);
	};
 
	ajax_demo.getId = function() {
		return b_ajax_demo_root.getId();
	};
 
	ajax_demo.Application = function() {
		return b_ajax_demo_root.Application();
	};
 
	ajax_demo.setPercentHeight = function(argNumber) {
		b_ajax_demo_root.setPercentHeight(argNumber);
	};
 
	ajax_demo.setLabel = function(argString) {
		b_ajax_demo_root.setLabel(argString);
	};
 
	ajax_demo.getParameters = function() {
		return b_ajax_demo_root.getParameters();
	};
 
	ajax_demo.getChildIndex = function(argDisplayObject) {
		return b_ajax_demo_root.getChildIndex(argDisplayObject);
	};
 
	ajax_demo.addToCreationQueue = function(argObject, argInt, argFunction, argIFlexDisplayObject) {
		b_ajax_demo_root.addToCreationQueue(argObject, argInt, argFunction, argIFlexDisplayObject);
	};
 
	ajax_demo.getTabIndex = function() {
		return b_ajax_demo_root.getTabIndex();
	};
 
	ajax_demo.setTabIndex = function(argInt) {
		b_ajax_demo_root.setTabIndex(argInt);
	};
 
	ajax_demo.InteractiveObject = function() {
		return b_ajax_demo_root.InteractiveObject();
	};
 
	ajax_demo.getTabEnabled = function() {
		return b_ajax_demo_root.getTabEnabled();
	};
 
	ajax_demo.setTabEnabled = function(argBoolean) {
		b_ajax_demo_root.setTabEnabled(argBoolean);
	};
 
	ajax_demo.getAccessibilityImplementation = function() {
		return b_ajax_demo_root.getAccessibilityImplementation();
	};
 
	ajax_demo.setAccessibilityImplementation = function(argAccessibilityImplementation) {
		b_ajax_demo_root.setAccessibilityImplementation(argAccessibilityImplementation);
	};
 
	ajax_demo.getMouseEnabled = function() {
		return b_ajax_demo_root.getMouseEnabled();
	};
 
	ajax_demo.setMouseEnabled = function(argBoolean) {
		b_ajax_demo_root.setMouseEnabled(argBoolean);
	};
 
	ajax_demo.getContextMenu = function() {
		return b_ajax_demo_root.getContextMenu();
	};
 
	ajax_demo.setContextMenu = function(argContextMenu) {
		b_ajax_demo_root.setContextMenu(argContextMenu);
	};
 
	ajax_demo.getDoubleClickEnabled = function() {
		return b_ajax_demo_root.getDoubleClickEnabled();
	};
 
	ajax_demo.setDoubleClickEnabled = function(argBoolean) {
		b_ajax_demo_root.setDoubleClickEnabled(argBoolean);
	};
 
	ajax_demo.getFocusRect = function() {
		return b_ajax_demo_root.getFocusRect();
	};
 
	ajax_demo.setFocusRect = function(argObject) {
		b_ajax_demo_root.setFocusRect(argObject);
	};
 
	ajax_demo.willTrigger = function(argString) {
		return b_ajax_demo_root.willTrigger(argString);
	};
 
	ajax_demo.toString = function() {
		return b_ajax_demo_root.toString();
	};
 
	ajax_demo.removeEventListener = function(argString, argFunction, argBoolean) {
		b_ajax_demo_root.removeEventListener(argString, argFunction, argBoolean);
	};
 
	ajax_demo.EventDispatcher = function(argIEventDispatcher) {
		return b_ajax_demo_root.EventDispatcher(argIEventDispatcher);
	};
 
	ajax_demo.addEventListener = function(argString, argFunction, argBoolean1, argInt, argBoolean2) {
		b_ajax_demo_root.addEventListener(argString, argFunction, argBoolean1, argInt, argBoolean2);
	};
 
	ajax_demo.hasEventListener = function(argString) {
		return b_ajax_demo_root.hasEventListener(argString);
	};
 
	ajax_demo.dispatchEvent = function(argEvent) {
		return b_ajax_demo_root.dispatchEvent(argEvent);
	};
 
	ajax_demo.removeEventListener = function(argString, argFunction, argBoolean) {
		b_ajax_demo_root.removeEventListener(argString, argFunction, argBoolean);
	};
 
	ajax_demo.createComponentsFromDescriptors = function(argBoolean) {
		b_ajax_demo_root.createComponentsFromDescriptors(argBoolean);
	};
 
	ajax_demo.getViewMetricsAndPadding = function() {
		return b_ajax_demo_root.getViewMetricsAndPadding();
	};
 
	ajax_demo.getMaxVerticalScrollPosition = function() {
		return b_ajax_demo_root.getMaxVerticalScrollPosition();
	};
 
	ajax_demo.getVerticalLineScrollSize = function() {
		return b_ajax_demo_root.getVerticalLineScrollSize();
	};
 
	ajax_demo.setVerticalLineScrollSize = function(argNumber) {
		b_ajax_demo_root.setVerticalLineScrollSize(argNumber);
	};
 
	ajax_demo.getIcon = function() {
		return b_ajax_demo_root.getIcon();
	};
 
	ajax_demo.setIcon = function(argClass) {
		b_ajax_demo_root.setIcon(argClass);
	};
 
	ajax_demo.regenerateStyleCache = function(argBoolean) {
		b_ajax_demo_root.regenerateStyleCache(argBoolean);
	};
 
	ajax_demo.localToContent = function(argPoint) {
		return b_ajax_demo_root.localToContent(argPoint);
	};
 
	ajax_demo.styleChanged = function(argString) {
		b_ajax_demo_root.styleChanged(argString);
	};
 
	ajax_demo.notifyStyleChangeInChildren = function(argString, argBoolean) {
		b_ajax_demo_root.notifyStyleChangeInChildren(argString, argBoolean);
	};
 
	ajax_demo.getHorizontalScrollPosition = function() {
		return b_ajax_demo_root.getHorizontalScrollPosition();
	};
 
	ajax_demo.setHorizontalScrollPosition = function(argNumber) {
		b_ajax_demo_root.setHorizontalScrollPosition(argNumber);
	};
 
	ajax_demo.getNumChildren = function() {
		return b_ajax_demo_root.getNumChildren();
	};
 
	ajax_demo.getLabel = function() {
		return b_ajax_demo_root.getLabel();
	};
 
	ajax_demo.setLabel = function(argString) {
		b_ajax_demo_root.setLabel(argString);
	};
 
	ajax_demo.getCreatingContentPane = function() {
		return b_ajax_demo_root.getCreatingContentPane();
	};
 
	ajax_demo.setCreatingContentPane = function(argBoolean) {
		b_ajax_demo_root.setCreatingContentPane(argBoolean);
	};
 
	ajax_demo.getHorizontalScrollPolicy = function() {
		return b_ajax_demo_root.getHorizontalScrollPolicy();
	};
 
	ajax_demo.setHorizontalScrollPolicy = function(argString) {
		b_ajax_demo_root.setHorizontalScrollPolicy(argString);
	};
 
	ajax_demo.contains = function(argDisplayObject) {
		return b_ajax_demo_root.contains(argDisplayObject);
	};
 
	ajax_demo.getHorizontalPageScrollSize = function() {
		return b_ajax_demo_root.getHorizontalPageScrollSize();
	};
 
	ajax_demo.setHorizontalPageScrollSize = function(argNumber) {
		b_ajax_demo_root.setHorizontalPageScrollSize(argNumber);
	};
 
	ajax_demo.globalToContent = function(argPoint) {
		return b_ajax_demo_root.globalToContent(argPoint);
	};
 
	ajax_demo.getBorderMetrics = function() {
		return b_ajax_demo_root.getBorderMetrics();
	};
 
	ajax_demo.removeChild = function(argDisplayObject) {
		return b_ajax_demo_root.removeChild(argDisplayObject);
	};
 
	ajax_demo.getAutoLayout = function() {
		return b_ajax_demo_root.getAutoLayout();
	};
 
	ajax_demo.setAutoLayout = function(argBoolean) {
		b_ajax_demo_root.setAutoLayout(argBoolean);
	};
 
	ajax_demo.addEventListener = function(argString, argFunction, argBoolean1, argInt, argBoolean2) {
		b_ajax_demo_root.addEventListener(argString, argFunction, argBoolean1, argInt, argBoolean2);
	};
 
	ajax_demo.setChildIndex = function(argDisplayObject, argInt) {
		b_ajax_demo_root.setChildIndex(argDisplayObject, argInt);
	};
 
	ajax_demo.getChildren = function() {
		return b_ajax_demo_root.getChildren();
	};
 
	ajax_demo.setDoubleClickEnabled = function(argBoolean) {
		b_ajax_demo_root.setDoubleClickEnabled(argBoolean);
	};
 
	ajax_demo.getChildByName = function(argString) {
		return b_ajax_demo_root.getChildByName(argString);
	};
 
	ajax_demo.getVerticalScrollPolicy = function() {
		return b_ajax_demo_root.getVerticalScrollPolicy();
	};
 
	ajax_demo.setVerticalScrollPolicy = function(argString) {
		b_ajax_demo_root.setVerticalScrollPolicy(argString);
	};
 
	ajax_demo.finishPrint = function(argObject, argIFlexDisplayObject) {
		b_ajax_demo_root.finishPrint(argObject, argIFlexDisplayObject);
	};
 
	ajax_demo.getVerticalScrollPosition = function() {
		return b_ajax_demo_root.getVerticalScrollPosition();
	};
 
	ajax_demo.setVerticalScrollPosition = function(argNumber) {
		b_ajax_demo_root.setVerticalScrollPosition(argNumber);
	};
 
	ajax_demo.getCreationPolicy = function() {
		return b_ajax_demo_root.getCreationPolicy();
	};
 
	ajax_demo.setCreationPolicy = function(argString) {
		b_ajax_demo_root.setCreationPolicy(argString);
	};
 
	ajax_demo.setEnabled = function(argBoolean) {
		b_ajax_demo_root.setEnabled(argBoolean);
	};
 
	ajax_demo.getContentMouseY = function() {
		return b_ajax_demo_root.getContentMouseY();
	};
 
	ajax_demo.getContentMouseX = function() {
		return b_ajax_demo_root.getContentMouseX();
	};
 
	ajax_demo.contentToLocal = function(argPoint) {
		return b_ajax_demo_root.contentToLocal(argPoint);
	};
 
	ajax_demo.validateDisplayList = function() {
		b_ajax_demo_root.validateDisplayList();
	};
 
	ajax_demo.getVerticalPageScrollSize = function() {
		return b_ajax_demo_root.getVerticalPageScrollSize();
	};
 
	ajax_demo.setVerticalPageScrollSize = function(argNumber) {
		b_ajax_demo_root.setVerticalPageScrollSize(argNumber);
	};
 
	ajax_demo.Container = function() {
		return b_ajax_demo_root.Container();
	};
 
	ajax_demo.getBaselinePosition = function() {
		return b_ajax_demo_root.getBaselinePosition();
	};
 
	ajax_demo.getChildDescriptors = function() {
		return b_ajax_demo_root.getChildDescriptors();
	};
 
	ajax_demo.getData = function() {
		return b_ajax_demo_root.getData();
	};
 
	ajax_demo.setData = function(argObject) {
		b_ajax_demo_root.setData(argObject);
	};
 
	ajax_demo.getChildAt = function(argInt) {
		return b_ajax_demo_root.getChildAt(argInt);
	};
 
	ajax_demo.removeChildAt = function(argInt) {
		return b_ajax_demo_root.removeChildAt(argInt);
	};
 
	ajax_demo.contentToGlobal = function(argPoint) {
		return b_ajax_demo_root.contentToGlobal(argPoint);
	};
 
	ajax_demo.getChildIndex = function(argDisplayObject) {
		return b_ajax_demo_root.getChildIndex(argDisplayObject);
	};
 
	ajax_demo.initialize = function() {
		b_ajax_demo_root.initialize();
	};
 
	ajax_demo.getMaxHorizontalScrollPosition = function() {
		return b_ajax_demo_root.getMaxHorizontalScrollPosition();
	};
 
	ajax_demo.getViewMetrics = function() {
		return b_ajax_demo_root.getViewMetrics();
	};
 
	ajax_demo.getRawChildren = function() {
		return b_ajax_demo_root.getRawChildren();
	};
 
	ajax_demo.executeChildBindings = function(argBoolean) {
		b_ajax_demo_root.executeChildBindings(argBoolean);
	};
 
	ajax_demo.getHorizontalLineScrollSize = function() {
		return b_ajax_demo_root.getHorizontalLineScrollSize();
	};
 
	ajax_demo.setHorizontalLineScrollSize = function(argNumber) {
		b_ajax_demo_root.setHorizontalLineScrollSize(argNumber);
	};
 
	ajax_demo.getClipContent = function() {
		return b_ajax_demo_root.getClipContent();
	};
 
	ajax_demo.setClipContent = function(argBoolean) {
		b_ajax_demo_root.setClipContent(argBoolean);
	};
 
	ajax_demo.createComponentFromDescriptor = function(argComponentDescriptor, argBoolean) {
		return b_ajax_demo_root.createComponentFromDescriptor(argComponentDescriptor, argBoolean);
	};
 
	ajax_demo.getDefaultButton = function() {
		return b_ajax_demo_root.getDefaultButton();
	};
 
	ajax_demo.setDefaultButton = function(argIFlexDisplayObject) {
		b_ajax_demo_root.setDefaultButton(argIFlexDisplayObject);
	};
 
	ajax_demo.executeBindings = function(argBoolean) {
		b_ajax_demo_root.executeBindings(argBoolean);
	};
 
	ajax_demo.getVerticalScrollBar = function() {
		return b_ajax_demo_root.getVerticalScrollBar();
	};
 
	ajax_demo.setVerticalScrollBar = function(argScrollBar) {
		b_ajax_demo_root.setVerticalScrollBar(argScrollBar);
	};
 
	ajax_demo.addChild = function(argDisplayObject) {
		return b_ajax_demo_root.addChild(argDisplayObject);
	};
 
	ajax_demo.getHorizontalScrollBar = function() {
		return b_ajax_demo_root.getHorizontalScrollBar();
	};
 
	ajax_demo.setHorizontalScrollBar = function(argScrollBar) {
		b_ajax_demo_root.setHorizontalScrollBar(argScrollBar);
	};
 
	ajax_demo.addChildAt = function(argDisplayObject, argInt) {
		return b_ajax_demo_root.addChildAt(argDisplayObject, argInt);
	};
 
	ajax_demo.getCreationIndex = function() {
		return b_ajax_demo_root.getCreationIndex();
	};
 
	ajax_demo.setCreationIndex = function(argInt) {
		b_ajax_demo_root.setCreationIndex(argInt);
	};
 
	ajax_demo.getFocusPane = function() {
		return b_ajax_demo_root.getFocusPane();
	};
 
	ajax_demo.setFocusPane = function(argSprite) {
		b_ajax_demo_root.setFocusPane(argSprite);
	};
 
	ajax_demo.validateSize = function(argBoolean) {
		b_ajax_demo_root.validateSize(argBoolean);
	};
 
	ajax_demo.removeAllChildren = function() {
		b_ajax_demo_root.removeAllChildren();
	};
 
	ajax_demo.prepareToPrint = function(argIFlexDisplayObject) {
		return b_ajax_demo_root.prepareToPrint(argIFlexDisplayObject);
	};
 
	ajax_demo.hitTestPoint = function(argNumber1, argNumber2, argBoolean) {
		return b_ajax_demo_root.hitTestPoint(argNumber1, argNumber2, argBoolean);
	};
 
	ajax_demo.getVisible = function() {
		return b_ajax_demo_root.getVisible();
	};
 
	ajax_demo.setVisible = function(argBoolean) {
		b_ajax_demo_root.setVisible(argBoolean);
	};
 
	ajax_demo.getAccessibilityProperties = function() {
		return b_ajax_demo_root.getAccessibilityProperties();
	};
 
	ajax_demo.setAccessibilityProperties = function(argAccessibilityProperties) {
		b_ajax_demo_root.setAccessibilityProperties(argAccessibilityProperties);
	};
 
	ajax_demo.getAlpha = function() {
		return b_ajax_demo_root.getAlpha();
	};
 
	ajax_demo.setAlpha = function(argNumber) {
		b_ajax_demo_root.setAlpha(argNumber);
	};
 
	ajax_demo.getBounds = function(argDisplayObject) {
		return b_ajax_demo_root.getBounds(argDisplayObject);
	};
 
	ajax_demo.getMouseY = function() {
		return b_ajax_demo_root.getMouseY();
	};
 
	ajax_demo.getMouseX = function() {
		return b_ajax_demo_root.getMouseX();
	};
 
	ajax_demo.getFilters = function() {
		return b_ajax_demo_root.getFilters();
	};
 
	ajax_demo.setFilters = function(argArray) {
		b_ajax_demo_root.setFilters(argArray);
	};
 
	ajax_demo.getParent = function() {
		return b_ajax_demo_root.getParent();
	};
 
	ajax_demo.getY = function() {
		return b_ajax_demo_root.getY();
	};
 
	ajax_demo.setY = function(argNumber) {
		b_ajax_demo_root.setY(argNumber);
	};
 
	ajax_demo.getScale9Grid = function() {
		return b_ajax_demo_root.getScale9Grid();
	};
 
	ajax_demo.setScale9Grid = function(argRectangle) {
		b_ajax_demo_root.setScale9Grid(argRectangle);
	};
 
	ajax_demo.getX = function() {
		return b_ajax_demo_root.getX();
	};
 
	ajax_demo.setX = function(argNumber) {
		b_ajax_demo_root.setX(argNumber);
	};
 
	ajax_demo.getOpaqueBackground = function() {
		return b_ajax_demo_root.getOpaqueBackground();
	};
 
	ajax_demo.setOpaqueBackground = function(argObject) {
		b_ajax_demo_root.setOpaqueBackground(argObject);
	};
 
	ajax_demo.getTransform = function() {
		return b_ajax_demo_root.getTransform();
	};
 
	ajax_demo.setTransform = function(argTransform) {
		b_ajax_demo_root.setTransform(argTransform);
	};
 
	ajax_demo.hitTestObject = function(argDisplayObject) {
		return b_ajax_demo_root.hitTestObject(argDisplayObject);
	};
 
	ajax_demo.getScrollRect = function() {
		return b_ajax_demo_root.getScrollRect();
	};
 
	ajax_demo.setScrollRect = function(argRectangle) {
		b_ajax_demo_root.setScrollRect(argRectangle);
	};
 
	ajax_demo.getHeight = function() {
		return b_ajax_demo_root.getHeight();
	};
 
	ajax_demo.setHeight = function(argNumber) {
		b_ajax_demo_root.setHeight(argNumber);
	};
 
	ajax_demo.getRect = function(argDisplayObject) {
		return b_ajax_demo_root.getRect(argDisplayObject);
	};
 
	ajax_demo.getWidth = function() {
		return b_ajax_demo_root.getWidth();
	};
 
	ajax_demo.setWidth = function(argNumber) {
		b_ajax_demo_root.setWidth(argNumber);
	};
 
	ajax_demo.getRotation = function() {
		return b_ajax_demo_root.getRotation();
	};
 
	ajax_demo.setRotation = function(argNumber) {
		b_ajax_demo_root.setRotation(argNumber);
	};
 
	ajax_demo.getRoot = function() {
		return b_ajax_demo_root.getRoot();
	};
 
	ajax_demo.getMask = function() {
		return b_ajax_demo_root.getMask();
	};
 
	ajax_demo.setMask = function(argDisplayObject) {
		b_ajax_demo_root.setMask(argDisplayObject);
	};
 
	ajax_demo.getLoaderInfo = function() {
		return b_ajax_demo_root.getLoaderInfo();
	};
 
	ajax_demo.getStage = function() {
		return b_ajax_demo_root.getStage();
	};
 
	ajax_demo.localToGlobal = function(argPoint) {
		return b_ajax_demo_root.localToGlobal(argPoint);
	};
 
	ajax_demo.getScaleY = function() {
		return b_ajax_demo_root.getScaleY();
	};
 
	ajax_demo.setScaleY = function(argNumber) {
		b_ajax_demo_root.setScaleY(argNumber);
	};
 
	ajax_demo.getScaleX = function() {
		return b_ajax_demo_root.getScaleX();
	};
 
	ajax_demo.setScaleX = function(argNumber) {
		b_ajax_demo_root.setScaleX(argNumber);
	};
 
	ajax_demo.getCacheAsBitmap = function() {
		return b_ajax_demo_root.getCacheAsBitmap();
	};
 
	ajax_demo.setCacheAsBitmap = function(argBoolean) {
		b_ajax_demo_root.setCacheAsBitmap(argBoolean);
	};
 
	ajax_demo.globalToLocal = function(argPoint) {
		return b_ajax_demo_root.globalToLocal(argPoint);
	};
 
	ajax_demo.DisplayObject = function() {
		return b_ajax_demo_root.DisplayObject();
	};
 
	ajax_demo.getBlendMode = function() {
		return b_ajax_demo_root.getBlendMode();
	};
 
	ajax_demo.setBlendMode = function(argString) {
		b_ajax_demo_root.setBlendMode(argString);
	};
 
	ajax_demo.getName = function() {
		return b_ajax_demo_root.getName();
	};
 
	ajax_demo.setName = function(argString) {
		b_ajax_demo_root.setName(argString);
	};
 
	ajax_demo.getHitArea = function() {
		return b_ajax_demo_root.getHitArea();
	};
 
	ajax_demo.setHitArea = function(argSprite) {
		b_ajax_demo_root.setHitArea(argSprite);
	};
 
	ajax_demo.getDropTarget = function() {
		return b_ajax_demo_root.getDropTarget();
	};
 
	ajax_demo.Sprite = function() {
		return b_ajax_demo_root.Sprite();
	};
 
	ajax_demo.getUseHandCursor = function() {
		return b_ajax_demo_root.getUseHandCursor();
	};
 
	ajax_demo.setUseHandCursor = function(argBoolean) {
		b_ajax_demo_root.setUseHandCursor(argBoolean);
	};
 
	ajax_demo.stopDrag = function() {
		b_ajax_demo_root.stopDrag();
	};
 
	ajax_demo.startDrag = function(argBoolean, argRectangle) {
		b_ajax_demo_root.startDrag(argBoolean, argRectangle);
	};
 
	ajax_demo.getButtonMode = function() {
		return b_ajax_demo_root.getButtonMode();
	};
 
	ajax_demo.setButtonMode = function(argBoolean) {
		b_ajax_demo_root.setButtonMode(argBoolean);
	};
 
	ajax_demo.getSoundTransform = function() {
		return b_ajax_demo_root.getSoundTransform();
	};
 
	ajax_demo.setSoundTransform = function(argSoundTransform) {
		b_ajax_demo_root.setSoundTransform(argSoundTransform);
	};
 
	ajax_demo.getGraphics = function() {
		return b_ajax_demo_root.getGraphics();
	};
 
	ajax_demo.getChildIndex = function(argDisplayObject) {
		return b_ajax_demo_root.getChildIndex(argDisplayObject);
	};
 
	ajax_demo.getChildByName = function(argString) {
		return b_ajax_demo_root.getChildByName(argString);
	};
 
	ajax_demo.getNumChildren = function() {
		return b_ajax_demo_root.getNumChildren();
	};
 
	ajax_demo.setChildIndex = function(argDisplayObject, argInt) {
		b_ajax_demo_root.setChildIndex(argDisplayObject, argInt);
	};
 
	ajax_demo.getTabChildren = function() {
		return b_ajax_demo_root.getTabChildren();
	};
 
	ajax_demo.setTabChildren = function(argBoolean) {
		b_ajax_demo_root.setTabChildren(argBoolean);
	};
 
	ajax_demo.addChild = function(argDisplayObject) {
		return b_ajax_demo_root.addChild(argDisplayObject);
	};
 
	ajax_demo.swapChildren = function(argDisplayObject1, argDisplayObject2) {
		b_ajax_demo_root.swapChildren(argDisplayObject1, argDisplayObject2);
	};
 
	ajax_demo.removeChild = function(argDisplayObject) {
		return b_ajax_demo_root.removeChild(argDisplayObject);
	};
 
	ajax_demo.contains = function(argDisplayObject) {
		return b_ajax_demo_root.contains(argDisplayObject);
	};
 
	ajax_demo.removeChildAt = function(argInt) {
		return b_ajax_demo_root.removeChildAt(argInt);
	};
 
	ajax_demo.getTextSnapshot = function() {
		return b_ajax_demo_root.getTextSnapshot();
	};
 
	ajax_demo.swapChildrenAt = function(argInt1, argInt2) {
		b_ajax_demo_root.swapChildrenAt(argInt1, argInt2);
	};
 
	ajax_demo.getMouseChildren = function() {
		return b_ajax_demo_root.getMouseChildren();
	};
 
	ajax_demo.setMouseChildren = function(argBoolean) {
		b_ajax_demo_root.setMouseChildren(argBoolean);
	};
 
	ajax_demo.areInaccessibleObjectsUnderPoint = function(argPoint) {
		return b_ajax_demo_root.areInaccessibleObjectsUnderPoint(argPoint);
	};
 
	ajax_demo.DisplayObjectContainer = function() {
		return b_ajax_demo_root.DisplayObjectContainer();
	};
 
	ajax_demo.getChildAt = function(argInt) {
		return b_ajax_demo_root.getChildAt(argInt);
	};
 
	ajax_demo.getObjectsUnderPoint = function(argPoint) {
		return b_ajax_demo_root.getObjectsUnderPoint(argPoint);
	};
 
	ajax_demo.addChildAt = function(argDisplayObject, argInt) {
		return b_ajax_demo_root.addChildAt(argDisplayObject, argInt);
	};
 
}
</a>

L’index avec donc l’appel aux javascript et en flashvars bridgeName=b_ajax_demo

<!-- saved from url=(0014)about:internet -->
<html lang="en">
 
<!-- 
Smart developers always View Source. 
 
This application was built using Adobe Flex, an open source framework
for building rich Internet applications that get delivered via the
Flash Player or to desktops via Adobe AIR. 
 
Learn more about Flex at http://flex.org 
// -->
 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
<!--  BEGIN Browser History required section -->
<link rel="stylesheet" type="text/css" href="history/history.css" />
<!--  END Browser History required section -->
 
<title>${title}</title>
<script src="AC_OETags.js" language="javascript"></script>
 
<!--  BEGIN Browser History required section -->
<script src="history/history.js" language="javascript"></script>
<!--  END Browser History required section -->
<script type="text/javascript" src="js/FABridge.js"></script>
	<script type="text/javascript" src="js/ajax_demo.js"></script>
 
<style>
body { margin: 0px; overflow:hidden }
</style>
<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = ${version_major};
// Minor version of Flash required
var requiredMinorVersion = ${version_minor};
// Minor version of Flash required
var requiredRevision = ${version_revision};
// -----------------------------------------------------------------------------
// -->
</script>
</head>
 
<body scroll="no">
<script language="JavaScript" type="text/javascript">
<!--
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
var hasProductInstall = DetectFlashVer(6, 0, 65);
 
// Version check based upon the values defined in globals
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
 
if ( hasProductInstall && !hasRequestedVersion ) {
	// DO NOT MODIFY THE FOLLOWING FOUR LINES
	// Location visited after installation is complete if installation is required
	var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
	var MMredirectURL = window.location;
    document.title = document.title.slice(0, 47) + " - Flash Player Installation";
    var MMdoctitle = document.title;
 
	AC_FL_RunContent(
		"src", "playerProductInstall",
		"FlashVars", "bridgeName=b_ajax_demo&MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "300",
		"height", "150",
		"align", "middle",
		"id", "${application}",
		"quality", "high",
		"bgcolor", "${bgcolor}",
		"name", "${application}",
		"allowScriptAccess","sameDomain",
		"type", "application/x-shockwave-flash",
		"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
} else if (hasRequestedVersion) {
	// if we've detected an acceptable version
	// embed the Flash Content SWF when all tests are passed
	AC_FL_RunContent(
			"src", "${swf}",
			"flashvars", "bridgeName=b_ajax_demo",
			"width", "300",
			"height", "150",
			"align", "middle",
			"id", "${application}",
			"quality", "high",
			"bgcolor", "${bgcolor}",
			"name", "${application}",
			"allowScriptAccess","sameDomain",
			"type", "application/x-shockwave-flash",
			"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = 'Alternate HTML content should be placed here. '
  	+ 'This content requires the Adobe Flash Player. '
   	+ '<a href=http://www.adobe.com/go/getflash/>Get Flash';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
</script>
<noscript>
  	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="${application}" width="300" height="150"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="${swf}.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="${bgcolor}" />
			<param name="allowScriptAccess" value="sameDomain" />
			<param name="flashvars" value="bridgeName=b_ajax_demo" />
 
			<embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
				width="300" height="150" name="${application}" align="middle"
				flashvars="bridgeName=b_ajax_demo"
 
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</noscript>
<h2>Test controls</h2>
<p>Description text goes here.</p>
 
<h2><a href="javascript:ajax_demo.getFlashText()">Get text from Flash</a></h2>
<h2><a href="javascript:ajax_demo.alertme()">Flex Alert</a></h2>
 
</body>
</html>
Flex     Étiquettes : , ,

Adobe Flex Builder gratuit pour les chomeurs

Adobe vient de mettre en accés gratuit Flex Builder 3 Pro pour les chomeurs. Si vous voulez tester Flex et vous former avec Flex Buider pro, voici l’occasion.
Une excellente initiative d’Adobe qui veut que les développeurs en inactivité (salariale) puissent se former à Flex. Il faut en effet signer les termes

La page de téléchargement est ici

Flex     Étiquettes :

FaceBook + Adobe

FaceBook supporte flash dans ses API mais sa librairie actionscript n’était pas au top.

Adobe et FaceBook se sont donc mis d’accord pour faire une librairie action script 3. FaceBook et flash pourront ainsi dialoguer mais aussi Flex et Air.

Le code est  ici.

Bientôt donc des widgets en flash qui communiqueront avec FaceBook.

flash     Étiquettes : , , ,

La playlist de Kutiman

Kutiman Thru You est un jeun musicien. Il remixe des vidéos de YouTube. Il assemble différentes vidéos et retravaille la piste audio. Le résultat est impressionant.

La playliste est ici

flash     Étiquettes : ,

Flex 4 Gumbo avec Flex Builder

Si vous voulez tester Flex 4 version nommé Gumbo voici comment l’installer avec Flex Builder 3.

Le sdk de Flex est en cours de développement, il est gratuit. On peut donc faire du Flex sans acheter des logiciels coûteux. Tout d’abord il faut télécharger la dernière version du SDK c’est Flex SDK Downloads

Il faut installer ce sdk dans votre installation Flex Builder, donc par exemple pour la 4.0.0.5201

Program Files>Flex Builder 3>sdks>4.0.0.5201

Dans Flex Builder il faut déclarer ce nouveau SDK

Window>Preferences>Flex>Installed sdks

On indique donc le dossier du nouveau sdk Flex4

Ouvrir un Projet. On va déclarer la version du compilateur

Project>Properties>Flex Compiler

Choisir le sdk 4 et ne pas oublier de mettre la version du player Flash à 10.0.0

Et ici le code pour tester :

<?xml version= »1.0″ encoding= »utf-8″?>
<FxApplication xmlns= »http://ns.adobe.com/mxml/2009″
xmlns:mx= »http://ns.adobe.com/mxml/2009″>
<!– was: library:adobe/flex/halo –>

<Group id= »group »
horizontalCenter= »0″
verticalCenter= »0″>
<Rect id= »rect »
width= »120″
height= »60″>
<fill>
<SolidColor color= »red » alpha= »0.2″ />
</fill>
<stroke>
<SolidColorStroke color= »black » weight= »4″ />
</stroke>
</Rect>
<TextGraphic id= »textGraphic »
horizontalCenter= »0″
verticalCenter= »0″
color= »#000000″
fontFamily= »Arial »
fontWeight= »bold »>
<content>{Capabilities.version}</content>
</TextGraphic>
</Group>

<mx:Label text= »Welcome in my Halo Label component! » />

</FxApplication>

Ne pas oublier de mettre à jour Flex Builder 3. Flex Gumbo devrait sortir officiellement au deuxième semestre 2009.

Flex     Étiquettes :

SPAZ un client twitter Open source

SPAZ est un client twitter. Si vous voulez poster sur twitter et suivre toute l’actualité twitter, Spaz peut vous convenir. Spaz s’installe sur son ordinateur Windows Mac Linux. C’est une application AIR. L’originalité de l’application c’est qu’elle est Open source. L’application a été écrite en XHTML et avec JQuery.

  1. Download and install AIR
  2. Download Spaz

Flex     Étiquettes : , ,

De Flex à PHP via JSON

Pour envoyer des données de FLEX à un serveur PHP on peut utiliser XML ou JSON.
JSON (JavaScript Object Notation) est un format de données générique. Il utilise la notation des objets JavaScript pour transmettre de l’information structurée.

Pour utiliser Json dans Flex il faut tout d’abord récupérer le .swc à mettre dans le dossier lib de votre projet Flex. Ici le lien Adobe Flex coreLib.

Côté PHP si vous avez une version supérieure à 5.2 pas de soucis si non il faudra récupérer le code ici : php-json

Donc dans l’application Flex on aura :

import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
import com.adobe.serialization.json.JSON;

Une fonction pour envoyer les data. list de votre dataProvider est encodé via Json en string. Les data sont envoyé via le service sendData.

private function sendPHPData():void
{
var objSend:Object = new Object();
var dataString:String = JSON.encode(list.dataProvider.toArray());
dataString = escape(dataString);
objSend.setTutorials = « true »;
objSend.jsonSendData = dataString;
sendData.send(objSend);
}

et bien sûr :

<mx:HTTPService id=« sendData » url=« sendData.php »

useProxy=« false » method=« GET » resultFormat=« text »

result=« updatedPHPDataResult(event) »>

</mx:HTTPService>

<mx:ArrayCollection id= »myData »></mx:ArrayCollection>

<mx:List id= »list » dataProvider= »{myData} »/>

C’est le code que l’on trouve sur tous les tutoriels. Malheureusement il ne fonctionne pas toujours. J’ai essayé pendant plusieurs jours sur IE7 explorer 7 de transférer des data et curieusement au bout d’un certain nombre de données aucun appel au script PHP. Il y a donc un problème de mémoire cache. Je conseille donc de ne pas utiliser GET mais POST.

Le code PHP :

<?php

if (isset($_REQUEST[‘jsonSendData’])) $jsonString = $_REQUEST[‘jsonSendData’];

$jsonString = urldecode($jsonString);

$data = json_decode($jsonString, true);
print_r($data);

?>

Flex     Étiquettes : , ,