Re: Behavior Nightmare

2010-02-14 Thread Scott Rossi
Recently, Josh Mellicker wrote: > On Feb 13, 2010, at 1:21 PM, Scott Rossi wrote: > >> The reason for all the jumping through hoops here is password protection: I >> need to be able to dynamically add and remove groups from the main stack, >> and this can't happen if the stack is password protect

Re: Behavior Nightmare

2010-02-14 Thread Scott Rossi
Recently, Sivakatirswami wrote: > Now, I'm not sure what you mean by "card-level behaviors falling thru to > stack-level behaviors" but from one point of view it makes sense that > the behavior cannot be found, because the button that contains the > behavior is not really in the message path as w

Re: Connecting Stack to Remote On-Rev MySQL Database

2010-02-14 Thread Sarah Reichelt
> I've been all through the archives, and found > some hints that it is possible to connect to > a remote MySQL database on On-Rev. > > Doe anyone have a clear step by step > example of how this is done? One way of doing it is to have an irev file actually do the connecting and querying of the da

Re: Connecting Stack to Remote On-Rev MySQL Database

2010-02-14 Thread runrev260805
Rick, first of all you have to enable Remote Access for your database. You can do that in cPanel ->Databases->RemoteDatabase Access Hosts. If the computer, which runs the stack, does not have a static internet ip, then you have to enter %.%.%.% as ip-adress in Access Hosts. At http://samples

Connecting Stack to Remote On-Rev MySQL Database

2010-02-14 Thread Rick Harrison
Hi there, I've been all through the archives, and found some hints that it is possible to connect to a remote MySQL database on On-Rev. Doe anyone have a clear step by step example of how this is done? I don't have time to keep struggling with this problem. I need a solution A.S.A.P. Any help

Re: making a thumbnail from a snapshot

2010-02-14 Thread Mark Schonewille
Hi Peter. I use this function to create thumbnails: function rescale theImgWidth,theImgHeight,theCdWidth,theCdHeight -- determine longest side and rescale if theCdWidth/theImgWidth < theCdHeight/theImgHeight then put theCdWidth / theImgWidth into myRatio else put theCdHeight / theI

Re: Behavior Nightmare

2010-02-14 Thread Josh Mellicker
On Feb 13, 2010, at 1:21 PM, Scott Rossi wrote: > The reason for all the jumping through hoops here is password protection: I > need to be able to dynamically add and remove groups from the main stack, > and this can't happen if the stack is password protected. Doesn't setting the passkey of the

Re: making a thumbnail from a snapshot

2010-02-14 Thread Ken Ray
> What I get is not a properly sized thumbnail -- I get an image that > looks the size of the whole new (cloned) group, and it's not a > miniature of the big image, it's a crop of the big image. I can't > remember how to miniaturize an imported snapshot down to thumbnail > size. I know this has b

Re: making a thumbnail from a snapshot

2010-02-14 Thread David Bovill
Just from memory - you need to set the rect of the image to the nuew thumbnail size and let rev do the scaling for you... then you can get the imagedata which returns the scaled image data and set the imagedata (ie set the imagedata of image "thumbnai"l to the imagedata of image "thumbnail") But l

Re: revXML... issue

2010-02-14 Thread Ken Ray
> For example: > > > This is Џ a test > > The above tree - upon being parsed - will convert Џ into 2 bytes instead > of leaving it encoded. The result is a blob of text that's composed of both > single-byte characters and double-byte characters. This is no good. > > So, is there a way to get th

Re: Feb 14th

2010-02-14 Thread René Micout
Boum ! J'ai le cœur qui fait boum ! Le 14 févr. 2010 à 08:54, Scott Rossi a écrit : > Nice Malte. > > Here's a solution that is nowhere near as elegant as Malte's code, but the > result is perhaps a bit more "tactile" :-) > > on mouseUp > buildV > buildO -1 > buildO 1 > runAnim > end m

Re: revXML... issue

2010-02-14 Thread Colin Holgate
I haven't used xml in Rev, can you show enough lines of code to show the problem? I have an idea of a fix, but would like to try it out. Normally I would just figure it out in the help, but the help doesn't have the word "parse" in there at all, making it hard for me to see how XML parse works.

Re: revXML... issue

2010-02-14 Thread Björnke von Gierke
theoretically that's utf8. did you try to do a conversion on the data returned by the xml external? return unidecode(uniencode(theText,"utf8")) On 14 Feb 2010, at 15:56, Jeffrey Massung wrote: > So, after days of trying to figure what my unicode bugs were, I've finally > figured out the p

revXML... issue

2010-02-14 Thread Jeffrey Massung
So, after days of trying to figure what my unicode bugs were, I've finally figured out the problem: revXML (which I'm assuming is using Expat or similar library) is attempting to translate encoded characters during tree parsing as opposed to letting the application handle it later on. For examp

Re: Feb 14th

2010-02-14 Thread Klaus on-rev
Hi Scott, Am 14.02.2010 um 08:54 schrieb Scott Rossi: > Nice Malte. > > Here's a solution that is nowhere near as elegant as Malte's code, but the > result is perhaps a bit more "tactile" :-) Yep, a bit more "tactile" indeed! Oh my god! I was so happy that I could calculate the "max scroll" of

RE: Feb 14th

2010-02-14 Thread Jim Bufalini
Yours is math. Scott's is two balls and a triangle. Both of you guys are equally amazing! I "love" it! Happy Valentine's Day. Aloha from Hawaii, Jim Bufalini Malte wrote: > Awesome Scott! > > Jaque: Please don't think I could explain that math > > JB: Thank you! > > Cheers, > > Malte _

Re: Feb 14th

2010-02-14 Thread Malte Pfaff-Brill
Awesome Scott! Jaque: Please don't think I could explain that math JB: Thank you! Cheers, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: