MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Use Manual page 68

Table of Contents

Advertisement

import mx.managers.PopUpManager;
import mx.core.IFlexDisplayObject;
private static var dialog:IFlexDisplayObject;
public static function show(parent:DisplayObject):void
{
dialog = PopUpManager.createPopUp(parent, Hourglass, true);
PopUpManager.centerPopUp(dialog);
}
public static function remove():void
{
PopUpManager.removePopUp(dialog);
}
]]>
</mx:Script>
<mx:Image source="@Embed('wait.png')"/>
</mx:VBox>
mini.mxml
The mini.mxml file contains the following:
<?xml version="1.0" encoding="utf-8"?>
<!--
///////////////////////////////////////////////////////////////////////////
/////
//
// Copyright (C) 2003-2006 Adobe Macromedia Software LLC and its licensors.
// All Rights Reserved.
// The following is Sample Code and is subject to all restrictions on such
code
// as contained in the End User License Agreement accompanying this product.
// If you have received this file from a source other than Adobe,
// then your use, modification, or distribution of it requires
// the prior written permission of Adobe.
//
///////////////////////////////////////////////////////////////////////////
/////
-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
creationComplete="dataService.fill(contacts)">
<mx:ArrayCollection id="contacts"/>
68
Using the Flex Data Service Assembler

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion mx

Table of Contents