Hi everyone)
Yestrday I've been racking my brains while trying to bug-hunt a tour. It had a container layer at the bottom with some buttons, and this container had to be tweened in slowly and then switched on. I finally got it working both in Flash and html5, but this aroused some questions, so a made a test for this case.
Let's assume, we need to tween a container layer slowly (2 seconds) after the pano was loaded. Here's the link:
http://tours.viewit360.se/develop/bug_re…ontainer_tween/
and full xml
http://tours.viewit360.se/develop/bug_re…_tween/tour.xml
There are three container layers with buttons. Top one has the following settings of alpha/availability:
and action to tween it is:
Center layer has these settings:
and action:
set(layer[background_center].visible, true);tween(layer[background_center].alpha,1,2);delayedcall(2, set(layer[background_center].enabled,true); );
and bottom one has setting
and action:
When I test in chrome on my laptop, all three layers wok fine in Flash. But in html5, only the bottom one becomes enabled.
So I wonder what goes wrong in html5.
Thank you!