[flashpro] Fade scripter for objects

Valentijn Langendorff valentijn at multimediaconsult.nl
Fri May 20 07:58:48 EDT 2005


> 
> Hi All,
> 
> I'm trying to fade an object [button] from 100% to 20%
> Within a actionscript...
> What am I doing wrong here!. Ps. Placed in the first frame of a scene x
> 
> 
> function fade(){
>       this._alpha = 100;
>       
>       this.onLoad = function(){
>           if (this._alpha<100 && this._alpha>20){
>               this._alpha -= 5;
>           }
>       }
>       
>       
> }
> buttoninstanceorotherobjects.fade();
> 
> 
> Regards Valentijn
> 
> ______________________________
> 
> ICT Solutions & Design
> 
> Valentijn Langendorff
> E : valentijn at multimediaconsult.nl




More information about the FlashPro mailing list