Re: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express]

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 10:22 PM, erik hansen wrote:

games and teaching concerns seem to converge.
if no joy stick
then many kids will not check it out.
Yep I guess so.
Also Trevor's Quicktime external has a lot of functions for 
interactively working with Quicktime including sprites.


Nice work Trevor- that's a rich set of functions for QT!
Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express]

2004-01-13 Thread erik hansen
--- Alex Rice <[EMAIL PROTECTED]> wrote:

> That depends on what graphic/animation formats
> you are ultimately 
> working with. Personally I am thinking about
> using Quicktime and or AVI 
> for cut scenes and intros, and a combination of
> PNG frames and animated 
> GIFs for interactive animation. I think there
> will be a high degree of 
> interactivity and control. I hope so- because I
> intend to use it for 
> games.

games and teaching concerns seem to converge.
if no joy stick
then many kids will not check it out.

Erik

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express]

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 9:11 PM, erik hansen wrote:

thanks for the information.
Can you tell I like LivingCels? :-)

when all is said and done,
can you script where & when these things
will happen from inside Revolution?
That depends on what graphic/animation formats you are ultimately 
working with. Personally I am thinking about using Quicktime and or AVI 
for cut scenes and intros, and a combination of PNG frames and animated 
GIFs for interactive animation. I think there will be a high degree of 
interactivity and control. I hope so- because I intend to use it for 
games.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: what about a Latin America Rev User Group

2004-01-13 Thread erik hansen
--- Andre Garzia <[EMAIL PROTECTED]> wrote:
> 
> On Jan 13, 2004, at 10:51 PM, Alejandro Tejada
> wrote:
> >> I was thinking about creating a Brazilian
> >> Revolution User Group (if there's enought to
> form
> >> a group) or at least a Latin America User
> Group
> >> (My spanish is ugly but I would learn if
> needed).

estimables ordenadores,

puedo possiblemente ayudar le en las areas de
musica y baile. quiero utilisar la musica y
el baile para ensenar la mathematica.
hay interesa entre los ecosseses.

mi espagnol es mas espanglish que no,
pero can dictionario y ayuda, es possible
que puedo contribuar!

Erik

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


imageSource Linked Data -- what is it? where is it?

2004-01-13 Thread Sannyasin Sivakatirswami
Short query: is the imageSource of a char that comes initially from a 
disk file, imported into a stack or is it a linked, "placed" image that 
pulls the data runtime, but whose image data is not saved in the stack.

Long story:

 I have the following button which demonstrates

a) saving image data on the clipboard to a file

   ## I was not able to do this in a direct statement
   ## put the clipboarddata["image" into url "file:some.jpg" -- didn't 
work binfile also no...
   ## but had to resort to creating and image then using EXPORT.

b) assigning the image to a character in a field

this is for the purpose of including inline graphics-diagrams in a 
book. the diagrams or TIFFs in the OCR program that are happily 
understood by Rev in OSX and output nicely as pngs

Now, I am getting unexpected results if the image that is set up as the 
source for the imageSource of a character is modified.

The Expectation is (probably off base) that like any placed graphic or 
filename ref to an image, if the image is edited in an external 
application (imageReady, photoshop etc) and saved with the same file 
name, then the "placed" image will be updated.

Question: is this concept valid for the imageSource of a character in a 
field that was "linked" to a file on disk?  OR: is the imageSource of 
such a character effectively importing the data of the image into the 
stack as part of the stack?

Since the number of graphics is unknown and could possibly balloon, the 
stack could grow too big... and we could opt for a different strategy, 
like show the diagrams in a drawer to the right of the field and use 
filename to reference the disk file to an image object instead of a fld 
character.

on mouseup
  if the selection is empty then
  answer "Select a character where you want the image to go." with "OK"
  exit mouseup
  end if
 put the selectedchunk into tTextDiagramLocation
  put  the clipboarddata["image"] into image "diagram"
  answer folder "choose a folder"
  put it & "/" & "somePhoto.jpg" into tPath
  export image "Photo" to file tpath as JPEG
  set the imageSource of tTextDiagramLocation to ("binfile:" & tPath)
end mouseup
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express]

2004-01-13 Thread erik hansen
--- Alex Rice <[EMAIL PROTECTED]> wrote:

> BTW Richard Harris, director of _Who Framed
> Roger Rabbit_ published in 
> 2001 _The Animator's Survival Kit_. I have it
> in front of me and it is  truly a great book.
> 
> To do what you describe- combining video and
> animation, with full 
> control, I think you would have to use a
> combination of Quicktime, Gif 
> animation, and PNG frame sequences. Or some or
> all of those...

thanks for the information.
when all is said and done,
can you script where & when these things 
will happen from inside Revolution?

Erik



=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


what about a Latin America Rev User Group (Re: Am I the only Brazilian in here?)

2004-01-13 Thread Andre Garzia
On Jan 13, 2004, at 10:51 PM, Alejandro Tejada wrote:
I was thinking about creating a Brazilian
Revolution User Group (if there's enought to form
a group) or at least a Latin America User Group
(My spanish is ugly but I would learn if needed).
In what area do yo think that RunRev could
earn more followers in Brazil?
Stablished programmers or beginners users?
Education or Enterprise?
I think that some articles sent to popular magazines would do the 
trick, also I think it's easier to win the beginners than the older 
ones.
Here enterprizes are very "superticious" they trust only Visual Basic 
stuff, MS SQL and .NET... So educational market is better for now.


You could write a FAQ in portuguese about RunRev.
I'm doing the same in spanish.
Thats nice, I could translate your FAQ so we have the same Q&A...

As for the page we could do it together, and some nice stack like 
revNET would be fun.

Something like a Latin America Revolution User Group, that sounds 
nice...
we could do content togheter in both spanish and portuguese.

Cheers


We could join forces, make a nice blog with
tutorials in our languages,
Agreed! Tutorial for beginners, made in MC/RR.
Tutorials that promote reading ...
the documentation.  ;)
al

=
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi
__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Andre Garzia  2003
imac2 ibook p100 e uma torradeira
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Windows ODBC Recordset Navigation Problems

2004-01-13 Thread KumaSoftDev
I am using Run Rev on Windows XP Pro.

I have created a query against an ODBC database.  I have added Edit Fields to a Card 
and bound them to a query using the "Database" properties of each field.  I have then 
put 4 buttons on the Card and used the "Database" properties of each to map to the 
operations First Record, Last Record, Next Record, and Previous Record.

Unfortunately, only the Next Record functionality seems to be working.  The other 
buttons neither change the record not throw an error.

I am having the same results with both MS Access and Firebird ODBC drivers.  These 
drivers DO work as expected within other programs (Access and R:Base).

Can someone shed some light on this for me?

Thanks.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express]

2004-01-13 Thread Alex Rice
On Jan 12, 2004, at 5:50 PM, erik hansen wrote:
can we combine video and animation
a la Roger Rabbit, scripted in Revolution
and interactive at all times?
BTW Richard Harris, director of _Who Framed Roger Rabbit_ published in 
2001 _The Animator's Survival Kit_. I have it in front of me and it is 
truly a great book.

To do what you describe- combining video and animation, with full 
control, I think you would have to use a combination of Quicktime, Gif 
animation, and PNG frame sequences. Or some or all of those. If full 
control and interactivity was not needed I guess AfterEffects or 
something else could be used.

BTW Anyone interested in character animation, or 2D or 3D rendering, 
Flash, Director, or animation in general, keep an eye on announcements 
from Microsoft about Expression3 and LivingCels. Real soon hopefully.

Microsoft bought Creaturehouse last year, and their website is kind of 
shut-down, but you can get some old info about their apps here: 


The drawing programs Expression and LivingCels feature a technology 
named "skeletal strokes". . 
There are some illustrations and scientific papers at that URL that are 
very fascinating.

Skeletal strokes is a very innovative drawing technology. From the 
artist's point of view it really lends itself to expressively making 
animations, characters, scenery, etc. It's hard to describe how 
amazingly cool this software is.

Skeletal strokes can be higher order, i.e. defined in terms of other 
skeletal strokes. This can be used to easily build up paint strokes 
consisting of multitudes of body parts, organisms, plants, landscapes, 
whatever.

Or a skeletal stroke can be higher order but defined in terms of it's 
self. Then you have a recursively defined stroke, and you are painting 
with a fractal paint brush!

Or a skeletal stroke can be as refined a watercolor stroke or pen and 
ink.

Skeletal strokes also have features for anchoring, repeating segments, 
variable width, variable transparency, and multi-view strokes. The 
expressive possibilities are endless.

LivingCels can export movies to Quicktime, but it can also generate 
individual frames in TIFF, or in Expression3 format. So a movie could 
be converted to animated-gif 89a, or a sequence of PNG frames with full 
alpha-channel transparency. So a lot of possibilities for getting the 
animations into Revolution.

It is a 2D animation system, however I mention 3D because there is a 
lot of support for 2.5D animation in Expression. For instance, a 
multiple-view skeletal stroke with relative anchoring can give the 
appearance of a character rotating or moving in 3D. Also with texture 
mapping, perspective transformations and a mesh-warp grid, there is a 
lot of room for drawing in 3D without having to go actual 3D and create 
wireframe, objects, and physical models ala OpenGL- where you get (in 
theory) more realism in the rendering, but actually lose most of the 
expressive capability for character animation. Unless you are truly a 
master of Maya or these other extremely complex apps and you can bring 
life into 3D wireframe or rotoscoped models.

There are several 2D animation apps that kind of try to do what 
LivingCels does, like ToonBoom Studio, Moho, and others. But they just 
don't compare.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Tutorial

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 8:48 PM, tuviah snyder wrote:
Well in the future we may support XPATH, which would enable you to 
query XML
in powerful ways. You'll notice that the paths revXML returns are 
already
xpath compatible.
Great! Yeah I thought that the revXML node path syntax looked vaguely 
familiar. Although I don't know XPath.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Seamless Audio Loops in Rev

2004-01-13 Thread Scott Rossi
On 1/13/04 12:43 PM, "Ken Norris" <[EMAIL PROTECTED]> wrote:

> Well, of course you can loop a sound. The "seamless" part has to do with
> editing the sound properly.

Of course.  But the word you may have missed is "reliable".

First of all, the only way to come close to reliable looping is with
(imported) audioClips.

