That code works, thanks, but there is an other issue coming out because I have the following other layer in my scene (that if I remember correctly I got in this forum).
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
|
<layer name="reloadbutton"
url="%SWFPATH%/plugins/textfield.swf"
children="false"
vcenter="true"
backgroundcolor="0x000000" backgroundalpha="0.667" roundedge="10" border="false"
shadow="0.1" shadowrange="8" shadowcolor="0xFFFFFF"
css="text-align:center; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:10px;"
html="Reload (without cache)"
align="bottom" width="140" height="22" y="40"
onclick="loadpano(get(xml.url),null,KEEPALL);"
/>
|
which coupled with
|
Source code
|
1
2
3
|
<include url="../progress_loadinganimation.xml" />
<include url="../progress_loadingpercent.xml" />
<include url="../progress_loadingbar.xml" />
|
gives a loading animation.
The problem is that this loading-animation layer disappear... so how would I overlay the cover layer with the animation layer?
(I've messed around with the attributes parent="reloadbutton" and
maskchildren="false" but with no luck)