RE: Opening Files in OS X

2003-06-20 Thread Jim Biancolo
Thanks again Monte, I've done the reading, and I have a follow-up question, 
if you don't mind (or if anyone else has advice on this).

My understanding is that Mac OSes use fileType to determine if a file 
belongs to an application.  Furthermore, it seems that the OS prevents my 
app from opening files that don't belong to it (judging from the docs and 
the way my app is currently behaving).  So what I need to do is set the 
fileType when my app saves a file, and then the app will be able to reopen 
that file later.

Is that right?  If so, what happens if a Windows user of my app creates a 
file and tries to share it with a Mac user of my app?  The docs suggest 
that Windows ignores fileType, so will the Mac user be prevented from 
opening files created by Windows users?

These files are just text files that have a *.upf extension in Windows.

Thanks!

Jim

At 08:48 AM 6/20/2003 +0930, you wrote:
Read the docs on ask file. You need to use type codes on MacOS rather than
extension filters. Hopefully we will get extension filters for OS X soon.
You will also need to read up on stackFileType and/or fileType to handle
your custom file type on MacOS  OS X.


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


Opening Files in OS X

2003-06-19 Thread Jim Biancolo
Hi folks,

I have a RR app that saves a text file (with a *.upf extension) like so:

  ask file Save play as: with filter Ultimate Play File (*.upf),*.upf
  if it is empty then exit mouseUp
  -- do some stuff to txt variable
  put txt into url (file:  it)
... and it loads files like so:

  answer file Open Play: with filter Ultimate Play File 
(*.upf),*.upf,All Files (*.*),*.*
  if it is empty then exit mouseUp
  put url (file:  it) into txt

This works great on Windows, but my OS X testers (sadly I just have the 
Windows machine) report that they can't open files.  To quote one user:

The file picker dialog still appears, and I can see the file I save, but I 
can't click it (it is dim, and apparently unavailable to the program.

Can anyone tell me if there's something Mac-specific I need to do in my app?

Thanks!

Jim

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


RE: Opening Files in OS X

2003-06-19 Thread Jim Biancolo
Hi Ken,

I'm running RR 2.0.  I think Monte's right in that I have some more reading 
to do.  I should have known saving/opening files wouldn't be *completely* 
platform-independent.  Thanks for the tip though, on this being a possible 
version issue

And thanks, Monte, for the link to your enhanced distribution builder!

Take care,

Jim

At 05:53 PM 6/19/2003 -0500, Ken Ray wrote:
Jim,

What version of Rev is it? The reason I ask is that an earlier version
of the MC engine required that you save *twice* in order for files to
get the right creator codes to be seen in the file picker...
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Jim Biancolo
 Sent: Thursday, June 19, 2003 3:51 PM
 To: [EMAIL PROTECTED]
 Subject: Opening Files in OS X


 Hi folks,

 I have a RR app that saves a text file (with a *.upf
 extension) like so:

ask file Save play as: with filter Ultimate Play File
 (*.upf),*.upf
if it is empty then exit mouseUp
-- do some stuff to txt variable
put txt into url (file:  it)

 ... and it loads files like so:

answer file Open Play: with filter Ultimate Play File
 (*.upf),*.upf,All Files (*.*),*.*
if it is empty then exit mouseUp
put url (file:  it) into txt

 This works great on Windows, but my OS X testers (sadly I
 just have the
 Windows machine) report that they can't open files.  To quote
 one user:

 The file picker dialog still appears, and I can see the file
 I save, but I
 can't click it (it is dim, and apparently unavailable to
 the program.

 Can anyone tell me if there's something Mac-specific I need
 to do in my app?

 Thanks!

 Jim

 ---
 http://www.biancolo.com

 ___
 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


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


Re: So now we've got 2.0.1 out

