Thank you for the example. With sound should now be clear - users thought that the sound works immediately after the start. What would enable sound - just press the button.
A gyroscope on the you iPhone 4G normally work? I was told that the iPhone 4G, after enable the gyro hangs.
...<plugin name="gyro"
devices="iphone|ipad"
url="%SWFPATH%/plugins/gyro.js"
keep="true"
enabled="false"
camroll="true"
friction="0.5"
velastic="0.2"
/>...
... <plugin name="showgyro"
devices="iphone|ipad"
style="button iOS"
onloaded="if(isphone,set(scale,2.3);tween(x,0));"
x="-28"
crop="84|0|42|42"
ondowncrop="84|42|42|42"
onclick="action(showgyro);"
visible="true"
keep="true"
/>
<plugin name="hidegyro"
devices="iphone|ipad"
style="button iOS"
onloaded="if(isphone,set(scale,2.3);tween(x,0));"
x="-28"
crop="84|85|42|42"
ondowncrop="84|127|42|42"
onclick="action(hidegyro);"
visible="false"
keep="true"
/> ...
... <action name="showgyro">
set(plugin[showgyro].visible,false);
set(plugin[hidegyro].visible,true);
set(plugin[gyro].enabled,true);
</action>
<action name="hidegyro">
set(plugin[showgyro].visible,true);
set(plugin[hidegyro].visible,false);
set(plugin[gyro].enabled,false);
</action>