If you click on the menubar or a menu button, looping of the audioclip will
stop until the mouse is released.

If you click and drag a stack by its titlebar, looping of the audioclip will
stop until the mouse is released.

Running additional scripts and/or moving images around will sometimes
introduce delays within loops.

If you want to loop an MP3 file or some other non-WAV formatted file cross
platform, the only way to play this format is via a player (QT) and QT
inherently introduces pauses between clips.  Not to mention the fact that
there is a bug in Rev that prevents looping within standalones (though not
within the IDE).

Sure, you could say "Don't use MP3s, use WAV files."  But then you're forced
to deliver stacks that can run up to 10 times the filesize (or more) of
stacks that rely on MP3s.

It is virtually impossible to sequentially play different clips in a longer
loop without gaps.

And to run slightly astray of the original subject: even if looping
audioClips does work acceptably, controlling the clip independently of other
sounds is problematic.  AFAIK, the only way to adjust the volume of the clip
is to adjust the entire system volume, which affects all other sounds.  Of
course you could adjust the playLoudness of a player object, but then these
objects don't loop seamlessly.

BTW, setting the fileName of a player will often delay other events taking
place within the stack.

So yes, you *can* loop a sound, if the *only* thing you want to do in a
stack is loop a sound.


> I have a number of sounds that loop "seamlessly", althought they didn't at
> first. I had to edit the start and end points of the sound to get it to loop
> with no apparent break.
> 
> This is no different than anything else with looping sound AFAIK.

As explained above, there's a little more to it than that.  In the testing I
was able to do yesterday evening, it appears that using Flash will allow
audio in a player to loop seamlessly in the above situations while allowing
some control over the player (though more testing is needed).  Additional
control might be gained by including more interactivity within the Flash
movie.  Regardless, using Flash was proposed as an option that may be useful
for folks requiring better audio performance.

Regards,

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

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Am I the only Brazilian in here?

2004-01-13 Thread Alejandro Tejada
on Tue, 13 Jan 2004
Andre Garzia wrote:

>I was thinking about creating a Brazilian 
>Revolution User Group (if there's enought to form 
>a group) or at least a Latin America User Group 
>(My spanish is ugly but I would learn if needed).

In what area do yo think that RunRev could
earn more followers in Brazil?

Stablished programmers or beginners users?
Education or Enterprise?

>We could spread the Revolution here... 
>or better we could teach the rest of the world...

You could write a FAQ in portuguese about RunRev.
I'm doing the same in spanish.

>We could join forces, make a nice blog with 
>tutorials in our languages, 

Agreed! Tutorial for beginners, made in MC/RR.
Tutorials that promote reading ...
the documentation.  ;)

al

=
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Tutorial

2004-01-13 Thread tuviah snyder
> repeat for each line tLine of Macbeth
>   if matchText(tLine, "Speaker:(.+)$", tSpeaker)
> revAddXMLNode(tDocID, tParent, "speaker", tSpeaker)
>   end if
>   -- etc for speech, stagedir, etc, etc.
> end repeat
>
Well in the future we may support XPATH, which would enable you to query XML
in powerful ways. You'll notice that the paths revXML returns are already
xpath compatible.

Tuviah

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


MacWorld review

2004-01-13 Thread Kurt Kaufman
I note that Revolution 2.1 has received 4 stars in MacWorld magazine 
(February 2004).  -And I note that I have "my picture"  (well, of MIDI 
Builder, anyway) as part of the Rev screenshot.  :-)
I know that some of the author's conclusions might be considered 
debatable, but I'm glad to see Revolution getting a full-page review in 
what is probably the most important Macintosh magazine in the U.S..

-KK

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Field redistribution line by line

2004-01-13 Thread David Squance
>Not sure I follow the original question, but couldn't an array avoid
>the need for "do" or "value".

I had thought that it might, too, but my admittedly cursory
perusal of the docs didn't find adequate help (for me at least)
as far as the use of arrays is concerned.

I wish I'd had the time and money to attend the little conference
those who did are raving about.  I have a lot to learn.  As a
hobbyist with an almost 60 year old memory, the gains are slow.
Dave

>Assuming the "assigned variable name" matches the ultimate
>destination field name.
>
>In each loop, do something like:
>
>put  into myArray[calculatedKeyName]
>
>Then later:
>
>put myArray[calculatedKeyname] into field calculatedKeyname
>
>Cheers
>Dave
>
>___
>use-revolution mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] libEmail v1.00 and libSmtp v2.00

2004-01-13 Thread Kurt Kaufman
I'm looking forward to using these libraries in my projects; thanks, 
Sean!

-Kurt

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: GarageBand again

2004-01-13 Thread Mark Wieder
Marian-

I don't think it's been published yet. They were handing out free
50-page Sampler Editions at MacWorld Expo last week. But check with
www.missingmanuals.com for a release date.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


CGI Presentation at Revolution Seminar

2004-01-13 Thread J. Landman Gay
I spoke at the Revolution Seminar on how to use Revolution as a CGI 
engine, and explained how to write CGIs using Transcript. Some folks 
there asked for access to my presentation materials, so I have posted my 
notes, files, CGI scripts, and the presentation stack I used. The flower 
pictures are in there too. I haven't made any attempt to turn it into a 
real tutorial; if you weren't at the presentation it may not make a lot 
of sense. But there should be enough information there to jog the 
memories of the folks who did attend, and perhaps even to help those who 
didn't.



--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text encoding gotcha?

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 4:48 PM, Alejandro Tejada wrote:
How could I show, within RR/MC, all
the characters of these fonts?
Thanks in advance.
Have you tried doing something like this?

set the unicodeText of fld 1 to uniEncode(theBinaryData)

Make sure to read the text in as a binary file not a text file.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text encoding gotcha?

2004-01-13 Thread Alejandro Tejada
on Mon, 12 Jan 2004 18:01:00 -0800
Scott Rossi wrote:

> Sounds like you have a font applied to your fields
> (or stack) that isn't
> present on the system.  Usually you see this with
> non-Roman fonts.  Check
> the textFont of your fields, card and stack just to
> be sure.

Non-Roman fonts are for example : 
Batang (a font of 15 MegaBytes!)
Shinsei ( 9 MegaBytes!)
MsMincho ( 8 MegaBytes)

I've tried to use numtochar() to see all 
the characters in these fonts, but after 255
I just get garbage.

How could I show, within RR/MC, all 
the characters of these fonts?

Thanks in advance.

al


=
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevConference - Client Server vs Stateless

2004-01-13 Thread Richard Gaskin
Alejandro Tejada wrote:

> Http calls to Apache/MySQL/PHP setup...
> I need to learn more about this topic.
> I'll like to create an interface within MC/RR
> to the services of yahoo: mail, briefcase,
> groups and geocities websites.
> 
> Could you point me to the knowledge that I need to
> learn so I can try to make this interface?

Studying Ken Ray's Rev interface to Bugzilla should be a good start:




-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] Re: XML Tutorial

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 1:21 PM, Graham Samuel wrote:

Sorry, this really has got OT now, so I'll shut up after this, but I'm 
still looking to make sense of a phrase like "typing in the XML 
markup".
Not really off topic, if we are using revXML to do it:-)

You have it right. XML is "extensible" markup language. You can invent 
your own document types. You can create  XML documents just by thinking 
up element and attribute names, and typing it into a text editor!

However, if you want to interchange data with 3rd parties or apps, then 
you get into wellformed-ness of the document, and whether the text is 
compliant with a particular XML document type, which can be specified 
in various ways (DTD, Schema, RelaxNG, ???).

Many HTML editor apps can save docs as XHTML, which is HTML as a 
well-formed XML document. So if you know HTML you kind of know what XML 
is about already.

SMGL is the older, more complex sibling of XML.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


the ask password - bug? revisited

2004-01-13 Thread Wouter
Re: ask password - bug?
•From: Robert Eppich
•Subject: Re: ask password - bug?
•Date: Mon, 08 Dec 2003 14:56:06 -0800
Hi Chris,
I can verify the characters not being deleted, it seems to simply put 
the cursor back a character. Mac OS X 10.2 & 10.3 using Rev 2.1.2 is 
what I have seen it on. Workaround is to not use the delete key in the 
dialog, select all text and type gets around the problem. Perhaps this 
is a bug?

Robert Eppich
epsi computer systems, inc.


On Dec 8, 2003, at 1:27 PM, [EMAIL PROTECTED] wrote:

 Just use the
Message Box and enter:
ask password clear "enter password:"

Try typing something, then hitting backspace a couple times, then type
something else. The characters you deleted get inserted after the 
cursor.
This only happens when you use the "clear" option from what I can tell.

A bit late, but due to the answers on " Re: simple modal questions"
which were workarounds for this bug, the following can be useful
to those who don't want to wait for the next revolution update.
Edit the script of the "ask dialog" stack and change:

on backspaceKey
  put the fieldmode of me
  if the fieldmode of me is "password"
  then deleteone
  else pass backSpaceKey
end backspaceKey
to

on backspaceKey
  if the fieldmode of me is "password" or the fieldmode of me is "clear"
  then deleteone
  else pass backspaceKey
end backspaceKey
and save.
Don't be afraid to do the change, as this is the original code from 
metacard,

After this everything is working as it should and did before.

Greetings,
WA
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[OT] Re: XML Tutorial

2004-01-13 Thread Graham Samuel
On Tue, 13 Jan 2004 09:29:01 -0700,Alex Rice <[EMAIL PROTECTED]> wrote:


On Jan 13, 2004, at 4:09 AM, Graham Samuel wrote:

> I am using this to infer what XML is and what it's for - I know, this
> was not Alex's intention when writing his post, but in fact it takes
> me quite a long way.
It was my intent, more or less :-)

> However the question I can't tackle intuitively from the sample is
> "how would I define and populate my XML tree - or whatever it's called
> - faced with the text of 'Macbeth'?", and maybe "How general could
> such a parser/populator be? Once constructed - presumably with some
> set of rules - could I use it on 'Hamlet'?" I suppose the answer to
> the second question has got to be "Yes" provided the range of syntax
> and punctuation of the two plays is broadly the same (**exactly** the
> same?). Still looking for that type of guidance - tho of course
> strictly this is OT to RunRev: for which I crave your indulgence, my
> Lords.
I found the XML ready-made on the web. Most likely it was written by
hand someone typing in the XML markup, or using an XML editor to type
it in.
If not, if it was actually parsed from some other format into XML,
undoubtedly regular expressions were used. Something like
repeat for each line tLine of Macbeth
  if matchText(tLine, "Speaker:(.+)$", tSpeaker)
