Page 1 of 1
Variable watcher not in the Development Menu
Posted: Thu Oct 30, 2008 3:50 pm
by Ron Zellner
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?
Maybe asked the wrong question
Posted: Thu Oct 30, 2008 4:10 pm
by Ron Zellner
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:
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
If it is playing I want it to continue playing, if it is paused I want it to stay paused.
Code solution, still can't display all variables
Posted: Thu Oct 30, 2008 5:36 pm
by Ron Zellner
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
Posted: Sat Nov 01, 2008 12:47 am
by mwieder
Ron- That doesn't sound right, and I just tried this to be sure, and local variables are displaying properly for me in the variable watcher.
Posted: Sat Nov 01, 2008 1:13 am
by Mark
Ron and Mark,
It sounds like a bug.
Mark
Posted: Sat Nov 01, 2008 3:10 am
by mwieder
Well, it should certainly be displaying them. Ron - this is while you're debugging, right? Otherwise there's no context for the local variables...