Re: Controlling Quicktime frames

2006-03-02 Thread Klaus Major

Buongirono Benjamin,


hello!

I exported a PowerPoint presentation
of an educational slideshow which
I imported to Revolution but I can't
find the proper scripts to
Play the Quicktime frame by frame.

I want to create 3 buttons:
BTN1: Play next frame and stop
BTN2:Play previous frame and Stop
BTN3:Rewind quicktime to frame 1

Have anyone done that? any help?


I have not done this (yet) but you can use Trevor De Vores extermely
wonderful Enhanced QuickTime External to retrieve the necessary
informations to do what Peter T. Evenson kindly suggested :-)

Get it here:
http://www.bluemangolearning.com/developer/revolution/enhancedqt.php

Although it is 1.0.0 b8 it works very fine!

For 1. and 2. you can use:

qtGetMovieFileDuration( )

which returns something like this for a movie:
76800,600 = the number of frames in QT timescale, the QT timescale of  
the movie


And:
qtgettrackframecount( )  = the number of frames in the movie

Then you can calculate the info about how much you will have to add/ 
subtract

to/from the currentTime of player xyz to step frame by frame.

3.
...
set the currentTime of player xyz to 0
## The first frame in a movie = 0
...


Hope that helps.


Thanks!

Ben


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities.

2006-03-02 Thread Chris Sheffield

Chipp,

Congratulations on the new release.  I look forward to checking it out.

Hey, I'm sorry to bother the list with this, but I've been trying to  
get ahold of you with a ButtonGadget issue and haven't been  
successful.  Not sure if my e-mails are not getting to you or yours  
are not getting to me or what.  Could you contact me off-list when  
you have a moment?


Thanks,
Chris


On Feb 28, 2006, at 11:54 PM, Chipp Walters wrote:


Just thought you all would be the first to know!
From the website:
http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm

New promotional pricing available for a limited time.

---
Completely new version of altBrowser for Mac and PC. New features  
include:


• Embed a fully functional browser substack in your current  
application with a single click. No more fussing with libraries as  
the substack is completely self-contained.
• Brand new DEMO tutorial stack walks you through setting up  
altBrowser and it's functions. Also, updates existing externals and  
itself!
• New browser substack streamlined for ease of use and ease of  
customization. The new simplified scripts are documented well and  
easily modified.
• Now, for the first time, altBrowser can have multiple instances—  
each with their own browser ID! You can create your own tabbed  
browser if you like!
• Multiple enhancements and fixes from previous versions of  
altBrowser. No more jumping through hoops to set the external. Mac  
and PC versions are more alike than ever before.

• Mac version now automatically loads PDF and Flash documents.

It will only take 5 minutes to make you a believer in altBrowser2!

Check out our demo stack. It shows you step-by-step how easy it is  
to add a REAL BROWSER to your Rev project. There are demonstrations  
for Flash, PDF, and even an embedded fancy AJAX/Javascript app  
(you'll have to see to believe!;-).


To view the demo, all you have to do is launch Revolution and and  
copy and paste the below script into your message box:


go URL http://www.gadgetplugins.com/altbrowser/ 
altBrowserLauncher.rev


then hit enter. Please be patient while the demo stack loads. Once  
loaded, you may wish to save it. Then just follow the instructions  
and you're on your way to finding out all about the new altBrowser2!


Don't worry, the Demo stack will install all the externals necessary!

---

best,

Chipp

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities.

2006-03-02 Thread Geoff Canyon


On Feb 28, 2006, at 10:54 PM, Chipp Walters wrote:

Check out our demo stack. It shows you step-by-step how easy it is  
to add a REAL BROWSER to your Rev project. There are demonstrations  
for Flash, PDF, and even an embedded fancy AJAX/Javascript app  
(you'll have to see to believe!;-).


My first look wasn't for your embedded app, but Google Maps. It seems  
to work, so I'm satisfied. That's amazing stuff.


gc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Table Inspector

2006-03-02 Thread Gregory Lypny

Hello everyone,

	Why is it that the Table Inspector in the property palette so often  
causes Revolution to freeze?  Makes setting tab stops a real drag.


Gregory
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: strange menu behavior

2006-03-02 Thread Chris Sheffield

Hi Jacque,

Thanks for the suggestions.  Unfortunately the menu group of both  
stacks does have the backgroundBehavior set to true.


I've done a little more investigating and this is what I've found.   
When the second stack first opens, it is not even getting set as the  
topStack or the defaultStack.  So unfortunately your workaround  
doesn't even work.  I've even tried setting it to the defaultStack  
explicitly without success.  I've found that once I click on my File  
menu (just to activate the menu, but not actually click Quit) then  
the topStack and defaultStack are set correctly, which would explain  
why ctrl-Q works at this point.  So there is definitely something  
strange going on.  This behavior occurs both in the Rev IDE and in a  
built standalone.


Can you, or anyone else for that matter, think of any reason why  
topStack and defaultStack would not get set correctly?  What's  
strange is I have another stack that opens the same way and it works  
just fine.  I've compared the properties between the two stacks,  
their menu groups, and even the File button within their menu groups  
to see if anything is different.  Everything is the same other than  
things like the layers of the objects.


Any other ideas?  This one has me stumped, but I figure it's got to  
be something I've done because the other stack does work like I said.


Thanks again,
Chris


On Mar 1, 2006, at 7:53 PM, J. Landman Gay wrote:



Depending on your setup, it might be a message hierarchy thing. On  
Macs, the menubar property of a stack puts the menu into the OS  
menu space and keyboard shortcuts are sent there first. There isn't  
any other menu available, since only one can be active at a time.  
Whatever menu group a stack contains will get first crack at  
keyboard events.


On Windows there is no global menu bar, and the menu functions as a  
group on the card. Keyboard events are sent to the card and, if the  
stack is a substack, the event passes through to the main stack.


If your menu group in the main stack has backgroundBehavior set to  
true, but the menu group on the substack does not, then the main  
stack's menu group would catch the event. Check to see if your  
substack's menu group has backgroundBehavior set to true. If it  
does then maybe you did find a bug.


One workaround would be for your quit handler to check whether the  
mainstack was the topstack, and only quit if it is.




--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table Inspector

2006-03-02 Thread Klaus Major

Hi Gregory,


Hello everyone,

	Why is it that the Table Inspector in the property palette so  
often causes Revolution to freeze?  Makes setting tab stops a real  
drag.


good question, i just experienced that on windows, too.

Had some content in a field and only wanted to add some tabstops,  
selected Table
from the optionbutton (when will be have another choice to select the  
different options
for objects? That optionbuttonis just too unhandy!) and BOOM, Rev  
freezed, I had to forcequit.



Gregory


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transcript and Dot Notation

2006-03-02 Thread Sivakatirswami

And some of us don't know anything *but* xTalk, and  I'm happy i don;'t

dot notation and such... let's be very careful...find a way to do the  
same thing in verbose xTalk and it will live...infect the language  
with obscurity and it will die a slow death from the inside out.


If everyone commented  their code well, maybe we could live with  
obscure syntax.. but...


While extending the range of functionality can be a good thing...Do  
not underestimate importance of three viabilities:


1. the post production comprehensibility
2. revisit the objects yourself 6 months later, does it still make sense
3. if you delegate the code base  to someone else, can they actually  
read it


These three viabilities can in themselves determine if the language  
will live or die.


Go Live is almost dead... did anyone read Adobe's white paper on the  
level of abstraction of GoLive's auto generated JAVA? Adobe flatly  
stated (my paraphrase) You will never be able to understand this  
code; you will never be able to intelligently touch or tweak it, and  
we have no intention of engineering GoLive to generate intelligible  
code, if your secretaries use the WSWIG interface and produce web  
garbage, it's not our problem. If it works in Safari, but not I.E.  
and there is no way on earth to debug the page, it's not our problem.  
If you think you will ever be able to pass the corpus of web content  
created by our program to the next generation staffers, forget it.


May StackWare never walk down that path...




On Feb 27, 2006, at 7:31 AM, Karen wrote:



It wasn't until I found Revolution that I managed to re-capture the  
enthusiasm and enjoyment that I used to get when programming.  I  
can actually write things (well, some things), rather than struggle  
with obscure syntax.


Karen


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pie Chart Algorithms?

2006-03-02 Thread Sivakatirswami

Alex, you are a gem! Thanks:

Interesting to note that round produced smoother motion than  
statRound


The following will works for any circle name baseCircle at any  
location on the card... Watch the little red ball move run around the  
circle (smile) I renamed your vars to something meaningful -- yes,  
it's verbose, but as i get older, my short term memory may fail  
between reading line 1 and line 10 (grin), one advantage of xTalk.  
(see my thoughts on this on the dot notation thread)


and (obviously) setting a single value to i in this

on mouseUp
  put the loc  of  grc baseCircle into tCenter
 put getPoints(item 1 of tCenter,item 2 of tCenter,the width of grc  
baseCircle/2) into tCirclePoints

 repeat for each line x in tCirclePoints
   set the loc of grc  mars to x
   wait 2 milliseconds
 end repeat
end mouseUp
function getPoints circleLocX, circleLocY,radiusLen
 --  returns a list of points on the circumference of a circle
 -- centered at xc,yc with radius rad
 repeat with tCircumPoint= 0 to 360
 --put 90 into tCircumPoint
   put  Round(circleLocX+ radiusLen*sinInDegrees(tCircumPoint)),  
Round(circleLocY+radiusLen*cosInDegrees(tCircumPoint))  CR after  
tResult

 end repeat
 return tResult
end getPoints


function cosInDegrees angleInDegrees
 return cos(angleInDegrees * pi / 180)
end cosInDegrees


function sinInDegrees angleInDegrees
 return sin(angleInDegrees * pi / 180)
end sinInDegrees



On Mar 01, 2006, at 12:32 PM, Alex Tweedly wrote:


Not professional, but maybe interested amateur :-)
(this returns floating point numbers - remember to convert to  
integers before using as points of a polygon or similar)


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RGB to HEX

2006-03-02 Thread Jeanne A. E. DeVoto

At 9:44 AM -0800 3/1/2006, Garrett Hylltun wrote:
Is there a built-in function in Rev that will convert RGB color 
string to a HEX color string?  If no, does anyone know how to do 
this?  I knew how to do this in another language, but am at a loss 
as to how to work it out in Rev.


Here's a code snippet:

 put # into theWebColor -- leading #
 repeat for each item myItem in theColorNumber -- numeric triplet - R,G,B
get baseConvert(myItem,10,16)
if the length of it is 1 then put zero before it  -- each 
component must be 2-digit

put it after theWebColor
  end repeat

--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table Inspector

2006-03-02 Thread Dan Shafer
Bug reports like this would be more helpful to you and others if you'd tell
us:

* what version of Rev/Dreamcard you're running
* on what version of what platform

I just tested table inspector on OS X 10.4.5 in Rev 2.6.1 and 2.7 and had no
problems at all despite efforts intended to break it. Doesn't mean there's
no bug here but it does mean that the inspector does not appear on my system
to be unusable.



On 3/2/06, Klaus Major [EMAIL PROTECTED] wrote:

 Hi Gregory,

  Hello everyone,
 
Why is it that the Table Inspector in the property palette so
  often causes Revolution to freeze?  Makes setting tab stops a real
  drag.

 good question, i just experienced that on windows, too.

 Had some content in a field and only wanted to add some tabstops,
 selected Table
 from the optionbutton (when will be have another choice to select the
 different options
 for objects? That optionbuttonis just too unhandy!) and BOOM, Rev
 freezed, I had to forcequit.

Gregory

 Regards

 Klaus Major
 [EMAIL PROTECTED]
 http://www.major-k.de

 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.shafermediastore.com/tech_main.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Library and Windows

2006-03-02 Thread Karen


On 2 Mar 2006, at 14:20, [EMAIL PROTECTED] wrote:



A popular cross-platform function to get the
appropriate path was written by Richard Gaskin:
##
function AppPath
  put the filename of this stack into tPath
  set the itemdel to /
  If (IsOSX()) then
get offset(.app/Contents/MacOS/, tPath)
if it  0 then -- 2.4.3 or later
  delete char it to len(tPath) of tPath
end if
  end if
  delete last item of tPath
  return tPath /
end AppPath

function IsOSX
  if the platform is not MacOS then return false
  get the systemversion
  set the itemdel to .
  if item 1 of it = 10 then return true
  return false
end IsOSX
##
(for a more complete explanation, go to:
http://www.sonsothunder.com/devres/revolution/tips/file008.htm)

So, armed with the function above, you can change the
path to the report layout file as follows:
##
on mouseUp
  -- prep all the variables
  put AppPath()  reports/myreport.qrl \
  into tLayoutPath
  put MyDataStack into tStackName
  put true into tPreviewFlag
  put all into tCardRange
  -- and print the data stack
  qrtReports_PrintReportFromStack \
  tLayoutPath,tStackName,tPreviewFlag,tCardRange
end mouseUp
##

Hope this helped,

Jan Schenkel.

Quartam Reports for Revolution
http://www.quartam.com


Jan,

Thanks for all your help with this - it is very much appreciated.  I  
now have my program generating attractive reports on both the Mac and  
Windows :-).  I'm very pleased with Quartam Reports and I'm looking  
forward to seeing what v1.1 brings.


Thanks,

Karen

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table Inspector

2006-03-02 Thread Klaus Major

Hi Dan,

Bug reports like this would be more helpful to you and others if  
you'd tell

us:


Sure.


* what version of Rev/Dreamcard you're running


Rev 2.7


* on what version of what platform


Started Rev 2.7 for the first time on my PC Win XP Home :-)

