Variable watcher not in the Development Menu
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 106
- Joined: Wed May 31, 2006 9:56 pm
- Contact:
Variable watcher not in the Development Menu
I've been using Revolution for a long time, recently converted to 3.0- just went to open the Variable Watcher (very handy feature) and the Variable Watcher is not in the Development Menu. The other features all seem to be there. Nothing in the documentation suggests any conditions necessary for this to display.
How do I get this feature back in the Menu display?
How do I get this feature back in the Menu display?
-
- Posts: 106
- Joined: Wed May 31, 2006 9:56 pm
- Contact:
Maybe asked the wrong question
OK, I found the "Variables" Tab on the bottom of the Script Editor- has that replaced the Variable Watcher? (Documentation still references the Development MenuBar) I seem to see only Global Variables there- can it display all variables?
What I am currently trying to determine the status of the various attributes of a video player ("MovieScreen") so that I can test it- I have a scrollbar to control the speed that the movie plays at- but I don't want the movie to play when the scrollbar is changed; that currently happens with the script:
If it is playing I want it to continue playing, if it is paused I want it to stay paused.
What I am currently trying to determine the status of the various attributes of a video player ("MovieScreen") so that I can test it- I have a scrollbar to control the speed that the movie plays at- but I don't want the movie to play when the scrollbar is changed; that currently happens with the script:
Code: Select all
on scrollbarDrag newValue
divide newValue by 100
add .75 to newValue
put newValue into field "PlaySpeed"
set the playRate of player "MovieScreen" to newValue
end scrollbarDrag
Last edited by Ron Zellner on Thu Oct 30, 2008 5:38 pm, edited 1 time in total.
-
- Posts: 106
- Joined: Wed May 31, 2006 9:56 pm
- Contact:
Code solution, still can't display all variables
This seems to do the trick for the player control, but I still can't display the variable watcher- the Variables tab only shows the globals and does not update like the old Variable Watcher did:
Code: Select all
on scrollbarDrag newValue
Put the paused of player "MovieScreen" into WhatIs -- Added this
divide newValue by 100
add .75 to newValue
put newValue into field "PlaySpeed"
set the playRate of player "MovieScreen" to newValue
if WhatIs = "true" then --Added this
play pause videoClip "MovieScreen"
else
play videoClip "MovieScreen"
end if
end scrollbarDrag