Thanks for your answer.
Setting visibility:hidden is possible unless there is no flash on the box.
Otherwise, the flash is still clickable even the visibility is hidden (flash is always on top) and that is the reason why I need to set it do display:none.
How about just apply the non-tweenable properties at the beginning of the tween? it should work too.
For my best understanding, the current state cannot be checked because the dom is display:none,
so if we set the display:block in the option, and we know the dom is none now, just apply the display:block on the object and get the current state after.
According to the description, we can set display: block property and it will be applied at the beginning of the tween.
TweenLite.to("#div", 0.5, {x: '0%', display: 'block' });
but it doesn't work on my case.
I have to set it before the animation to make this work.
TweenLite.set("#div", { display: 'block' });
TweenLite.to("#div", 0.5, { x: '0%' });
For my best knowledge,
it should be the same as the description - set the display:block at the beginning of the tween.
But why it doesn't work if we make it into one line? but it works if we set the non-tweenable manually first.
Thanks.