revAddXMLNode(tDocID, tParent, "speaker", tSpeaker)
  end if
  -- etc for speech, stagedir, etc, etc.
end repeat
Sorry, this really has got OT now, so I'll shut up after this, but I'm 
still looking to make sense of a phrase like "typing in the XML markup". 
I'm feeling my way to the idea that XML is a bit like HTML (or even SGML if 
I knew what that was), which allows you to represent a structured text (or 
maybe something other than a text) using a restricted character set via a 
system of tags. Maybe the trick with XML is that you have meta-tags, as 
with Humpty Dumpty - " 'When I use a word', Humpty Dumpty said in a rather 
scornful tone, 'it means what I choose it to mean - neither more nor less'. "
If this is the case, I see that I can invent a structure for representing a 
Shakespeare play, but of course I can only **use** a populated structure of 
this kind if I understand the tags, so somehow the 'meaning' must be 
contained within the text. Muddling. I will search the Internet some more, 
next time I have a moment.

Graham

---
Graham Samuel / The Living Fossil Co. / UK & France  

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevConference - Client Server vs Stateless

2004-01-13 Thread Alejandro Tejada
on 13 Jan 2004 01:13:43 +0100
Pierre Sahores wrote:

>[EMAIL PROTECTED] wrote:
> In Jerry Daniels presentation on thin clients he 
>stated a strong preference against using the 
>client-server model, which I took to be Rev 
>talking to the database directly, in favor of 
>what he called a stateless model in which 
>rev made http calls to the Apache/MySQL/PHP setup.

Http calls to Apache/MySQL/PHP setup...
I need to learn more about this topic.
I'll like to create an interface within MC/RR 
to the services of yahoo: mail, briefcase, 
groups and geocities websites.

Could you point me to the knowledge that I need to
learn so I can try to make this interface?

Probably, Yahoo uses some kind of database too,
so from their html forms pages it could be possible
to learn something. Right?

Thanks in advance.

al

=
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: GarageBand again

2004-01-13 Thread Marian Petrides
Mark
Where'd you find iLife '04 The Missing Manual?  I haven't been able to 
find any books on iLife '04 yet--not even online.

Marian
On Jan 13, 2004, at 5:46 PM, Mark Wieder wrote:
hi-

I finally found out how to transpose sections of looped samples in
GarageBand. According to "iLife '04 The Missing Manual" if you click
the triangle to the right of the Region panel you reveal the Advanced
panel. That's where the Transpose slider is hiding. Note, though, that
only the green (software instruments) and blue (digital samples)
tracks can be transposed - live recording tracks (red tracks) stay as
they are.
--
-Mark
 [EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: GarageBand again

2004-01-13 Thread Mark Wieder
hi-

I finally found out how to transpose sections of looped samples in
GarageBand. According to "iLife '04 The Missing Manual" if you click
the triangle to the right of the Region panel you reveal the Advanced
panel. That's where the Transpose slider is hiding. Note, though, that
only the green (software instruments) and blue (digital samples)
tracks can be transposed - live recording tracks (red tracks) stay as
they are.

-- 
-Mark
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: simple modal questions

2004-01-13 Thread Doug Lerner
On 1/14/04 12:37 AM, "Wouter" <[EMAIL PROTECTED]> wrote:

> 
> On 13 Jan 2004, at 10:12, [EMAIL PROTECTED] wrote:
> 
>> Message: 10
>> Date: Tue, 13 Jan 2004 08:32:58 +0100
>> From: Yves COPPE <[EMAIL PROTECTED]>
>> Subject: Re: simple modal questions
>> To: How to use Revolution <[EMAIL PROTECTED]>
>> Message-ID: <[EMAIL PROTECTED]>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> 
>> 
>> Le 13 janv. 04, à 07:50, Dar Scott a écrit :
>> 
>>> 
>>> On Monday, January 12, 2004, at 07:58 PM, Doug Lerner wrote:
>>> 
 (2) How do you make a text field into a "password" field (asterisked
 out)?
>>> 
>>> 
>> 
>> 
>> here is a sample :
>> 
>> suppose you have a fld named "pass"
>> 
>> here is the script of the fld :
>> 
>> local thisPassword
>> on returninfield
>>get thisPassword
>>if it is  then
>>  ##do your stuff
>>else
>>  answer "Tentative illégale !"
>> close this stack
>>end if
>> end returninfield
>> 
>> on enterinfield
>>returninfield
>> end enterinfield
>> 
>> on keydown whichKey
>> put whichKey after thisPassword
>>put "*" after field "pass"
>> end keyDown
>> 
>> on backspaceKey
>>put empty into field "pass"
>>put "" into thisPassword
>> end backspaceKey
>> 
>> on deleteKey
>>put empty into field "pass"
>>put "" into thisPassword
>> end deleteKey
>> 
>> 
>> Hope this helps.
>> 
>> 
>> Greetings.
>> 
>> Yves COPPE
>> [EMAIL PROTECTED]
>> 
>> 
> 
> 
> 
> What about the :
>  <  ask password clear > command?
> 
> Try this in a button:
> 
> on mouseUp
>  ask password clear  "Enter your password"
>  put it
> end mouseUp
> 
> Greetings,
>

But that requires you to get the password in a separate dialog, right?

doug

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: iMovie vs Final Cut Pro-- and Final Cut Express

2004-01-13 Thread Alejandro Tejada
on Mon, 12 Jan 2004 16:50:43 -0800 (PST)
erik hansen wrote:

>can we combine video and animation
>a la Roger Rabbit, scripted in Revolution
>and interactive at all times?

Look at the site:

www.livingactors.com

These animated interactive characters use
openGL to render the figures. Surely,
you could find a way to communicate your
application with their program.

>the Mac world seminar showed the human
>side of Revolution: there are only so many
>people and a multitude of directions to
>profitably follow.

We need more programmers able to translate
their computer experience to the terms used by
MC/RR: handlers, commands, functions and externals.

Ah, of course, it helps a lot if they are
excellent writers of tutorials and help files.
And keep a website with their software.

al

=
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] libEmail v1.00 and libSmtp v2.00

2004-01-13 Thread [EMAIL PROTECTED]
> Thanks Shao - your efforts are much appreciated.

you're welcome ^_^



> with the help docs for libSmtp - the last two menu items on the Help 
> stack are disabled (at least on Mac OSX). Adding an escape -- \ -- 
> before the left bracket character  on each does the trick.

thanks.. i just removed the "()" from the entries (both in libSmtp and 
libEmail).. i've updated the stacks online, but other than that, there's 
no changes (so no real need to re-download)


-Sean

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Regex

2004-01-13 Thread Paul Foraker
According to my non-resident genius cousin (computer science student at 
UCSB),

-- BEGIN IM TRANSCRIPT --

me: do you know what m|n>k means?

him: sure, in a programming context, it means "if m bitwise or with n 
is greater than k"

me: thank you!

him: sure sure 

me: and... what's it mean? 

him: hehehe

me: so, bitwise, meaning counted as bits
so, the bits it takes to represent m or n is more than it takes to 
represent k
?

him: so, (m | n) is almost like an add... let's see... so if any bit in 
either variable is a 1, then in the result that bit is also a 1
so if m were, say, 100 (in binary), and n were 010, the result of m | n 
would be 110

me: (lying through my teeth) Ok, thanks, I get the idea.

him: sure, sure

--- END IM TRANSCRIPT ---
On Tuesday, Jan 13, 2004, at 13:37 US/Pacific, J. Landman Gay wrote:
I saw this in someone's tagline months ago in a non-computer 
newsgroup. It has been on my desk blotter ever since, and every once 
in a while I try to figure it out. Anyone have a clue?

  m|n>k

The beginning looks like "moron" to me, or maybe "more and". But who 
knows, it could be something else entirely. It's driving me nuts.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Field redistribution line by line

2004-01-13 Thread Dave Cragg
At 6:03 pm +0100 13/1/04, Klaus Major wrote:

Any hints form the listers?
Sorry, coming late to this.

Not sure I follow the original question, but couldn't an array avoid 
the need for "do" or "value".

At 3:06 pm -0700 12/1/04, David Squance wrote:
I'm having trouble with a script which takes individual lines from a field
and places them in various fields on another card (and stack).  The basic
structure involves a repeat loop which works through each line of the
source field, assigning it a variable name, and then is supposed to place
each of those into separate fields in the destination card.  What's the
proper syntax for this?  I can't make the
do "put tname" & x && "into fld fname" & x
approach work.
Assuming the "assigned variable name" matches the ultimate 
destination field name.

In each loop, do something like:

put  into myArray[calculatedKeyName]

Then later:

put myArray[calculatedKeyname] into field calculatedKeyname

Cheers
Dave
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Best place for common script

2004-01-13 Thread Richard Gaskin
Jim Hurley wrote:

>> Richard Gaskin wrote:
>> 
>> 
>> For those of you who attended the plugins session at the Rev seminar this
>> will serve as refresher notes for some of my introductory material
...
> I am probably the only one who is still confused on this matter of Libraries.

You haven't seen my In Box.  Hence, this morning's revisions. :)

