-
I have some MenuItemImages on my scene and each MenuItemImage has a Sprite and a LabelTTF attached to it as children. MenuItemImages are added to a Menu.
-
I set the opacity of the MenuItemImages by setOpacity(0).
-
Then I run fadeIn action on the MenuItemImages.
On iOS: The MenuItemImages and all their children have 0 opacity in the beginning and do the fadeIn action.
On web: Only the MenuItemImages have 0 opacity, the Sprites and LabelTTFs have full opacity. So the Sprites and LabelTTFs are clearly visible from the beginning and only the parent MenuItemImages do the fadeIn action.
I want to know what is causing this irregularity and also the standard way to achieve the iOS behavior on web.