layerActual=thisLayer;
tiempo=0.5;
if (time>layerActual.inPoint && time < layerActual.outPoint )
{
if (time < layerActual.inPoint+tiempo )
{
linear(time,layerActual.inPoint ,layerActual.inPoint+tiempo,0,100)
}
else if (time>layerActual.outPoint-tiempo )
{
linear(time,layerActual.outPoint-tiempo ,layerActual.outPoint,100,0)
}
else
{
100
}
}
else
{
0
}
