|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Problems with Animate() and Z Offset in v7
1) I have a panel with an Image as a child widget. I want to do a FadeOut, switch the image, and then do a FadeIn with the new image. So, I have the following code which worked perfectly in v6:
Code:
Animate("TheImagePanel", "Foreground", "FadeOut", 5000) Refresh() imagefile = "newimage.jpg" Animate("TheImagePanel", "Foreground", "FadeIn", 5000) Refresh() 2) The other problem I'm having is trying to use a scale/zoom effect on a table item with focus (just like that in the Pictures browser). The problem is that the scaled item is drawn behind the other table cells even though I have the Z Offset property of everything set as "=If(Focused,1,0)". Nothing I try will bring the scaled item to the front. Any ideas? Thanks.
__________________
-Craig |
#2
|
||||
|
||||
If any menu in the STV uses the new animation system, then the old layer animation system will be disabled. You can override this in a given menu by adding an attribute named ForceLayerAnimations and setting it to true. That will force the old system to be used for that menu (but the new system will be disabled). If at all possible, you should use the new system. It is far far superior to the old layer system. HTH
Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) Last edited by MeInMaui; 06-08-2010 at 03:04 PM. |
#3
|
|||
|
|||
Thanks, Mike. Adding that attribute doesn't seem to work for me. By the "new system" do you mean the Affects? I can't figure out how to get that to work either. Are these documented somewhere (the Studio manual doesn't seem to be updated)?
__________________
-Craig |
#4
|
||||
|
||||
Hi Craig,
Yes the new system is based on the Effects widgets. You place them as children of the UI widget that you want to animate and set up the trigger and effects through the Effects widget properties dialog. The best thing for now is probably to take a look at the V7 default STV. There are lots of usage examples there. I'm sure Opus4 will update the manual at some point with all that free time he has. Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#5
|
|||
|
|||
Any chance you could take a look at the attached .stvi and tell me what I'm doing wrong? It is a simple menu to test what I was describing. The Animate() calls work fine when I open it as an STV. However, they don't work if imported into STV7 even with the attribute added.
I then tried using effects and I guess I don't quite understand the triggers. Thanks for any help.
__________________
-Craig |
#6
|
||||
|
||||
Hi Craig,
I'll take a look at it tonight. Aloha, Mike Edit: Andy just posted a very good writeup on use of the Effects widgets. http://forums.sagetv.com/forums/show...112#post430112
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#7
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#8
|
||||
|
||||
Hi Craig,
Here are a couple of examples of ways you can achieve those effects using the new effects widgets. I'm sure there are other more elegant ways as well, but this should give you some ideas. Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#9
|
|||
|
|||
Thanks very much for the help, Mike. Do you have any idea why the Attribute to allow the old-style animation is not working?
__________________
-Craig |
#10
|
||||
|
||||
Hi Craig,
Sorry I didn't really look at the old style stuff. It was pretty late last night by the time I got to play. I'll take another look at it as soon as I have the chance. Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#11
|
||||
|
||||
Hi Craig,
The old style animations didn't work because the ForceLayerAnimations attribute has to be a child of the theme for that menu. It can't just be a child of the menu itself. (Sorry, I missed that subtlety before) Once I moved it under your theme widget, the layer based animations worked for fade in and out. There are still some issues with the way you set up the swap animation. Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#12
|
|||
|
|||
It's now working perfectly just like it did in v6. Thanks again, Mike.
__________________
-Craig |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Animate Transitions between Menu Widgets | cracklepopflash | SageTV Studio | 2 | 08-18-2009 01:40 PM |
Why won't it animate cells in table? | PLUCKYHD | SageTV Studio | 18 | 04-27-2009 01:18 PM |
Animate using true / false | Bohica | SageTV Studio | 13 | 04-21-2006 02:21 PM |
PVR250 problem - recordings have minor color offset/alignment problems | Jeraden | Hardware Support | 1 | 10-27-2004 11:31 AM |
UI Offset Settings | trevorst | SageTV Software | 4 | 07-10-2003 01:51 AM |