2011-02-11, 16:24
Hi,
Ok, say i have an animation include set in includes.xml that contains 'WindowOpen', 'WindowClose', 'Visible', and 'Hidden' animations.
Say i then also have an image include in includes.xml that i refer back to from other xml's.
What i'm finding is if i include the animation include set in that image include (as seen in above image code), only the 'WindowOpen' and 'WindowClose' animations work.
To get the 'Visible' and 'Hidden' to work, i also have to have the animation include set coded (in a group containing the image include and the animation include) in the xml i'm working on.
So effectively i have to have the animation set refered to twice, once in includes.xml and again in the xml in working on, to get all 4 animations to work.
I would have thought it would only be needed once on the image include in includes.xml? Is this normal behaviour or a bug?
Cheers
Ok, say i have an animation include set in includes.xml that contains 'WindowOpen', 'WindowClose', 'Visible', and 'Hidden' animations.
PHP Code:
<include name="Animation Test">
<animation type="WindowOpen" >
<effect type="fade" time="300" delay="400" start="0" end="100" />
</animation>
<animation type="Visible" >
<effect type="fade" time="300" delay="300" start="0" end="100" />
</animation>
<animation type="Hidden" >
<effect type="fade" time="300" delay="100" start="100" end="0" />
</animation>
<animation type="WindowClose" >
<effect type="fade" time="300" start="100" end="0" />
</animation>
</include>
Say i then also have an image include in includes.xml that i refer back to from other xml's.
PHP Code:
<include name="Background Test">
<control type="image">
<include>Dimensions Fullscreen</include>
<texture>common/background_bottom.png</texture>
<include>Animation Test</include>
</control>
</include>
What i'm finding is if i include the animation include set in that image include (as seen in above image code), only the 'WindowOpen' and 'WindowClose' animations work.
To get the 'Visible' and 'Hidden' to work, i also have to have the animation include set coded (in a group containing the image include and the animation include) in the xml i'm working on.
PHP Code:
<control type="group">
<include>Background Test</include>
<include>Animation Test</include>
</control>
So effectively i have to have the animation set refered to twice, once in includes.xml and again in the xml in working on, to get all 4 animations to work.
I would have thought it would only be needed once on the image include in includes.xml? Is this normal behaviour or a bug?
Cheers