2003-06-10 Thread Jim Biancolo
I haven't used it extensively yet, but so far 2.0 hasn't given me any 
problems under Windows except for when it initially tried to find a CD that 
wasn't there (and that went away on reboot).  My lack of problems combined 
with not wanted to grab a new full install over my 56K dialup have kept me 
from upgrading.  If I'm a typical Windows developer, that might explain it 
the lack of response.  Or shyness.  That's also a viable theory.  :-)

Jim

At 03:21 PM 6/10/2003 +0100, Heather Williams wrote:
Would anyone care to go and express an opinion on it on Version tracker and
or Download.com? The Windows update, in particular is feeling rather
neglected. Plenty of people seem to have opinions on the OSX version, but
are Windows folk really so shy?


---
http://www.biancolo.com 

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


Re: Rev 2.0 ERROR on Windows XP

2003-06-05 Thread Jim Biancolo


I had this happen to me in Win2K. I had just gotten through burning
a CD, but had removed it. I think that's what Rev was trying to
find, because after I rebooted it went away. Not sure if rebooting
will work for you; I might just be lucky.
Jim
At 01:41 PM 6/4/2003 -0400, [EMAIL PROTECTED] wrote:
I have installed Rev
2.0 on Win2k and MacOSX with good results. However, My Windows XP
installation is not usable because the following error repeatedly pops up
as a prompt window. 
Insert disk into drive
\Device\Harddisk1\DR3. 
Has anyone else seen this on Windows XP or know of a
solution? 
Roger Eller 
[EMAIL PROTECTED] 



Re: Revolution 2.0 released

2003-05-30 Thread Jim Biancolo
At 06:16 PM 5/28/2003 +0100, Kevin Miller wrote:
We are very happy to be able to tell you that Revolution 2.0 has been
released. You can download the final version from our website at:
Congratulations!  I've been using 2.0 on Windows, and it's a much nicer 
interface over 1.1.1.  I've had no problems with the installation, legacy 
stacks, or building distributions.  Granted my work isn't particularly 
sophisticated, but it's still been a very nice transition so 
far.  :-)  Thanks for all the great new features!  You've obviously put a 
lot of work into this, and it shows.

Take care,

Jim  

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


Shao Sean's POP3 Library

2003-04-02 Thread Jim Biancolo
Hi folks,

I've been hunting around for Shao Sean's POP3 library mentioned previously 
on this list to no avail.  I did find his home page with his SMTP library 
and a  note not to e-mail him directly, so I thought I'd try this 
list.  Does anybody have an old copy they can share with me (assuming such 
sharing doesn't go against Shao's wishes)?

Thanks!

Jim

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


Re: How real is the embedded web-page technique?

2002-10-11 Thread Jim Biancolo

At 07:19 PM 10/10/2002 -0700, Richard Gaskin wrote:
What are the advantages of putting a browser inside on your app's window?
What sort of apps are you folks making?

Hi Richard,

Specifically, I was thinking about building a news aggregator in RR, and a 
true browser control would be very helpful for that.

Generally, I tend to find the browser as helper app approach kinda 
jarring.  I either like my apps to reside entirely within the browser or 
entirely within the desktop app.  Kinda like HTML in e-mail (whose merits 
are dubious, I'll admit) - I'd find it very annoying to have my e-mail 
client fire up a separate browser window every time somebody sent me an 
HTML-formatted message.  That's just my personal preference though.

Jim

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



RE: How real is the embedded web-page technique?

2002-10-11 Thread Jim Biancolo

At 07:38 PM 10/11/2002 +0100, you wrote:
   I agree that an embedded rendering engine would be a killer feature.

Embedded or higly integrated ?

--snip--

There's no reason why you can't currently use rev as your control panel
and a browser as your display mechanism with the users monitor as the
pane.

I was going to ask for a better definition of the difference between 
embedded and highly integrated but I think based on your example I'd 
have to say embedded.  I refer again to my e-mail client example:  the 
model currently used in several clients is a mailbox pane, a subjects 
pane, and a message viewer pane.  If I wanted to create such an 
application in RR that supported HTML mail, I don't think I could without 
an embeddable HTML rendering engine.  Clicking on a message in the 
subjects pane and having it fire up an external browser would be too 
kludgey, IMO.

But maybe this is a Windows bias . . . I'm a bit more used to having my 
apps self-contained.  Those few times I've had the opportunity to work on 
Macs I've found it disconcerting to have the menu floating off detached 
from the working area of its application.  Windows-conditioning aside, I 
stand by my wish:  I'd love to see a cross-platform control in RR that can 
render any well-formed HTML thrown at it.

Jim

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



RE: How real is the embedded web-page technique?

2002-10-11 Thread Jim Biancolo
At 09:36 PM 10/11/2002 +0100, Gary Rathbone wrote:

But maybe this is a Windows bias . . . I'm a bit more used to having my
apps self-contained. Those few times I've had the opportunity to work on
Macs I've found it disconcerting to have the menu floating off detached
from the working area of its application.

So that fact that the functional units are contained within a single
window/frame/pane gives the comforting perception/illusion of an integration
application ?


I fear we're starting to stray off-topic for the list, but yeah, I find it 
to be a helpful visual cue.  Again, might be years of conditioning talking, 
but I'm trying to imagine running several applications at once where the 
functional units are divided into discrete panes and my mind recoils.  I 
mean, just trying to visually distinguish which panes belong to which apps 
when there are other panes/apps in the background would be icky.  If I'm 
running three apps and toggling between them I'd much rather deal with 
three total panes than six (two each) or nine (three each).

Then again, the last Mac user I visited had this monster plasma screen, so 
maybe it's just a question of expensive hardware screen real estate vs. 
cheap hardware screen real estate.  I'm sure I wouldn't mind the multi-pane 
apps so much if I could put them in a dedicated portion of such a vast 
expanse of pixels.

Windows-conditioning aside, I
stand by my wish:  I'd love to see a cross-platform control in RR that can
render any well-formed HTML thrown at it.

Must admit, it would be nice ;-)


:-)  A guy can dream, right?

Jim

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



RE: How real is the embedded web-page technique?

2002-10-11 Thread Jim Biancolo
At 11:07 PM 10/11/2002 +0100, Gary Rathbone wrote:

Thanks Jim, as you suggested we're straying off-topic, so I'll leave you to
have the last word (if you wish...)


Thanks for the interesting thread Gary (and other participants).  Having 
too much fun to quit now, so you can have the last word if you 
wish.  :-)  Getting back on-topic . . .

Fair point. But when many people on this list ask for features to be
included in Rev there is often another way of doing the same task. We don't
request spreadsheet capability in word, cos we've got excel, and the two are
compatible. It often seems to me that cos a user can't do something then
they request a feature, all I'm trying to do is suggest 'reasonable
alternatives'(look sidewards). I see my computer as a working unit, not each
individual application.


So really the question is whether or not an HTML renderer should be 
considered a fundamental component or whether it's specialized enough to be 
left as a separate tool, yes?  I'd vote for the former.  My rationale:

   * For better or worse, HTML seems to be the lingua franca of the web, 
and it's not going anywhere anytime soon.  Rather than give browsers a 
monopoly on HTML rendering, I'd like to see pretty much every 
application/development environment be able to render it.  Indeed, I think 
the ability to render HTML is more noteworthy by it's absence rather than 
it's presence.  Consider all the tools that can process it:  most word 
processors, pretty much every Microsoft product, many e-mail clients, 
off-line news readers, heck there are even java applets, activeX objects 
and flash components that allow you to do WYSIWYG editing of HTML as a FORM 
INPUT so it can be passed for storage in some backend DB.

   * Not that everybody should rush to jump off the same bridge, but I 
