Re: Graphics problem in 2.7 but not in 2.6

2006-12-26 Thread James Hurley

James Hurley wrote:

 I have just recently been working with RR 2.7 (on Mac OS 10.4.8) and
 found that certain graphics routines which worked well in 2.6 are
 much slower or fail altogether in 2.7



Richard Gaskin wrote:

My hunch is it's the new antialiasing, which is on by default for
graphic objects in v2.7.

If you turn the antialias property to false in the templateGraphic
before running routines which create new graphics, my hunch is you'll
find speed more on par with earlier non-antialiased versions.

--
  Richard Gaskin
  Fourth World Media Corporation



Thanks Richard. That was indeed the problem.

I don't know whether this would be considered a problem, but there is 
apparently an upper limit on the number of graphics points that 
RunRev will tolerate in an antialiased figure.


In the following handler, the graphic disappears about i = 250.  The 
point limit may be about 500 or so.


Jim


on mouseUp
  put 200 into r
  put 300 into x0
  put 300 into y0
  --Delete existing graphics
  repeat with i = the number of graphics down to 1
delete graphic i
  end repeat
  set the style of the templateGraphic to "line"
  set the antialiased of the templateGraphic to "true"
  put x0,y0 into tCenterPoint
  put "ray" into tName
  if there is no grc tName then create grc tName

  --The following loop chokes at i = 250 when the antialiased is on.
  --Interesting moire patters when the antialiased is on--gone when off.

  repeat with i = 1 to 360
put x0 + round(r * cos(i*pi/180)) into x
put y0 + round(r * sin(i*pi/180)) into y
put x,y into tRadialPoint
put tCenterPoint & cr & tRadialPoint & cr after tPoints
set the points of grc tName to tPoints
--Force a screen refresh
unlock screen
  end repeat

  --To see the figure set the antialiased to false
  set the antialiased of grc tName to false
  beep
end mouseUp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Graphics problem in 2.7 but not in 2.6

2006-12-26 Thread Mark Smith

I think this is bug 3695.

In the stack I submitted, however, the grc doesn't disappear until  
there are more than 8196 points...


Best,

Mark

On 26 Dec 2006, at 15:42, James Hurley wrote:


James Hurley wrote:

 I have just recently been working with RR 2.7 (on Mac OS 10.4.8) and
 found that certain graphics routines which worked well in 2.6 are
 much slower or fail altogether in 2.7



Richard Gaskin wrote:

My hunch is it's the new antialiasing, which is on by default for
graphic objects in v2.7.

If you turn the antialias property to false in the templateGraphic
before running routines which create new graphics, my hunch is you'll
find speed more on par with earlier non-antialiased versions.

--
  Richard Gaskin
  Fourth World Media Corporation



Thanks Richard. That was indeed the problem.

I don't know whether this would be considered a problem, but there  
is apparently an upper limit on the number of graphics points that  
RunRev will tolerate in an antialiased figure.


In the following handler, the graphic disappears about i = 250.   
The point limit may be about 500 or so.


Jim


on mouseUp
  put 200 into r
  put 300 into x0
  put 300 into y0
  --Delete existing graphics
  repeat with i = the number of graphics down to 1
delete graphic i
  end repeat
  set the style of the templateGraphic to "line"
  set the antialiased of the templateGraphic to "true"
  put x0,y0 into tCenterPoint
  put "ray" into tName
  if there is no grc tName then create grc tName

  --The following loop chokes at i = 250 when the antialiased is on.
  --Interesting moire patters when the antialiased is on--gone when  
off.


  repeat with i = 1 to 360
put x0 + round(r * cos(i*pi/180)) into x
put y0 + round(r * sin(i*pi/180)) into y
put x,y into tRadialPoint
put tCenterPoint & cr & tRadialPoint & cr after tPoints
set the points of grc tName to tPoints
--Force a screen refresh
unlock screen
  end repeat

  --To see the figure set the antialiased to false
  set the antialiased of grc tName to false
  beep
end mouseUp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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


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


How to press Enter when there is no such key on my keyboard

2006-12-26 Thread Mark Powell
Really dumb question:  I am working on my laptop in the airport and am
testing scripts via the multiple-line message box.  However, my laptop
has only the Return key (which happens to be labelled 'Enter' but isn't
really).  Does anyone know how to fool Rev or the Windows OS into
receiving an enterkey in this scenario when the keyboard does not
actually have one?  I worked around it by creating temporary buttons,
but am just curious if there is a direct way.
~Mark Powell

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


Re: How to press Enter when there is no such key on my keyboard

2006-12-26 Thread Phil Davis