> I have some stacks which I like to have handy for reference use. I
> currently store them in the plugin folder. Sometimes they are used to
> provide back scripts and sometimes I call them up for use as the main
> stack. (For this reason, I convert them to Toplevel stacks. In one
> case I include:
> 
> set the style of this stack to "toplevel"
> 
> in a preopenstack script. There is no option to open plugins at the toplevel.)
> 
> Now I presume that plugins used in this way are "Library Stracks?"
> (That's a question.)
> 
> Might I also interpret the sequence under the "Development" menu in
> RR as follows:
> 
> Object Library
> Image Library
> Stack Library (aka Plugins?)

The term "Library" as used in the IDE and as used in the engine refer to
different things.  

Taking a cue from the "libraryStack" message, when discussing Transcript
"library" refers to the engine's ability to extend the message path with
"start using".  Transcript handler collections like libURL, libIPC, and
libSMTP use the term "library" in this context.

In the IDE, "Library" refers to collections of prefabricated ready-to-use
objects.  The Library tools in the Rev IDE are not inserted into the message
path.

Is this dual-use of the term confusing?  Perhaps, but there's too much
history behind the "libraryStack" message to consider changing that, and I'm
hard-pressed to think of a better term for the IDE's collections of prefab
components.  Suggestions?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Regex

2004-01-13 Thread Dar Scott
On Tuesday, January 13, 2004, at 02:37 PM, J. Landman Gay wrote:

  m|n>k
mourn after Kay?
imbarn GTK?
I better get back to work.

Dar

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Flow chart app written in Rev

2004-01-13 Thread Bill Vlahos
I seem to recall that someone has or is working on a commercial Flow 
Chart drawing software in Rev. Is this true? I can't find it.

Bill Vlahos

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: Regex

2004-01-13 Thread J. Landman Gay
I saw this in someone's tagline months ago in a non-computer newsgroup. 
It has been on my desk blotter ever since, and every once in a while I 
try to figure it out. Anyone have a clue?

  m|n>k

The beginning looks like "moron" to me, or maybe "more and". But who 
knows, it could be something else entirely. It's driving me nuts.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux Engine: Problems on Red Hat server with CGI

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 2:07 PM, Paolo Mazza wrote:

I could not find an "otool" command.

On the contrary the ldd command in linux works.
The "otool -L" command is for OS X only. It's the equivalent command to 
doing "ldd" on Linux.

I'm pretty sure otool is installed by default, but it's possible it is 
only installed with the DevTools CD.



Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Group Edit anomaly

2004-01-13 Thread J. Landman Gay
On 1/13/04 12:34 PM, Graham Samuel wrote:

I've got a card which contains various graphics, images and groups. Two 
of the images are used in a simple animation of sliding doors (one left, 
one right): I simply have a loop which reduces the width of each door 
progressively while keeping them anchored to the door frame, with a 
small delay between iterations. Works fine, but I have the following 
problem.

I need to open a group on the card for editing (via script - although 
the behaviour I'm describing happens in the IDE too). If my 'doors' are 
in the 'open' position (i.e. they have had their widths reduced to about 
one tenth of the original width), the act of opening the (unrelated) 
group for editing and closing it again has an effect on the door images! 
They return to their original width and are spaced further apart than 
they were. I cannot imagine what's doing this, but I have got it down to 
a completely repeatable sequence. For a start, where can the memory of 
the original door width be kept? Of course it can be my error, but I 
can't see what sort of error it could be. I'm not running any script in 
the group or any of its components, nor in the door images.

I'm looking for a workaround, but meanwhile can anyone suggest what's 
happening?
Unlocked images will revert to their native dimensions whenever the card 
opens or their enclosing group is edited. Set the lockloc of the images 
to true.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Field redistribution line by line

2004-01-13 Thread David Squance
Thanks.
That looks a good deal cleaner and clearer than the
do do.
Dave


>try this:
>
>put fname & x into theFieldName
>put tname & x into theValueName
>put field theFieldName into value(theValueName)
>
>On Tuesday, January 13, 2004, at 05:00 PM,
>[EMAIL PROTECTED] wrote:
>
>> This works well for the second half of the process,
>> however, I still seem to need the "do" syntax for
>> getting the line into the variable in the first half.  It
>> is working, so I don't need to change it, but it is
>> rather cumbersome.  In other words, if I reverse the
>> above to:
>>  put fld (fname & x) into value(tname & x)
>> it produces an error, with or without 'value'.
>
>___
>use-revolution mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux Engine: Problems on Red Hat server with CGI

2004-01-13 Thread Paolo Mazza
Thank you ... This engine works on MAC OS X . It is great.

However I was not able to have the Linux engine of Revolution to work 
on my  provider's Linux server.

 As Alex Rice wrote:

Unfortunately the engine

has many library dependencies, like X11, so you should search out an 
older version of the Rev or metacard engine and do the ldd test on it. 
If it returns a bunch of stuff like this, then just discard it and 
search for an older version.
ldd Linux
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0012b000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0013a000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x0020)
libm.so.6 => /lib/libm.so.6 (0x002b4000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x002d7000)
libc.so.6 => /lib/libc.so.6 (0x002df000)
libdl.so.2 => /lib/libdl.so.2 (0x00412000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0011)

It is a pity we can not use the engine on the Linux servers.

Ciao Paolo

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux Engine: Problems on Red Hat server with CGI

2004-01-13 Thread Paolo Mazza
What to you mean by :


 on OS X

otool -L rev

I could not find an "otool" command.

On the contrary the ldd command in linux works.

Ciao Paolo Mazza

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Seamless Audio Loops in Rev

2004-01-13 Thread Ken Norris
on 1/13/04 1:12 AM, [EMAIL PROTECTED] at
[EMAIL PROTECTED] wrote:

> Date: Tue, 13 Jan 2004 01:10:41 -0800
> From: Scott Rossi <[EMAIL PROTECTED]>
> Subject: Seamless Audio Loops in Rev
>
> After lamenting the absence of any reliable way to seamlessly loop audio in
> Rev, it occurred to me that Flash can loop audio seamlessly and Flash movies
> can be played from within QuickTime.
---
Well, of course you can loop a sound. The "seamless" part has to do with
editing the sound properly.

I have a number of sounds that loop "seamlessly", althought they didn't at
first. I had to edit the start and end points of the sound to get it to loop
with no apparent break.

This is no different than anything else with looping sound AFAIK. If you are
wanting a Rev self-edit feature that *automatically morphs* the start and
end points of a clip so it loops seamlessly...well, it'd be a great thing,
but I don't know if it'll get much priority. I'd think it's doable, though.

Ken N.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


'Message Path' updated

2004-01-13 Thread Richard Gaskin
Many thanks to those who've cited typos and other issues in the "Extending
the Message Path" article.  A revised version is now posted:



One of the more significant changes is to the diagram regarding groups and
backgrounds.  While I rarely put scripts in shared groups ("backgrounds" in
traditional parlance), testing the behavior reveals a fundamental change to
the message path, as noted in the revised version of the article.

Seems this old dog is still learning new tricks...

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


GameDev in Rev. Seuck explained + suggestion

2004-01-13 Thread WIlliam Griffin
First up i'm trying to properly focus the next Inkubator project at 
www.idevgames.com
so i deconstructed an ancient commercial game making tool called
the Shoot 'Em up Construction KIt
Here's the stack that goes with that.
http://www.igame3d.com/seuck/SEUCKexplainedRev.zip

The Inkubator project is intended to teach game dev newbies how to get 
started.
Their last effort went the "read the source code" route, which was the 
wrong direction, as you either know how to program
and could do all that stuff on your own, or you don't know source from 
a hole in the wall and it just discourages you.
They will most likely go with Cocoa /obj-c again.

So I'd like to suggest to the rev community that we set up a place that
we discuss game dev topics in relationship to Revolution as a continous 
resource
instead of the random weeding of this list.

If I get enough emails I can suggest to iDevGames to set us up with a 
subsection for this.
The fact that Runtime put up a top of the product line Revolution 
license for uDevGame 2003 should also help sway Carlos.

I could host at my forums, but I can't seem to get auto log-in working, 
a bit annoying.
Or perhaps the rev lists knows a better locale for us to set up the 
game dev discussion head quarters.

Your input is appreciated.

Mr Bill
[EMAIL PROTECTED]
http://www.igame3d.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Group Edit anomaly

2004-01-13 Thread Graham Samuel
I've got a card which contains various graphics, images and groups. Two of 
the images are used in a simple animation of sliding doors (one left, one 
right): I simply have a loop which reduces the width of each door 
progressively while keeping them anchored to the door frame, with a small 
delay between iterations. Works fine, but I have the following problem.

I need to open a group on the card for editing (via script - although the 
behaviour I'm describing happens in the IDE too). If my 'doors' are in the 
'open' position (i.e. they have had their widths reduced to about one tenth 
of the original width), the act of opening the (unrelated) group for 
editing and closing it again has an effect on the door images! They return 
to their original width and are spaced further apart than they were. I 
cannot imagine what's doing this, but I have got it down to a completely 
repeatable sequence. For a start, where can the memory of the original door 
width be kept? Of course it can be my error, but I can't see what sort of 
error it could be. I'm not running any script in the group or any of its 
components, nor in the door images.

I'm looking for a workaround, but meanwhile can anyone suggest what's 
happening?

TIA

Graham

---
Graham Samuel / The Living Fossil Co. / UK & France  

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining which menu button was clicked on Mac

2004-01-13 Thread Frank Leahy
Two comments -- see below:

On Tuesday, January 13, 2004, at 05:00 PM, 
[EMAIL PROTECTED] wrote:

I would set script of  the menubutton to :

on menuPick pWhich
   put the text of me into TESTO
   switch pWhich
   case (line 1 of TESTO)
 if line 1 of TESTO is "play" then
-- do something
   put "stop" into line 1 of TESTO
 else
   put "play" into line 1 of TESTO
-- do something
 end if
 set the text of me to TESTO
 break

   case (line 2 of TESTO)
 beep 1
 break
   end switch
end menuPick

However it would be very useful to have  a "MenuPickNumber"  returned
by Revolution any time a menu item (or a sub-menu item) has been
clicked,
So, we could easily change the text of the button  and let the script
unchanged (for example when we have a menu issued in different
languages).
Best regards

Paolo Mazza

There's no reason to test for the current menu item values -- RR will 
return the correct menu item name, depending on what was in it when the 
user chose it.  If you had it set to "Stop" then simply call your stop 
function, if you had it set to "Play" then simply call your play 
function.  Make sense?


Giovedì, 8 Gen 2004, alle 06:40 Europe/Rome, Trevor DeVore ha scritto:

On Jan 7, 2004, at 6:26 PM, Björnke von Gierke wrote:

I had a similar problem like you, where I wanted to check/unckeck a
menu item before the menu is shown. And indeed I was unable to do
this anywhere else then the menubar group's script on OS X. I worked
around this by using a "if the target = "view" then" script. It might
be time for a feature request?
Where would you put the 'if the target = "view" then' script?  I tried
checking 'the target' in the menubar group script but it returned the
name of the menubar group rather than the name of the menu that was
selected.
In terms of when you have to set the menu items -- a very long time ago 
I wrote the Menu Manager for the Mac II, and unless something drastic 
has changed under OSX, there's no way to change menu item names "on the 
fly", i.e. while a menu is down (not without writing your own 
MenuDefProc).  That means that you have to set the menu items before 
the menu goes down.   The right place to do this is in the menu's (or 
menubar's) mouseDown handler.  Make sure to "pass mouseDown" after 
you've set your menu items.

-- Frank

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Field redistribution line by line

2004-01-13 Thread Frank Leahy
try this:

put fname & x into theFieldName
put tname & x into theValueName
put field theFieldName into value(theValueName)
On Tuesday, January 13, 2004, at 05:00 PM, 
[EMAIL PROTECTED] wrote:

This works well for the second half of the process,
however, I still seem to need the "do" syntax for
getting the line into the variable in the first half.  It
is working, so I don't need to change it, but it is
rather cumbersome.  In other words, if I reverse the
above to:
put fld (fname & x) into value(tname & x)
it produces an error, with or without 'value'.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Interfaces: PC and MAC and the screenGamma property...

2004-01-13 Thread Bruce Robertson
> Yep,
> 
> but how to get two buttons (and a scroll wheel) on my new i-Book?

Cash, check or charge all seem to work.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: text encoding gotcha?

2004-01-13 Thread Mark Powell
The scripts do save to, and extract from, a standalone text file.  No
clipboard involved is involved however.

-Original Message-
From: Alex Rice [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 10:56 AM
To: How to use Revolution
Subject: Re: text encoding gotcha?



On Jan 13, 2004, at 10:48 AM, Mark Powell wrote:
> I am seeing this for the first time today.  Maybe we have the same flu.

Any chance you copy-pasted the contents of the field, from another app?

It seems in my case Revolution is not checking the contents of the 
clipboard carefully enough, or is misinterpreting the clipboard 
encoding.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text encoding gotcha?

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 10:48 AM, Mark Powell wrote:
I am seeing this for the first time today.  Maybe we have the same flu.
Any chance you copy-pasted the contents of the field, from another app?

It seems in my case Revolution is not checking the contents of the 
clipboard carefully enough, or is misinterpreting the clipboard 
encoding.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: text encoding gotcha?

2004-01-13 Thread Mark Powell
Suddenly, I am seeing something similar in my IDE (running on Windows).  A
list is showing either the box you describe or a bold pipe at the end of
each line.  A chartonum query identifies this character as 13, and when I
replace numtochar(13) with empty, the artifact goes away.  This 'fix' is
making me nervous, because it seems to be the equivalent of saying "strip
the carriage returns", which it is not doing.

I am seeing this for the first time today.  Maybe we have the same flu.

Mark

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 5:25 PM
To: How to use Revolution
Subject: text encoding gotcha?


Suddenly when I do a Win32 standalone build, when I run it on windows, 
some fields are all garbled looking. Every other character is a box- 
signifying maybe this is using a wide character encoding. This is 
bizarre- I'm not using Unicode at all. What the heck could be going on? 
Is it possible to disable the automatic MacToISO encoding for fields 
which happens when you launch a Mac-built standalone on Windows?

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text encoding gotcha?

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 10:40 AM, Alex Rice wrote:

What is it, UTF8?
No, every other char is charToNum() = 0, NULL I guess. Weird. I'm going 
to bugzilla this.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text encoding gotcha?

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 10:33 AM, Alex Rice wrote:
> put fld 4
T h e   f a c i l i t y   h a s   t y p i c a l   v i s i t o r  f a c 
i l i t y   f u n c t i o n s ,
Wow- on Mac OS in both Mail.app and Revolution.app that text appeared 
to be spaced normally. After going through email, it appears that it 
was padded with a space every other char. What is it, UTF8?

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text encoding gotcha?

2004-01-13 Thread Alex Rice
This appears to be related to the other bug I posted about recently: 
trouble after copy-pasting from Excel. Why the heck is Revolution 
accepting wide and or control characters when I paste into the IDE? 
This is bad. I am supposed to deliver an app today (yesterday actually) 
and instead I have to manually go through and reset the content of 
many, many fields.

Here is some debugging from the message box to show how bizarre this is.

> put fld 4
The facility has typical visitor 
facility functions, but will also 
be a hub for multiple modes of 
transportation requiring bus, 
train, and/or boat facilities.  An 
example of this type of facility is 
the Zion National Park Visitor 
Center.

> put the length of fld 4
475
> put safeString(fld 4)
The facility has typical visitor facility functions, but will also be a 
hub for multiple modes of transportation requiring bus, train, and/or 
boat facilities.  An example of this type of facility is the Zion 
National Park Visitor Center.

-- It appears to be the same text, right? Wrong!
> put the length of safeString(fld 4)
238
That it is 1/2 the length corresponds to what I am seeing on Win32- 
every other character is a box- "unknown" char.

function safeString pStr
  -- 011 octal = tab
  -- 012 octal = newline (in transcript "return", "linefeed")
  -- 040 - 167 = space to "~"
  -- ignore 177+ assume they won't cause problems
  return replaceText(pStr, "([\000-\010]|[\013-\037])+", empty)
end safeString
Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Best place for common script

2004-01-13 Thread Richard Gaskin
Klaus Major wrote:

> Hi Richard,
> 
>> Richard Gaskin wrote:
>>> One of my New Year's resolutions is to try to reduce the number of
>>> ten-page
>>> posts I make to this list , but this question comes up often and
>>> deserves
>>> a thorough treatment so I compromised and posted a new article to my
>>> site on
>>> this:
>>> 
>>> >> revolution_message_path.html>
>>> 
>>> For those of you who attended the plugins session at the Rev seminar
>>> this
>>> will serve as refresher notes for some of my introductory material
>>> (sockets
>>> tutorial forthcoming).
>>> 
>>> --
>>> Richard Gaskin
> 
> From the page:
> 
> 
> ...
> Changing the Firing Order of Messages
> ...
> ... relative to the original object.You can also execute any
> 
> 
> 
> and the rest is missing :-(
> 
> Could you please complete this sentence, Richard?
> 
> Thanks a lot :-)

Good catch.  A GoLive anomaly:  that fragment was meant to be deleted and
didn't show in GoLive but is present on the page.  It's been removed.

Thanks for the report!

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Field redistribution line by line

2004-01-13 Thread Klaus Major
Hi David,

Thanks, Klaus

Try this (no need to do "do" ;-)
I seem to be doing quite a bit of do do  :)
Take care, the Dodo-bird has become extinct several hundred years ago 
;-)

 put value(tname & x) into fld (fname & x)
