             for (i = 0; i < n; i++)
             {
                 target = propChanges[i].target;
+                if (!(target is IStyleClient))
+                    continue;
+                    
                 valueMap = setStartValues ? propChanges[i].start : propChanges[i].end;
                                         
                 // Walk the properties in the target.

                m = relevantStyles.length;
                for (j = 0; j < m; j++)
                {
                    if (relevantStyles[j] in propChanges[i].start)
                        target.setStyle(relevantStyles[j], propChanges[i].start[relevantStyles[j]]);
                }
            }

import mx.effects.effectClasses.PropertyChanges;
import mx.events.EffectEvent;
import mx.managers.LayoutManager;
import mx.styles.IStyleClient;

use namespace mx_internal;

