Re: Sheet command

2006-03-07 Thread Scott Morrow
Although it takes a few lines, I do this fairly often with something  
like:


go inv cd "xyz" of stack "abc"
sheet stack "abc"  in stack  "parentstack B"
show stack "abc"

-Scott Morrow

Elementary Software
(Now with 20% less chalk dust !)
web http://elementarysoftware.com/
email   [EMAIL PROTECTED]

On Mar 7, 2006, at 8:25 AM, Yves COPPE wrote:


Hi list,

Working on mac OS X, I'd like to to something like :

go to cd "xyz" of stack "abc" as sheet in stack "parentstack B"

It doesn't work
Is there a way to do it ?

The parentstack parameter seems only to work with something like
sheet stack  "abc" in stack "parentstack B"



Greetings.

Yves COPPE
[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



___
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: lockScreen Property Question

2006-03-07 Thread Reuben Rivera

Thank you for reminding me about being able to extract data from
another stack without going to it first.  This will help resolve some
other issues I've been running into.  I appreciate your help.
Reuben Rivera
On Mar 7, 2006, at 4:59 PM, [EMAIL PROTECTED] wrote:


Hi Ruben,

I share your pain. This is one of the few instances where HyperCard  
has it

all over revolution. You can get around this somewhat in two ways.

1) You can hide any stack you don't want to see before you go to  
them for an
intermediate process. The problem with that is you have to remember  
to show

them before actually displaying that stack.

2) Unlike HyperCard you can refer to a field without going to that  
stack. For

example:

put field "fieldName" of stack "stackName" into field "fieldName"  
of this

stack

is OK in Revolution, but not HyperCard.

Joe
Orlando, Florida
___
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: lockScreen Property Question

2006-03-07 Thread J. Landman Gay

Reuben Rivera wrote:
> Thanks very much for your suggestion.  The screen now looks steady
> as a rock...no more motion sickness.

Actually, the other solution is to ship Drammamine with every copy of 
your stack. It saves coding.


--
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: OT: forum etiquette

2006-03-07 Thread Phil Davis

This is a great contribution! Thanks.

Phil Davis



Sivakatirswami wrote:

I thought this site useful:

http://www.catb.org/~esr/faqs/smart-questions.html

and particularly this section:

===
Don't claim that you have found a bug

When you are having problems with a piece of software, don't claim  you 
have found a bug unless you are very, very sure of your ground.  Hint: 
unless you can provide a source-code patch that fixes the  problem, or a 
regression test against a previous version that  demonstrates incorrect 
behavior, you are probably not sure enough.  This applies to webpages 
and documentation, too; if you have found a  documentation “bug”, you 
should supply replacement text and which  pages it should go on.


Remember, there are many other users that are not experiencing your  
problem. Otherwise you would have learned about it while reading the  
documentation and searching the Web (you did do that before  
complaining, didn't you?). This means that very probably it is you  who 
are doing something wrong, not the software.


The people who wrote the software work very hard to make it work as  
well as possible. If you claim you have found a bug, you'll be  
impugning their competence, which may offend some of them even if you  
are correct. It's especially undiplomatic to yell “bug” in the  Subject 
line.


When asking your question, it is best to write as though you assume  you 
are doing something wrong, even if you are privately pretty sure  you 
have found an actual bug. If there really is a bug, you will hear  about 
it in the answer. Play it so the maintainers will want to  apologize to 
you if the bug is real, rather than so that you will owe  them an 
apology if you have messed 
up.


___
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: lockScreen Property Question

2006-03-07 Thread Reuben Rivera

Thanks very much for your suggestion.  The screen now looks steady
as a rock...no more motion sickness.  I really appreciated your help.
I had the lockScreen property set to true every other line of script  
trying

to resolve the problem.  Nice to have an "elegant" solution.
Reuben Rivera
On Mar 7, 2006, at 2:09 PM, J. Landman Gay wrote:


Reuben Rivera wrote:
I've been working on a program that requires jumping from one  
stack to
another.  I've tried to incorporate the lockScreen property to  
prevent

redrawing of the screen to keep me from sea sick while looking at the
screen and to speed up things. The problem I've run into is that   
regardless
of where I put the the "lockScreen to true" command, I still can  
see  the redraws
from one stack to the other.  Does this property not work under  
certain
situations?  I'm a previous hypercard user and I've never had an   
issue with
this before.  I've check the written manual and it seems like it   
should work
like it has with my previous experience with hypercard.  Any hints  
or  insights?


Actually, it worked the same way in HyperCard too. The "lockscreen"  
command should really have been named "lockwindow". Only the  
frontmost stack is locked. If you open 2 stacks at once in  
HyperCard, lock the screen, and then try to go to the second stack,  
you'll see the same behavior. The OS has to redraw the window.


Unlike HC, there's a workaround in Revolution. Instead of  
"lockscreen", use the "go stack  in window ID>" variant. See the "go" command in the docs; this command  
substitutes the contents of a stack into the same window as the  
current stack, basically avoiding the OS redraw.


--
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


___
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


OT: forum etiquette

2006-03-07 Thread Sivakatirswami

I thought this site useful:

http://www.catb.org/~esr/faqs/smart-questions.html

and particularly this section:

===
Don't claim that you have found a bug

When you are having problems with a piece of software, don't claim  
you have found a bug unless you are very, very sure of your ground.  
Hint: unless you can provide a source-code patch that fixes the  
problem, or a regression test against a previous version that  
demonstrates incorrect behavior, you are probably not sure enough.  
This applies to webpages and documentation, too; if you have found a  
documentation “bug”, you should supply replacement text and which  
pages it should go on.


Remember, there are many other users that are not experiencing your  
problem. Otherwise you would have learned about it while reading the  
documentation and searching the Web (you did do that before  
complaining, didn't you?). This means that very probably it is you  
who are doing something wrong, not the software.


The people who wrote the software work very hard to make it work as  
well as possible. If you claim you have found a bug, you'll be  
impugning their competence, which may offend some of them even if you  
are correct. It's especially undiplomatic to yell “bug” in the  
Subject line.


When asking your question, it is best to write as though you assume  
you are doing something wrong, even if you are privately pretty sure  
you have found an actual bug. If there really is a bug, you will hear  
about it in the answer. Play it so the maintainers will want to  
apologize to you if the bug is real, rather than so that you will owe  
them an apology if you have messed up.___

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: DRM for Images and Text in Stacks

2006-03-07 Thread Kay C Lan
On 3/8/06, Ken Ray <[EMAIL PROTECTED]> wrote:
>
>
> No, they can get to them, but they won't know what how to decipher the
> binary data you put in there.


Of course everyone has only mentioned the images, although the same can
apply to the text in your text fields. This all seems very complex to me.

In Sivakatirswami Dreamworld the answer would seem to be DreamCard - as it
can be used as a database front end. With all images and text stored
securely in an encrypted database when anyone with the Rev IDE opens a front
end all they get is 'empty' fields, etc.

Pity DreamCard is on the way out, so I guess you'll have to go with a
standalone DB frontend; which means you don't have to worry about when your
dream of everyone having a stack player
will come true.

I have no idea if this would work but as for the problem of screenshots,
could you capture key strokes (is it CMD-OPT-3 on the Mac?) and put 'empty'
into the fields so they appear blank? Of course anyone can work around this
by starting 'Grab' (on Mac) and using the Menus to do a screenshot. Could
you blank the fields anytime your app is no longer front most?

Just some thoughts.
___
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: In-line Fraction with Horizontal Line

2006-03-07 Thread Jim Ault

On 3/7/06 1:08 PM, "Jim Hurley" <[EMAIL PROTECTED]> wrote:

> To answer your question, I guess I would  try using separate fields
> for the num and dem of the fraction with a graphic line in between. I
> presume the slope is always represented by the fraction?
> 
You could hide/show/move fields that represented the components of the
equation, eg
fld partBeforeDiv
fld partAfterDiv
image divShort
image divMedium
image divLong
image sqRootThin, sqRootTall, sqRootTail

detect the number of div images required
set the left,top of each field, opaque false, with the correct image
beneath.

The editable field can now be represented more correctly.
Might work :-)

Jim Ault
Las Vegas



>> 
>> Message: 33
>> Date: Mon, 6 Mar 2006 19:55:55 -0700
>> From: Mark Greenberg <[EMAIL PROTECTED]>
>> Subject: In-line Fraction with Horizontal Line
>> To: Runtime Revolution 
>> Message-ID: <[EMAIL PROTECTED]>
>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>> 
>> Fellow list members, I have a problem for which I can only find
>> difficult or unsatisfactory solutions, and I was hoping you might
>> have some suggestions.
>> 
>> I am making a stack to teach students math -- linear equations, to be
>> more precise.  When I display the y = mx + b form, the best I can do
>> to show a fraction in the m position is something like y = 4/5x + 2.
>> This is ambiguous because it isn't clear what should be taken as the
>> divisor, 5 or 5x or 5x + 2.  The math teacher for whom I am making
>> the game would prefer a horizontal division line instead of a slash.
>> 
>> So far this is what I've thought of and rejected:
>> 
>> Use fonts that have fractions built in as one character.  No, because
>> they have too few for the range of possible slopes I want to generate.
>> 
>> Force the numerals around as subscripts and superscripts until it is
>> clear what the fraction is.  Messy and probably won't lead to success.
>> 
>> Use inline images.  Need too many images to cover possible slopes.
>> 
>> Write it y = (4/5)x + 2.  This is mathematically acceptable, but not
>> the way the students will see it elsewhere.
>> 
>> Use a different 2-line field that moves according to the location of
>> the fraction.  Hmm.. maybe.
>> 
>> I could use some help on this one.
>> 
>> TIA,
>> Mark
> 
> 
> Mark,
> 
> This won't help you with this question but  the math teacher might be
> interested in SupAndSub.rev
> 
> It facilitates typing equations.
> 
> In the message box:
> 
> go url "http://home.infostations.net/jhurley/SupAndSub.rev";
> 

> Jim
> 
>> 
>> 
>> --
>> 
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> End of use-revolution Digest, Vol 30, Issue 14
>> **
> ___
> 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: Globals and...

2006-03-07 Thread Jim Ault


On 3/7/06 5:02 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> Hi Everyone,
> 
> OK so you can initiate globals for an object outside of a handler. That's
> cool if you have more than one handler for an object. Is there anything else I
> can do outside of a handler that will apply to all handlers for an object?
> 
> Joe

Lots... take your pick _
--INSIDE Rev
creating more cards, fields, buttons, groups
using custom properties
Back script
Front script
start using stack "libOfHandlers.rev"

set the script of btn "green" to " url "file:/Desktop/ btnScript01.txt"
set the script of btn "blue" to " url "file:/Desktop/ btnScript02.txt"
set the script of btn "green" to " url "file:/Desktop/ btnScript03.txt"

on opencard
if the name of this card is "summary" then
set the script of btn "Report" to url "file:/Desktop/btnScriptRptSmry.txt"
else
 set the script of btn "Report" to url "file:/Desktop/btnScriptRptDept.txt"
end if
end opencard

put "info" into url "file:/Desktop/dataFileForRev.txt"

--OUTSIDE Rev
save spreadsheet as tab delimited, then open in Rev using
put url "file:/Desktop/dataTableFromExcel.txt" into tDataTable

--via Applescript or VisualBasic
much more stuff.

I am sure there are more, but that is a good start, off the top of my head.

Jim Ault
Las Vegas


___
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


Globals and...

2006-03-07 Thread LunchnMeets
Hi Everyone,

OK so you can initiate globals for an object outside of a handler. That's 
cool if you have more than one handler for an object. Is there anything else I 
can do outside of a handler that will apply to all handlers for an object?

Joe
Orlando, Florida
___
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: lockScreen Property Question

2006-03-07 Thread LunchnMeets
Hi Ruben,

I share your pain. This is one of the few instances where HyperCard has it 
all over revolution. You can get around this somewhat in two ways.

1) You can hide any stack you don't want to see before you go to them for an 
intermediate process. The problem with that is you have to remember to show 
them before actually displaying that stack.