I just tested table inspector on OS X 10.4.5 in Rev 2.6.1 and 2.7  
and had no
problems at all despite efforts intended to break it. Doesn't mean  
there's
no bug here but it does mean that the inspector does not appear on  
my system

to be unusable.


Things like this are unfortunately not reproducable most of the time,  
at least not
reliably, so please see comments like these more as an attempt to  
save some

money for a psychiatrist :-D


On 3/2/06, Klaus Major [EMAIL PROTECTED] wrote:


Hi Gregory,


Hello everyone,

  Why is it that the Table Inspector in the property palette so
often causes Revolution to freeze?  Makes setting tab stops a real
drag.


good question, i just experienced that on windows, too.

Had some content in a field and only wanted to add some tabstops,
selected Table
from the optionbutton (when will be have another choice to select the
different options
for objects? That optionbuttonis just too unhandy!) and BOOM, Rev
freezed, I had to forcequit.


  Gregory


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RGB to HEX

2006-03-02 Thread FlexibleLearning
Garrett... Check out the Color Converter 2  Pro utility at 
www.FlexibleLearning.com/xtalk

/H


Is  there a built-in function in Rev that will convert RGB color 
string to a  HEX color string?  If no, does anyone know how to do 
this?  I  knew how to do this in another language, but am at a loss 
as to how to  work it out in Rev.  

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table Inspector

2006-03-02 Thread Gregory Lypny
OS X 10.4.5.  The problem occurs with Rev 2.7 and 2.6.1.  The freeze  
doesn't happen all of the time, but it is most likely to happen when  
there's a lot of data in the selected field and when switching from  
one of the Property Inspector's modes (Basic, Content, Table, etc.)  
to another.


Gregory

On Thu, Mar 2, 2006, at 1:00 PM, use-revolution- 
[EMAIL PROTECTED] wrote:


Bug reports like this would be more helpful to you and others if  
you'd tell

us:

* what version of Rev/Dreamcard you're running
* on what version of what platform

I just tested table inspector on OS X 10.4.5 in Rev 2.6.1 and 2.7  
and had no
problems at all despite efforts intended to break it. Doesn't mean  
there's
no bug here but it does mean that the inspector does not appear on  
my system

to be unusable.



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table Inspector

2006-03-02 Thread J. Landman Gay

Gregory Lypny wrote:
OS X 10.4.5.  The problem occurs with Rev 2.7 and 2.6.1.  The freeze  
doesn't happen all of the time, but it is most likely to happen when  
there's a lot of data in the selected field and when switching from  one 
of the Property Inspector's modes (Basic, Content, Table, etc.)  to 
another.


Reproduced here too: OS X 10.3.9, Rev 2.7. The freeze happened 
immediately after selecting the Table pane. I tried it with a field 
containing (non-table) data, and again with a field I had just emptied.


I'll BZ it unless I find someone else has done it already.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: strange menu behavior

2006-03-02 Thread J. Landman Gay

Chris Sheffield wrote:

Hi Jacque,

Thanks for the suggestions.  Unfortunately the menu group of both  
stacks does have the backgroundBehavior set to true.


So much for that theory.

I've done a little more investigating and this is what I've found.   
When the second stack first opens, it is not even getting set as the  
topStack or the defaultStack.  So unfortunately your workaround  doesn't 
even work.  I've even tried setting it to the defaultStack  explicitly 
without success.  I've found that once I click on my File  menu (just to 
activate the menu, but not actually click Quit) then  the topStack and 
defaultStack are set correctly, which would explain  why ctrl-Q works at 
this point.  So there is definitely something  strange going on.  This 
behavior occurs both in the Rev IDE and in a  built standalone.


Can you, or anyone else for that matter, think of any reason why  
topStack and defaultStack would not get set correctly?  What's  strange 
is I have another stack that opens the same way and it works  just 
fine.  I've compared the properties between the two stacks,  their menu 
groups, and even the File button within their menu groups  to see if 
anything is different.  Everything is the same other than  things like 
the layers of the objects.


Any other ideas?  This one has me stumped, but I figure it's got to  be 
something I've done because the other stack does work like I said.


Some things to check: Is the misbehaving stack opened as modeless or any 
mode other than toplevel? That could affect the message hierarchy. Are 
there any go commands in your scripts issued after the stack opens? 
That could change the topstack. Did you try setting the topstack rather 
than the defaultstack (toplevel 'mystack')?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Debugging question

2006-03-02 Thread Peter T. Evensen

Is there any way to get a call stack?

I have a screen where if you press Enter (Windows) it is calling a method, 
but I can't figure out why.  It would be nice if I could see what took 
place to get me where I was.


The message watcher isn't really helping, but I'll muck around with it a 
bit more to see.


Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Debugging question

2006-03-02 Thread Ken Ray
On 3/2/06 3:32 PM, Peter T. Evensen [EMAIL PROTECTED] wrote:

 Is there any way to get a call stack?
 
 I have a screen where if you press Enter (Windows) it is calling a method,
 but I can't figure out why.  It would be nice if I could see what took
 place to get me where I was.
 
 The message watcher isn't really helping, but I'll muck around with it a
 bit more to see.

It's in the Variable Watcher; the popup menu at the top of the window is the
call stack (called the execution contexts).

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Debugging question

2006-03-02 Thread Peter T. Evensen
I never noticed that before!  Seems like an odd place for it, though.  I'd 
expect it in the debugger window someplace, but now that I know where it is!


Thanks!

At 04:25 PM 3/2/2006, you wrote:

On 3/2/06 3:32 PM, Peter T. Evensen [EMAIL PROTECTED] wrote:

 Is there any way to get a call stack?

 I have a screen where if you press Enter (Windows) it is calling a method,
 but I can't figure out why.  It would be nice if I could see what took
 place to get me where I was.

 The message watcher isn't really helping, but I'll muck around with it a
 bit more to see.

It's in the Variable Watcher; the popup menu at the top of the window is the
call stack (called the execution contexts).


Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Debugging question

2006-03-02 Thread Charles Hartman

You need Constellation. More evident, and with more features.
(Shameless plug. I love it.)

Charles


On Mar 2, 2006, at 5:29 PM, Peter T. Evensen wrote:

I never noticed that before!  Seems like an odd place for it,  
though.  I'd expect it in the debugger window someplace, but now  
that I know where it is!


Thanks!

At 04:25 PM 3/2/2006, you wrote:

On 3/2/06 3:32 PM, Peter T. Evensen [EMAIL PROTECTED] wrote:

 Is there any way to get a call stack?

 I have a screen where if you press Enter (Windows) it is calling  
a method,
 but I can't figure out why.  It would be nice if I could see  
what took

 place to get me where I was.

 The message watcher isn't really helping, but I'll muck around  
with it a

 bit more to see.

It's in the Variable Watcher; the popup menu at the top of the  
window is the

call stack (called the execution contexts).


Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Player Problem in Rev 2.7 on Windows

2006-03-02 Thread Timothy Bleiler

Hi,

I've run into a problem with the player control in version 2.7  
buildNumber 192 on Windows XP. The problem does not occur in version  
2.6 of Rev. It does not occur on Mac OS X 10.4.x


I've tried 2 Windows XP machines with Quicktime 6 and 7.

The problem
Player does not play video when the alwaysBuffer is true from the  
controller. Keyboard message will start the player but the frame rate  
is way below the setting.


Video settings
AAC, Mono, 11.025 kHz
Sorenson Video 3, 480 x 360, Millions
Frame Rate 14.98
Size 480 x 360  pixels
Duration 00:01:20.94

I didn't find anything in Bugzilla on this. Anyone run into something  
similar?


Tim Bleiler
Instructional Designer, University at Buffalo


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transcript and Dot Notation

2006-03-02 Thread Bob Warren

Dear Sivakatirswami,

I was brought up on Basic and VB. In VB (VB6 I mean, not VB.NET), the 
dot notation is not all that obscure, but nevertheless, after making the 
transition to Transcript and its verbosity, the fact that someone might 
consider making it more like VB makes my hair stand on end, or in other 
words it would be dotty (pun intended). I agree that it would probably 
mark the beginning of a process of de-characterisation that eventually 
might be fatal. Of course, I haven't done a survey, but I suggest that 
(just like VB) a vast core of users are probably inventive users or 
very ordinary folk like myself, not professionals or (forgive me) nerdy 
types who have the greatest influence on this List and consequently the 
development path of RR. Look at what happened to VB when the nerds took 
over! From a record-breaking 18 million users, VB is now reduced to I 
don't know how many, but the fact is that M$ are now giving away their 
software to try and entice users back into the fold. I hope they fail 
after what they did to VB6 (which is why I am here and not there).


The secret of the success of VB (up to VB6) was that it could be used by 
programmers of all types, from absolute beginners to real professionals. 
This is a secret shared by Transcript. I'd hate to see Rev do a 
Microsoft. I couldn't take it twice in a lifetime.


One way of looking at it is this. Ordinary people prefer to program in 
something that more or less corresponds to plain language (it taxes the 
memory less). Many professionals seem to have a taste for formal 
languages of the logical or mathematical type. There is, of course, a 
place for such languages. But Transcript is a very high level 
general-purpose language. Why try and change it into something else? Are 
its formal deficiencies so great that something REALLY has to be done 
along dotty lines?


Regards,
Bob

---
Sivakatirswami wrote:
dot notation and such... let's be very careful...find a way to do the
same thing in verbose xTalk and it will live...infect the language
with obscurity and it will die a slow death from the inside out.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


XP Problems Persist...

2006-03-02 Thread Judy Perry
Sigh.

One of the few students who is honestly playing around with Rev and
*trying* to appreciate it is having nothing but problem after problem
after problem.

This is probably a really stupid question, but does running skins on top
of XP create any Rev-related problems?

I'm running 2.7 on OS X.  He's running 2.7 (trial version) on XP.  I
created a simple little demo stack on messages and the message path (and,
yes, Richard, I did require that they take a look at yours!).  Runs fine
on my Mac.  Copied the file to his thumb drive.  He double-clicks the file
and it launches 2.7.  Good.  But it doesn't open the file.  Not only does
it not open the clicked file, when you try opening it from the File -
Open menu, it either does nothing or it throws up an error message that
the file cannot be read.

The file retains its icon and association with the parent app... only the
parent app can't open the file.

I  just tried re-d/l Rev 2.7 to look for the option to save as a 2.6
file... but can't figure that one out either (will be heading on over to
Chipp's site to try that next).

Does anyone have any ideas?  Would anyone be willing to take a look at the
file to see whether I've done something just abysmally stupid that could
be causing these problems?

It just doesn't give Rev a good name when you have somebody who is clearly
in the minority in a class and who is trying to honestly evaluate the
product and all they get is crashes and non-functionality...

