Joined: July 29th, 2013, 9:13 am Posts: 609
|
Workaround - To restore normal functionality you will have to change the layer visibility to false once the fadeTo has accomplished its task. The xwidget method of doing this is to use a synchronised timeout function:
Code: aboutUsLayer.FadeTo(0,2); // xwidget code to fade the layer in two seconds setTimeout("fadeDone",2000); //the timeout in milliseconds must match the fade measured in seconds.
//function that is called when the fadeout is completed function fadeDone () { aboutUsLayer.visible = false; }
|
|