Hi Mark,

Try ctrl-enter. I have a Dell laptop with a similar keyboard. I found I can 
press ctrl-enter to close the script editor.


Phil Davis


Mark Powell wrote:

Really dumb question:  I am working on my laptop in the airport and am
testing scripts via the multiple-line message box.  However, my laptop
has only the Return key (which happens to be labelled 'Enter' but isn't
really).  Does anyone know how to fool Rev or the Windows OS into
receiving an enterkey in this scenario when the keyboard does not
actually have one?  I worked around it by creating temporary buttons,
but am just curious if there is a direct way.
~Mark Powell

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


[ANN] AlphaStatus

2006-12-26 Thread Scott Rossi
Howdy List:

I recently posted a stack that simulates the alpha character display found
on several MP3 player devices, which shows the current character range while
scrolling a long list of items.  This can be a useful method for quickly
jumping to a specific letter range in a list.  The script is contained in
the card and can be called with a single line of code, so it's suitable for
a library implementation if desired.  Tested on Windows and Mac, and appears
to work as expected.

You can get "AlphaStatus" by executing the following in your Rev message
box:

 go url "http://www.tactilemedia.com/download/alphastatus.rev";

Best wishes for the new year.

Regards,

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


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


Re: [ANN] AlphaStatus

2006-12-26 Thread Ken Ray


On Dec 26, 2006, at 4:45 PM, Scott Rossi wrote:


Howdy List:

I recently posted a stack that simulates the alpha character  
display found
on several MP3 player devices, which shows the current character  
range while
scrolling a long list of items.  This can be a useful method for  
quickly
jumping to a specific letter range in a list.  The script is  
contained in
the card and can be called with a single line of code, so it's  
suitable for
a library implementation if desired.  Tested on Windows and Mac,  
and appears

to work as expected.

You can get "AlphaStatus" by executing the following in your Rev  
message

box:

 go url "http://www.tactilemedia.com/download/alphastatus.rev";

Best wishes for the new year.


That's sweet, Scott! I can immediately think of a few places to use  
this...


Happy New Year indeed!


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



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


Re: [ANN] AlphaStatus

2006-12-26 Thread Derek Bump
Scott, you seriously have a talent for coming up with some really cool
stuff.  Excellent job and Nice thinking!


Derek Bump
Dreamscape Software


Compress photos easily with JPEGCompress
www.dreamscapesoftware.com


Scott Rossi wrote:
> I recently posted a stack that simulates the alpha character display found
> on several MP3 player devices, which shows the current character range while
> scrolling a long list of items.  This can be a useful method for quickly
> jumping to a specific letter range in a list.  The script is contained in
> the card and can be called with a single line of code, so it's suitable for
> a library implementation if desired.  Tested on Windows and Mac, and appears
> to work as expected.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] AlphaStatus

2006-12-26 Thread Scott Rossi
Thanks for the kind words.  Just for that, I added a minor cosmetic
enhancement that makes the status indicator fade out instead of disappear.
It's minor, but I think it makes for a little more modern behavior.

Same location:

  go url "http://www.tactilemedia.com/download/alphastatus.rev";

Sorry for the second download.

Regards,

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


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


RE: How to press Enter when there is no such key on my keyboard

2006-12-26 Thread Mark Powell
It works, thanks! 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil Davis
Sent: Tuesday, December 26, 2006 1:02 PM
To: How to use Revolution
Subject: Re: How to press Enter when there is no such key on my keyboard

Hi Mark,

Try ctrl-enter. I have a Dell laptop with a similar keyboard. I found I
can press ctrl-enter to close the script editor.

Phil Davis


Mark Powell wrote:
> Really dumb question:  I am working on my laptop in the airport and am

> testing scripts via the multiple-line message box.  However, my laptop

> has only the Return key (which happens to be labelled 'Enter' but 
> isn't really).  Does anyone know how to fool Rev or the Windows OS 
> into receiving an enterkey in this scenario when the keyboard does not

> actually have one?  I worked around it by creating temporary buttons, 
> but am just curious if there is a direct way.
> ~Mark Powell
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: What effects object colors?

2006-12-26 Thread Martin Blackman

If you haven't set the backcolor of the object or its parent card,
group or stack then it should be according to the windows theme.

On 24/12/06, Richard Miller <[EMAIL PROTECTED]> wrote:

What is it that sets the color of objects like a vertical scrollbar
or the answer dialog box in the runtime mode? This is under Windows
XP. These objects are picking up what seems to be the last
backgroundcolor used to create an object in the development mode, but
I'm not quite sure.

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


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