:-(

Thanks for any suggestions,

Judy


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XP Problems Persist...

2006-03-02 Thread Andre Garzia

Judy,

it will sound stupid but I had tons of problems with my thumb drive  
corrupting my rev stacks... after using it, rev would cease to  
recognize the stacks. It was not a rev problem it was a cheap thumb  
drive problem... have you tried to transfer the files using another  
medium?


Cheers
andre

On Mar 2, 2006, at 9:53 PM, Judy Perry wrote:


Sigh.

One of the few students who is honestly playing around with Rev and
*trying* to appreciate it is having nothing but problem after problem
after problem.

This is probably a really stupid question, but does running skins  
on top

of XP create any Rev-related problems?

I'm running 2.7 on OS X.  He's running 2.7 (trial version) on XP.  I
created a simple little demo stack on messages and the message path  
(and,
yes, Richard, I did require that they take a look at yours!).  Runs  
fine
on my Mac.  Copied the file to his thumb drive.  He double-clicks  
the file
and it launches 2.7.  Good.  But it doesn't open the file.  Not  
only does

it not open the clicked file, when you try opening it from the File -
Open menu, it either does nothing or it throws up an error message  
that

the file cannot be read.

The file retains its icon and association with the parent app...  
only the

parent app can't open the file.

I  just tried re-d/l Rev 2.7 to look for the option to save as a 2.6
file... but can't figure that one out either (will be heading on  
over to

Chipp's site to try that next).

Does anyone have any ideas?  Would anyone be willing to take a look  
at the
file to see whether I've done something just abysmally stupid that  
could

be causing these problems?

It just doesn't give Rev a good name when you have somebody who is  
clearly

in the minority in a class and who is trying to honestly evaluate the
product and all they get is crashes and non-functionality...

:-(

Thanks for any suggestions,

Judy


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XP Problems Persist...

2006-03-02 Thread Judy Perry
Andre,

Thanks, yes, I am trying that right now (u/l the file to RevOnline and
just installed a trial version of Rev on the PC in the lab...).

Thanks for the pointer!

Judy

On Thu, 2 Mar 2006, Andre Garzia wrote:

 Judy,

 it will sound stupid but I had tons of problems with my thumb drive
 corrupting my rev stacks... after using it, rev would cease to
 recognize the stacks. It was not a rev problem it was a cheap thumb
 drive problem... have you tried to transfer the files using another
 medium?

 Cheers
 andre

 On Mar 2, 2006, at 9:53 PM, Judy Perry wrote:

  Sigh.
 
  One of the few students who is honestly playing around with Rev and
  *trying* to appreciate it is having nothing but problem after problem
  after problem.
 
  This is probably a really stupid question, but does running skins
  on top
  of XP create any Rev-related problems?
 
  I'm running 2.7 on OS X.  He's running 2.7 (trial version) on XP.  I
  created a simple little demo stack on messages and the message path
  (and,
  yes, Richard, I did require that they take a look at yours!).  Runs
  fine
  on my Mac.  Copied the file to his thumb drive.  He double-clicks
  the file
  and it launches 2.7.  Good.  But it doesn't open the file.  Not
  only does
  it not open the clicked file, when you try opening it from the File -
  Open menu, it either does nothing or it throws up an error message
  that
  the file cannot be read.
 
  The file retains its icon and association with the parent app...
  only the
  parent app can't open the file.
 
  I  just tried re-d/l Rev 2.7 to look for the option to save as a 2.6
  file... but can't figure that one out either (will be heading on
  over to
  Chipp's site to try that next).
 
  Does anyone have any ideas?  Would anyone be willing to take a look
  at the
  file to see whether I've done something just abysmally stupid that
  could
  be causing these problems?
 
  It just doesn't give Rev a good name when you have somebody who is
  clearly
  in the minority in a class and who is trying to honestly evaluate the
  product and all they get is crashes and non-functionality...
 
  :-(
 
  Thanks for any suggestions,
 
  Judy
 
 
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution

 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XP Problem SOLVED!

2006-03-02 Thread Judy Perry
Yup, Andre:

That's apparently the cause!  I was able to u/l the file to RevOnline,
install Rev on the PC in here and pull it down from there.

Worked fine.

Have advised the student that his drive is the problem.

As for why we didn't try other options, well, there aren't any other
options.  Neither of us had a burnable CD, the Macs are all OS 9 and most
of them don't work at all, and even if they did, they're running Rev 2.5,
and, finally, the FTP server corrupts as well as zero's out files
unpredictably, so I couldn't distribute the files that way, either.
Yikes.

Thanks again!

Judy

On Thu, 2 Mar 2006, Andre Garzia wrote:

 Judy,

 it will sound stupid but I had tons of problems with my thumb drive
 corrupting my rev stacks... after using it, rev would cease to
 recognize the stacks. It was not a rev problem it was a cheap thumb
 drive problem... have you tried to transfer the files using another
 medium?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Menubar Handling

2006-03-02 Thread Mark Schonewille

Hi Karen,

It seems you haven't got a repy to your question, yet. In the 
menubar script (or the script of the group that serves as 
menubar), you could put a menuPick handler. Have a look at the 
docs for info about the menuPick handler.


The menuPick handler could call scripts in the main stack or 
send commands to other stacks and objects. Depending on what you 
are trying to do, your menuPick handler might look like


on menuPick theMenuItem
  switch theMenuItem
case Open...
  runOpenHandlerInMainStack
break
case Something Else
  send runSomeHandlerInSubstack to the topstack
break
  end switch
end menuPick

The second case will work fine, if the main stack also has a 
something handlers. It would be easiest to put all scripts in 
the main stack, without using the send command, but if each of 
 your substacks should act differently upon a user's menu 
selection, send is a very useful command.


Best,

Mark


Karen wrote:

Hi,

I'm trying to set up a Menubar for OS X with Revolution and I had  seen 
mention of the idea of using a separate stack with a menubar (to  avoid 
the stack contents moving around every time I load it).  I have  set 
this up, and on the preOpenStack script of the other cards, I do:


set the menubar of me to MyMenubar.

This seems to work very nicely - the other cards have the correct  
menubar, but what I can't puzzle out is how to process the menu  actions 
in these cards.  If I do nothing, they are processed back in  the 
Menubar stack - which doesn't have the controls that I want to  refer 
to.  How can I process the menu actions correctly?


Thanks,

Karen



--

Consultant and Software Engineer
mailto:[EMAIL PROTECTED]
http://www.economy-x-talk.com

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info

Advertise with us and reach 1000 truely interested internet 
users every month. See http://economy-x-talk.com/advertise.html 
for more information.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XP Problems Persist...

2006-03-02 Thread Sarah Reichelt
 I'm running 2.7 on OS X.  He's running 2.7 (trial version) on XP.  I
 created a simple little demo stack on messages and the message path (and,
 yes, Richard, I did require that they take a look at yours!).  Runs fine
 on my Mac.  Copied the file to his thumb drive.  He double-clicks the file
 and it launches 2.7.  Good.  But it doesn't open the file.  Not only does
 it not open the clicked file, when you try opening it from the File -
 Open menu, it either does nothing or it throws up an error message that
 the file cannot be read.

 The file retains its icon and association with the parent app... only the
 parent app can't open the file.

Along the same lines as Andre's suggestion, I always zip files before
transfer. This seems to give a much more reliable copy of the file.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table Inspector

2006-03-02 Thread Sean Shao
Yeah, it just started happening one day for me too.. While it does lock-up 
Rev, I've found that a simple CMD-. (CTRL-Pause for Windows users) will 
bring it out of being unresponsive (mind you the palette will be cut off but 
you can still set your tab stops =)


_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XP Problems Persist...

2006-03-02 Thread Stephen Barncard
I agree. When I recharged my little Revcon thumb drive at the 
conference, some stacks didn't make it back home, had to download..


Especially had problems using a thumb drive between sys9 and 10.

sqb



Judy,

it will sound stupid but I had tons of problems with my thumb drive 
corrupting my rev stacks... after using it, rev would cease to 
recognize the stacks. It was not a rev problem it was a cheap thumb 
drive problem... have you tried to transfer the files using another 
medium?


Cheers
andre



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RGB to HEX

2006-03-02 Thread Garrett Hylltun

On Mar 2, 2006, at 10:28 AM, Jeanne A. E. DeVoto wrote:


 put # into theWebColor -- leading #
 repeat for each item myItem in theColorNumber -- numeric triplet -  
R,G,B

get baseConvert(myItem,10,16)
if the length of it is 1 then put zero before it  -- each  
component must be 2-digit

put it after theWebColor
  end repeat

--
jeanne a. e. devoto ~ [EMAIL PROTECTED]


Thank you very much, this helped me figure out how to use that  
baseConvert.  And thank you Sarah and FlexibleLearning for also  
responding, very much appreciated.


Thanks,
-Garrett
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RGB to HEX

2006-03-02 Thread Garrett Hylltun


On Mar 1, 2006, at 9:49 AM, Klaus Major wrote:


Hello again, Garrett .-)


Rev 2.6.1

Greetings,

Is there a built-in function in Rev that will convert RGB color  
string to a HEX color string?  If no, does anyone know how to do  
this?  I knew how to do this in another language, but am at a loss  
as to how to work it out in Rev.


Check the baseconvert command in the docs.
Pretty straightforward...


Thank you Klaus Major, much appreciated.  :-)

-Garrett
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Built-in Font Dialog?

2006-03-02 Thread Garrett Hylltun


On Mar 1, 2006, at 9:49 AM, Klaus Major wrote:


HiGarrett,


Rev 2.6.1

Greetings,

Is there a built-in font dialog in Rev?


No, but you can examine the Rev Font menu :-)