2) Unlike HyperCard you can refer to a field without going to that stack. For 
example:

put field "fieldName" of stack "stackName" into field "fieldName" of this 
stack

is OK in Revolution, but not HyperCard.

Joe
Orlando, Florida
___
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


answer file with filter problem

2006-03-07 Thread Garrett Hylltun

Rev 2.6.1

Greetings,

Am I doing something wrong with the answer file?

  put "Please select a file:" into varOne
  put "Text Files,*.txt" into varTwo
  put "Open file" into varThree
  answer file varOne with filter varTwo titled varThree

I originally had this way:

  answer file "Please select a file:" with filter "Text Files,*.txt" 
titled "Open file"


But either way, the files listed in the answer file dialog are all 
blocked out and not accessible at all.


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


Making Rev Plugin?

2006-03-07 Thread Garrett Hylltun

Rev 2.6.1

Greetings,

Is there a tutorial on making plug ins for the Rev IDE?  Or, can someone
tell me how to get a list of objects the user has in their stack(s),
open in the Rev IDE, so my plug in can get and set the text of an object?

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: Bug Report - unable to compile database applications for Windows

2006-03-07 Thread J. Landman Gay

Sadhunathan Nadesan wrote:

So the problem is:  REV is not putting the database library dll's in 
place when it builds a stand alone app for windows.


If someone can point me to the bugzilla for rev (i can't find it) I will 
post this info there.


No need -- it is already fixed for 2.7.1.

--
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: where does a "put file" go?

2006-03-07 Thread Devin Asay


On Mar 7, 2006, at 3:10 PM, Ben Bock wrote:


If I do the following in a script, where does it go?
put fld "data field" into url "file:test data.txt"

How can I open the file to read it, independently of Rev?


It goes to whatever folder is set in the defaultFolder global  
property. At startup the defaultFolder is automatically set to the  
folder containing the Rev application (if you open in the development  
environment) or the folder containing your compiled standalone.


So if you're in Revolution look in your /Applications/Revolution  
folder on OS X or C:\Program Files\Revolution on Windows.


HTH

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: where does a "put file" go?

2006-03-07 Thread Klaus Major

Hi Ben,


If I do the following in a script, where does it go?
put fld "data field" into url "file:test data.txt"


it goes into the current directory.

You can check it with a little script like:
...
put the directory
...

That will return the folder where you can find your file.


How can I open the file to read it, independently of Rev?


Just doubleclick that file and Textedit (on a Mac) or Editor
(on windows) will start and open it.

Of course you can manage where to save that file, e.g. with
"specialfolderpath(xyz)" or something.

This will save the file on your desktop:
...
put fld "data field" into url ("file:" & specialfolderpath("desktop")  
& "/test data.txt")

...


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: where does a "put file" go?

2006-03-07 Thread Peter T. Evensen
It goes to the defaultfolder.  In a standalone, this is, by default, the 
directory of the application (I believe).


Type "defaultfolder" in the message box to see what the default folder 
currently is.  That is where your file will be saved.


At 04:10 PM 3/7/2006, you wrote:

If I do the following in a script, where does it go?
put fld "data field" into url "file:test data.txt"

How can I open the file to read it, independently of Rev?



Thanks,

Ben
___
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


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


where does a "put file" go?

2006-03-07 Thread Ben Bock
If I do the following in a script, where does it go?  
put fld "data field" into url "file:test data.txt"

How can I open the file to read it, independently of Rev?



Thanks,

Ben
___
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: lockScreen Property Question

2006-03-07 Thread J. Landman Gay

Reuben Rivera wrote:

I've been working on a program that requires jumping from one stack to
another.  I've tried to incorporate the lockScreen property to prevent
redrawing of the screen to keep me from sea sick while looking at the
screen and to speed up things. The problem I've run into is that  
regardless
of where I put the the "lockScreen to true" command, I still can see  
the redraws

from one stack to the other.  Does this property not work under certain
situations?  I'm a previous hypercard user and I've never had an  issue 
with
this before.  I've check the written manual and it seems like it  should 
work
like it has with my previous experience with hypercard.  Any hints or  
insights?


Actually, it worked the same way in HyperCard too. The "lockscreen" 
command should really have been named "lockwindow". Only the frontmost 
stack is locked. If you open 2 stacks at once in HyperCard, lock the 
screen, and then try to go to the second stack, you'll see the same 
behavior. The OS has to redraw the window.


Unlike HC, there's a workaround in Revolution. Instead of "lockscreen", 
use the "go stack  in window " variant. See 
the "go" command in the docs; this command substitutes the contents of a 
stack into the same window as the current stack, basically avoiding the 
OS redraw.


--
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: Bug Report - unable to compile database applications for Windows

2006-03-07 Thread Sadhunathan Nadesan

Who-hoo!

I found a work around.

I compiled a test app under 2.6.1.  It worked.  It also included a lot 
of files in the stand alone directory and the subdirectory externals.


I copied those to the same places where the 2.7 app was.

Then, it worked.

So the problem is:  REV is not putting the database library dll's in 
place when it builds a stand alone app for windows.


If someone can point me to the bugzilla for rev (i can't find it) I will 
post this info there.

___
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: Scrollbar to drag through a movie?

2006-03-07 Thread Klaus Major

Hi Jim,


Klaus,

Sorry to be so dense about this, but I presume that the "QT  
controller" must first be loaded into RR for it to appear in the  
inspector. That's what I don't get: How do I load the controller  
into RR?


That's just an option for a (QT) player object, just like the  
controller bar in the QuickTime Player!


Create a player and check "Controller" on the "Basic Properties" tab  
of the inspector, that's all.

It's not magic, ladies and gentlemen :-)

I spoke to Mark Waddingham at Monterey about this screen refresh  
problem in Mac OS X and he said (I think) that he was going to fix  
it. Maybe I should remind him.


That is supposed to get fixed in 2.7.1 (or already 2.7).


Jim


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


lockScreen Property Question

2006-03-07 Thread Reuben Rivera

I've been working on a program that requires jumping from one stack to
another.  I've tried to incorporate the lockScreen property to prevent
redrawing of the screen to keep me from sea sick while looking at the
screen and to speed up things. The problem I've run into is that  
regardless
of where I put the the "lockScreen to true" command, I still can see  
the redraws

from one stack to the other.  Does this property not work under certain
situations?  I'm a previous hypercard user and I've never had an  
issue with
this before.  I've check the written manual and it seems like it  
should work
like it has with my previous experience with hypercard.  Any hints or  
insights?

Thanks, Reuben Rivera


___
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: In-line Fraction with Horizontal Line

2006-03-07 Thread Jim Hurley


Message: 33
Date: Mon, 6 Mar 2006 19:55:55 -0700
From: Mark Greenberg <[EMAIL PROTECTED]>
Subject: In-line Fraction with Horizontal Line
To: Runtime Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Fellow list members, I have a problem for which I can only find 
difficult or unsatisfactory solutions, and I was hoping you might 
have some suggestions.


I am making a stack to teach students math -- linear equations, to be 
more precise.  When I display the y = mx + b form, the best I can do 
to show a fraction in the m position is something like y = 4/5x + 2.  
This is ambiguous because it isn't clear what should be taken as the 
divisor, 5 or 5x or 5x + 2.  The math teacher for whom I am making 
the game would prefer a horizontal division line instead of a slash.


So far this is what I've thought of and rejected:

Use fonts that have fractions built in as one character.  No, because 
they have too few for the range of possible slopes I want to generate.


Force the numerals around as subscripts and superscripts until it is 
clear what the fraction is.  Messy and probably won't lead to success.


Use inline images.  Need too many images to cover possible slopes.

Write it y = (4/5)x + 2.  This is mathematically acceptable, but not 
the way the students will see it elsewhere.


Use a different 2-line field that moves according to the location of 
the fraction.  Hmm.. maybe.


I could use some help on this one.

TIA,
Mark



Mark,

This won't help you with this question but  the math teacher might be 
interested in SupAndSub.rev


It facilitates typing equations.

In the message box:

go url "http://home.infostations.net/jhurley/SupAndSub.rev";

To answer your question, I guess I would  try using separate fields 
for the num and dem of the fraction with a graphic line in between. I 
presume the slope is always represented by the fraction?


Jim




--

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

End of use-revolution Digest, Vol 30, Issue 14
**

___
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: callbacks

2006-03-07 Thread Peter T. Evensen
I'm using callbacks on movies that are maybe 5-10 minutes long for another 
project.  So far I haven't seen this happen.  Granted my app hasn't gone to 
QA yet.  How close together are the callbacks?


I did have problems when I tried to use a callback to queue another player 
before the current one stopped.  I wasn't getting the callbacks on short 
sound files for some reason.


At 02:11 PM 3/7/2006, you wrote:


Speaking of callbacks, has anyone noticed callbacks being skipped
over the course of a long-ish video? One of my students showed me a
problem with his stack ( on XP). Each time he played the video some
of the callbacks, say 5 or 6 out of 20, would just be skipped. It was
different ones each time.

There have been past discussions about this, but I never saw this
exact problem.

Devin


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: Latest Version of RunRev for Mac OS 9???

2006-03-07 Thread Robert Brenstein

Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly.  It's
doubtful that 2.7 or later will get to OS 9... Jim



I hope you are wrong, Jim. And the RR web site states that OS9 
version is coming, whatever that means.

___
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: DRM for Images and Text in Stacks

2006-03-07 Thread sims

At 1:53 PM -0600 3/7/06, Ken Ray wrote:

On 3/7/06 1:05 PM, "Sivakatirswami" <[EMAIL PROTECTED]> wrote:


 well, the point is to protect it *also* when looking in the REv's IDE
 inspector.
 If you  put the images into customProps and then put a password on
 the stack... will that prevent uses who have the IDE from getting at
 them? (I'll try it.)


No, they can get to them, but they won't know what how to decipher the
binary data you put in there.


Would this solve your problem...

Make copies of all the stacks which contain the media.

Take the second batch which will be given out with the application, place
in the stack script -  if the environment is development then quit.

Wouldn't the file be accessible to your standalone but not in the IDE?

If you need to modify those files, use your backup copy which does
not have that stack script.

Is there anything wrong with this strategy?

ciao,
sims

European Rev Conference  2006
www.techietours.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: callbacks

2006-03-07 Thread Devin Asay


Speaking of callbacks, has anyone noticed callbacks being skipped  
over the course of a long-ish video? One of my students showed me a  
problem with his stack ( on XP). Each time he played the video some  
of the callbacks, say 5 or 6 out of 20, would just be skipped. It was  
different ones each time.


There have been past discussions about this, but I never saw this  
exact problem.


Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Slow Dialogs in Rev 2.7

2006-03-07 Thread J. Landman Gay

Paul Claude wrote:

Mac Os X 10.4.4, on a Mac G4 400mhz, and Rev. 2.7. It's incredible, but all
the dialogs are deadly slow; 10 seconds at least, for every dialog (user
dialogs and Rev. internal dialogs)


That is definitely not normal behavior. Does it only happen in one 
stack, or in all of them? What happens if you relaunch Rev, make a new 
stack, and put this in a button:


on mouseup
 answer "This is a test."
end mouseup

Does that delay too?

--
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: (Revenge of) [direct access with Rev built-in SQL] vs. [server-sidescripts] to access a multiuser remote DB

2006-03-07 Thread sadhu
Howdy,

I hadn't seen your page before (I'm not usually on this list) so I will
take a look.  Yep, I've tried both (cgi versus direct).  Pierre likes the
indirect method of your x Talk CGI calling another stack which is using
the direct access library so then you could potentially re-use much of the
same code in a client app, and a cgi method.

I've also used bash scripts writing out SQL and calling psql (mysql) from
the command line, which is again easier for me than perl, php, etc.

I prefer to put the code in the client app, easier yet I think.  (as you
say, no switching gears).  but what about security?  well you set up your
database so access is limited to one user, and you set the password field
in the build stand alone settings so the connection info in the executable
is encrypted.  Also, use SSL.

I feel that covers it but I would not be surprised if people dispute this;
security is getting tougher.

Aloha,
Sadhu


> Thanks to everyone who made very helpful comments and voted in the
> poll (http://revcoders.org/database-access/), but now there's a new
> twist:
>
> We've found the config option that lets us open a MySQL database to
> any IP (not just "localhost").
>
>
> So what I'm searching for is a "best practices" recommendation for a
> multiuser app with a DB back end.
>
>
> Options are:
>
> #1. send commands using LibURL from Rev to PHP scripts on the server,
> the PHP scripts interact with the database, then send results back to
> Rev
>
> #2. Use the built-in SQL commands of Rev to directly access the
> database remotely
>
>
>
> I have been doing #1, which is working fine, speed is very fast,
> seems faster than a browser (!), but it is a bit of a headache
> switching gears to write PHP scripts.
>
> So I'm thinking of switching to #2...
>
>
> Has anyone tried both? Would anyone recommend going one way or the
> other? Any distinct advantages?
>
> ___
> 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: DRM for Images and Text in Stacks

2006-03-07 Thread Ken Ray
On 3/7/06 1:05 PM, "Sivakatirswami" <[EMAIL PROTECTED]> wrote:

> well, the point is to protect it *also* when looking in the REv's IDE
> inspector.
> If you  put the images into customProps and then put a password on
> the stack... will that prevent uses who have the IDE from getting at
> them? (I'll try it.)

No, they can get to them, but they won't know what how to decipher the
binary data you put in there.

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


(Revenge of) [direct access with Rev built-in SQL] vs. [server-side scripts] to access a multiuser remote DB

2006-03-07 Thread Josh Mellicker
Thanks to everyone who made very helpful comments and voted in the  
poll (http://revcoders.org/database-access/), but now there's a new  
twist:


We've found the config option that lets us open a MySQL database to  
any IP (not just "localhost").



So what I'm searching for is a "best practices" recommendation for a  
multiuser app with a DB back end.



Options are:

#1. send commands using LibURL from Rev to PHP scripts on the server,  
the PHP scripts interact with the database, then send results back to  
Rev


#2. Use the built-in SQL commands of Rev to directly access the  
database remotely




I have been doing #1, which is working fine, speed is very fast,  
seems faster than a browser (!), but it is a bit of a headache  
switching gears to write PHP scripts.


So I'm thinking of switching to #2...


Has anyone tried both? Would anyone recommend going one way or the  
other? Any distinct advantages?


___
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: DRM for Images and Text in Stacks

2006-03-07 Thread Sivakatirswami
well, the point is to protect it *also* when looking in the REv's IDE  
inspector.
If you  put the images into customProps and then put a password on  
the stack... will that prevent uses who have the IDE from getting at  
them? (I'll try it.)


Sivakatirswami

On Mar 07, 2006, at 5:40 AM, Ken Ray wrote:

This way, the image data is safe from prying eyes (people would  
only see the
raw image data when looking at it with the Rev IDE's inspector),  
and since
the stack is encrypted and the custom prop and image objects have  
no obvious
connection, it would be difficult to figure out which image data  
goes with
which object and even if they could, the data is encrypted or  
compressed so

it's not a simple act of "set the imageData of img 1 to ".

Here's a simple example using compress/decompress:

SETUP:
set the uStuff of this card to compress(the imageData of img 1)
put "" into img 1

PLAYBACK:
set the imageData of img 1 to decompress(the uStuff of this card)


___
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


No OpenStack ..... ! continued

2006-03-07 Thread Francis Nugent Dixon

Rob,

You say  :

|  The main issue I had was created by moving uncompressed stacks from 
Mac

|  to PC.
|
|  Once I began compressing stacks on the Mac & decompressing on my TPC,
|  all but minor problems went away.

Could you clarify just a little please ? My curiosity is aroused !

Thanks

-Francis

"Nothing should ever be done for the first time !"
___
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


GPS coordinates to metres

2006-03-07 Thread Francis Nugent Dixon

Hi Monte,

in your mail you don't show the complete Lat/Long information
(you need N/S for Lat, and E/W for Long).  I suppose that you
didn't include them, but you need them for what follows.

Try the Haversine formula I use to get distances between 2
points. You first have to convert your Lat/Long into Radians.

I got my co-ordinates (corresponding to a city) from a data
base, and converted them to radians first.

Let's assume you have your Lat and Long co-ordinates in
fields MyLatitude and MyLongitude, and the direction in fields
MyNS and MyEW, and you want the radian answer in fields
MyRadLatitude and MyRadLongitude, you convert to radians
by :

  set numberFormat to 0.  -- We need precision here !
  --
  -- Convert Latitude and Logitude from degrees to Radians
  -- (Latitude and Longitude must be valid co-ordinates).
  --
  -- This is in preparation for the calculation of distances between
  -- two point on the earths surface.
  --
  -- These co-ordinates must be converted into Radians to use them  
in

  -- my Haversine formula.
  --
  put field MyLatitude into LVWork1
  put LVWork1 * 0.017453293 into LVIntermed1
  put LVIntermed1 into field MyRadLatitude
  put field MyLongitude into LVWork2
  put LVWork2 * 0.017453293 into LVIntermed2
  put LVIntermed2 into field MyRadLongitude
  if field MyNS = "S" then put - field MyRadLatitude into field  
MyRadLatitude
  if field MyEW = "W" then put - field MyRadLongitude into field  
MyRadLongitude


Then, using function :

Function RFHaversine PVLat1,PVLong1,PVLat2,PVLong2
  --global  
LVRadiusOfTheEarth,LVLat1,LVLong1,LVLat2,LVLong2,LVInt1,LVInt2,LVWork1,L 
VWork2,LVWork3

  --
  -- V1 for Hypercard  - 2003/06/28 - 18:00   no atan2 function  
available in Hypercard.
  -- V2 for Revolution - 2006/02/24 - 11:23   use atan2 function  
available in Revolution.

  --
  -- Use Haversine two-argument Inverse Tangent Function to  
calculate

  -- the distance between two geographic locations (cities).
  --
  -- The two geographic locations represent cities or towns in my
  -- City Stack. The pre-calling sequence has already identified
  -- the two cities, and extracted their locations in Radians.
  --
  -- Input Parameters :
  --
  -- Latitude and Longitude of location 1 in Radians  
(PVLat1,PVLong1).
  -- Latitude and Longitude of location 2 in Radians  
(PVLat2,PVLong2).

  --
  -- The Haversine formula is :
  --
  -- dlon = lon2 - lon1  where lon1 and lon2 are longitudes of two  
cities.
  -- dlat = lat2 - lat1  where lat1 and lat2 are latitudes of two  
cities.

  -- a = (sin(dlat/2))^2 + cos(lat1) * cos(lat2) * (sin(dlon/2))^2
  -- c = 2 * atan2( sqrt(a), sqrt(1-a) )
  -- d = R * c   where R is the radius of the earth in  
kilometres.

  --
  set numberFormat to 0.  -- Heavy precision required here !
  put 6367 into LVRadiusOfTheEarth   -- Generally accepted Radius  
of the Earth

  put PVLat1 into LVLat1
  put PVLong1 into LVLong1
  put PVLat2 into LVLat2
  put PVLong2 into LVLong2
  put LVLong2 - LVLong1 into LVInt1
  put LVLat2 - LVLat1 into LVInt2
  put (sin(LVInt2/2))^2 + cos(LVLat1) * cos(LVLat2) * (sin(LVInt1/2))^2  
into LVWork1

  put 2 * atan2(sqrt(LVWork1),sqrt(1-LVWork1)) into LVWork2
  put LVRadiusOfTheEarth * LVWork2 into LVWork3
  --
  -- We now have the distance in kilometres in LVWork3.
  --
  put round(LVWork3,3) into LVWork3 -- Kilometres to 3 decimal  
points.

  return LVWork3
end RFHaversine

You can get the distance between your two points with :

put RFHaversine (LVRadLat1,LVRadLong1,LVRadLat2,LVRadLong2) into  
Distance


Either set the radius of the Earth to metres, or remove the
point in the kilometre answer field and "Bobs your Uncle !"

If anybody else is interested, I have a stack containing data
for 4000 cities and the possibility of calculating the distance
between any two cities, with up to 6 city stopovers if necessary.
(its got 4001 cards and is 1.6 Mb).

I hope this fills your requirements.

Best from Paris

-Francis

___
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: Scrollbar to drag through a movie?

2006-03-07 Thread Jim Hurley

---

Message: 12
Date: Tue, 7 Mar 2006 09:57:32 +0100
From: Klaus Major <[EMAIL PROTECTED]>
Subject: Re: Scrollbar to drag through a movie?
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hi Jim,


 Klaus,

 Thanks. I have been using the handler you describe above, but there 
 was never a picture that responds to the setting of the 
 currentTime. Although the movie would "start" at the currentTime.


 I'm not sure I know what you mean by "when the QT controller is 
 visible." Is this a feature of RR?


you can check "Controler" in the inspector for the player, and that 
is a QT only feature.
That one checked is what I mean by "when the QT controller is 
visible." :-)


 I haven't taken the plunge into 2.7 as yet. Waiting for things to 
 sort themselves out.


 But I would appreciate it if someone would let me know whether RR 
 has fixed the display problem in OS X. That is, whether the 
 following stack runs as expected:


 go  url "http://home.infostations.net/jhurley/DisplayProblemsOSX.rev";

 Does the graphic move evenly across the screen or is the  motion 
 herky-jerky?

 Same for the banner display?


Tried it on my 1 Ghz G4 Mac and the motion is ehmm... immediate (the 
graphic is here and then
there at once) and so is the banner, the text suddenly appears 
without the "OS X fix"



 Thanks,

 Jim


Regards

Klaus Major


Klaus,

Sorry to be so dense about this, but I presume that the "QT 
controller" must first be loaded into RR for it to appear in the 
inspector. That's what I don't get: How do I load the controller into 
RR?


I spoke to Mark Waddingham at Monterey about this screen refresh 
problem in Mac OS X and he said (I think) that he was going to fix 
it. Maybe I should remind him.


Jim
___
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: player vs play command

2006-03-07 Thread Klaus Major

Hi Peter,


Recently, Peter T. Evensen wrote:

Is there any benefit to using a player vs the play command if you  
just want
to play a single sound file as is?  I was just wondering if there  
are any

drawbacks to the play command that I should know about.


The play command is built-in (uses the engine to play media) and  
can only

play one sound at a time.

Players rely on external technology (QuickTime, WMP or similar) and  
since
you can have multiple players in a stack, it's possible to play  
multiple

sounds simultaneously.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com


AND the "play ac xyz" command will only play a VERY limited number
of formats: uncompressed AIF and WAV files and compressed AU files.


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: player vs play command

2006-03-07 Thread Scott Rossi
Recently, Peter T. Evensen wrote:

> Is there any benefit to using a player vs the play command if you just want
> to play a single sound file as is?  I was just wondering if there are any
> drawbacks to the play command that I should know about.

The play command is built-in (uses the engine to play media) and can only
play one sound at a time.

Players rely on external technology (QuickTime, WMP or similar) and since
you can have multiple players in a stack, it's possible to play multiple
sounds simultaneously.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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


player vs play command

2006-03-07 Thread Peter T. Evensen
Is there any benefit to using a player vs the play command if you just want 
to play a single sound file as is?  I was just wondering if there are any 
drawbacks to the play command that I should know about.


Thanks!

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


Bug Report - unable to compile database applications for Windows

2006-03-07 Thread Sadhunathan Nadesan

IMHO, bug reports should contain a minimum of 3 elements:

   * *How to duplicate this problem*
   * *What you expected*
   * *What you got instead*


Here is more!

_*Context:*_

I have developed Windows database applications on previous versions of 
Revolution, so imagine my surprise after spending all day building an 
app, which works fine in the IDE, but when I try to build a standalone, 
it fails on 2.7.  This is the first time I've tried this on 2.7 so, 
darn, now I am stuck with this stack because it won't load into 2.6.1.  
i have an enterprise license so database support should be included.


_*How to duplicate this problem*_

Well, can I include attachments in mail to this list?  I'd send a 
stack.  The one I built is not going to work for you because it requires 
a VPN connection to our corporate network.  Basically though it has code 
using the RevDB library calls, and as i say, works just fine when 
running in the IDE, but I think I'll try to build or find a very simple 
stack and see if I can duplicate the problem with that.


_*What I expected*_

I set the stand alone settings to include database support (can I send a 
screen shot?) and then I expected that when I chose 'save as stand alone 
application' it would work.  I expected to be able to launch the stand 
alone app and have it work like it does from within the ide.


_*What I got instead*_

When I had settings of 'search for inclusions' the stand alone build 
completed, but, the application when launched would not connect to the 
database.


When I manually set the inclusions for databse support, internet 
support, mysql drivers, etc, the compile will not complete.  It hangs.  
after a long, long time i finally have to kill revolution, and the tools 
palette.  under the externals folder created there is nothing under the 
databse drivers folder.  It builds an app which will launch but again, 
does not work. 


_*Guess?*_

2.7 does not do the right thing with database drivers on compiling stand 
alones?

___
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: And the sound player winner is...

2006-03-07 Thread Garrett Hylltun

Peter T. Evensen wrote:

[snip]
I guess I will stick with using two players and interleave them, so 
that one is loading the next file while the other one is playing the 
previous sound.  I was thinking of adding a call back to each player 
so I start playing the next sound even before I get the playingStopped 
on current player, to tighten things up even more. 
I'm not sure if Rev has the ability to get the total length in time of 
an mp3 file, but if it can, then you should be able to also track the 
time in Rev and start the next file say 4 or 5 seconds near the end of 
the first file.


In another language I made a DJ system with 3 slots setup and allowed 
the DJ to either manually transition between songs, or automatically.  I 
think I used 4 or 5 seconds as the default.


Also, is it possible in Rev to set the volume of each player? If so, you 
can set the volume of player 2 to 0, load it's file up and start playing 
it just to insure it's getting loaded up, then stop it, and set it back 
to it's start position and set the volume of it back to where it was.  
Then when the first player is just about done, second player is already 
primed and ready.


-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: callbacks

2006-03-07 Thread Peter T. Evensen
No, I didn't.  I was using a tab as the separator between the time index 
instead of a comma, doh!  Of course I discovered that after I sent the 
message. :(


At 11:10 AM 3/7/2006, you wrote:

Hi Peter,


Do callbacks ONLY work on movies?  It appears so.  I setup a call
back on a player that is playing an MP3 file, and it never fired...


just did a quick test here and works fine with MP3s, even in Rev 2.7 ;-)

Did you doublecheck your code?


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


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


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: callbacks

2006-03-07 Thread Klaus Major

Hi Peter,

Do callbacks ONLY work on movies?  It appears so.  I setup a call  
back on a player that is playing an MP3 file, and it never fired...


just did a quick test here and works fine with MP3s, even in Rev 2.7 ;-)

Did you doublecheck your code?


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


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


callbacks

2006-03-07 Thread Peter T. Evensen
Do callbacks ONLY work on movies?  It appears so.  I setup a call back on a 
player that is playing an MP3 file, and it never fired...


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


And the sound player winner is...

2006-03-07 Thread Peter T. Evensen
Well, I tried SMIL, the two interleaved players, and a single player to 
play a list of 10 mp3s.  Here are my results.


Single player: 25.5 seconds local, 47.9-164.2 seconds from a network
2 interleaved: 19.1 seconds local, 19.1-19.9 seconds from a network
SMIL: 17.2 seconds local, 17.1-17.8 second from a network (however not all 
the sounds played).


SMIL played the files most seamlessly when the files were on the local 
machine; however, if the files were stored on a mounted drive, the first 
sound file played, then the subsequent files did NOT play, but there was a 
pause, until it caught up and then started playing the remainder of the 
files, which just won't work.  If I played the SMIL file a second time, it 
would play as expected, but playing it twice is not a solution.


These tests were done in Rev on XP using a drive mounted from my OS X machine.

Just thought I would share my results.

I guess I will stick with using two players and interleave them, so that 
one is loading the next file while the other one is playing the previous 
sound.  I was thinking of adding a call back to each player so I start 
playing the next sound even before I get the playingStopped on current 
player, to tighten things up even more.


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


Sheet command

2006-03-07 Thread Yves COPPE

Hi list,

Working on mac OS X, I'd like to to something like :

go to cd "xyz" of stack "abc" as sheet in stack "parentstack B"

It doesn't work
Is there a way to do it ?

The parentstack parameter seems only to work with something like
sheet stack  "abc" in stack "parentstack B"



Greetings.

Yves COPPE
[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: Initialization Error

2006-03-07 Thread Devin Asay


On Mar 6, 2006, at 9:21 PM, Dan Tomlin wrote:


I'm new to developing programs, especially with revolution.
I am getting an error when trying to open up my "standalone"  
program in

Windows XP.  The error is as follows:
Can't open file "C:/Revolution/Pubs/PubsMain.exe", error 0, 0

My development environment is Mac OS X 10.4, and I'm using  
revolution studio
2.7 along with altSQLite3.  I am trying to creating a standalone  
program to
run on a windows PC as well as a Mac.  My standalone settings  
include the
database support option (for altSQLite3, which I have purchased)  
and the
database libraries (have included all libraries but not sure if I  
need to).



There has been some recent discussion on the list concerning problems  
moving standalones between Mac and PC platforms. Others have reported  
greater success by first compressing (with zip, eg.) the standalone  
files, transferring them and uncompressing them. I do this routinely  
and it seems to work.



PS - anyone know why the slashes "/" are backwards in the error  
message?

The directory the program is in is actually c:\revolution\pubs


Revolution uses the "/" character for directory delimiters regardless  
of the platform. When it talks to the OS it translates them as needed.


Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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


Database for Rev Media?

2006-03-07 Thread Rob Cozens


Jacque, et al...[Andre G., you might know]:


> Will Media support all the commands, functions, properties and
> containers presently supported by Dreamcard, except for external
> database-related stuff?

Yes, pretty much. It is the same engine, with a few behavioral 
limitations.




Since I'm using Studio already, I have not looked into the features and 
limitations of Media.


* Since SDB uses no externals, just db stacks & a library stack, could 
it work as a single-user db engine for Media?


* Does Media support socket commands [in which case client/server SDB 
might even be a possibility]?


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



___
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: Progress Reporting When Building Standalones

2006-03-07 Thread Rob Cozens
The long time it takes to do a build might be due to the content of 
your stack, but also there can be a big delay if you have the 
standalone builder set to scan for inclusions. If you uncheck the box 
"search for required inclusions" and instead check the box "select 
inclusions" the time it takes to build can be dramatically reduced.





Thanks for the tip, Jacque.

In this case there are no inclusions.

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


___
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: No OpenStack ..... ! continued

2006-03-07 Thread Rob Cozens

Morning Francis,


I have other problems moving to the PC platform,



The main issue I had was created by moving uncompressed stacks from Mac 
to PC.


Once I began compressing stacks on the Mac & decompressing on my TPC, 
all but minor problems went away.


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



___
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: The End of Dreamcard?

2006-03-07 Thread Rob Cozens


Hi Timothy,

Choose "Backdrop" from the View menu. You can set the color via 
script, or from the Preferences. Note that having a backdrop doesn't 
prevent you from changing apps.




I guess I can live with that. I can't understand why this option would 
suddenly become mandatory in Media. What's the logic? Is it a subtle 
incentive for some users to upgrade to Studio?




My foolesh guess is Media is positioned as a presentation 
builder/presenter al la Power Point.


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



___
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: DRM for Images and Text in Stacks

2006-03-07 Thread Ken Ray
On 3/7/06 3:42 AM, "Sivakatirswami" <[EMAIL PROTECTED]> wrote:

> Not so for a Rev stack. If you deployed a rich media library as
> stacks that  had copyright images stored in a substack, even if one
> sets a password on a stack, any other developer could open substack
> "image library" and go through the cards with the images on them in
> the application browser.

You could do this: for each image that needs to be displayed on the card in
the substack, put the imageData of the image(s) into custom properties of
the card, encrypted with 'base64encode' or compressed with 'compress' (or
use a custom algorithm of your own), and then set the imageData of the image
objects themselves to empty. Then, only when running in your standalone,
unencrypt/decompress and pipe the imagedata from the custom props back into
the image objects on preOpenCard. Make sure the custom property name and the
actual object to which it is associated have different names or identifiers.
Then encrypt the stacks.

This way, the image data is safe from prying eyes (people would only see the
raw image data when looking at it with the Rev IDE's inspector), and since
the stack is encrypted and the custom prop and image objects have no obvious
connection, it would be difficult to figure out which image data goes with
which object and even if they could, the data is encrypted or compressed so
it's not a simple act of "set the imageData of img 1 to ".

Here's a simple example using compress/decompress:

SETUP:
set the uStuff of this card to compress(the imageData of img 1)
put "" into img 1

PLAYBACK:
set the imageData of img 1 to decompress(the uStuff of this card)

Hope this helps,

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:Math equations

2006-03-07 Thread Glenn E. Fisher

Mark,
You wrote:

I am making a stack to teach students math -- linear equations, to be
more precise.  When I display the y = mx + b form, the best I can do
to show a fraction in the m position is something like y = 4/5x + 2.
This is ambiguous because it isn't clear what should be taken as the
divisor, 5 or 5x or 5x + 2.  The math teacher for whom I am making
the game would prefer a horizontal division line instead of a slash.

So far this is what I've thought of and rejected:

Use fonts that have fractions built in as one character.  No, because
they have too few for the range of possible slopes I want to generate.

Force the numerals around as subscripts and superscripts until it is
clear what the fraction is.  Messy and probably won't lead to success.

Use inline images.  Need too many images to cover possible slopes.

Write it y = (4/5)x + 2.  This is mathematically acceptable, but not
the way the students will see it elsewhere.

Use a different 2-line field that moves according to the location of
the fraction.  Hmm.. maybe.

I could use some help on this one.

TIA,
Mark

I have done this in the past (HyperCard days) with more complex  
equations than just linear which would simplify the scripting  
necessary.  The secret is doing the spacing of the numerator and  
denominator above and below a horizontal line of the equation in the  
center.  If you need some help scripting it just send me email off  
list and I'll help.


Have fun,
Glenn

___
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: Latest Version of RunRev for Mac OS 9???

2006-03-07 Thread Jim Carwardine
Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly.  It's
doubtful that 2.7 or later will get to OS 9... Jim

on 3/7/06 10:30 AM, David Burgun wrote:

> Hi,
> 
> Could someone tell me the latest version of RunRev for MacOS 9 and
> where I can download it?
> 
> Thanks a lot
> All the Best
> Dave
> 
> ___
> 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

-- 

Helping people focus and use time effectively and satisfyingly
as they go through their day.


Own Your Future Consulting Services Limited,
23 Shoal Cove Road, Seabright, Nova Scotia, Canada.  B3Z 3A9
Phone: 902-823-2339. Fax: 902-823-2139




___
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: Latest Version of RunRev for Mac OS 9???

2006-03-07 Thread Wally Rodriguez
There is an OS9 engine for 2.6.1, but I don't know off the top of my  
head which was the last full version for OS9.


go to www.runrev.com and choose downloads to find out...

W.

On Mar 7, 2006, at 9:30 AM, David Burgun wrote:


Hi,

Could someone tell me the latest version of RunRev for MacOS 9 and  
where I can download it?


Thanks a lot
All the Best
Dave


___
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: The End of Dreamcard? -- but life after death?

2006-03-07 Thread Mikey
> I am still constantly amazed that HC refugees are still cropping up on this
> list. I think the lesson here (and this list) is that there are an
> incredible amount of extremely clever people out there with a mind-boggling
> array of NEW ideas they'd like to turn into software, but programming is not
> their idea of fun. HC went a long way in taking the 'pro' out of programming
> but for many it still is hard work.

Yeah, well, I have been a programmer for 30 years (took my first
college-level class when I was in grade school), and have a BA in CS. 
Yet HT and by extension XT are by far my favorite languages. 
Something is clearly wrong with me.

--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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


Latest Version of RunRev for Mac OS 9???

2006-03-07 Thread David Burgun

Hi,

Could someone tell me the latest version of RunRev for MacOS 9 and  
where I can download it?


Thanks a lot
All the Best
Dave

___
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: GPS coordinates to metres

2006-03-07 Thread Pierre Sahores

Hello Monte,

Do you mean the "centroid" or the "center" of you map ?

Wait for your response before more Hala, the very kindly GIS expert  
and friend i work with, will respond directly about this all.


Kind Regards,

Pierre


Hi

Has anyone here done work with GPS coordinates. I have a set of  
coordinates and a point at the centre of my map. I need to convert  
these to metres relative to the centre of my map.


The coordinates are in the form:

LatitudeLongitude
37.29464 126.8324167
37.294642   126.832415
37.294642   126.832415
37.294642   126.8324133
37.294642   126.8324133


Thanks for any help with this one

Cheers

--

Monte Goulding  BCompSci
Sweat Technologies  BAppSci (Hons)

InstallGadget - How to create an installer in 10 seconds
Download now from: http://www.sweattechnologies.com/InstallGadget
___
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



--
Pierre Sahores
www.sahores-conseil.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: DRM for Images and Text in Stacks

2006-03-07 Thread Wouter

Hi Sivakatirswami,

On 07 Mar 2006, at 10:42, Sivakatirswami wrote:


Dream with me for a moment:


-snip-


Insights anyone?


A possibility to "protect" your images is to encrypt them using  a  
blowfish or another algo (included in the enterprise version) and put  
the result into fields or custom props (or whatever container of your  
choice). The code to deencrypt this pictures and place them in their  
respective image containers is kept in the password protected stack.

The necessary key to deencrypt when loading a encrypted pict stack:
  - may be "burried" somewhere in the stack (or somewhere else)
  - must be supplied (dialog box or internet connection)
The last system will need the most time to crack.
So there is no real need for a special plugin.



Sivakatirswami


Greetings,
Wouter
___
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: In-line Fraction with Horizontal Line

2006-03-07 Thread Cubist
In a message dated 3/6/06 6:57:10 PM, Mark Greenberg <[EMAIL PROTECTED]> 
writes:
>Fellow list members, I have a problem for which I can only find  
>difficult or unsatisfactory solutions, and I was hoping you might  
>have some suggestions.
>
>I am making a stack to teach students math -- linear equations, to be 
>more precise.  When I display the y = mx + b form, the best I can do  
>to show a fraction in the m position is something like y = 4/5x + 2.  
>
>This is ambiguous because it isn't clear what should be taken as the  
>divisor, 5 or 5x or 5x + 2.  The math teacher for whom I am making  
>the game would prefer a horizontal division line instead of a slash.
>
>So far this is what I've thought of and rejected:
>
>Use fonts that have fractions built in as one character.  No, because 
>they have too few for the range of possible slopes I want to generate.
   [nods] Yep. It's possible for you to write your code so that the only 
fractions that would show up are those which appear in a particular font... but 
that's clearly *not* one of the better approaches.

>Force the numerals around as subscripts and superscripts until it is  
>clear what the fraction is.  Messy and probably won't lead to success.
   Hmmm... maybe. The real question is, what would you do for the horizontal 
division line?

>Use inline images.  Need too many images to cover possible slopes.
   Not necessarily! Remember, you can use the "snapshot" function to build 
new images on the fly. Presumably, these images won't be particularly large, so 
it's at least worth trying to see if it would be fast enough.

>Write it y = (4/5)x + 2.  This is mathematically acceptable, but not  
>the way the students will see it elsewhere.
   [nods] You may or may not want to include this as an optional way to 
display the equations. Other than that, fuggeddaboutit.

>Use a different 2-line field that moves according to the location of  
>the fraction.  Hmm.. maybe.
   As long as you know (or can determine) where the fraction is going to be 
displayed on the card, this is a more than adequate 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


DRM for Images and Text in Stacks

2006-03-07 Thread Sivakatirswami

Dream with me for a moment:

Revolution Players of various shapes and flavors have become as  
ubiquitous as copies of Acrobat Reader. The Revolution IDE is  
deployed to the same number of seats as Acrobat Professional.


Enter new problem:  Digital Rights Management: how to protect images  
and text in fields in stacks that are *not* standalones from theft by  
others who have the IDE. If you have ever set security on an Acrobat  
file, e.g. the "cannot extract images" option, even someone with  
Acrobat professional (the "IDE" for pdf's)  will find that the option  
to extract images is dimmed. (Our managing editor who deals with  
photographers is all over this business)  Of course  Adobe  has a  
disclaimer saying that their may still be ways people can hack the  
PDF, but it certainly would not be a trivial task.


Not so for a Rev stack. If you deployed a rich media library as  
stacks that  had copyright images stored in a substack, even if one  
sets a password on a stack, any other developer could open substack  
"image library" and go through the cards with the images on them in  
the application browser. We would not be able to tell our


very-adamant-that-my-images-are-not-leaked-into-the-public-domain  
photographer or

hot-new-york-news-com-agency-with-litigious-lawyers.

that we had adequately protected their images in our product. I  
believe that even a very inexpensive "Dream Card"  IDE, or whatever  
it will be called this week or next, will open such a stack and have  
access to all cards in all substacks. So, right now we can make such  
claims fairly confidently for distribution of a rich media  
"experience" via an interactive PDF, but I would like to be able to  
do the same for a Rev stack, without having to turn each and every  
instance of a stack containing such content into a standalone.


I may be missing something, but, unlike Supercard, where, if I recall  
correctly, you could  lock up a stack such that even in the dev  
environment, it could not be opened without a password, this cannot  
be  done in Revolution. Anyone with an IDE license can open any  
stack... all that we can block is access to scripts and custom  
properties. Or, am I missing something?


Related question: Assuming we could lock up a substack image library  
(which I will put in as a feature request, if it is not  possible  
today) and then simply display those images  programatically on the  
fly, are their ways to block screen shots from within Revolution? We  
may tell the photographer "They are just 72 dpi's, don't worry" but a  
screen shot of an image  that fills the entire screen might be taken  
and output at a high enough resolution that he had reason to worry. I  
see the stunning full screen experience of  "If Monks Had Macs" (Yes  
they do.. just come visit us...) and I am immediately struck by the  
problem we would face if we used an image from our top Hinduism Today  
photographers in such a context.


This is already an issue for us: we have tons of commissioned art  
work from India that we put on the web and it is now "everywhere!"   
on literally hundreds of other web sites. Fortunately we own the  
rights to all that imagery and we really have no interest in guarding  
it and we get the occasional request to reprint in the  old ink-on- 
paper world which we grant for a small fee. But for Hinduism Today  
magazine content, it's a totally different ball game. We have "one  
time usage" for most images.. (various flavors of rights...) And I  
don't know that Keynote or Powerpoint presentations, or Quicktime  
movies (as slide shows) of such content can be "locked" up either...  
(these being the other  options we have for deploying rich media  
content)


If we *could* get some strong DRM going inside Revolution, it  would  
really open up a whole  new realm for a more professional level of  
media deployment. Our top photographer is very protective and I don't  
have good answers for him.


I suppose a plug in might also do the job? Chris... do we see another  
product from  Altuit?


"RevContentSecurityManager"

Am I the only one who ever thought about this issue? I would like to  
experiment with a kind of "Ajax" rich media experience were we  
deliver a player which then starts talking to the web server and  
delivering substacks etc. caching some onto the  user's hard drive,  
pulling live feeds off the server... the model would be fairly open  
in the sense that the stacks could be easily pulled off the web by  
anyone,  but  without  some strong DRM, we would  keep hitting walls  
where we can't deploy certain kinds of content crucial to the concept.


Insights anyone?

Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com

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

Re: Read from StnIn from POST is still broken?

2006-03-07 Thread Dave Cragg


On 6 Mar 2006, at 10:17, Mark Waddingham wrote:


Hi Sivakatirswami,

Linux web server, Apache, call Rev CGI to receive incoming Post  
Data.  Beginning lines of script to read the incoming data -- see  
below (suggested as a possible fix years ago by Scott Raney)


(musings... it is possible that this is a client side problem?
--machine A with browser B cannot in fact encode large chunks of  
data and the name=value pair actually arrive to the server already  
truncated.. meanwhile
-- box C with browser D submits a large text chunk from the same  
form and it arrive just fine: result Rev get blamed for being  
intermittent failures... but he's really not the bad guy.


on startup
if $REQUEST_METHOD is "POST" then
put "" into PostIn
repeat until length(PostIn) >= $CONTENT_LENGTH
read from stdin until ""
put it after PostIn
  end repeat
put  urlDecode (PostIn)  into tDataIn

split tDataIn by "&" and "="
put keys(tDataIn) into tFields

.etc.


There is no reason I can see (engine-side) as to why post data  
should get truncated. That being said, however, you should ensure  
that you pass '-ui' to the revolution engine when running as a CGI.


Has that option always been there?? And does it mean we don't need a  
Darwin engine to run on OS X?





(i.e. the first line of a cgi script should be:
  #! //revolution -ui

[ The -ui option alters a few things internally, in particular  
disables attempts to create any GUIs and enables stdin/stdout on  
systems - such as Win32 - which don't by default have these enabled ]


Does using the -ui option on Win32 work with IIS? I was under the  
impression that the #! line wasn't read by IIS and it links the  
script to an executable using its own settings.


Dave
___
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: How to preload sound files

2006-03-07 Thread Klaus Major

Hi Peter,

Thanks!  I'm not familiar with SMIL.  I will have to check into  
this and run some tests.


then you should download my little "mk_libsmil1" stack, that will  
create a SMIL file on the fly for you

and then check if the performance is better...

Get it from my homepage  or via  
Rev online (klausimausi :-)


In playing some more, my interleaved players do a better job on a  
network.  With a single player, it took 34 almost 35 seconds to  
play a string of 10 files.  With 2 interleaved players, it took 23  
seconds, since the one player was loading the next file while the  
other was playing the previous file.


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: Scrollbar to drag through a movie?

2006-03-07 Thread Klaus Major

Hi Jim,


Klaus,

Thanks. I have been using the handler you describe above, but there  
was never a picture that responds to the setting of the  
currentTime. Although the movie would "start" at the currentTime.


I'm not sure I know what you mean by "when the QT controller is  
visible." Is this a feature of RR?


you can check "Controler" in the inspector for the player, and that  
is a QT only feature.
That one checked is what I mean by "when the QT controller is  
visible." :-)


I haven't taken the plunge into 2.7 as yet. Waiting for things to  
sort themselves out.


But I would appreciate it if someone would let me know whether RR  
has fixed the display problem in OS X. That is, whether the  
following stack runs as expected:


go  url "http://home.infostations.net/jhurley/DisplayProblemsOSX.rev";

Does the graphic move evenly across the screen or is the  motion  
herky-jerky?

Same for the banner display?


Tried it on my 1 Ghz G4 Mac and the motion is ehmm... immediate (the  
graphic is here and then
there at once) and so is the banner, the text suddenly appears  
without the "OS X fix"



Thanks,

Jim


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: In-line Fraction with Horizontal Line

2006-03-07 Thread Ken Ray
> I could use some help on this one.

You can use the "textShift" property to move text above/below the baseline.
For example, make a field with 24 point font (I used Lucida Grande but you
can use what you want), and set the fixedLineHeight of the field to true.

Enter the equation like this:

y =  4 x + 2
   5

(that's 7 spaces before the "5" on the second line, and note there are 2
spaces between the "=" and the "4" on the first line)

Then open the message box and type these commands:

  set the textShift of char 1 to 3 of line 1 of fld 1 to 9
  set the textShift of char 8 to 12 of line 1 of fld 1 to 9
  set the textStyle of char 5 to 7 of line 1 of fld 1 to underline
  set the textShift of char 8 of line 2 of fld 1 to -9

You get the idea... play around with the textShift and the margins of the
field, and you should get something you like.

HTH,

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