<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>Comtaste Consulting | Enterprise RIA consulting and development</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/" />
   <link rel="self" type="application/atom+xml" href="http://blog.comtaste.com/atom.xml" />
   <id>tag:blog.comtaste.com,2010://1</id>
   <updated>2010-03-04T15:37:44Z</updated>
   <subtitle>Enterprise RIA development and consulting with Adobe Flex 3, LiveCycle Data Services, Flex Data Services, Actionscript 3, Java and J2EE</subtitle>
   <generator uri="http://www.sixapart.com/movabletype/">Movable Type 3.33</generator>

<entry>
   <title>Spring BlazeDS Integration</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2010/03/spring_blazeds_integration.html" />
   <id>tag:blog.comtaste.com,2010://1.105</id>
   
   <published>2010-03-04T14:09:52Z</published>
   <updated>2010-03-04T15:37:44Z</updated>
   
   <summary>Hi to all, in this post I will explain how simple it is to configure an application that requires - Front-end in Flex - Back-end in Spring with the Spring BlazeDS Integration. To illustrate the integration support of Spring BlazeDS,...</summary>
   <author>
      <name>Michele del Prete</name>
      <uri>http://www.comtaste.com</uri>
   </author>
         <category term="Flex" scheme="http://www.sixapart.com/ns/types#category" />
         <category term="Java" scheme="http://www.sixapart.com/ns/types#category" />
         <category term="Spring" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="199" label="spring flex blazeds" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[Hi to all, in this post I will explain how simple it is to configure an application that requires

- Front-end in Flex 
- Back-end in Spring

with the Spring BlazeDS Integration.

To illustrate the integration support of Spring BlazeDS, I've built a sample application with:

Flex 4
Spring 2.5.6
Tomcat 6
MySql 5
Java 6

<font size="5">Data representation</font>

We just represent information about Employee set. Specifically we represent the following fields:

- name
- surname
- address
- email
- category, to simplify we have supposed only 4 category : analyst – consultant – junior - manager

<font size="5">Architecture layers</font>

<font size="2">Front-end </font>

    - Flex application that shows data on Employee set.

<font size="2">Back-end, ORM framework JPA</font>

    - Spring bean : EmployeeService
    - DAO : EmployeeDAO
    - Data : Employee

<font size="5">How to configurate Spring BlazeDS Integration</font>

First of all we have to configure the MessageBroker component, core of the Spring BlazeDS Integration, because HTTP messages from the Flex client will be routed through the Spring <em>DispatcherServlet</em> to Spring managed MessageBroker.
Once this step is complete, we will be sure that remoting calls from the flex client reach their destination, so all we have to do is allow Spring to export its beans. To ensure this we must configure the BlazeDS Remoting service and all the necessary remote destinations.

<font size="4">MessageBroker's configuration</font>

<font size="2">We have to configure MessageBroker into app-context.xml file</font>

Add Flex namespace

&#60;beans xmlns="http://www.springframework.org/schema/beans"
xmlns:flex="http://www.springframework.org/schema/flex"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
        http://www.springframework.org/schema/flex 
        http://www.springframework.org/schema/flex/spring-flex-1.0.xsd"&#62;

...
&#60;beans&#62;

Spring provide an XML config namespace for MessageBroker's configuration inside app-context. To use the namespace support we must add the schema location into the Spring XML configuration files. This makes the Spring BlazeDS Integration configuration tags available under the flex namespace into ours configuration files. We have to be sure to refer to the spring-flex-1.0.xsd as every element and attribute is fully documented there.

To complete MessageBroker's configuration we have to add message-broker tag :

&#60;flex:message-broker/&#62;



<font size="2"><u>How to configurate Flex client's mapping towards MessageBroker in three simple steps
</u></font>

1) Definition of the DispatcherServlet in web.xml

The simple request mapping scenario is when the front-end Flex is the only client type for the application. In this case we can just map /messagebroker as top-level path for requests.

&#60;servlet&#62;
&#60;servlet-name&#62;BlazeServlet&#60;/servlet-name&#62;
&#60;servletclass&#62;org.springframework.web.servlet.DispatcherServlet&#60;/servlet-class&#62; &#60;init-param&#62;
&#60;param-name&#62;contextConfigLocation&#60;/param-name&#62;
&#60;param-value&#62; /WEB-INF/spring/app-context.xml &#60;/param-value&#62;
&#60;/init-param&#62;
&#60;load-on-startup&#62;1&#60;/load-on-startup&#62;
&#60;/servlet&#62;

&#60;servlet-mapping&#62;
&#60;servlet-name&#62;BlazeServlet&#60;/servlet-name&#62;
&#60;url-pattern&#62;/messagebroker/*&#60;/url-pattern&#62;
&#60;/servlet-mapping&#62;

2) HandlerMapping into Spring app-context.xml

We have to configure an HandlerMapping to allow the correct requests mapping towards MessageBroker, but in this case we have to do nothing, because when we use a message-broker tag, there is a bean automatically installed that allows the HandlerMapping. This bean is a <em>SimpleUrlHandlerMapping</em> that maps all the incoming requests from <em>DispathcherServlet</em> to MessageBroker through the <em>MessageBrokerHandlerAdapter</em>. In practice the default settings installed by &#60;flex:message-broker/&#62; tag regard how to include the following configuration:

&#60;!-- Maps request paths at /* to the BlazeDS MessageBroker --&#62;
&#60;bean
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&#62;
&#60;property name="mappings"&#62;
&#60;value&#62;
/*=_messageBroker
&#60;/value&#62;
&#60;/property&#62;
&#60;/bean&#62;

&#60;!-- Dispatches requests mapped to a MessageBroker --&#62;
&#60;bean class="org.springframework.flex.servlet.MessageBrokerHandlerAdapter"/&#62;

So HandlerMapping configuration in the spring app-contex.xml is how to include the message-broker tag.

3) Channel definition in the BlazeDS services-config.xml

&#60;channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"&#62;
&#60;endpoint url="http://{server.name}:{server.port}/ {context.root}/messagebroker/amf"
class="flex.messaging.endpoints.AMFEndpoint"/&#62;
&#60;/channel-definition&#62;

To complete the correct requests mapping towards MessageBroker we have to define a channel to secure communication from client to server. In this way flex client can send and receive data correctly. Channel definition is in the services-config.xml file and must correspond to the chosen mapping.

<font size="4">Exporting Spring beans for Flex Remoting</font>

1) Remoting Service config

To configure the BlazeDS RemotingService we have to include remoting-config.xml file in the BlazeDS configuration, but with the Spring BlazeDS Integration this configuration file can be left out completely as the inclusion of the message-broker tag in the Spring configuration will cause the RemotingService to be configured with sensible defaults if none already exists at startup time. The end result is essentially equivalent to including the following minimal remoting-config.xml in the BlazeDS configuration.

&#60;?xml version="1.0" encoding="UTF-8"?&#62;
&#60;service id="remoting-service" class="flex.messaging.services.RemotingService"&#62;
&#60;adapters&#62;
&#60;adapter-definition id="java-object"
class="flex.messaging.services.remoting.adapters.JavaAdapter"
default="true"/&#62;
&#60;/adapters&#62;
&#60;/service&#62;

We have just set a default channel in the service-config.xml

&#60;services&#62;
&#60;default-channels&#62;
&#60;channel ref="my-amf"/&#62;
&#60;/default-channels&#62;
&#60;/services&#62;

2) Remoting destination tag

It allows to export existing Spring-managed services for direct remoting from a Flex client. Given the following Spring bean definition for a employeeService bean :

&#60;!-- Bean employeeService --&#62;
&#60;bean id="employeeService" class="service.EmployeeService"&#62;
&#60;constructor-arg ref="employeeDAO" /&#62;
&#60;/bean&#62;

and assuming the existance of a Spring-managed MessageBroker configured via the message-broker tag, the following remoting-destination tag will expose the service for remoting to Flex client as a remote service destination called employeeService: 

&#60;!-- REMOTING DESTINATION TAG --&#62;
&#60;flex:remoting-destination ref="employeeService" /&#62;

We have seen that with few steps is possible to build an application that support a front-end in Flex and a back-end in Spring through the Spring BlazeDS Integration which focuses on a single main component : MessageBroker.

At this link you'll find the official <a href="http://www.springsource.org/spring-flex">Spring BlazeDS Integration</a> reference.]]>
      
   </content>
</entry>
<entry>
   <title>New Pantaste feature - Column constrained dashboard</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2010/02/new_pantaste_feature_column_co.html" />
   <id>tag:blog.comtaste.com,2010://1.104</id>
   
   <published>2010-02-26T17:27:09Z</published>
   <updated>2010-02-26T17:43:42Z</updated>
   
   <summary><![CDATA[A new feature have been implemented to the Pantaste library. Now you can create a dashboard and constrain the movement of the panels or block only along the defined columns. How can i implement this? Simply by placing the &lt;DashBlock&gt;...]]></summary>
   <author>
      <name>Liviu Stoica</name>
      <uri>http://blog.comtaste.com</uri>
   </author>
   
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[A new feature have been implemented to the <a href="http://code.google.com/p/pantaste/">Pantaste</a> library. Now you can create a dashboard and constrain the movement of the panels or block only along the defined columns.

How can i implement this?
Simply by placing the &lt;DashBlock&gt; components inside the &lt;DashPanelContainer&gt;. And then placing all your &lt;DashPanel&gt; components inside the desired &lt;DashBlock&gt; this will be the first configuration and after launching your application you will be able to move the panels only along the defined DashBlocks.

So download the latest source and use the following code to create your first column constrained dashboard:

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="horizontal"
xmlns:components="com.comtaste.pantaste.components.*"&gt;

&lt;mx:Style source="/assets/style.css"/&gt;

&lt;components:DashPanelContainer width="100%"
height="100%"
backgroundColor="#EEEEEE"&gt;

&lt;mx:HBox width="630" backgroundColor="#EEE"
height="30"&gt;
&lt;mx:Text fontSize="30"
text="PANTASTE COLUMN EXAMPLE" fontWeight="bold"/&gt;
&lt;/mx:HBox&gt;

&lt;components:DashBlock width="300"
y="50"
height="100%"&gt;
&lt;components:DashPanel backgroundAlpha="1"
width="300"
title="Styled panel 1"
showTitleText="true"
titleBarHeight="35"
backgroundColor="#CCCCCC"/&gt;
&lt;/components:DashBlock&gt;

&lt;components:DashBlock x="330"
y="50"
width="300"
height="100%"&gt;
&lt;components:DashPanel backgroundAlpha="1"
width="300"
title="Styled panel 2"
showTitleText="true"
titleBarHeight="35"
backgroundColor="#CCCCCC"&gt;
&lt;mx:TextArea text="Blocco 2 "/&gt;
&lt;/components:DashPanel&gt;
&lt;components:DashPanel backgroundAlpha="1"
title="Styled panel 3"
width="300"
showTitleText="true"
titleBarHeight="35"
backgroundColor="#CCCCCC"&gt;
&lt;mx:TextArea text="Blocco 4 "/&gt;
&lt;/components:DashPanel&gt;
&lt;/components:DashBlock&gt;


&lt;components:DashBlock x="660"
width="300"
height="100%"&gt;
&lt;components:DashPanel width="300"
title="Styled panel 4"
showTitleText="true"
titleBarHeight="35"
backgroundAlpha="1"
backgroundColor="#CCCCCC"&gt;
&lt;mx:TextArea text="Blocco 3 "/&gt;
&lt;/components:DashPanel&gt;
&lt;components:DashPanel width="300"
title="Styled panel 5"
showTitleText="true"
titleBarHeight="35"
backgroundAlpha="1"
backgroundColor="#CCCCCC"&gt;
&lt;mx:TextArea text="Blocco 5 "/&gt;
&lt;/components:DashPanel&gt;
&lt;/components:DashBlock&gt;

&lt;/components:DashPanelContainer&gt;

&lt;/mx:Application&gt;]]>
      
   </content>
</entry>
<entry>
   <title>Filtering nested elements of a Tree data provider</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2010/02/filtering_nested_elements_of_a_1.html" />
   <id>tag:blog.comtaste.com,2010://1.103</id>
   
   <published>2010-02-19T11:11:27Z</published>
   <updated>2010-02-19T11:29:57Z</updated>
   
   <summary>Rich Internet applications developed with Flex benefit of many of the built-in functionality already provided by this framework. One of such enhancement is the filterFunction, that can be applied to instances of class ListCollectionView (and extending ones, such as the...</summary>
   <author>
      <name>Constantin Moldovanu</name>
      <uri>http://www.comtaste.com</uri>
   </author>
         <category term="Flex" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="50" label="actionscript" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="108" label="components" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="16" label="flex" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="214" label="tree" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[Rich Internet applications developed with Flex benefit of many of the built-in functionality already provided by this framework. One of such enhancement is the <em>filterFunction</em>, that can be applied to instances of class <a href="http://livedocs.adobe.com/flex/3/langref/mx/collections/ListCollectionView.html">ListCollectionView</a> (and extending ones, such as the more commonly used ArrayCollection) and allows for fast and easy to implement filtering of data. This feature, used with advanced visualization controls as DataGrid or List, provides a rich environment for the end user, that can fully control the data he/she is working with.

The filter function is best suited with visualization controls that do not consider hierarchical data, but there may be cases in which the filter should be applied to hierarchical objects, displayed, for example, into a Tree component. If <a href="http://en.wikipedia.org/wiki/Majestic_plural">we</a> apply the filterFunction to the data provider of a Tree component, the filter will only be applied to the first elements in the hierarchy and will not be applied to nested children. This may appear as an unwanted feature of the Tree, but it was actually meant to be that way, as the Tree control strives to be as independent as possible from the underlying displayed data and allows for personalization through it's descriptor.

In order to filter all nodes of a Flex Tree component, the solution is to apply the filter function to each nested element of the data provider. This can be accomplished by creating a new hierarchical structure, already filtered (can be rather expensive), or using dynamic filtering over the Tree's default descriptor, as shown below. 

I extended the <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/treeClasses/DefaultDataDescriptor.html">DefaultDataDescriptor</a> used by the Tree, into a <em>FilteredDataDescriptor</em>, that has an additional field, namely <em>filterFunction</em>, which is applied as filter to each element of the nested structure:
<code>
private var _filterFunction:Function;

public function get filterFunction():Function {
&nbsp;&nbsp;return _filterFunction;
}

/**
 * Applies this filter function to the children of every node.
 * @param value
 */