Again, thanks a bunch.

-Garrett
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Table field does not send closeField

2006-03-02 Thread Bill Vlahos
How do I trap for a change in the contents of a table field with cell 
editing turned on? It doesn't seem to send a closeField message.


Bill Vlahos

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XP Problems Persist...

2006-03-02 Thread Bill Vlahos

Which brands of thumb drives are having problems?

Bill Vlahos

On Mar 2, 2006, at 7:05 PM, Stephen Barncard wrote:

I agree. When I recharged my little Revcon thumb drive at the 
conference, some stacks didn't make it back home, had to download..


Especially had problems using a thumb drive between sys9 and 10.

sqb



Judy,

it will sound stupid but I had tons of problems with my thumb drive 
corrupting my rev stacks... after using it, rev would cease to 
recognize the stacks. It was not a rev problem it was a cheap thumb 
drive problem... have you tried to transfer the files using another 
medium?


Cheers
andre



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XP Problems Persist...

2006-03-02 Thread Judy Perry
Stephen,

An interesting spotlight... we had, indeed, been going between his XP
machine, any semi-working OS 9 machine and my OS X laptop...

Judy

On Thu, 2 Mar 2006, Stephen Barncard wrote:

 Especially had problems using a thumb drive between sys9 and 10.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XP Problems Persist...

2006-03-02 Thread Judy Perry
As it's not mine, I don't know...

But at least, thanks to Andre's suggestion, I was able to verify that the
thumb drive was the likely culprit and that the same file, when d/l from
RevOnline onto a PC machine, worked just fine in XP.  Importantly, the
student was able to verify this as well.

Now, if only there were some similarly easy solution to the third world
example that is my department's Macintosh lab... :-/

Many thanks again to all who offered ideas and suggestions.

Judy

On Thu, 2 Mar 2006, Bill Vlahos wrote:

 Which brands of thumb drives are having problems?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


start using a filePath

2006-03-02 Thread Scott Morrow

what happens if a script has

 start using stack tMyFilePath 

when the stack tMyFilePath hasn't been loaded into memory yet?  My  
experience so far is that it doesn't load the stack.


-Scott
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: start using a filePath

2006-03-02 Thread Sarah Reichelt
On 3/3/06, Scott Morrow [EMAIL PROTECTED] wrote:
 what happens if a script has

  start using stack tMyFilePath 

 when the stack tMyFilePath hasn't been loaded into memory yet?  My
 experience so far is that it doesn't load the stack.


Should work fine, provided the program knows where the stack is. I use
this all the time.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field does not send closeField

2006-03-02 Thread Geoff Canyon


On Mar 2, 2006, at 9:15 PM, Bill Vlahos wrote:

How do I trap for a change in the contents of a table field with  
cell editing turned on? It doesn't seem to send a closeField message.


Bill Vlahos


I think the editor field is created on the fly and placed in front of  
the table cell. If that field is simply stored, or based on some  
template, you could edit its script or the script of the template. If  
not, a front script is likely the way to go.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution