Questions about new animation options (1 Viewer)

Bram

Portal Pro
December 12, 2005
851
3
's-Hertogenbosch
Home Country
Netherlands Netherlands
I've played around with the new animation options ( https://forum.team-mediaportal.com/showthread.php?t=2461&page=34&highlight=mayhem ) and have some questions.

I want to ask how to use the zoom option, but read in the changelog Frodo fixed that animation today. So there was a good reason why I didn't get it to work.
That leaves three questions.

- Is it possible to use the "condition" tag, like in XBMC? If yes, how? What are the possible parameters?
- How do I use the "rotate" property? I couldn't get any object to rotate with different 'center' values. It did stretch the objects. Do I misinterpred what this option should do? I wanted to make the basic homescreen menu rotate like in the latest PMIII XBMC skin.
- Is it possible to start an animation on a different control then the one that is focused, onfocus? SO can I make focussing obj A die a zoom on obj B?


All I could find was the XBMC documentation, that helped me partialy. :)
 

Frodo

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,518
    121
    53
    The Netherlands
    Home Country
    Netherlands Netherlands
    - Is it possible to use the "condition" tag, like in XBMC? If yes, how? What are the possible parameters?
    Yes that works, use the same parameters as in XBMC

    - How do I use the "rotate" property? I couldn't get any object to rotate with different 'center' values. It did stretch the objects. Do I misinterpred what this option should do? I wanted to make the basic homescreen menu rotate like in the latest PMIII XBMC skin.
    rotation indeed has a bug which will be fixed soon

    - Is it possible to start an animation on a different control then the one that is focused, onfocus? SO can I make focussing obj A die a zoom on obj B?
    Not yet. you can start an animaition by:
    1) the condition=""
    2) the focus/unfocus event
    3) the visible/hidden/visibilitychange event
    4) the window open/close event
    5) by the <visible> property like:
    <visible>Player.HasMedia</visible>
     
    December 28, 2005
    237
    3
    Sydney
    Home Country
    Srrry im all over the place.... this was my first post . my bad - got confused

    I've been playing around with the new animation option and must say "very nice", plus thanks Frodo and the unseen others for porting it into MP.

    Heres my question.
    I wish to use "condition" when i'm coming form/to some pages.
    i've tryed the code below with both condition="Window.Previous(35)" and condition="Window.Previous(BasicHome)" but i'm not able to get them to work.
    Code:
    	<control>
    	<type>group</type>
    	<description>group element to fade</description>
    	<animation effect="fade" time="2000" condition="Window.Previous(35)|Window.Previous(0)">WindowOpen</animation>
      	<animation effect="fade" time="300" condition="Window.Next(BasicHome)|Window.Next(Home)">WindowClose</animation>	
    		<control>
    			<description>Date</description>
    			<type>label</type>
    			<id>0</id>
    			<posX>660</posX>
    			<posY>618</posY>
    			<label>#date</label>
    			<align>right</align>
    			<font>font13</font>
    			<textcolor>30000000</textcolor>
    		</control>
    ...
    </control>

    Thanks

    Edit
    Is this list of Boolean Conditions aviable in MP too???
    http://www.xboxmediacenter.com/wiki/index.php?title=List_of_Boolean_Conditions
     

    Users who are viewing this thread

    Top Bottom