Hello,

I've just started on my first AS3 project and have already run into a problem. Can someone please tell me why the following code is not working correctly. What's NOT happening is that the mc that is passed to the scalethis function is NOT alpha'ing to 0 and I can't for the life of me understand why.
PHP Code:
package 
{
    
import flash.display.*;
    
import flash.events.*;
    
import fl.transitions.Tween;
    
import fl.transitions.easing.*;
    
import fl.transitions.TweenEvent;
    
    public class 
main extends MovieClip
    
{
        
        public function 
main()
        {
            for (var 
1i<11i++)
            {
                var 
= ["plan"+i];
                
scalethis(p"alpha"01Strong.easeOut);
            }
        }

        public function 
scalethis(mcpropendtimetype):void
        
{
            var 
sT:Tween = new Tween(mcproptypemc[prop], endtimetrue);
        }

        
    }

Any help would be greatly appreciated.

Cheers
Matt