This works well for the second half of the process,
however, I still seem to need the "do" syntax for
getting the line into the variable in the first half.  It
is working, so I don't need to change it, but it is
rather cumbersome.  In other words, if I reverse the
above to:
put fld (fname & x) into value(tname & x)
it produces an error, with or without 'value'.
That's true, i still have not found the other way without "do"...

Any hints form the listers?

Dave
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text encoding gotcha?

2004-01-13 Thread Alex Rice
On Jan 12, 2004, at 7:01 PM, Scott Rossi wrote:
Sounds like you have a font applied to your fields (or stack) that 
isn't
present on the system.  Usually you see this with non-Roman fonts.  
Check
the textFont of your fields, card and stack just to be sure.
Thanks- unfortunately the textFont of everything is either Arial, or 
empty. Still trying various things. This one really hash caught me 
off-guard.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Field redistribution line by line

2004-01-13 Thread David Squance
Thanks, Klaus

>Try this (no need to do "do" ;-)

I seem to be doing quite a bit of do do  :)

>  put value(tname & x) into fld (fname & x)

This works well for the second half of the process,
however, I still seem to need the "do" syntax for
getting the line into the variable in the first half.  It
is working, so I don't need to change it, but it is
rather cumbersome.  In other words, if I reverse the
above to:
put fld (fname & x) into value(tname & x)
it produces an error, with or without 'value'.

Dave


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining which menu button was clicked on Mac

2004-01-13 Thread Paolo Mazza
I would set script of  the menubutton to :

on menuPick pWhich
  put the text of me into TESTO
  switch pWhich
  case (line 1 of TESTO)
if line 1 of TESTO is "play" then
-- do something
  put "stop" into line 1 of TESTO
else
  put "play" into line 1 of TESTO
-- do something
end if
set the text of me to TESTO 
break

  case (line 2 of TESTO)
beep 1
break
  end switch
end menuPick

However it would be very useful to have  a "MenuPickNumber"  returned 
by Revolution any time a menu item (or a sub-menu item) has been 
clicked,
So, we could easily change the text of the button  and let the script 
unchanged (for example when we have a menu issued in different 
languages).

Best regards

Paolo Mazza



Giovedì, 8 Gen 2004, alle 06:40 Europe/Rome, Trevor DeVore ha scritto:

On Jan 7, 2004, at 6:26 PM, Björnke von Gierke wrote:

I had a similar problem like you, where I wanted to check/unckeck a 
menu item before the menu is shown. And indeed I was unable to do 
this anywhere else then the menubar group's script on OS X. I worked 
around this by using a "if the target = "view" then" script. It might 
be time for a feature request?
Where would you put the 'if the target = "view" then' script?  I tried 
checking 'the target' in the menubar group script but it returned the 
name of the menubar group rather than the name of the menu that was 
selected.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux Engine: Problems on Red Hat server with CGI

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 6:01 AM, Paolo Mazza wrote:

I wonder if you solved the problem. I would like to use the Linux 
Engine on a Red Hat server but it looks like it is not going to work.

I installed an old Linux Engine of Revolution  1.1 into my CGI  folder 
of MAC OS X and it works.
On the contrary I tried to instal the Darwin engine of Revolution on 
the CGI folder of MAC OS X ... and I got the 500 Error from Apache.
Maybe the engines were mis-named? Linux and OS X have different binary 
architectures and they shouldn't be working if you swap them around.

For any particular engine, to see what libraries it depends on, do this 
shell command on Linux:

ldd rev

and on OS X

otool -L rev

The OS X URL Jaqueline just posted is good, libraries wise because it 
only depends on libSystem


Unfortunately the engine

has many library dependencies, like X11, so you should search out an 
older version of the Rev or metacard engine and do the ldd test on it. 
If it returns a bunch of stuff like this, then just discard it and 
search for an older version.
ldd Linux
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0012b000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0013a000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x0020)
libm.so.6 => /lib/libm.so.6 (0x002b4000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x002d7000)
libc.so.6 => /lib/libc.so.6 (0x002df000)
libdl.so.2 => /lib/libdl.so.2 (0x00412000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0011)

(unless you like compiling and installing stuff lots of stuff on your 
Linux box but it's bound to be a hassle)

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Tutorial

2004-01-13 Thread Alex Rice
On Jan 13, 2004, at 4:09 AM, Graham Samuel wrote:

I am using this to infer what XML is and what it's for - I know, this 
was not Alex's intention when writing his post, but in fact it takes 
me quite a long way.
It was my intent, more or less :-)

However the question I can't tackle intuitively from the sample is 
"how would I define and populate my XML tree - or whatever it's called 
- faced with the text of 'Macbeth'?", and maybe "How general could 
such a parser/populator be? Once constructed - presumably with some 
set of rules - could I use it on 'Hamlet'?" I suppose the answer to 
the second question has got to be "Yes" provided the range of syntax 
and punctuation of the two plays is broadly the same (**exactly** the 
same?). Still looking for that type of guidance - tho of course 
strictly this is OT to RunRev: for which I crave your indulgence, my 
Lords.
I found the XML ready-made on the web. Most likely it was written by 
hand someone typing in the XML markup, or using an XML editor to type 
it in.

If not, if it was actually parsed from some other format into XML, 
undoubtedly regular expressions were used. Something like

repeat for each line tLine of Macbeth
 if matchText(tLine, "Speaker:(.+)$", tSpeaker)
   revAddXMLNode(tDocID, tParent, "speaker", tSpeaker)
 end if
 -- etc for speech, stagedir, etc, etc.
end repeat
Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux Engine: Problems on Red Hat server with CGI

2004-01-13 Thread J. Landman Gay
Le mar 13/01/2004 à 14:01, Paolo Mazza a écrit :
I wonder if you solved the problem. I would like to use the Linux 
Engine on a Red Hat server but it looks like it is not going to work.

I installed an old Linux Engine of Revolution  1.1 into my CGI  folder 
of MAC OS X and it works.
On the contrary I tried to instal the Darwin engine of Revolution on 
the CGI folder of MAC OS X ... and I got the 500 Error from Apache.
The Darwin engine that was online previously was missing a couple of 
libraries. A new one was uploaded last Thursday (just in time for the 
seminar) which now works. You can find it at: 


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac OS 9 and sockets - are they slow?

2004-01-13 Thread Scott Slaugh
>> In Classic mode, all networking has to be rewired to
>> go through OS X networking protocols, so that's one
>> explanation for the delay.
>> Another is that MacOS pre-X never had a really robust
>> TCP/IP stack, and was alywas a bit on the slow side.
>> But maybe someone else can offer you hints on speeding
>> things up.
>
> I also discovered that I got a huge speed increase if I used datagram
> sockets instead of normal sockets.
>
This is with Mac OS 9 in particular?
This was on a Windows machine.  But, as Frank Leahy mentioned, do be careful 
with datagrams.  Delivery is not guaranteed.  In the particular application 
I was working on, speed was more important that was completely reliable 
delivery.

Scott Slaugh

_
Rethink your business approach for the new year with the helpful tips here. 
http://special.msn.com/bcentral/prep04.armx

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I don't understand the SWITCH command?

2004-01-13 Thread xbury . cs
I noticed... then took a break ;)

On 13/01/2004 15:54:58 use-revolution-bounces wrote:
>Thank you everybody!
>
>It works now.
>
>Xbury :"But the problem is surely with the usage of the "selectedline" 
where
>you should use the hilitedline... For ListBehavior fields, the
>selectedline
>doesn't work..."
>
>You know, the "selectedline" works here fine by me!
>
>
>Amicalement
>François
>
>
>--
>François Cuneo
>Site Web dédié au Macintosh http://www.cuk.ch
>E-mail: [EMAIL PROTECTED]
>
>> De : Wouter <[EMAIL PROTECTED]>
>> Répondre à : How to use Revolution <[EMAIL PROTECTED]>
>> Date : Tue, 13 Jan 2004 14:45:45 +0100
>> À : [EMAIL PROTECTED]
>> Objet : Re: I don't understand the SWITCH command?
>>
>>
>> On 13 Jan 2004, at 13:58, [EMAIL PROTECTED] 
wrote:
>>
>>> Message: 10
>>> Date: Tue, 13 Jan 2004 13:59:54 +0100
>>> From: Fran?ois Cuneo <[EMAIL PROTECTED]>
>>> Subject: I don't understand the SWITCH command?
>>> To: How to use Revolution <[EMAIL PROTECTED]>
>>> Message-ID: <[EMAIL PROTECTED]>
>>> Content-Type: text/plain; charset="ISO-8859-1"
>>>
>>> Hello everybody!
>>> I have a problem with the "Switch" command.
>>> Here is my little Code:
>>>
>>> on mouseup
>>>   put word 2 of the selectedline of me into nbcalc
>>>
>>>   switch nbcalc
>>>
>>>   case 1
>>> put 0 into fld "nbcalc"
>>
>>   break    otherwise it will fall through to the next case
>>
>>>
>>>   case 2
>>>
>>> put 2 into fld "nbcalc"
>>   break  ### necessary if a default case is following
>>
>>>   end switch
>>>
>>> end mouseup
>>>
>>> It's always the case 2 that's done, even if the nbcalc is 1!
>>> What's wrong please?
>>>
>>>
>>> Amicalement
>>> François
>>>
>>>
>>> --
>>> François Cuneo
>>> Site Web dédié au Macintosh http://www.cuk.ch
>>> E-mail: [EMAIL PROTECTED]
>>
>>
>> Greetings,
>> WA
>>
>> ___
>> use-revolution mailing list
>> [EMAIL PROTECTED]
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>
>___
>use-revolution mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/use-revolution

Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

END OF DISCLAIMER
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I don't understand the SWITCH command?

2004-01-13 Thread François Cuneo
Thank you everybody!

It works now.

Xbury :"But the problem is surely with the usage of the "selectedline" where
you should use the hilitedline... For ListBehavior fields, the
selectedline
doesn't work..."

You know, the "selectedline" works here fine by me!


Amicalement
François


-- 
François Cuneo
Site Web dédié au Macintosh http://www.cuk.ch
E-mail: [EMAIL PROTECTED]

> De : Wouter <[EMAIL PROTECTED]>
> Répondre à : How to use Revolution <[EMAIL PROTECTED]>
> Date : Tue, 13 Jan 2004 14:45:45 +0100
> À : [EMAIL PROTECTED]
> Objet : Re: I don't understand the SWITCH command?
> 
> 
> On 13 Jan 2004, at 13:58, [EMAIL PROTECTED] wrote:
> 
>> Message: 10
>> Date: Tue, 13 Jan 2004 13:59:54 +0100
>> From: Fran?ois Cuneo <[EMAIL PROTECTED]>
>> Subject: I don't understand the SWITCH command?
>> To: How to use Revolution <[EMAIL PROTECTED]>
>> Message-ID: <[EMAIL PROTECTED]>
>> Content-Type: text/plain; charset="ISO-8859-1"
>> 
>> Hello everybody!
>> I have a problem with the "Switch" command.
>> Here is my little Code:
>> 
>> on mouseup
>>   put word 2 of the selectedline of me into nbcalc
>> 
>>   switch nbcalc
>> 
>>   case 1
>> put 0 into fld "nbcalc"
> 
>   break    otherwise it will fall through to the next case
> 
>> 
>>   case 2
>> 
>> put 2 into fld "nbcalc"
>   break  ### necessary if a default case is following
> 
>>   end switch
>> 
>> end mouseup
>> 
>> It's always the case 2 that's done, even if the nbcalc is 1!
>> What's wrong please?
>> 
>> 
>> Amicalement
>> François
>> 
>> 
>> --
>> François Cuneo
>> Site Web dédié au Macintosh http://www.cuk.ch
>> E-mail: [EMAIL PROTECTED]
> 
> 
> Greetings,
> WA
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: My first try...

2004-01-13 Thread Dom
Yves COPPE <[EMAIL PROTECTED]> wrote:

> There are many French users on the list

You mean "french speaking", i presume ;-)

-- 
Digital photos (nature, garden) : http://cooldomi.free.fr/
Scripting : http://domiscript.free.fr/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I don't understand the SWITCH command?

2004-01-13 Thread Wouter
On 13 Jan 2004, at 13:58, [EMAIL PROTECTED] wrote:

Message: 10
Date: Tue, 13 Jan 2004 13:59:54 +0100
From: Fran?ois Cuneo <[EMAIL PROTECTED]>
Subject: I don't understand the SWITCH command?
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="ISO-8859-1"
Hello everybody!
I have a problem with the "Switch" command.
Here is my little Code:
on mouseup
  put word 2 of the selectedline of me into nbcalc
  switch nbcalc

  case 1
put 0 into fld "nbcalc"
   break    otherwise it will fall through to the next case

  case 2

put 2 into fld "nbcalc"
   break  ### necessary if a default case is following

  end switch

end mouseup

It's always the case 2 that's done, even if the nbcalc is 1!
What's wrong please?
Amicalement
François
--
François Cuneo
Site Web dédié au Macintosh http://www.cuk.ch
E-mail: [EMAIL PROTECTED]


Greetings,
WA
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I don't understand the SWITCH command?

2004-01-13 Thread xbury . cs
Francois,

But the problem is surely with the usage of the "selectedline" where
you should use the hilitedline... For ListBehavior fields, the 
selectedline
doesn't work... 

hope that helps

On 13/01/2004 13:59:54 use-revolution-bounces wrote:
>Hello everybody!
>I have a problem with the "Switch" command.
>Here is my little Code:
>
>on mouseup
>put word 2 of the selectedline of me into nbcalc
>
>switch nbcalc
>
>case 1
>put 0 into fld "nbcalc"
>
>case 2
>
>put 2 into fld "nbcalc"
>end switch
>
>end mouseup
>
>It's always the case 2 that's done, even if the nbcalc is 1!
>What's wrong please?
>
>
>Amicalement
>François
>
>
>--
>François Cuneo
>Site Web dédié au Macintosh http://www.cuk.ch
>E-mail: [EMAIL PROTECTED]
>
>___
>use-revolution mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/use-revolution


Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

END OF DISCLAIMER
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I don't understand the SWITCH command Š

2004-01-13 Thread Klaus Major
Bon jour François,

Hello everybody!
I have a problem with the "Switch" command.
Here is my little Code:
You forgot to add the "break" after each "case":

on mouseup
  put word 2 of the selectedline of me into nbcalc
  switch nbcalc

  case 1
put 0 into fld "nbcalc"
   break
  case 2
put 2 into fld "nbcalc"
   break
  end switch
end mouseup
It's always the case 2 that's done, even if the nbcalc is 1!
What's wrong please?
The engine does not "break" after checking the first "case" :-)

Hope that helps.

Amicalement
François
Au revoir

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I don't understand the SWITCH command Š

2004-01-13 Thread Jan Schenkel
--- François Cuneo <[EMAIL PROTECTED]> wrote:
> Hello everybody!
> I have a problem with the "Switch" command.
> Here is my little Code:
> 
> on mouseup
>   put word 2 of the selectedline of me into nbcalc
> 
>   switch nbcalc
> 
>   case 1
> put 0 into fld "nbcalc"
> 
>   case 2
> 
> put 2 into fld "nbcalc"
>   end switch
>   
> end mouseup
> 
> It's always the case 2 that's done, even if the
> nbcalc is 1!
> What's wrong please?
> 
> 
> Amicalement
> François
> 

Bonjour François,

You'll need to insert a 'break' command at the right
spots ; so your script should look like :

on mouseup
  put word 2 of the selectedline of me into nbcalc
  switch nbcalc
  case 1
put 0 into fld "nbcalc"
break
  case 2
put 2 into fld "nbcalc"
break
  end switch
end mouseup

If you don't use a 'break' command, the engine will
just execute the rest of the script in each case until
it bumps into a break.
It has its advantages, for instance when you need to
do something extra in special cases, but it can be a
bit confusing if you don't have a background in C.

Example :
--
  switch tNumber
  case 3
-- only do the following
...
break
  case 2
-- do something special, as well as the code
-- for case tNumber = 1
...
-- so no 'break' at this point
  case 1
-- do what needs done in this case
...
-- and break since we don't want the default
break
  default
-- if none of the other cases are true
...
-- the break isn't necessary, but cleaner code
break
end switch
--

Hope this helped,

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: My first try...

2004-01-13 Thread Yves COPPE
Le 13 janv. 04, à 12:09, Aides Educateurs a écrit :

Hi
It's my first try of Revolution, but as a French user, it is hard to 
read
all your messages, guys.
I'm not clever enough to translate. so do you have some  french URL's 
to
help me ?
Feel Fre to use my personnal mail [EMAIL PROTECTED]
Thanks to help a real beginner.


There are many French users on the list

Feel free to explain your problem in French on the list, you'll get an 
answer
better in English, son anyone have benefits from your questions and the 
answers

Il y a de nombreux utilisateurs de Revolution ici qui parlent le 
Français.
Tu peux poser tes questions en Anglais, ou comme moi dans un très 
mauvais anglais ou même en Français
tu auras bien une réponse...Si c'est possible utilise l'anglais, ainsi 
tout le monde profite de tes questions et des réponses...;<)

Amicalement.

Yves COPPE
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux Engine: Problems on Red Hat server with CGI

2004-01-13 Thread Paolo Mazza
I wonder if you solved the problem. I would like to use the Linux 
Engine on a Red Hat server but it looks like it is not going to work.

I installed an old Linux Engine of Revolution  1.1 into my CGI  folder 
of MAC OS X and it works.
On the contrary I tried to instal the Darwin engine of Revolution on 
the CGI folder of MAC OS X ... and I got the 500 Error from Apache.

Best regards,  Paolo Mazza

Sabato, 29 Nov 2003, alle 08:44 Europe/Rome, Sannyasin Sivakatirswami 
ha scritto:

OK, Alex, good call... we dug up an old (I mean *really* old -- built 
for Linux RH 6.2)  MC linux engine, and it works! No missing libraries 
on execute cgi.

But that certainly doesn't help with present day attempts, as you 
rightly point out.

Tuviah... good luck on our work. ..keep us posted.

On Nov 27, 2003, at 9:14 AM, Alex Rice wrote:

On Nov 27, 2003, at 11:58 AM, Sannyasin Sivakatirswami wrote:

Thanks for everyone's helpful responses. But our linux man couldn't 
make a go of it... he writes:
You simply need to find a Rev or MC engine that does not dynamically 
link with all of those X libraries. Tuviah said he was working on >> one.

But that doesn't help you now. I would look for old Rev and MC 
engines and see if they do not have this problem too. I suspect it 
was not always this way because obviously it makes it impossible for 
a lot of people to deploy CGIs with all of these library >> dependencies.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


I don't understand the SWITCH command Š

2004-01-13 Thread François Cuneo
Hello everybody!
I have a problem with the "Switch" command.
Here is my little Code:

on mouseup
  put word 2 of the selectedline of me into nbcalc

  switch nbcalc

  case 1
put 0 into fld "nbcalc"

  case 2

put 2 into fld "nbcalc"
  end switch
  
end mouseup

It's always the case 2 that's done, even if the nbcalc is 1!
What's wrong please?


Amicalement
François


-- 
François Cuneo
Site Web dédié au Macintosh http://www.cuk.ch
E-mail: [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RevConference - Client Server vs Stateless

2004-01-13 Thread Pierre Sahores
Le mar 13/01/2004 Ã 03:38, Vikram Singh a Ãcrit :
> Pierre,
> 
> Looks like something interesting. Can you please describe this.
> 
> Regards
> Vikram
> 

Vikram,

This is just a "starter point toy" to have transcript code server-sided
parsed from within a rsptest.php file by a asplike.rsp rev script.
Apache and PHP have to be installed.

The "rsptest.php" file have to contains :

>  exec 2>&1
> echo \
> \
> \
> set itemdel to \"/\" \
> put \"Hi !\" \&\& item 2 of the short date \& \"/\" \& item 1 of the
short date \& \"/\" \& item 3 of the short date \&\& word 1 of the short
time \
> put \"This is a Rev ASP/JSP alike way to output Transcript contents to
the Web\.\" \
> \
> \
> | /srv/www/celia/asplike.rsp'); ?> 

The php's "passthru" command invoques the echo's shell command witch
contains, before the "|", the transcript code (including the backslashs
tags to let the bash shell know that the code have to be send "as is")
and, after the pipe, the path to the server-side rev script witch will
execute the code (/srv/www/celia/asplike.rsp).

The "asplike.rsp" script is a text file witch contains :

> #!/home/pierre/Revolution-2.1.2/revolution
> on startup
>   # start using stack "liburl"
>   read from stdin until empty
>   do it
> end startup

Remember that's this code is only a "just to see" test toy,...
The next steep would be to find a way to remove the PHP's and Shell's parts
from the process... Why not trough an apache's rev's module, Tuviah ?

-- 
Best Regards, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection acadÃmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire "delta de productivitÃ"
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: My first try...

2004-01-13 Thread Alain Bois
Je comprends ton problème. Il y a une liste de diffusion française: 
http://fr.groups.yahoo.com/group/revolutionfr/
Good luck quand même.
Je suis prof de maths, animateur IREM et je vais développer dans 
l'année avec Revolution, j'étais dans les années 90 un fan d'Hypercard, 
Revolution c'est HC mais en mieux.
Salut
Alain
Le 13 janv. 04, à 12:09, Aides Educateurs a écrit :

Hi
It's my first try of Revolution, but as a French user, it is hard to 
read
all your messages, guys.
I'm not clever enough to translate. so do you have some  french URL's 
to
help me ?
Feel Fre to use my personnal mail [EMAIL PROTECTED]
Thanks to help a real beginner.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Bug in setting setting the height of rectangles

2004-01-13 Thread Frank Leahy
I seem to remember reading that integer arithmetic uses trunc() by 
default.  Therefore 70 - .1 = trunc(69.) = 69 is what you'd 
expect.

Why was it you were subtracting .01 in the first place?

-- Frank

On Tuesday, January 13, 2004, at 09:12 AM, 
[EMAIL PROTECTED] wrote:

On Monday, January 12, 2004, at 05:50 PM, Jim Hurley wrote:

I have been getting some strange results setting the heights of
graphic rectangles--programmatically.
I think rounding in setting the height might be good.  But I have no
problem with not rounding.  I assume there is a meaningful workaround.
Dar Scott
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Tutorial

2004-01-13 Thread Graham Samuel
On Tue, 13 Jan 2004 00:00:28 -0700, Alex Rice <[EMAIL PROTECTED]> wrote:

On Jan 12, 2004, at 8:41 AM, Thomas J McGrath III wrote:
> Does anyone have a stack that shows how XML's work in Rev for
> 'beginners'?
I think core concepts with revXML are:

[interesting stuff on revXML and then more general, using 'Macbeth' as an 
example...]
I am using this to infer what XML is and what it's for - I know, this was 
not Alex's intention when writing his post, but in fact it takes me quite a 
long way. However the question I can't tackle intuitively from the sample 
is "how would I define and populate my XML tree - or whatever it's called - 
faced with the text of 'Macbeth'?", and maybe "How general could such a 
parser/populator be? Once constructed - presumably with some set of rules - 
could I use it on 'Hamlet'?" I suppose the answer to the second question 
has got to be "Yes" provided the range of syntax and punctuation of the two 
plays is broadly the same (**exactly** the same?). Still looking for that 
type of guidance - tho of course strictly this is OT to RunRev: for which I 
crave your indulgence, my Lords.

TIA

Graham



---
Graham Samuel / The Living Fossil Co. / UK & France  

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: My first try...

2004-01-13 Thread Pierre Sahores
Le mar 13/01/2004 Ã 12:09, Aides Educateurs a Ãcrit :
> Hi
> It's my first try of Revolution, but as a French user, it is hard to read
> all your messages, guys.
> I'm not clever enough to translate. so do you have some  french URL's to
> help me ? 
> Feel Fre to use my personnal mail [EMAIL PROTECTED]
> Thanks to help a real beginner.
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

Hi,

See below, the mail i just got some days ago !

> Bonjour et bienvenue dans le groupe RevolutionFr, issu 
> du nouveau service de communautÃs Yahoo! Groupes. 
> 
> Pour envoyer des messages aux membres de ce groupe, envoyez 
> simplement un e-mail à 
> 
> [EMAIL PROTECTED] 
> 
> Si vous ne souhaitez pas appartenir au groupe RevolutionFr, vous 
> pouvez vous dÃsinscrire en envoyant un e-mail à 
> 
> [EMAIL PROTECTED] 
> 
> Vous pouvez Ãgalement visiter le site Web Yahoo! Groupes pour modifier
> vos inscriptions : 
> 
> http://fr.groups.yahoo.com/mygroups  
> 
> Cordialement, 
> 
> le modÃrateur de RevolutionFr
> 
> 
> L'utilisation du service Yahoo! Groupes est soumise à l'acceptation
> des 
> Conditions d'utilisation et de la Charte sur la vie privÃe,
> disponibles 
> respectivement sur http://fr.docs.yahoo.com/info/utos.html et
> http://fr.docs.yahoo.com/info/privacy.html
> 
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection acadÃmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire "delta de productivitÃ"
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


My first try...

2004-01-13 Thread Aides Educateurs

Hi
It's my first try of Revolution, but as a French user, it is hard to read
all your messages, guys.
I'm not clever enough to translate. so do you have some  french URL's to
help me ? 
Feel Fre to use my personnal mail [EMAIL PROTECTED]
Thanks to help a real beginner.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: scottish user group?

2004-01-13 Thread Bob Hartley
At 17:38 12/01/2004, you wrote:
At 3:59 pm + 12/1/04, Bob Hartley wrote:

Are there any Scottish (as in the country not the nationality) users? :-)
There seem to be a few.
My mail bounced to you Dave.