public function set filterFunction(value:Function):void {
&nbsp;&nbsp;_filterFunction = value;
}
</code>

In order to apply the filter to the children of the data provider we can override <em>getChildren()</em> and, before returning the collection of children, apply the filter function:
<code>
override public function getChildren(node:Object, model:Object=null):ICollectionView {
&nbsp;&nbsp;var collection:ICollectionView = super.getChildren(node, model);
&nbsp;&nbsp;if (collection && (collection is ListCollectionView)) {
&nbsp;&nbsp;&nbsp;&nbsp;(collection as ListCollectionView).filterFunction = _filterFunction;
&nbsp;&nbsp;}
&nbsp;&nbsp;return collection;
}
</code>

Note that this will work only for classes extending ListCollectionView (obviously Array is out o the picture) and that we also do not need to specifically call <em>refresh()</em> on the children collection, as it will be called later by the framework itself. All that's left now is to assign the newly created tree descriptor to a Tree and pass it the proper filter function(s).
]]>
      
   </content>
</entry>
<entry>
   <title>How to test upload bandwidth to a FMS</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2010/02/how_to_test_upload_bandwidth_t.html" />
   <id>tag:blog.comtaste.com,2010://1.102</id>
   
   <published>2010-02-11T10:37:26Z</published>
   <updated>2010-02-11T11:28:10Z</updated>
   
   <summary>How the download bandwidth check works Flash Media Server has a native method to check download bandwitdh of the client, a feature that becomes very useful when you are going to stream multi bitrate content. In a fresh installation of...</summary>
   <author>
      <name>Emanuele Tatti</name>
      <uri>http://www.comtaste.com</uri>
   </author>
   
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[<strong>How the download bandwidth check works</strong>

Flash Media Server has a native method to check download bandwitdh of the client, a feature that becomes very useful when you are going to stream multi bitrate content. 
In a fresh installation of a Flash Media Server you can find a couple of default applications: live and vod, both come with a main.far containing the server side Actionscript code. To get a readable version you can grab the files from your FMS_ROOT/samples/applications/. Unless you have a Flash Media Interactive Server you are not authorized to substitute the original main.far with your own version, your server would throw an error; anyway you have a complete freedom in modifying and/or adding new applications if you use a developer edition (with its inbound connection limit).

Going back to the main.asc file, we can check the last lines of application.onConnect 

<code>
function( p_client, p_autoSenseBW )
{
&nbsp;&nbsp;...
&nbsp;&nbsp;if (p_autoSenseBW)
&nbsp;&nbsp;&nbsp;&nbsp;p_client.checkBandwidth();
&nbsp;&nbsp;else
&nbsp;&nbsp;&nbsp;&nbsp;p_client.call("onBWDone"); 
}
</code>

application.onConnect is unsurprisingly a function called when a client connects to a FMS, the last if-block checks for the p_autoSenseBW flag; if it's present and true, a routine that checks the client bandwidth is called and does a callback on onBWDone when finished, otherwise onBWDone is called directly.
The bandwidth check can be called programmatically as well:

<code>
nc.call("checkBandwidth", null); 
</code>
where nc is our NetConnection after a successful connection to the server.  

<strong>Why you can need to check the upload</strong>

Sometimes you can need a bandwidth check from client to server, i.e. the upload bandwidth a client has toward the server. The most common scenario is a streaming from a client webcam. Via Actionscript we are able to adjust the camera quality affecting directly the amount of data transferred from the client, the best we can do is to get the best stream quality using all the bandwidth at our disposal; this will result in a smooth and good quality flv.

We can use the same approach used in Flash Media Server for the download bandwidth check. Basically the server starts sending chunks of data bigger and bigger until a size limit specified in the configuration or a timeout is reached. More info here <a href="http://www.adobe.com/livedocs/flashmediaserver/3.0/docs/help.html?content=08_xmlref_057.html#216930">http://www.adobe.com/livedocs/flashmediaserver/3.0/docs/help.html?content=08_xmlref_057.html#216930</a>

<strong>Server side code</strong>

We can just do thinks the other way round, so the first thing we need server side is a function that accepts data from the client and subsequently calls a callback:

<code>
Client.prototype.recData = function(data) 
{
&nbsp;&nbsp;trace('recData('+data.size+')')
&nbsp;&nbsp;var s = this.getStats();
&nbsp;&nbsp;this.call("ack", 0, s.ping_rtt);
};
</code>
This server side code makes available to all clients a method called "recData" that takes as input generic data and calls a client side method "ack" passing the round trip time between client and server.

<strong>Client side code</strong>


The client will call the "recData" function on the server until a certain condition is met

<code>
startUploadTime=new Date().time;
_netConn.call("recData", new Responder(onRecDataResult, onRecDataFault), data);
</code>
we are calling the server side function passing a responder (not used) and the data. The data can be a simple string filled with a cycle (es. 4096 chars for 4KB). The "ack" method can be something like this:

<code>
public function ack(result:*):void
{
&nbsp;&nbsp;finishUploadTime=new Date().time;
&nbsp;&nbsp;var rtt:Number=new Number(result);
&nbsp;&nbsp;// calculate time considering round trip time
&nbsp;&nbsp;var totalTime:Number=(finishUploadTime - startUploadTime - rtt) / 1000;
&nbsp;&nbsp;// calculate current bandwidth, current data size is base size * attempt number
&nbsp;&nbsp;var bw:Number=UPLOAD_DATA_SIZE*(current_try+1) / totalTime;

&nbsp;&nbsp;// check the attempts limit
&nbsp;&nbsp;if (current_try < UPLOAD_BANDWIDTH_REPEATS)
&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp; // use a sum to make a final average
&nbsp;&nbsp;&nbsp;&nbsp;bw_sum+=bw;
&nbsp;&nbsp;&nbsp;&nbsp;// check the timeout limit
&nbsp;&nbsp;&nbsp;&nbsp;if(totalTime>MAX_WAIT)    {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;        // set the bandwidth calculated so far
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;        if (Camera.getCamera())
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;            Camera.getCamera().setQuality(int(bw_sum / (current_try)), 0);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;        uploadTestFinished = true;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;        return;
&nbsp;&nbsp;&nbsp;&nbsp;    }

&nbsp;&nbsp;&nbsp;&nbsp;    // increase data size
&nbsp;&nbsp;&nbsp;&nbsp;    current_data += data; 
&nbsp;&nbsp;&nbsp;&nbsp;    current_try++;
&nbsp;&nbsp;&nbsp;&nbsp;    startUploadTime=new Date().time;
&nbsp;&nbsp;&nbsp;&nbsp;    // recall the server side method
&nbsp;&nbsp;&nbsp;&nbsp;    _netConn.call("recData", new Responder(onRecDataResult, onRecDataFault), current_data);
&nbsp;&nbsp;&nbsp;&nbsp;    return ;
&nbsp;&nbsp;}

&nbsp;&nbsp;// Attempts limit reached, calculated the bw
&nbsp;&nbsp;if (Camera.getCamera())
&nbsp;&nbsp;&nbsp;&nbsp;    Camera.getCamera().setQuality(int(bw_sum / (current_try)), 0);
}
</code>

<strong>Use the result to set up camera quality</strong>

ActionScript gives us a useful method to set up the camera quality: <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Camera.html#setQuality()">http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Camera.html#setQuality()</a>
In our case we will set the bandwidth limit as found with our routine and set the quality to 0, i.e. the best quality supported by the current bandwidth.]]>
      
   </content>
</entry>
<entry>
   <title>Axis2, Spring and Annotations</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2010/02/axis2_spring_and_annotations.html" />
   <id>tag:blog.comtaste.com,2010://1.101</id>
   
   <published>2010-02-04T11:25:17Z</published>
   <updated>2010-02-04T11:30:06Z</updated>
   
   <summary>Axis2 is a Web Services, SOAP, WSDL engine which current release, 1.5.1, comes with many interesting features among which there is the Spring Framework support. Axis2 documentation offers some good example of Spring integration, such as the How to create...</summary>
   <author>
      <name>Francesco Rapanà</name>
      <uri>http://www.comtaste.com</uri>
   </author>
         <category term="Java" scheme="http://www.sixapart.com/ns/types#category" />
         <category term="Web 2.0 Applications" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="213" label="annotation" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="211" label="axis2" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="212" label="bean" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="178" label="spring" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="80" label="web 2.0" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="210" label="webservice" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[Axis2 is a Web Services, SOAP, WSDL engine which current release, 1.5.1, comes with many interesting features among which there is the Spring Framework support.
Axis2 documentation offers some good example of Spring integration, such as the How to create a Spring-based POJO Web Service guide or the Axis2 Integration with the Spring Framework, but there's no mention of the use of Spring annotations. 
Spring annotations work like a charm in Axis2 if you follow exactly the steps of the previous guide, but my tip is to build your service structure without using annotations in a first stage (unless you are already skilled in this field), then incrementally simplify your code adding Spring annotations.
Here is an example of a simplified application-config.xml when using Spring annotations with Axis:
<code>
&lt;beans&gt;<br />
&#160;&#160;&lt;bean id="applicationContext" class="org.apache.axis2.extensions.spring.receivers.ApplicationContextHolder" /&gt;
&#160;&#160;&lt;context:component-scan base-package="service"/&gt;
&#160;&#160;&lt;context:component-scan base-package="bean"/&gt;
&lt;/beans&gt;
</code>

Now all your beans inside the packages 'service' and 'bean' will be deployed on Spring application context start or refresh. To annotate a class as Spring bean just use the @Component annotation on your class.
If you want to initialize your service on deployment time, add the @PostConstruct annotation on your initialization method. If your bean needs to access another bean, just use the @Autowired annotation on your class field.
Here a simple example:
<code>
@Component
public class MyService{

@Autowired
private MyBean bean;

@PostConstruct
protected void init() {
    //init operations
}
</code>

Don't forget to add the SpringBeanName parameter in your services.xml:
<code>
&lt;parameter name="SpringBeanName" &gt;myService&lt;/parameter&gt;
</code>

Annotations simplify your life reducing time spent configuring every bean you need in your application and using them in Axis allows you to build complex WebServices with less code.
Have fun.]]>
      
   </content>
</entry>
<entry>
   <title>Fields Validation with LiveCycle Designer 8 for XDP or Dynamic PDF files</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2010/01/fields_validation_with_livecyc_1.html" />
   <id>tag:blog.comtaste.com,2010://1.100</id>
   
   <published>2010-01-25T15:26:53Z</published>
   <updated>2010-01-26T10:25:26Z</updated>
   
   <summary>One of the most important problem in the creation of Dynamical Pdf is the validation of data inserted by user. We know that LiveCycle Designer support us in validating with the following events: prePrint: dispatched when the user starts to...</summary>
   <author>
      <name>Luca Florido</name>
      <uri>http://www.comtaste.com</uri>
   </author>
         <category term="LiveCycle Designer" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="207" label="Dynamical PDF" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="203" label="LiveCycle Designer" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="209" label="Validation Fields" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="205" label="XDP" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[One of the most important problem in the creation of Dynamical Pdf is the validation of data inserted by user. We know that LiveCycle Designer support us in validating with the following events:

<ul>
<li><strong>prePrint</strong>: dispatched when the user starts to Print the document</li>
<li><strong>preSave</strong>: dispatched when the user starts to Save the Document</li>
<li><strong>preSubmit</strong>: dispatched when the user starts to Submit the Document</li>
<li><strong>preExecute</strong>: dispatched when the user starts a data connection inside the Document</li>
</ul>

and we have also the possibility to change the status of a field to 'Required' (the default status of a designer object is 'Optional').
But if we put a control inside one of the events above, we can't stop the user action (view the Adobe Documentation for more!) if validation fails. For this reason we have the possibility to add to our XFA Application (version 2.5) an object called <em>Validation Object</em>.
Unfortunately we can't add it into the Design Model but we have to insert this object into the XML Source of our Application, so we have to find the following tags:
<code>
&#60;config xmlns="http://www.xfa.org/schema/xci/1.0/"&#62;
   &#60;agent name="designer"&#62;
      ...
   &#60;/agent&#62;

   &#60;present&#62;

&#60;!--  [0..n]  --&#62;
      ...
</code>

and put the &#60;validate&#62; element into the &#60;present&#62; element:
<code>
&#60;config xmlns="http://www.xfa.org/schema/xci/1.0/"&#62;
&#60;agent name="designer"&#62;
      ...
   &#60;/agent&#62;
   &#60;present&#62;
&#60;!--  [0..n]  --&#62;
      &#60;validate&#62;prePrint preSubmit &#60;/validate&#62;
      ...
</code>

When you are done making the change, click on the Design View tab and make sure you say “yes” to have your changes applied.

With the release of XFA 2.8 and Acrobat/Reader 9.0, the &#60;validate&#62; element is now located under the &#60;acrobat&#62; element in the Source XML:
<code>
&#60;config&#62;
   ...
&#60;acrobat&#62;
      ...
&#60;validate&#62;prePrint &#60;/validate&#62;
      ...
   &#60;/acrobat&#62;
   ...
&#60;/config&#62;
</code>

With this Validation Object we can stop only Print, Submit and Execute actions. The Save action can not be stopped by the Validation Object (I think because an user would like to save a Pdf without filling all the fields and complete them in a second time).

Here are two examples: the first does not have the validation object in XML Source (<a href="http://blog.comtaste.com/ValidationFieldsWithoutValidationObject.pdf">here</a>) while the second has this object built for the prePrint and preSubmit events (<a href="http://blog.comtaste.com/ValidationFieldsWithValidationObject.pdf">here</a>).

Enjoy
]]>
      
   </content>
</entry>
<entry>
   <title>The new Spring 3.0 and the integration with Flex 3 and BlazeDS</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2009/11/spring_and_flex_one_day_free_e.html" />
   <id>tag:blog.comtaste.com,2009://1.98</id>
   
   <published>2009-11-23T10:48:17Z</published>
   <updated>2009-11-23T12:21:29Z</updated>
   
   <summary>SpringSource and Comtaste have organized a free event where the new Spring 3.0 will be presented for the very first time in Italy and the integration with Flex and BlazeDS will be explored (all the detailed info here). 
The event has been scheduled on Monday, November 30, 2009 from 2:45 PM - 6:00 PM (GMT+01h). The location is the awesome Link Campus - University of Malta, via Nomentana, 335 - Rome, Italy 00162.</summary>
   <author>
      <name>Marco Casario | CEO Comtaste</name>
      <uri>http://casario.blogs.com</uri>
   </author>
         <category term="Events" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="199" label="spring flex blazeds" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[<a href="http://www.springsource.com/">SpringSource </a>and Comtaste have organized a<a href="http://spring3.eventbrite.com/"> free event where the new Spring 3.0 will be presented for the very first time in Italy and the integration with Flex and BlazeDS</a> will be explored (all the <a href="http://spring3.eventbrite.com/">detailed info here</a>). 
The event has been scheduled on Monday, November 30, 2009 from 2:45 PM - 6:00 PM (GMT+01h). The location is the awesome Link Campus - University of Malta, via Nomentana, 335 - Rome, Italy 00162.

The agenda will see two different sessions presented by SpringSource and Comtaste:

Session 1 (english) - Spring 3.0 and the new REST support, Speaker: Rossen Stoyanchev (SpringSource)

One of the major new themes of Spring 3.0 is the support for REST in Spring MVC. This talk will investigate these features from the perspective of a web application developer and discuss them in the context of JAX-RS, the Java Standard for RESTfulWeb Services. If you're familiar with JAX-RS you can relate your knowledge to Spring MVC. If you're an existing Spring MVC user can learn about major developments in the areas of data binding, validation, and type conversion as well as how Spring MVC compares to JAX-RS, a topic that's likely to come up in your organization.

Session 2 (in lingua italiana) - Integrare Spring con Flex 3, Speaker: Marco Casario (Comtaste)

SpringSource announced Spring BlazeDS Integration, a new open source project to provide tight integration between Spring and Adobe BlazeDS, Adobe’s open source server-based Java remoting and Web messaging technology. 

This open source project will make it easy for Java and Spring developers to create enterprise-class rich Internet applications (RIAs) using Adobe Flex software, a cornerstone of the Adobe Flash Platform, and Spring, the de facto standard for enterprise Java.

The partecipation is free but you need to <a href="http://spring3.eventbrite.com/">register in order to get the ticket</a>.]]>
      
   </content>
</entry>
<entry>
   <title>LiveCycle Data Services ES2 version 3 is now available</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2009/11/livecycle_data_services_es2_ve.html" />
   <id>tag:blog.comtaste.com,2009://1.99</id>
   
   <published>2009-11-20T16:51:34Z</published>
   <updated>2009-11-24T17:51:12Z</updated>
   
   <summary>Accordin to the Adobe&apos;s definition, LiveCycle Data Services ES2 module is a scalable and optimized framework that abstracts the complexity of creating easy-to-use, personalized, and interactive applications. It includes a rich set of features that streamline the development, integration, and deployment of rich Internet applications (RIAs).

Adobe LiveCycle Data Services 3 provides significant new capabilities, including the following:</summary>
   <author>
      <name>Marco Casario | CEO Comtaste</name>
      <uri>http://casario.blogs.com</uri>
   </author>
         <category term="Flex" scheme="http://www.sixapart.com/ns/types#category" />
         <category term="Flex Data Services" scheme="http://www.sixapart.com/ns/types#category" />
         <category term="Livecycle Data Services" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="201" label="lcds livecycle data services" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[According to the Adobe's definition, LiveCycle Data Services ES2 module is a scalable and optimized framework that abstracts the complexity of creating easy-to-use, personalized, and interactive applications. It includes a rich set of features that streamline the development, integration, and deployment of rich Internet applications (RIAs).

Adobe <a href="http://kb2.adobe.com/cps/526/cpsid_52638.html">LiveCycle Data Services 3 provides significant new capabilities</a>, including the following:

- Support for model-driven development of Flash applications, which make application development better, faster, and easier
- Secure and scalable connectivity across the DMZ with the Edge Server.
- New capabilities for developers to control and measure the quality of service of enterprise applications.

All the documentation is ready and available online:
<a href="http://help.adobe.com/en_US/livecycle/9.0/lc_ds_list.html">LiveCycle Data Services ES2 version 3 Docs</a>

You can download the <a href="http://www.adobe.com/go/trylivecycle_dataservices">LiveCycle Data Services ES2  free developer edition</a>.

<img alt="modal.jpg" src="http://blog.comtaste.com/modal.jpg" width="320" height="240" />]]>
      
   </content>
</entry>
<entry>
   <title>Flash Catalyst&apos;s overview eSeminar recorded</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2009/11/flash_catalysts_overview_esemi.html" />
   <id>tag:blog.comtaste.com,2009://1.97</id>
   
   <published>2009-11-16T11:44:54Z</published>
   <updated>2009-11-16T11:52:15Z</updated>
   
   <summary>Last week I&apos;ve presented an eSeminar via Connect about Flash Catalyst.
Flash Catalyst will change the way designers and developers will work together to create Rich Interactive applications.

You can find the URL of the recorded event here: Overview on Flash Catalyst.</summary>
   <author>
      <name>Marco Casario | CEO Comtaste</name>
      <uri>http://casario.blogs.com</uri>
   </author>
         <category term="Flash Catalyst" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="197" label="flash catalyst flex4 flash builder" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[Last week I've presented an eSeminar via Connect about <a href="http://labs.adobe.com/technologies/flashcatalyst/">Flash Catalyst</a>.
Flash Catalyst will change the way designers and developers will work together to create Rich Interactive applications.

You can find the URL of the recorded event here: <a href="https://admin.emea.adobe.acrobat.com/_a203414349/p52638645/">Overview on Flash Catalyst</a>.

In this eSeminar you'll learn key features of the latest version of <a href="http://labs.adobe.com/technologies/flashcatalyst/">Flash Catalyst</a> as well as the technologies behind the tool such as the FXG format and the Flex SDK 4.
You'll discover how to work with products such as Photoshop and Illustrator to create the look and feel and the user experience of a RIA, while automatically generating the necessary code in the background.

You can <a href="http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_flashcatalyst">download Flash Catalyst beta 2 on the Adobe Labs</a>.]]>
      
   </content>
</entry>
<entry>
   <title>Example of implementation of the Pantaste Library</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2009/06/example_of_implementation_of_t_1.html" />
   <id>tag:blog.comtaste.com,2009://1.96</id>
   
   <published>2009-06-11T17:01:25Z</published>
   <updated>2009-06-18T10:59:24Z</updated>
   
   <summary> Let&apos;s have a look to the Pantaste Library, exploring her feature trough examples, divided by interests: HelloWorld Switching dashed, snapped or free Tile and Cascade panels in a container Manual control panels ( minimize, maximize, restore ) Listen containers...</summary>
   <author>
      <name>Liviu Stoica</name>
      <uri>http://blog.comtaste.com</uri>
   </author>
   
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[<script src="http://www.comtaste.com/pantaste/bin-release/AC_OETags.js" language="javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 124;
// -----------------------------------------------------------------------------
// -->
</script>
<style type="text/css">
<!--
p.MsoNormal {
margin-top:0cm;
margin-right:0cm;
margin-bottom:10.0pt;
margin-left:0cm;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}
p.MsoListParagraphCxSpMiddle {
margin-top:0cm;
margin-right:0cm;
margin-bottom:.0001pt;
margin-left:36.0pt;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}
p.MsoListParagraphCxSpLast {
margin-top:0cm;
margin-right:0cm;
margin-bottom:10.0pt;
margin-left:36.0pt;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}
p.MsoListParagraphCxSpFirst {
margin-top:0cm;
margin-right:0cm;
margin-bottom:.0001pt;
margin-left:36.0pt;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}
-->
</style>
</head>

<body>
<p>Let's have a look to the Pantaste Library, exploring her feature trough examples, divided by interests:</p>
<p><a href="#helloworld">HelloWorld<br />
  </a><a href="#switchingdsf">Switching dashed, snapped or free</a><br />
  <a href="#tile_cascade">Tile and Cascade panels in a container</a><br />
  <a href="#manual_control">Manual control panels ( minimize, maximize, restore )</a><br />
  <a href="#listen_container">Listen containers change</a><br />
  <a href="#apply_constraint">Apply constraint to Panels</a><br />
  <a href="#styling_panels">Styling panels</a><br />
  <a href="#freeze_panels">Freeze panels</a><br />
</p>
<ul>
  <li><strong><span style="line-height:115%; font-size:16.0pt; ">HelloWorld</span></strong><a name="helloworld" id="helloworld"></a></li>
</ul>
<p class="MsoNormal">This first  example show how to implement a simple Panel and the relative container:</p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&lt;?xml  version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&lt;mx:Application</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; "> </span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">   </span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">xmlns:mx=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">http://www.adobe.com/2006/mxml</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">   xmlns:components=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">com.comtaste.pantaste.components.*</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">   layout=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">vertical</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">   </span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">   </span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&lt;components:DashPanelContainer</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; "> width=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot;  height=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">   </span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">          </span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&lt;components:DashPanel</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                 title=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">HelloWorld</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                 titleBarHeight=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">30</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                 backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                 <span style="background:aqua; ">backgroundColor</span>=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">#CCCCCC</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                 </span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                 </span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&lt;mx:VBox</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                       backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                       <span style="background:aqua; ">backgroundColor</span>=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">#FFFFFF</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                       </span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:9.0pt; color:#990000; ">Hello World from Pantaste Panel!</span><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                 </span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&lt;/mx:VBox&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">                 </span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">          </span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&lt;/components:DashPanel&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">          </span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">   </span><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&lt;/components:DashPanelContainer&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:black; ">   </span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:18.0pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:9.0pt; color:blue; ">&lt;/mx:Application&gt;</span><span style="font-family:'Courier New'; font-size:9.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; ">&nbsp;</span>

<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", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "100%",
		"height", "650",
		"align", "middle",
		"id", "HelloWorld",
		"quality", "high",
		"bgcolor", "#869ca7",
		"name", "HelloWorld",
		"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", "http://www.comtaste.com/pantaste/bin-release/HelloWorld",
			"width", "100%",
			"height", "650",
			"align", "middle",
			"id", "HelloWorld",
			"quality", "high",
			"bgcolor", "#869ca7",
			"name", "HelloWorld",
			"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</a>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="HelloWorld" width="100%" height="650"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="http://www.comtaste.com/pantaste/bin-release/HelloWorld.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#869ca7" />
			<param name="allowScriptAccess" value="sameDomain" />
			<embed src="http://www.comtaste.com/pantaste/bin-release/HelloWorld.swf" quality="high" bgcolor="#869ca7"
				width="100%" height="650" name="HelloWorld" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</noscript>
</p>
<ul>
  <li><strong><span style="font-size:16.0pt; ">Switching dashed,  snapped or free</span></strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">Now let’s look how to switch the container type, between dashed, snapped  or free to move:</p>
<p class="MsoListParagraphCxSpLast" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&lt;?xml version=&quot;1.0&quot;  encoding=&quot;utf-8&quot;?&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Application</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      xmlns:mx=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">http://www.adobe.com/2006/mxml</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      xmlns:components=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">com.comtaste.pantaste.components.*</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      layout=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">vertical</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">&lt;mx:Script&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            &lt;![CDATA[</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">import</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> com.comtaste.pantaste.components.DashDock;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            ]]&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">&lt;/mx:Script&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:NumericStepper</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  <span style="background:aqua; ">id</span>=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">snapSizer</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  minimum=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  maximum=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">500</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  change=&quot;dashContainer.snapSize  = snapSizer.value;&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  visible=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">dashContainer.snapped</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  toggle=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Snap</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  click=&quot;dashContainer.snapped  = !dashContainer.snapped;&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  selected=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">dashContainer.snapped</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  toggle=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Dash</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  click=&quot;dashContainer.dashed  = !dashContainer.dashed;&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  selected=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">dashContainer.dashed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  toggle=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Free</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">click=&quot;dashContainer.dashed = </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">false</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">; dashContainer.snapped = </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">false</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">;&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  selected=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">!dashContainer.snapped &amp;amp;&amp;amp;  !dashContainer.dashed </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanelContainer</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            <span style="background:aqua; ">id</span>=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">dashContainer</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; width=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; height=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  title=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Panel 1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  titleBarHeight=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">30</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#CCCCCC</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:VBox</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#FFFFFF</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Here the content!</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:VBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanel&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  title=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Panel 2</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  titleBarHeight=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">30</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#CCCCCC</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:VBox</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> width=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; height=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#FFF000</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Content 2!</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:VBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanel&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanelContainer&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:Application&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>

<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", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "100%",
		"height", "650",
		"align", "middle",
		"id", "HelloWorld",
		"quality", "high",
		"bgcolor", "#869ca7",
		"name", "HelloWorld",
		"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", "http://www.comtaste.com/pantaste/bin-release/DashedSnappedFree",
			"width", "100%",
			"height", "650",
			"align", "middle",
			"id", "HelloWorld",
			"quality", "high",
			"bgcolor", "#869ca7",
			"name", "HelloWorld",
			"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</a>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="HelloWorld" width="100%" height="650"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="http://www.comtaste.com/pantaste/bin-release/DashedSnappedFree.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#869ca7" />
			<param name="allowScriptAccess" value="sameDomain" />
			<embed src="http://www.comtaste.com/pantaste/bin-release/DashedSnappedFree.swf" quality="high" bgcolor="#869ca7"
				width="100%" height="650" name="HelloWorld" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</noscript>

<ul>
  <li><strong><span style="font-size:16.0pt; ">Tile and Cascade  panels in a container</span></strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">It’s also possible to manual control panels on a container, like tile or  cascade all panels. To do this we need to use the DashLayoutManager, a multiTon  class that maps containers trough container id’s.</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">To use the DashLayoutManager of a specific container you have to  reference to it trough the id:</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">DashLayoutManager.getManager( containerID ).</p>
<p class="MsoListParagraphCxSpLast" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&lt;?xml version=&quot;1.0&quot;  encoding=&quot;utf-8&quot;?&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Application</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> xmlns:mx=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">http://www.adobe.com/2006/mxml</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      layout=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">vertical</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      xmlns:blocks=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">blocks.*</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">&lt;mx:Script&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            &lt;![CDATA[</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">import</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> com.comtaste.pantaste.manager.DashLayoutManager;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">private</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#339966; ">function</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> tile( containerId:String ) : </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">void</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  {</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        DashLayoutManager.getManager(  containerId ).tile( );</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  }</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">private</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#339966; ">function</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> <span style="background:aqua; ">cascade</span>( containerId:String ) : </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">void</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  {</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        DashLayoutManager.getManager(  containerId ).cascade( );</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  }</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            ]]&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">&lt;/mx:Script&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Tile Container 1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;tile(  dashContainer1.id );&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Tile Container 2</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;tile(  dashContainer2.id );&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Spacer</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> width=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Cascade Container 1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;<span style="background:aqua; ">cascade</span>( dashContainer1.id  );&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Cascade Container 2</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;<span style="background:aqua; ">cascade</span>( dashContainer2.id  );&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;blocks:TwoPanels</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> id=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">dashContainer1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;blocks:TwoPanels</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> id=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">dashContainer2</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:Application&gt;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&nbsp;</span>

<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", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "100%",
		"height", "650",
		"align", "middle",
		"id", "HelloWorld",
		"quality", "high",
		"bgcolor", "#869ca7",
		"name", "HelloWorld",
		"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", "http://www.comtaste.com/pantaste/bin-release/TileCascade",
			"width", "100%",
			"height", "650",
			"align", "middle",
			"id", "HelloWorld",
			"quality", "high",
			"bgcolor", "#869ca7",
			"name", "HelloWorld",
			"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</a>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="HelloWorld" width="100%" height="650"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="http://www.comtaste.com/pantaste/bin-release/TileCascade.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#869ca7" />
			<param name="allowScriptAccess" value="sameDomain" />
			<embed src="http://www.comtaste.com/pantaste/bin-release/TileCascade.swf" quality="high" bgcolor="#869ca7"
				width="100%" height="650" name="HelloWorld" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</noscript>

</p>
<ul>
  <li><strong><span style="font-size:16.0pt; ">Manual control  panels ( minimize, maximize, restore )</span></strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">Now let’s see how to control every panel programmatically, to maximize,  minimize and restore its. To do this we have to use the DashPanelEvent class.  So we don’t have any api to control, but we must use events.</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">First define the event:</p>
<ul>
  <li><strong>Maximize:</strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#6699CC; ">var</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> minimizeEvent:<span style="background:aqua; ">DashPanelEvent</span> = </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">new</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> <span style="background:aqua; ">DashPanelEvent</span>( <span style="background:aqua; ">DashPanelEvent</span>.MINIMIZE, myPanel );</span><strong> </strong></p>
<ul>
  <li><strong>Minimize:</strong><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#6699CC; ">var</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> maximizeEvent:<span style="background:aqua; ">DashPanelEvent</span> = </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">new</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> <span style="background:aqua; ">DashPanelEvent</span>( <span style="background:aqua; ">DashPanelEvent</span>.MAXIMIZE, myPanel );</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<ul>
  <li><strong>Restore:</strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#6699CC; ">var</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> restoreEvent:<span style="background:aqua; ">DashPanelEvent</span> = </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">new</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> <span style="background:aqua; ">DashPanelEvent</span>( <span style="background:aqua; ">DashPanelEvent</span>.RESTORE, myPanel );</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">and then dispatch the event:</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.dispatchEvent(  maximizeEvent );</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.dispatchEvent(  maximizeEvent);</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.dispatchEvent(  restoreEvent);</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&nbsp;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="color:#C00000; ">Example:</span></strong></p>
<p class="MsoListParagraphCxSpLast" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&lt;?xml version=&quot;1.0&quot;  encoding=&quot;utf-8&quot;?&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Application</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> xmlns:mx=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">http://www.adobe.com/2006/mxml</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; layout=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">vertical</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; xmlns:components=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">com.comtaste.pantaste.components.*</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">&lt;mx:Script&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            &lt;![CDATA[</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">import</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> com.comtaste.pantaste.events.<span style="background:aqua; ">DashPanelEvent</span>;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">private</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#339966; ">function</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> manualMinimize( ) : </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">void</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  {</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#6699CC; ">var</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> minimizeEvent:<span style="background:aqua; ">DashPanelEvent</span> = </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">new</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> <span style="background:aqua; ">DashPanelEvent</span>( <span style="background:aqua; ">DashPanelEvent</span>.MINIMIZE, myPanel );</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        myPanel.dispatchEvent(  minimizeEvent );</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  }</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">private</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#339966; ">function</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> manualMaximize( ) : </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">void</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  {</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#6699CC; ">var</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> maximizeEvent:<span style="background:aqua; ">DashPanelEvent</span> = </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">new</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> <span style="background:aqua; ">DashPanelEvent</span>( <span style="background:aqua; ">DashPanelEvent</span>.MAXIMIZE, myPanel );</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        myPanel.dispatchEvent(  maximizeEvent );</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  }</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">private</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#339966; ">function</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> manualRestore( ) : </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">void</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  {</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#6699CC; ">var</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> restoreEvent:<span style="background:aqua; ">DashPanelEvent</span> = </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">new</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> <span style="background:aqua; ">DashPanelEvent</span>( <span style="background:aqua; ">DashPanelEvent</span>.RESTORE, myPanel );</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        myPanel.dispatchEvent(  restoreEvent );</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  }</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            ]]&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">&lt;/mx:Script&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Maximize</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;  click=&quot;manualMaximize();&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Minimize</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;manualMinimize();&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Restore</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;manualRestore();&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanelContainer</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> width=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; height=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  id=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">myPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  title=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">My Manual Controlled Panel</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  titleBarHeight=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">30</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#CCCCCC</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:VBox</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#FFFFFF</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Minimize, maximize and restore  me!</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:VBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanel&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanelContainer&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:Application&gt;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&nbsp;</span>

<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", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "100%",
		"height", "650",
		"align", "middle",
		"id", "HelloWorld",
		"quality", "high",
		"bgcolor", "#869ca7",
		"name", "HelloWorld",
		"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", "http://www.comtaste.com/pantaste/bin-release/ManualPanels",
			"width", "100%",
			"height", "650",
			"align", "middle",
			"id", "HelloWorld",
			"quality", "high",
			"bgcolor", "#869ca7",
			"name", "HelloWorld",
			"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</a>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="HelloWorld" width="100%" height="650"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="http://www.comtaste.com/pantaste/bin-release/ManualPanels.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#869ca7" />
			<param name="allowScriptAccess" value="sameDomain" />
			<embed src="http://www.comtaste.com/pantaste/bin-release/ManualPanels.swf" quality="high" bgcolor="#869ca7"
				width="100%" height="650" name="HelloWorld" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</noscript>

</p>
<ul>
  <li><strong><span style="font-size:16.0pt; ">Listen containers  change</span></strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">The Pantaste dash container ( DashPanelContainer class ), propagate an  event to inform you that something happened. Information that you can obtain is  about panels and this is the type:</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<ul>
  <li>Added to the container</li>
  <li>Removed from the container</li>
  <li>Maximized</li>
  <li>Minimized</li>
  <li>Restored</li>
  <li>Moved</li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">All we have to do is listening on the “pantasteChanged” event defined by  the DashPanelContainerEvent class. This class will provide to us the  changedTypeEvent, the panel caused the change and the container were is placed.</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="color:#C00000; ">Example:</span></strong></p>
<p class="MsoListParagraphCxSpLast" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&lt;?xml version=&quot;1.0&quot;  encoding=&quot;utf-8&quot;?&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Application</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> xmlns:mx=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">http://www.adobe.com/2006/mxml</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; layout=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">vertical</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; xmlns:blocks=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">blocks.*</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">&lt;mx:Script&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            &lt;![CDATA[</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">import</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> com.comtaste.pantaste.events.DashPanelContainerEvent;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">private</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#339966; ">function</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> onPantasteChange( event:DashPanelContainerEvent  ) : </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#0033FF; ">void</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  {</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        infoPanel.text  += </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;\n Panel  &quot;</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> +  event.panel.title + </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot; changed: &quot;</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> + event.changeType + </span><strong><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot; on container &quot;</span></strong><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> + event.pantaste.id;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        infoPanel.verticalScrollPosition  = infoPanel.maxVerticalScrollPosition;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  }</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            ]]&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">&lt;/mx:Script&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:HBox</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> width=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:TextArea</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> width=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; height=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">60</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; id=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">infoPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;blocks:TwoPanels</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> id=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">dashContainer1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; <span style="background:aqua; ">pantasteChanged</span>=&quot;onPantasteChange( event  );&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;blocks:TwoPanels</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> id=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">dashContainer2</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; <span style="background:aqua; ">pantasteChanged</span>=&quot;onPantasteChange( event  );&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:Application&gt;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&nbsp;</span>
  <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", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "100%",
		"height", "650",
		"align", "middle",
		"id", "HelloWorld",
		"quality", "high",
		"bgcolor", "#869ca7",
		"name", "HelloWorld",
		"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", "http://www.comtaste.com/pantaste/bin-release/ListenContainers",
			"width", "100%",
			"height", "650",
			"align", "middle",
			"id", "HelloWorld",
			"quality", "high",
			"bgcolor", "#869ca7",
			"name", "HelloWorld",
			"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</a>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
  </script>
  <noscript>
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="HelloWorld2" width="100%" height="650"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="movie" value="http://www.comtaste.com/pantaste/bin-release/ListenContainers.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#869ca7" />
    <param name="allowScriptAccess" value="sameDomain" />
    <embed src="http://www.comtaste.com/pantaste/bin-release/ListenContainers.swf" quality="high" bgcolor="#869ca7"
				width="100%" height="650" name="HelloWorld" align="middle"
				play="true"
				loop="false"
				allowscriptaccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer"> </embed>
  </object>
  </noscript>
</p>
<ul>
  <li><strong><span style="font-size:16.0pt; ">Apply constraint to  Panels</span></strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">Setting constraint to the panels, let you the ability to control some  default settings:</p>
<ul>
  <li>Closable</li>
  <li>Movable</li>
  <li>Resizable</li>
  <li>Maximizable</li>
  <li>Minimizable</li>
  <li>Always in front</li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">To implement this you can simply set the correspondent property of the  panel.</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="color:#C00000; ">Example:</span></strong></p>
<p class="MsoListParagraphCxSpLast" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&lt;?xml version=&quot;1.0&quot;  encoding=&quot;utf-8&quot;?&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Application</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> xmlns:mx=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">http://www.adobe.com/2006/mxml</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; layout=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">vertical</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; xmlns:components=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">com.comtaste.pantaste.components.*</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> toggle=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">minimizable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;myPanel.minimizable =  event.target.selected&quot; selected=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.minimizable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> toggle=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">maximizable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;myPanel.maximizable =  event.target.selected&quot; selected=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.maximizable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> toggle=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">resizable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;myPanel.resizable =  event.target.selected&quot; selected=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.resizable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> toggle=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">closable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;myPanel.closable =  event.target.selected&quot; selected=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.closable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> toggle=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">draggable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;myPanel.draggable =  event.target.selected&quot; selected=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.draggable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> toggle=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">always in front</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;myPanel.alwaysInFront =  event.target.selected&quot; selected=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.alwaysInFront</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanelContainer</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> width=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; height=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  <span style="background:aqua; ">id</span>=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">myPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  title=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">My Panel</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  titleBarHeight=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">30</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#CCCCCC</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:VBox</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#FFFFFF</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">{<strong>'minimizable:'</strong></span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> + myPanel.minimizable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">maximizable: {</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.maximizable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">resizable: {</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.resizable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">closable: {</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.closable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">draggable: {</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.draggable</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">always in front: {</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">myPanel.alwaysInFront</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:VBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanel&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanelContainer&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:Application&gt;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&nbsp;</span>

<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", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "100%",
		"height", "650",
		"align", "middle",
		"id", "HelloWorld",
		"quality", "high",
		"bgcolor", "#869ca7",
		"name", "HelloWorld",
		"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", "http://www.comtaste.com/pantaste/bin-release/PanelConstraint",
			"width", "100%",
			"height", "650",
			"align", "middle",
			"id", "HelloWorld",
			"quality", "high",
			"bgcolor", "#869ca7",
			"name", "HelloWorld",
			"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</a>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
</script>
<noscript>
  	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="HelloWorld" width="100%" height="650"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="http://www.comtaste.com/pantaste/bin-release/PanelConstraint.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#869ca7" />
			<param name="allowScriptAccess" value="sameDomain" />
			<embed src="http://www.comtaste.com/pantaste/bin-release/PanelConstraint.swf" quality="high" bgcolor="#869ca7"
				width="100%" height="650" name="HelloWorld" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</noscript>


</p>
<ul>
  <li><strong><span style="font-size:16.0pt; ">Styling panels</span></strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">To style the pantaste components you need to use styles. So create a  style.css file and include into your application:</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:Courier; font-size:10.0pt; ">&lt;mx:Style source=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">/assets/style.css</span><span style="font-family:Courier; font-size:10.0pt; ">&quot; /&gt;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:Courier; font-size:10.0pt; ">&nbsp;</span></p>
<ul>
  <li><strong>Styling the DashPanel by the global  class implementing the backgroundImage:</strong></li>
</ul>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:fuchsia; ">DashPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">background-image</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">: </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Panel_smallBase&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">background-size</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">: </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;100%&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">}</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&nbsp;</span></p>
<ul>
  <li><strong>Styling the controll buttons:</strong></li>
</ul>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:fuchsia; ">.minimizeButton</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">upSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_UpMin&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">overSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_OverMin&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">downSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_DownMin&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">disabledSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_DisabledMin&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; ">&nbsp;</span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:fuchsia; ">.maximizeButton</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">upSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_UpMax&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">overSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_OverMax&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">downSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_DownMax&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">disabledSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_DisabledMax&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; ">&nbsp;</span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:fuchsia; ">.restoreButton</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">upSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_UpMax&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">overSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_OverMax&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">downSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_DownMax&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">disabledSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_DisabledMax&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; ">&nbsp;</span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:fuchsia; ">.dockedButton</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">upSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_PanelUp&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">overSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_PanelOver&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">downSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_PanelDown&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">disabledSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_PanelDisabled&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; ">&nbsp;</span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:fuchsia; ">.closeButton</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">upSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_CloseUp&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">overSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_CloseOver&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">downSkin</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">:      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">Embed</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">(</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">source=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;assets/FlexSkin_FOB.swf&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">,</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; "> symbol=</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">&quot;Button_CloseDown&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">);</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">}</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; ">&nbsp;</span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:fuchsia; ">.titleBarText</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">{</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">fontWeight</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">: </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">bold</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#330099; ">color</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">: </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#3333CC; ">#555555</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">}</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&nbsp;</span></p>
<ul>
  <li><strong>Setting icon properties:</strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">Setting  the icon image:</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">icon='@Embed(source=&quot;assets/FlexSkin_FOB.swf&quot;,  symbol=&quot;Icon_music&quot;)'</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">Also  you can set the x nad y offset position, if you want to change it:</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">iconXOffset=&quot;-8&quot;  iconYOffset=&quot;-8&quot;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<ul>
  <li><strong>Control the title bar:</strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">You  can set  the height of the title bar and  if you want to show the title:</p>

<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">showTitleText=&quot;false&quot; </p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">titleBarHeight=&quot;35&quot;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-top:0cm;margin-right:0cm;margin-bottom:.0001pt;margin-left:35.4pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="color:#C00000; ">Example:</span></strong></p>
<p class="MsoListParagraphCxSpLast" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="color:#C00000; ">&nbsp;</span></strong></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&lt;?xml version=&quot;1.0&quot;  encoding=&quot;utf-8&quot;?&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Application</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> xmlns:mx=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">http://www.adobe.com/2006/mxml</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; layout=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">vertical</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; xmlns:components=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">com.comtaste.pantaste.components.*</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">&lt;mx:Style</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> source=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">/assets/style.css</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:#006633; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanelContainer</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> width=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; height=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  title=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Styled panel</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; showTitleText=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">true</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; titleBarHeight=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">35</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  iconXOffset=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">-8</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; iconYOffset=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">-8</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  icon='</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">@Embed(source=&quot;assets/FlexSkin_FOB.swf&quot;,  symbol=&quot;Icon_travel&quot;)</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">' </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanel&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanelContainer&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:Application&gt;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&nbsp;</span>

<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", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "100%",
		"height", "650",
		"align", "middle",
		"id", "HelloWorld",
		"quality", "high",
		"bgcolor", "#869ca7",
		"name", "HelloWorld",
		"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", "http://www.comtaste.com/pantaste/bin-release/StylingPanels",
			"width", "100%",
			"height", "650",
			"align", "middle",
			"id", "HelloWorld",
			"quality", "high",
			"bgcolor", "#869ca7",
			"name", "HelloWorld",
			"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</a>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
</script>
<noscript>
  	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="HelloWorld" width="100%" height="650"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="http://www.comtaste.com/pantaste/bin-release/StylingPanels.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#869ca7" />
			<param name="allowScriptAccess" value="sameDomain" />
			<embed src="http://www.comtaste.com/pantaste/bin-release/StylingPanels.swf" quality="high" bgcolor="#869ca7"
				width="100%" height="650" name="HelloWorld" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</noscript>

</p>
<ul>
  <li><strong><span style="font-size:16.0pt; ">Freeze panels</span></strong></li>
</ul>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="font-size:16.0pt; ">&nbsp;</span></strong></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">An interesting feature of pantaste is that you can freeze panel, showing  a loader  progress bar, and remove it  when you want. </p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">Simple you must call myPanel.startLoad(  ) to freeze and show the progress bar and  myPanel.stopLoad( ) to hide the progressbar and defreeze.</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong><span style="color:#C00000; ">Example:</span></strong></p>
<p class="MsoListParagraphCxSpLast" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&lt;?xml version=&quot;1.0&quot;  encoding=&quot;utf-8&quot;?&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Application</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      xmlns:mx=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">http://www.adobe.com/2006/mxml</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">xmlns:components=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">com.comtaste.pantaste.components.*</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">layout=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">vertical</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Start</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;myPanel.<span style="background:aqua; ">startLoad</span>( );&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Button</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> label=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Stop</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; click=&quot;myPanel.stopLoad( );&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:HBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanelContainer</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> width=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; height=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">100%</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;components:DashPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  id=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">myPanel</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  title=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Freeze and defreeze</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  titleBarHeight=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">30</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#CCCCCC</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:VBox</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundAlpha=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">1</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        backgroundColor=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">#FFFFFF</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                        </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;mx:Label</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; "> text=&quot;</span><span style="font-family:'Courier New'; font-size:10.0pt; color:#990000; ">Loader panel!</span><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">&quot; </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">/&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:VBox&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">                  </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanel&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">            </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/components:DashPanelContainer&gt;</span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:black; ">      </span><span style="font-family:'Courier New'; font-size:10.0pt; "> </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><span style="font-family:'Courier New'; font-size:10.0pt; color:blue; ">&lt;/mx:Application&gt;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;"><strong>&nbsp;</strong>

<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", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "100%",
		"height", "650",
		"align", "middle",
		"id", "HelloWorld",
		"quality", "high",
		"bgcolor", "#869ca7",
		"name", "HelloWorld",
		"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", "http://www.comtaste.com/pantaste/bin-release/FreezePanel",
			"width", "100%",
			"height", "650",
			"align", "middle",
			"id", "HelloWorld",
			"quality", "high",
			"bgcolor", "#869ca7",
			"name", "HelloWorld",
			"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</a>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
</script>
<noscript>
  	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="HelloWorld" width="100%" height="650"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="http://www.comtaste.com/pantaste/bin-release/FreezePanel.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#869ca7" />
			<param name="allowScriptAccess" value="sameDomain" />
			<embed src="http://www.comtaste.com/pantaste/bin-release/FreezePanel.swf" quality="high" bgcolor="#869ca7"
				width="100%" height="650" name="HelloWorld" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</noscript>

</p>
<p class="MsoListParagraphCxSpLast" style="margin:0cm;margin-bottom:.0001pt;line-height:normal;text-autospace:none;">&nbsp;</p>
]]>
      
   </content>
</entry>
<entry>
   <title>Adobe Flash Catalyst:  States concept</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2009/06/adobe_flash_catalyst_states_co_1.html" />
   <id>tag:blog.comtaste.com,2009://1.95</id>
   
   <published>2009-06-08T11:23:06Z</published>
   <updated>2009-06-08T11:37:39Z</updated>
   
   <summary>In Adobe Flash Catalyst the states concept is really important but a little bit hard to understand immediately, let’s try to catch the sense of it together. With this new Adobe tool for designer, working on Rich Interactive Applications will...</summary>
   <author>
      <name>Kira Garfagnoli </name>
      <uri>http://www.comtaste.com</uri>
   </author>
         <category term="Creative" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="193" label="Adobe Flash Catalyst" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="195" label="Flex Gumbo" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="146" label="Flex skin" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="128" label="interface design" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="129" label="RIA" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[In Adobe Flash Catalyst the <em>states</em> concept is really important but a little bit hard to understand immediately, let’s try to catch the sense of it together.

With this new Adobe tool for designer, working on Rich Interactive Applications will be a lot easier and the cooperation with developers will be as close as it has never been before. The software interface is not the final one, the version available now is a beta, but still we can use many functionalities.  Flash Catalyst is different from other Adobe design tools, maybe who use Flash will be familiar with the general approach.

The <em>states</em> in Flash Catalyst are referred to Pages and to elements inside a page and they represent different views of the application. We navigate between different <em>states</em> but in the same way they can be referred also to a component, for instance a button has <em>state</em> such as Up, Over, Down, and Disabled.

In the interface the right side is dedicated to tools and panels as Libraries, Layers and Properties, up to the stage there are indications about pages, components and <em>states</em>.

<img alt="Catalystimg1.gif" src="http://blog.comtaste.com/Catalystimg1.gif" width="460" height="333" />

I created a very simple application as an example that has two pages Start and End, where you can click on a button “click here” to switch to different <em>states</em>/pages.

<img alt="Catalystimg2.gif" src="http://blog.comtaste.com/Catalystimg2.gif" width="460" height="330" />
 
In Flash Catalyst interface you can find the <em>states</em> also on the left side of the Timeline. Here you find the <em>States transitions</em> panel, remember that in this tools transitions are taken as separate parts of the entire navigation, this means that you must put properties thinking of a "round trip".

<img alt="Catalystimg3.gif" src="http://blog.comtaste.com/Catalystimg3.gif" width="460" height="169" />

When you double click on components their <em>states</em> are displayed on the same part where the pages/elements are and this can be a little bit tricky, maybe the component <em>state </em>should be represented in a different way, graphically speaking.  Anyway as in Flash, we can always go back to the previous element using the menu up on the left side of the stage.

<img alt="Catalystimg4.gif" src="http://blog.comtaste.com/Catalystimg4.gif" width="460" height="234" />

We can say that the <em>states</em> represent the condition/status of pages and components, more generally the concept indicate what an element is doing before and when users interact with it.

]]>
      
   </content>
</entry>
<entry>
   <title>How to create a custom tooltip in Flex</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2009/05/how_to_create_a_custom_tooltip_1.html" />
   <id>tag:blog.comtaste.com,2009://1.94</id>
   
   <published>2009-05-15T16:38:08Z</published>
   <updated>2009-05-18T08:29:05Z</updated>
   
   <summary>When you want to assign a tooltip to a UIComponent, you simply set the variable &quot;tooltip&quot; to a custom String. You don&apos;t have many chances to customize it, except from the string itself. On the contrary you can use the...</summary>
   <author>
      <name>Emanuele Tatti</name>
      <uri>http://www.comtaste.com</uri>
   </author>
   
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[When you want to assign a tooltip to a UIComponent, you simply set the variable "tooltip" to a custom String. You don't have many chances to customize it, except from the string itself. On the contrary you can use the ToolTipManager to customize tooltips for your entire application; this class has properties such as <code>hideDelay/showDelay</code>, 	<code>hideEffect/showEffect</code> and <code>toolTipClass</code>, with which you can change the UI for all your tooltips; the ToolTipManager lets you create and destroy tooltips progamatically also with the two methods <code>createToolTip</code> and <code>destroyToolTip</code>.
In this post I want to show you how to customize a tooltip in a specified view only, without interfere with the rest of your application. You can use two strategies:
- manage the popup by yourself, creating/destroying it and let it interact with the mouse events
- use the tooltip manager 
We are going to explore the latter.
The UIComponent class dispatches some tooltip related events:

- <code>toolTipCreate</code> Dispatched by the component when it is time to create a ToolTip. UIComponent 
- <code>toolTipEnd</code> Dispatched by the component when its ToolTip has been hidden and will be discarded soon. UIComponent 
- <code>toolTipHide</code> Dispatched by the component when its ToolTip is about to be hidden. UIComponent 
- <code>toolTipShow</code> Dispatched by the component when its ToolTip is about to be shown. UIComponent 
- <code>toolTipShown</code> Dispatched by the component when its ToolTip has been shown. UIComponent 
- <code>toolTipStart</code> Dispatched by a component whose toolTip property is set, as soon as the user moves the mouse over it.

The first one is dispatched before the effective creation of the tooltip. This event has a writable property called <code>toolTip</code> that can be used to specify a custom class to be created in place of the standard one (that is the class specified in ToolTipManager.toolTipClass).
You have to implements the IToolTip interface that has two properties:

- <code>screen</code> : Rectangle
- <code>text</code> : String 

You get the <code>screen</code> property extending the <code>UIComponent</code> class, so you have to implement only a setter/getter for <code>text</code>.
Actually using this property is not necessary, let's see an example:

<code>
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:local="*"&gt;
	
	&nbsp;&lt;mx:Script&gt;
		&nbsp;&nbsp;&lt;![CDATA[
			&nbsp;&nbsp;&nbsp;import mx.core.IToolTip;
			&nbsp;&nbsp;&nbsp;import mx.events.ToolTipEvent;
			
			&nbsp;&nbsp;&nbsp;private function toolTipCreateHandler(event:ToolTipEvent):void
			&nbsp;&nbsp;&nbsp;{
			&nbsp;&nbsp;&nbsp;&nbsp;	var tooltip:IToolTip = new CustomToolTip();
			&nbsp;&nbsp;&nbsp;&nbsp;	tooltip.width = 200;
			&nbsp;&nbsp;&nbsp;&nbsp;	tooltip.height = 100;
			&nbsp;&nbsp;&nbsp;&nbsp;	event.toolTip = tooltip;
			&nbsp;&nbsp;&nbsp;}
			
		&nbsp;&nbsp;]]&gt;
	&nbsp;&lt;/mx:Script&gt;
	
	&nbsp;&lt;mx:Button label="ToolTip example" toolTip=" " toolTipCreate="toolTipCreateHandler(event)" /&gt;
	
&lt;/mx:Application&gt;
</code>

and the tooltip class
<code>
package
{
	&nbsp;import mx.containers.Canvas;
	&nbsp;import mx.controls.Label;
	&nbsp;import mx.core.IToolTip;

	&nbsp;public class CustomToolTip extends Canvas implements IToolTip
	&nbsp;{
		
	&nbsp;&nbsp;	private var helloWorld:Label;
			
	&nbsp;&nbsp;	public function CustomToolTip()
	&nbsp;&nbsp;	{
	&nbsp;&nbsp;&nbsp;		setStyle("backgroundColor", 0xffffff);
	&nbsp;&nbsp;	}

		
	&nbsp;&nbsp;	override protected function createChildren():void
	&nbsp;&nbsp;	{
	&nbsp;&nbsp;&nbsp;		if(!helloWorld)
	&nbsp;&nbsp;&nbsp;		{
	&nbsp;&nbsp;&nbsp;&nbsp;			helloWorld = new Label();
	&nbsp;&nbsp;&nbsp;&nbsp;			helloWorld.text = "Hello world";
	&nbsp;&nbsp;&nbsp;&nbsp;			addChild(helloWorld);
	&nbsp;&nbsp;&nbsp;		}
	&nbsp;&nbsp;	}
		
	&nbsp;&nbsp;	public function get text():String
	&nbsp;&nbsp;	{
	&nbsp;&nbsp;&nbsp;		return null;
	&nbsp;&nbsp;	}
	
		
	&nbsp;&nbsp;	public function set text(value:String):void
	&nbsp;&nbsp;	{
	&nbsp;&nbsp;	}
	&nbsp;}
}
</code>

As you can see we are not using the text property of the ITooltip interface, but it's important to note that we have to set <code>tooltip</code> to something different than null or empty string otherwise the TooltipManager will not be activated.


<img alt="customtooltip.png" src="http://blog.comtaste.com/customtooltip.png" width="358" height="169" />
]]>
      
   </content>
</entry>
<entry>
   <title>Weborb .NET: a simple example</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2009/05/weborb_net_a_simple_example.html" />
   <id>tag:blog.comtaste.com,2009://1.93</id>
   
   <published>2009-05-05T08:07:03Z</published>
   <updated>2009-05-05T13:57:34Z</updated>
   
   <summary>In my last post I showed you how to install Weborb .Net connector, now I&apos;d like to build a little example using this technology: we will create an object from the server side and send it to the client. It&apos;s...</summary>
   <author>
      <name>Luca Florido</name>
      <uri>http://www.comtaste.com</uri>
   </author>
         <category term="Flex" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="191" label=".NET" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="3" label="flex 3" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="182" label="weborb" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[In my last post I showed you how to install Weborb .Net connector, now I'd like to build a little example using this technology: we will create an object from the server side and send it to the client. It's a very simple example but I think it is the better way to understand the most important functionality of Weborb.
For this example we will use IIS 6.0 and .NET 2.0  for the server side, while for the client we use a simple Flex 3 application.

The server side classes that we build for this project are:
<code>
Person.vb
DBManage.vb
DBDelegate.vb
</code>

Person class is made by three attributes: idPerson (numeric), name (String) and surname (String). This class is the VO (value object) that we want to manage both in the server and  in the client side, so we have to build an ActionScript Class which references the service side class from the client.
The DBManage class has the methods to manage the persistence of data and it will be the remote object called by our flex client, through a Remote Object.

Here is the code of the class:
<code>
&lt;Serializable()&gt; Public Class Person
    Public idPerson As Integer
    Public name As String
    Public surname As String
End Class
</code>

<code>
Public Class DBManage
       Function tryPerson() As Person
           Dim p As Person
           p = New Person()
           p.idPerson = 1
           p.name = "Mario"
           p.surname = "Rossi"
           Return p
      End Function
End Class
</code>

<code>
Public Class DBDelegate
     Public Function tryPersonWebOrb() As Person
         Dim db As DBManage
         db = New DBManage()
         Return db.tryPerson()
     End Function
End Class
</code>

with these classes we can create a small DLL file, called weborbTrial.dll.

Before building the client we have to configure the Virtual Directory in IIS in which we will install the Weborb classes  and also the client application. So we have to create a virtual directory in our IIS with permission of write and read. For information on how to install Weborb in this Directory you can see my last <a href="http://blog.comtaste.com/2009/03/weborbnet_platform_for_flex_cl_1.html">post</a>.

After the installation we can  carry on building the client application. First of all we have to copy   into the subdirectory “bin” of our Weborb directory  the weborbTrial.dll file. After we can start to create a new Flex Project. Open your Flex Builder and create a new Project. In the first screen insert the name of the Project, select the Flex Checkbox and choose the ASP.NET server configuration and click Next.

<img alt="flexNewProject.JPG" src="http://blog.comtaste.com/flexNewProject.JPG" width="640" height="606" />
 
In the second screen in the web application  Run field insert the URL of our virtual directory and the field below insert the locale directory of the application; then in the last field insert the bin-debug directory of the application. Click finish and the project is created.

<img alt="Inizio2.JPG" src="http://blog.comtaste.com/Inizio2.JPG" width="640" height="606" />

Before starting to write the client application, open the properties of our project and in the compiler section add this line: <em>-services [ourDirectory]\WEB-INF\services-config.xml</em>. 

First of all we have to create the VO ActionScript class, corresponding to Person.java:
 <code>
       package vo
        {
        import mx.collections.ArrayCollection;
        
        [Bindable]
        [RemoteClass(alias="weborbTrial.Person")]
        public class Person
        {
          public function Person(){}
        
          public var idPerson:Number;
        
          public var name:String;
        
          public var surname:String;
        }
      }
</code>

Now we can create our client. For this example we use a simple button for call the method of the remote object defined in the Application. If the connection with the server works in the right way, we should see in the Panel the object created by the server class.
<code>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
<br>&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot;&gt;
<br>	&lt;mx:Script&gt;
<br>		&lt;![CDATA[
<br>			import vo.Person;
<br>			import mx.collections.ArrayCollection;
<br>			import mx.rpc.events.FaultEvent;
<br>			import mx.controls.Alert;
<br>			import mx.rpc.events.ResultEvent;
<br>			//Result Event of the Remote Object
<br>			private function exec(event:ResultEvent):void{
<br>				var p:Person = new Person;
<br>				p= event.result as Person;
<br>			    Name.text = p.name;
<br>			    Surname.text = p.surname;	
<br>			}
<br>			//Fault Event of the Remote Object
<br>			private function fault(event:FaultEvent):void{
<br>			    Alert.show(event.message.toString());
<br>			    
<br>			}
<br>			private function addPerson():void{
<br>				
<br>				exampleService.tryPersonWebOrb();
<br>			}
<br>		]]&gt;
<br>	&lt;/mx:Script&gt;
<br>	&lt;mx:VBox width=&quot;100%&quot; height=&quot;100%&quot; verticalAlign=&quot;middle&quot; horizontalAlign=&quot;center&quot;&gt;
<br>		&lt;mx:Panel title=&quot;Weborb .NET Example&quot;&gt;
<br>					
<br>			&lt;mx:Form width=&quot;20%&quot; height=&quot;40%&quot; paddingBottom=&quot;30&quot; paddingLeft=&quot;30&quot; paddingRight=&quot;30&quot; paddingTop=&quot;30&quot;&gt;
<br>		   
<br>		   		&lt;mx:FormItem label=&quot;Name&quot;&gt;
<br>		   				&lt;mx:TextInput id=&quot;Name&quot;   /&gt;
<br>		   		&lt;/mx:FormItem&gt;
<br>		   		&lt;mx:FormItem label=&quot;Surname&quot;&gt;
<br>		   				&lt;mx:TextInput id=&quot;Surname&quot;   /&gt;
<br>		   		&lt;/mx:FormItem&gt;
<br>		   
<br>		    &lt;/mx:Form&gt;
<br>			
<br>		&lt;/mx:Panel&gt;
<br>		
<br>		&lt;mx:Button click=&quot;addPerson()&quot; label=&quot;Pick a Person from .NET Server&quot;/&gt;	
<br>	&lt;/mx:VBox&gt;
<br>	
<br>	&lt;mx:RemoteObject id=&quot;exampleService&quot; destination=&quot;GenericDestination&quot; source=&quot;weborbTrial.DBDelegate&quot; fault=&quot;fault(event)&quot;&gt;
<br>        &lt;mx:method name=&quot;tryPersonWebOrb&quot; result=&quot;exec(event)&quot; /&gt;
<br>    &lt;/mx:RemoteObject&gt;	
<br>&lt;/mx:Application&gt;
</code>

It is important to focus our attention on the definition of the remote object. This object is connecting to server by a default destination and channel defined in the remote-config.xml file, but it is possible to create our destination and channel and we can also define the source in the destination's property in the remote-config.xml file.  

It's no hard to see that the our client application could work well also with a different server backend, with only minor changes to the configuration parameters.

Enjoy yourself with Weborb!
]]>
      
   </content>
</entry>
<entry>
   <title>Multiple field filtering with ArrayCollection</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2009/04/multiple_field_filtering_with_1.html" />
   <id>tag:blog.comtaste.com,2009://1.92</id>
   
   <published>2009-04-27T08:07:57Z</published>
   <updated>2009-04-27T13:14:44Z</updated>
   
   <summary>The flex class ActionScript has a very useful method, filterFunction, that allows to pass as a parameter another function, to be applied as a filter for the data. The filter is effectively applied only after we invoke refresh() on the...</summary>
   <author>
      <name>Constantin Moldovanu</name>
      <uri>http://www.comtaste.com</uri>
   </author>
         <category term="Flex" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="16" label="flex" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[The flex class ActionScript has a very useful method, <em>filterFunction</em>, that allows to pass as a parameter another function, to be applied as a filter for the data. The filter is effectively applied only after we invoke <em>refresh()</em> on the ArrayCollection. The result is well known: the collection will only show those items that match the filter function, while all elements, filtered or not, can be accessed from the <em>list</em> or <em>source</em> properties of the collection.

Suppose we have a collection of objects with many properties, and we want to filter on a few properties at a time, not always the same. For example we could have the class AirplaneReservation, with a subset of the properties similar to:
<code>
	public var firstName:String;
	public var lastName:String;
	public var gender:Number;
	public var reservationDate:Date;
	public var destination:String;
	public var departure:String;
	public var seat:String;
	public var menuType:Number;
</code>

and we want to filter on whatever combination of properties, using a Form component to display them all to the user.

We could create as many filter functions as our use cases, which can be a lot to handle, or we could use different approaches, tweaking the flex framework to our needs. Rotundu made a post about multiple field filtering, that can be found <a href="http://blog.rotundu.eu/flex/arraycollection-with-multiple-filter-functions/">here</a>, by extending the ActionScript class and adding an array of filter functions, to be eventually applied as a single one.

The approach illustrated here is similar, in that it uses many filter functions, but different in that it does not extend ArrayCollection and associates a filter function with a field of our collection object.

We can create the Form component, with input fields for every filter (TextInput, NumericStepper and so on) and, on the <em>change</em> event, call a single function:
<code>
&lt;mx:TextInput id="firstName" change="applyFilter('firstName', firstName.text)" /&gt;
</code>

In most of the cases we can use a single <em>applyFilter()</em> function, that receives in input the name of the property to be filtered and its value. This function will then create an ad hoc filter function and apply it to our collection. We will make use of a Dictionary to associate a field with its filter function:
<code>
private function applyFilter(field:String, value:*):void {
	var f:Function;
	if ((value == null) || (value.length == 0))
		f = null;
	else {
		f = function(item:Object):Boolean {
			if ((item == null) || !item.hasOwnProperty(field))
				return false;
			
			if (item[field] is Boolean)
				return Boolean(item[field]) == value;
			if (item[field] is Number)
				return Number(item[field]) == value; 
			if (item[field] is String)
				return String(item[field]).localeCompare(value) == 0;
			if (item[field] is Date)
				return Date(item[field]).time == Date(value).time;
			// any other object:
			return item[field] == value;
		};
	}
	
	_filterFunctions[field] = f;
	
	_collection.filterFunction = multipleFilter;
	_collection.refresh();
}
</code>

This will create a filter function for the field received in input, store it in the Dictionary so that it will be available for <em>multipleFilter()</em>:
<code>
private function multipleFilter(item:Object):Boolean {
	for (var key:Object in _filterFunctions) {
		var f:Function = _filterFunctions[key];
		if ((f != null) && !f(item))
			return false;
	}
	
	return true;
}
</code>

We can now filter as many fields as we want, at the same time, using these two functions only. The applyFilter function can easily be adapted to custom business objects, by means of object polymorphism and interfaces (Java’s <a href="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html">Comparable</a> is a good example).
]]>
      
   </content>
</entry>
<entry>
   <title>Rich Interactive Applications restyling: A matter of usability</title>
   <link rel="alternate" type="text/html" href="http://blog.comtaste.com/2009/04/rich_interactive_applications.html" />
   <id>tag:blog.comtaste.com,2009://1.91</id>
   
   <published>2009-04-17T11:56:07Z</published>
   <updated>2009-04-17T12:22:15Z</updated>
   
   <summary>When you have to plan a Rich Internet Application from the start it’s quite easy, i mean that you have the freedom to follow the right workflow in order to guarantee your clients the best results. You can think about...</summary>
   <author>
      <name>Kira Garfagnoli </name>
      <uri>http://www.comtaste.com</uri>
   </author>
         <category term="Creative" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="142" label="Adobe Illustrator" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="3" label="flex 3" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="146" label="Flex skin" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="128" label="interface design" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="129" label="RIA" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blog.comtaste.com/">
      <![CDATA[When you have to plan a Rich Internet Application from the start it’s quite easy, i mean that you have the freedom to follow the right workflow in order to guarantee your clients the best results. You can think about target, markets, you can plan the navigation and design the interface taking care of every important rules, but what happen when you find yourself in front an already made application and someone ask you to do the restyling?

Most of the time talking with clients it’s not so simple to make them understand that <strong>a very important part</strong> of an application is <strong>usability</strong>, that is not only a matter of “this or that color, this or that icon”, so in those cases we must work hard doing our best to get a good compromise between “the best and the worst”.

When we look to an application that we haven’t planned, the first thing is to see how the navigation works and what this application is supposed to do, how it is the interaction with the end users, if it’s handy or complicated to follow, then we can start to find some solutions to fix the problems about usability and, at the same time, we should give some advices about the look and feel of the entire application.

If there is enough time before the final deploy we can create graphical skins for components using Adobe Illustrator, Flash or Fireworks or we can change styles of component using CSS approach in Flex. This is the best choice if there is no time to create graphics and there are even good links to help us when we are in a hurry:)

The <a href="http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#">CSS style explorer of Adobe Flex</a> is a big help when you want to be fast, it shows in real time how the style of a component can change and, after you have defined your own style, it is possible to copy and paste the code in your application

<img alt="img1.gif" src="http://blog.comtaste.com/creative/img1.gif" width="460" height="223" />

<img alt="img2.gif" src="http://blog.comtaste.com/creative/img2.gif" width="460" height="337" />

The same thing happen with the <a href="http://examples.adobe.com/flex3/componentexplorer/explorer.html">Components explorer</a>, here we can see how most of the standard components we use in our RIAs are made

<img alt="img3.gif" src="http://blog.comtaste.com/creative/img3.gif" width="460" height="269" />

<img alt="img4.gif" src="http://blog.comtaste.com/creative/img4.gif" width="460" height="278" />

The difficult thing being a user interface designer or a designer in general, is to make people understand that our job is made of different parts, that we take care of some practical aspects not only of “esthetic”. We design, but first of all we follow a process which includes theory before practice.
]]>
      
   </content>
</entry>

</feed>
