      */
     public function set creationPolicy(value:String):void
     {
-        if (value == _creationPolicy)
-            return;
-        
-        _creationPolicy = value;
+        if (value == ContainerCreationPolicy.NONE)
+        {
+            // creationPolicy of none is not inherited by descendants.
+            // In this case, set the style to "auto" and set a local
+            // flag for subsequent access to the creationPolicy property.
+            creationPolicyNone = true;
+            value = ContainerCreationPolicy.AUTO;
+        }
+        else
+        {
+            creationPolicyNone = false;
+        }
+        
+        setStyle("_creationPolicy", value);
     }
 
     //--------------------------------------------------------------------------

     */
    public function get creationPolicy():String
    {
        return _creationPolicy;
    }
    
    /**


package spark.components
{
import mx.core.ContainerCreationPolicy;
import mx.core.IDeferredContentOwner;
import mx.core.IDeferredInstance;
import mx.core.IFlexModuleFactory;
import mx.core.IVisualElement;
import mx.core.IVisualElementContainer;
import mx.core.mx_internal;
import mx.events.FlexEvent;
import mx.utils.BitFlagUtil;

import spark.components.supportClasses.SkinnableContainerBase;
import spark.events.ElementExistenceEvent;
import spark.layouts.supportClasses.LayoutBase;

use namespace mx_internal;