think it is in recognition of this trend that Microsoft makes IE embeddable 
in Windows apps (and it's trivially easy to do so), and Mozilla makes Gecko 
embeddable pretty much anywhere (although I personally don't have the 
skills to take advantage of this).

   * The existence of the htmlText property is a nod in the direction of a 
full-fledged renderer.  Why not go all the way?

   * Another point in this regard:  from the RR What Can I Build page, 
item #1:  Internet front ends - Create your own custom browser for your 
own content, offering capabilities and responsiveness you can't match with 
cobbled-together DHTML pages. Internet-ready Revolution makes this quick 
and simple, with the ability to display data from any URL (including text, 
HTML, pictures, video and sound) right in your application windows, perform 
POST and GET operations with a single command, and use sockets for direct 
communication with an Internet host.

Only one major component missing!  :-)

Take care,

Jim (who probably won't be back online until Tuesday, so you really can 
have the last word :-)


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


Re: How real is the embedded web-page technique?

2002-10-10 Thread Jim Biancolo

I agree that an embedded rendering engine would be a killer feature.  I 
have no experience with such integration work, but Gecko (Mozilla's 
rendering engine) might be a good choice for this:

http://www.mozilla.org/newlayout/

There's a Gecko Embedding Overview here:

http://www.mozilla.org/projects/embedding/embedoverview/EmbeddingBasics.html

I *think* the licensing might allow for some forms of commercial 
distribution as well, but don't take my word for it; I only have a vague 
recollection or reading some legalese that I really didn't understand.  :-)

Jim

At 09:21 PM 10/10/2002 -0400, [EMAIL PROTECTED] wrote:
I'd pay another $300 for just that feature alone - - - would OmiWeb or 
iCab or Opera be able to work cross-platform, so I could create a 
Revolution app with an embedded browser - - - authoring it once, and 
building it for both Mac and Windows?

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



Re: XML

2002-10-08 Thread Jim Biancolo

Hi Ken,

If possible (not sure how secrecy-sworn folks that have access to 1.5 are) 
can you tell me how your parser for 1.5 differs from the native XML support 
I've heard will be in 1.5?  Or are they one and the same?

Thanks,

Jim

At 10:29 AM 10/8/2002 -0500, you wrote:
Thanks for the plug, but unfortunately my XML parser is based on the Perl
Compatible Regular Expression engine, which is not in Rev 1.1.1 (it *will*
however be in the next version of Rev that is released).

Sorry, Alex...

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

- Original Message -
From: Chipp Walters [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 2:31 AM
Subject: RE: XML


  Alex,
 
  Check out Ken Ray's most excellent XML parser at:
  http://www.sonsothunder.com
 
  I think you'll really like it!!!
 
  -Chipp
 
 
   However, is there no XML parser available for RunRev 1.1.1? Even an
   External that wraps Expat or something?
  
 
  ___
  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

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



Re: Q. how to drag-n-drop?

2002-10-04 Thread Jim Biancolo

Thanks Ken!  I love this language more and more every day.  And that solves 
the lag quibble I mentioned.  Perfect.

At 09:44 PM 10/3/2002 -0500, Ken Ray wrote:
Jim,

Even easier:

   on mouseDown
 grab the target
   end mouseDown

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

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



Re: Q. how to drag-n-drop?

2002-10-03 Thread Jim Biancolo

Hi Alex,

I'm still new to RunRev, so I'm not sure if this is the best way to do it, 
but this is what I did to allow drag-and-drop of images:

   on mouseDown
 repeat while the mouse is down
   move the target to the mouseLoc
 end repeat
   end mouseDown

The thing I thought was nifty was that this code goes in the handler for 
the group that contains the images, so all the images in the group are 
draggable without needing their own mouseDown handlers.

One quibble with this approach would be that if you move the mouse fast the 
object you're dragging tends to lag behind so you have to wait for it to 
catch up as you hover over your intended destination.

Jim

At 06:09 PM 10/3/2002 -0600, you wrote:
So far I haven't seen any examples of handling drag-n-drop in the 
tutorials or user contributions section. Is it hard to do in Rev? For 
instance drag-n-drop to reorder the contents of a ListField.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



Windows Build Problem

2002-10-02 Thread Jim Biancolo

Hi folks,

I successfully built my first prototype for Windows and the Mac and both 
run!  Very exciting!  :-)  I am having a problem on my only Windows XP 
installation though.  The app throws this error then fails to start:

Windows cannot open this program because it has been prevented by a 
software restriction policy

Seems fine on Win2K and 98.  Has anyone run into this before on XP (or 
otherwise)?

Thanks!

Jim

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



Re: Windows Build Problem

2002-10-02 Thread Jim Biancolo

Sorry for the overly hasty e-mail.  Upon further (and obvious) reflection 
it seems like this is probably not a RunRev issue, but rather an XP 
security issue.  I'll try to run it to ground in the Windows NGs.

Thanks!

Jim

At 01:25 PM 10/2/2002 -0400, you wrote:
Hi folks,

I successfully built my first prototype for Windows and the Mac and both 
run!  Very exciting!  :-)  I am having a problem on my only Windows XP 
installation though.  The app throws this error then fails to start:

Windows cannot open this program because it has been prevented by a 
software restriction policy

Seems fine on Win2K and 98.  Has anyone run into this before on XP (or 
otherwise)?

Thanks!

Jim

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



Re: Looping Over Groups?

2002-09-24 Thread Jim Biancolo

Thanks Ken, that's perfect.  It's not quite the behavior I'd expect being 
used to other languages (I thought by referencing my group in the repeat 
structure it would implicitly reference elements in that group during 
iteration), but I think I'm finally getting into the spirit of this language.

:-)

At 10:59 PM 9/23/2002 -0500, Ken Ray wrote:
Jim,

Try this for your second line:

   answer the name of image i in group players_group

The problem is that the number of the images change when you add an image to
the card.

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

- Original Message -
From: Jim Biancolo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 10:05 PM
Subject: Re: Looping Over Groups?


  Hi folks,
 
  I've run into an additional problem here, and I hope you can help . . .
 
  I've created a group of 14 images.  As advised, I loop over them like so:
 
   repeat with i = 1 to the number of images in group players_group
 answer the name of image i
   end repeat
 
  Works great.  When I click on the Object -- Edit Group menu, all 14
show
  up as expected.
 
  However, when I add another image to the card (but not to the group) and
  run the same code, the new image is included in the loop (even though it's
  NOT in the group), and the last image in the group is not (even though it
  should be).  When I click on the Object -- Edit Group command my
  original 14 images are there and the new image is not, which is what I'd
  expect.  It's the looping behavior that is not what I'd expect.  It seems
  (just guessing though) to be pulling the image at positions 1 through 14
  regardless of whether or not they are in the group.  Am I doing something
  wrong, or is there another approach I should be taking?
 
  Thanks!
 
  Jim
 
  At 03:42 PM 9/18/2002 -0700, you wrote:
  At 3:09 PM -0700 9/18/2002, Jim Biancolo wrote:
   Is there a way to loop over the images in a group?  I tried these:
   
   repeat for each image I in group my_group
   repeat for each item I in group my_group
   repeat for each object O in group players_group
   
   All failed to compile.  Then I hit on:
   
   repeat for each element E in group players_group
   
   It compiled, but then when I tried to run it I got this error:
   
   Error description:  Chunk: source is not a container
   
   I fear I'm missing something obvious.  Any advice?
  
  I think people have been so enthusiastic about advising the efficient
  repeat for each form that the other forms have gotten a little
eclipsed.
  ;-)
  
  The repeat for each form can be used to iterate over chunks in a
string -
  characters, words, lines, items - or over each element in an array, but
it
  can't be used to iterate over objects. The first and third variations you
  tried wouldn't compile because repeat for each image and repeat for
each
  object aren't valid forms of the repeat loop. The second one, repeat
for
  each item, is valid... but in this context, an item is a part of a
  string, not an object, so this doesn't work either. And the fourth, while
a
  valid form, requires an array, not a group reference.
  
  Here's a form that will work:
  
 repeat with x = 1 to the number of images in group my_group
   answer the name of image x -- or whatever
 end repeat
  
  --
  Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
  Runtime Revolution Limited - The Solution for Software Development
  http://www.runrev.com/
  
  
  ___
  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
 

___
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: Looping Over Groups?

2002-09-23 Thread Jim Biancolo

Hi folks,

I've run into an additional problem here, and I hope you can help . . .

I've created a group of 14 images.  As advised, I loop over them like so:

 repeat with i = 1 to the number of images in group players_group
   answer the name of image i
 end repeat

Works great.  When I click on the Object -- Edit Group menu, all 14 show 
up as expected.

However, when I add another image to the card (but not to the group) and 
run the same code, the new image is included in the loop (even though it's 
NOT in the group), and the last image in the group is not (even though it 
should be).  When I click on the Object -- Edit Group command my 
original 14 images are there and the new image is not, which is what I'd 
expect.  It's the looping behavior that is not what I'd expect.  It seems 
(just guessing though) to be pulling the image at positions 1 through 14 
regardless of whether or not they are in the group.  Am I doing something 
wrong, or is there another approach I should be taking?

Thanks!

Jim

At 03:42 PM 9/18/2002 -0700, you wrote:
At 3:09 PM -0700 9/18/2002, Jim Biancolo wrote:
 Is there a way to loop over the images in a group?  I tried these:
 
 repeat for each image I in group my_group
 repeat for each item I in group my_group
 repeat for each object O in group players_group
 
 All failed to compile.  Then I hit on:
 
 repeat for each element E in group players_group
 
 It compiled, but then when I tried to run it I got this error:
 
 Error description:  Chunk: source is not a container
 
 I fear I'm missing something obvious.  Any advice?

I think people have been so enthusiastic about advising the efficient
repeat for each form that the other forms have gotten a little eclipsed.
;-)

The repeat for each form can be used to iterate over chunks in a string -
characters, words, lines, items - or over each element in an array, but it
can't be used to iterate over objects. The first and third variations you
tried wouldn't compile because repeat for each image and repeat for each
object aren't valid forms of the repeat loop. The second one, repeat for
each item, is valid... but in this context, an item is a part of a
string, not an object, so this doesn't work either. And the fourth, while a
valid form, requires an array, not a group reference.

Here's a form that will work:

   repeat with x = 1 to the number of images in group my_group
 answer the name of image x -- or whatever
   end repeat

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


___
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



Performance Issues With Move Command

2002-09-18 Thread Jim Biancolo

Hi folks,

Thanks for the helpful responses to my Looping Over Groups thread.  I 
have one more question and then I think I'm all set for awhile . . . I'm 
having a very hard time getting the move command to perform 
adequately.  Is this common?  Specifically, here's what I've tried:

I have a simple red circle image (an Import as Control jpg).  This moves 
easily and well:

move image o01 to 200,200 in 2 seconds

Creating three such images and moving them all sequentially also works well:

move image o01 to 200,200 in 2 seconds
move image o02 to 200,200 in 2 seconds
move image o03 to 200,200 in 2 seconds

But when I try to move them simultaneously things kinda fall apart:

set the lockMoves to true
move image o01 to 200,200 in 2 seconds
move image o02 to 200,200 in 2 seconds
move image o03 to 200,200 in 2 seconds
set the lockMoves to false

It takes a few seconds for anything to happen at all.  Then the first image 
flickers from its current position to 200,200 without traversing the space 
in-between (no animation).  Then the second, and then the third do the same 
thing.  The don't move, they skip.  And they don't do so simultanously as 
I'd expect.  Any advice on how to get simultaneous motion to perform?  I'm 
running on a PIII 500Mhz.

BTW, Quicktime or the Animation Manager probably won't work for me 
(although I'm not positive) as I ultimately want to let the user 
click-and-drag these images to various points to create their own animation 
paths.

Thanks!

Jim

P.S.

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