Cheers
bob

Cheers
Dave
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] libEmail v1.00 and libSmtp v2.00

2004-01-13 Thread Terry Judd

Well after many months of sitting around and doing nothing, I'm finally
releasing the next version of libSmtp and it's new companion library -
libEmail!
libSmtp has been re-written and all of the email encoding features that
were found in the previous versions have all been off-loaded to 
libEmail.

What's new in libSmtp v2
- almost 100% re-written
- more robust error handling
- everything should be "threaded" (wait with messages)
- better smtp authentication support and handling
libEmail v1.0.0 is a new library featuring all the great features found
in the old libSmtp library, but with much better support. All the code
has been sifted through and re-written in many places. Support for
unicode in headers and message body parts was added in.
Thanks Shao - your efforts are much appreciated. Just one minor quibble 
with the help docs for libSmtp - the last two menu items on the Help 
stack are disabled (at least on Mac OSX). Adding an escape -- \ -- 
before the left bracket character  on each does the trick.

Cheers,

Terry...



Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting the icon of a button to be an image

2004-01-13 Thread peter9 . smith
> > I have a button and an image of exactly the same
> > size.  When I set the
> > button's showIcon to true and the icon to the image
> > ID the image does appear
> > in the button but it's shifted up about 5 pixels.
> 
> Assuming you've set the 'showName' property to false,
> you'll want to also tinker the 'margins' property --
> this allows you to shift around the icon and text in a
> button.
> 
> Hope this helped,
> 
> Jan Schenkel.

Thanks Jan and others it was indeed "showName" I had missed.

I appreciate the help available on this list!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Seamless Audio Loops in Rev

2004-01-13 Thread Scott Rossi
After lamenting the absence of any reliable way to seamlessly loop audio in
Rev, it occurred to me that Flash can loop audio seamlessly and Flash movies
can be played from within QuickTime.  So here is one way to accomplish
seamless audio loops in Rev (tested on a Mac system with FlashMX):

Start with a new Flash movie.  Import your audio clip into the library.

Edit the properties of the clip and set the compression to default or MP3
(haven't tried the other options).

Drag the clip from the library onto the stage, which will cause the clip to
occupy a single keyframe in the timeline.

Select the clip's keyframe on the timeline and set the clip's loop property
to something like 900 (goofy, yes, but this is how you do it).

On the Flash tab under File/Publish Settings, set the version to Flash
Player 4 (make the final movie more compatible with older versions of QT).

Publish a Flash movie only (no HTML necessary).

In Rev, create a button that sets the fileName of a player to the path of
the SWF to start playback, and sets the fileName of the player to empty to
stop.  The player will automatically start the Flash movie once the fileName
is set.  You could add a fade routine that lowers the playLoudness of the
player before setting the fileName.

There you have it: seamless playback of an audio loop within a Rev player
and it requires no special interaction with Flash.  Note that the player has
no currentTime while it is playing so you cannot query its progress, though
for simple seamless playback, this should suffice.  You might be able to get
a more interactive Flash movie by sacrificing backwards QT compatibility,
but this is open to testing.

(Unfortunately, the above technique requires the presence of QuickTime, and
even more annoying is this really should be doable within Rev without Flash
at all, but at least this method should be fairly reliable.)

Regards,

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

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: simple modal questions

2004-01-13 Thread Doug Lerner
Thanks. Lots of useful stuff in there!

doug

On 1/13/04 4:32 PM, "Yves COPPE" <[EMAIL PROTECTED]> wrote:

> 
> Le 13 janv. 04, à 07:50, Dar Scott a écrit :
> 
>> 
>> On Monday, January 12, 2004, at 07:58 PM, Doug Lerner wrote:
>> 
>>> (2) How do you make a text field into a "password" field (asterisked
>>> out)?
>> 
>> 
> 
> 
> here is a sample :
> 
> suppose you have a fld named "pass"
> 
> here is the script of the fld :
> 
> local thisPassword
> on returninfield
>  get thisPassword
>  if it is  then
>##do your stuff
>  else
>answer "Tentative illégale !"
>   close this stack
>  end if
> end returninfield
> 
> on enterinfield
>  returninfield
> end enterinfield
> 
> on keydown whichKey
>   put whichKey after thisPassword
>  put "*" after field "pass"
> end keyDown
> 
> on backspaceKey
>  put empty into field "pass"
>  put "" into thisPassword
> end backspaceKey
> 
> on deleteKey
>  put empty into field "pass"
>  put "" into thisPassword
> end deleteKey
> 
> 
> Hope this helps.
> 
> 
> Greetings.
> 
> Yves COPPE
> [EMAIL PROTECTED]
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: simple modal questions

2004-01-13 Thread Yves COPPE
Le 13 janv. 04, à 07:50, Dar Scott a écrit :

On Monday, January 12, 2004, at 07:58 PM, Doug Lerner wrote:

(2) How do you make a text field into a "password" field (asterisked 
out)?




here is a sample :

suppose you have a fld named "pass"

here is the script of the fld :

local thisPassword
on returninfield
  get thisPassword
  if it is  then
##do your stuff
  else
answer "Tentative illégale !"
   close this stack
  end if
end returninfield
on enterinfield
  returninfield
end enterinfield
on keydown whichKey
   put whichKey after thisPassword
  put "*" after field "pass"
end keyDown
on backspaceKey
  put empty into field "pass"
  put "" into thisPassword
end backspaceKey
on deleteKey
  put empty into field "pass"
  put "" into thisPassword
end deleteKey
Hope this helps.

Greetings.

Yves COPPE
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Tutorial

2004-01-13 Thread Joël Guillod
By taking a look at the xmltree-view.rev file in the Sample Stacks folder of
the Rev application folder, I have been able to build many pretty
interesting functionality. Be aware that the Rev documentation is not quite
accurate, for instance I found that some parameters are not mentionned in
the documentation and can be mandatory to use. Look at the scripts of the
xmltree-view stack for correct use and/or ask me directly to send you my
very very short summary of the revXML API.

One of my main current project is to write a kind of mutiple choice
questionnaires authoring system. A question is defined as a xml tree,
another xml tree for a questionnaire (ordered list of questions) and another
xml tree for the user's answers (values of questions). These xml trees will
be stored either in a MySQL database of in files. Also, I expect to
integrate CLIPS for taking actions based on the answers of a questionnaire.
My main target is health care record but such a system will be open to many
other domains of use. A lot of work, maybe an open source muti-developers
project, let me know.

Joël Guillod

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Tutorial

2004-01-13 Thread Alex Rice
On Jan 12, 2004, at 8:41 AM, Thomas J McGrath III wrote:
Does anyone have a stack that shows how XML's work in Rev for 
'beginners'?
I think core concepts with revXML are:

A xml tree ID (doc ID) is just an integer. Save it in a variable, for 
use with the other revxml functions.

A xml node ID is a string - a path "/root/x/y/child" showing the parent 
and child relationship to the node.

A xml node ID can have array notation with square brackets e.g. 
"/root/x/y/child[3]" to indicate the 3rd node.

--

Here is some sample code. This is a DOM usage (as opposed to SAX):

put revCreateXMLTreeFromFile("macbeth.xml",true, true, false) into 
tDocID

-- the speaker of speech 7, scene 3, act 5.
put revXMLChildContents(tDocID, 
"/play/act[5]/scene[3]/speech[7]/speaker")
--returns
MACBETH

-- the stagedir of speech 7, scene 3, act 5.
put revXMLText(tDocID, "/play/act[5]/scene[3]/speech[7]/stagedir")
-- returns
Exit Servant
-- the 8th line of speech 7, scene 3, act 5.
put revXMLText(tDocID, "/play/act[5]/scene[3]/speech[7]/line[8]")
-- returns
As honour, love, obedience, troops of friends,
--or you can use a more general node to get more text back
put revXMLText(tDocID, "/play/act[5]/scene[3]/speech[7]")
-- returns
MACBETH
Take thy face hence.
...

-- Use this function to pretty-print a selected chunk of xml.
put revXMLChildContents(tDocID, "/play/act[5]/scene[3]/speech[7]", ":" 
&tab & tab, linefeed, false, -1)
-- returns
SPEAKER:		MACBETH
LINE:		Take thy face hence.
STAGEDIR:		Exit Servant
LINE:		Seyton!--I am sick at heart,
LINE:		When I behold--Seyton, I say!--This push
LINE:		Will cheer me ever, or disseat me now.
LINE:		I have lived long enough: my way of life
LINE:		Is fall'n into the sear, the yellow leaf;
LINE:		And that which should accompany old age,
LINE:		As honour, love, obedience, troops of friends,
LINE:		I must not look to have; but, in their stead,
LINE:		Curses, not loud but deep, mouth-honour, breath,
LINE:		Which the poor heart would fain deny, and dare not. Seyton!



Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution