Re: mouse within oval filled area

2011-11-12 Thread Pierre Sahores
James, "Magnifique*! Pierre Le 13 nov. 2011 à 07:01, James Hurley a écrit : > Hugh, > > Would this help? The script below will draw a polygon that looks like an > ellipse with a start and stop angle. > > The trouble with the start angle and the arcangle in RR is that they are not > polar an

Re: mouse within oval filled area

2011-11-12 Thread J. Landman Gay
On 11/13/11 12:01 AM, James Hurley wrote: function r tA --Radial distance to the ellipse as afunction of the angle put (cos(tA*pi/180))^2 / (a*a) + (sin(tA*pi/180))^2 / (b*b) into temp return 1/sqrt(temp) end r This means something, right? Well, for your information I happen to know h

Re: mouse within oval filled area

2011-11-12 Thread James Hurley
Hugh, Would this help? The script below will draw a polygon that looks like an ellipse with a start and stop angle. The trouble with the start angle and the arcangle in RR is that they are not polar angles but are related in a complex way: arcAngle = arctangent( b/a * tangent(polarangle) (Don

Re: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers

2011-11-12 Thread Jerry Jensen
Well put, Andre! --Jerry Jensen On Nov 12, 2011, at 5:41 PM, Andre Garzia wrote: > I just want to say that I brought the PRO version and I am quite happy with > it. > > I've purchased many (if not all) tools that Scott made available thru all > these years and every time he surprises me. His too

Re: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers

2011-11-12 Thread Andre Garzia
I just want to say that I brought the PRO version and I am quite happy with it. I've purchased many (if not all) tools that Scott made available thru all these years and every time he surprises me. His tools are at the same time aesthetically pleasing and functional, two qualities not usually foun

An really useful property for vector graphics

2011-11-12 Thread Alejandro Tejada
Hi All, How many of you have downloaded and test the stack "Eps Import v05B" http://www.megaupload.com/?d=TL5QP5WD Please, download this compressed folder to show you a really useful property for vector graphics. Open the stack "eps_import_v05B" and click in the topleft button to import the ad

Re: mouse within oval filled area

2011-11-12 Thread BNig
Hi Hugh, to get the area of a oval graphic with a startangle and an acrangle set and opaque to true you could use the new 5.0 intersect(object,object,"pixel") syntax. You would have to cheat though in that you create a hidden polygon graphic "hidden" and call your start/arcangle graphic "halfCircl

Re: iOS forcing interface rotation

2011-11-12 Thread Scott Morrow
Hello Hugh, I don't believe LC provides a way to do this. At one point I created an animation that took over the screen and prompted the user to rotate the device. That was the best I could come up with. -Scott Morrow On Nov 10, 2011, at 7:46 AM, FlexibleLearning wrote: > Did anyone figure

Re: [OT?] ADOBE DROPS FLASH for HTML5

2011-11-12 Thread Alejandro Tejada
Hi Chipp, After these news, looks like a DLL for running a Flash player inside a Livecode application would find a more enthusiastic reception. Chipp Walters wrote: > > [snip] > I suspect this repositioning will take some > time, and upset some developers, but as mobile and > desktop continue

RE: mouse within oval filled area

2011-11-12 Thread John Dixon
Yes, it would... but a gradient wasn't mentioned... we could throw spanners into the works all night! > From: gboj...@gmail.com > Date: Sat, 12 Nov 2011 13:34:32 -0700 > Subject: Re: mouse within oval filled area > To: use-livecode@lists.runrev.com > > This would be very difficult to implement

Re: mouse within oval filled area

2011-11-12 Thread Glen Bojsza
This would be very difficult to implement if the graphic had a gradient. On Sat, Nov 12, 2011 at 1:09 PM, John Dixon wrote: > > OK then... > > on mouseWithin > put the backgroundcolor of me into colorCheck > if the mouseColor = colorCheck then > put "I am inside the coloured bit of c

RE: mouse within oval filled area

2011-11-12 Thread John Dixon
OK then... on mouseWithin put the backgroundcolor of me into colorCheck if the mouseColor = colorCheck then put "I am inside the coloured bit of control ID no" && the short id of me end if end mouseWithin > From: ad...@flexiblelearning.com > To: use-livecode@lists.runrev.com >

Re: CLI support in LC (was [OT?] ADOBE DROPS FLASH for HTML5)

2011-11-12 Thread Richard Gaskin
Mark Wieder wrote: Richard- Saturday, November 12, 2011, 6:46:18 AM, you wrote: IIRC, -f was to prevent file access, yes? I'm probably misremembering the exact details - it's been a while now. It may even have just been redirection revolution < scriptFile Is there a way that using secure

RE: mouse within oval filled area

2011-11-12 Thread FlexibleLearning
Indeed, John, but not a unique object identifier if more than one grc uses the same color. I think I am back to polar coordinates (unfortunately). The current engine behaviour is painfully inconsistent with other controls whose transparency is immune from mouse events. Hugh Senior FLCo John Dix

Re: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers

2011-11-12 Thread Scott Rossi
Hi René: 1) At this time, the width of sliders and scrollbars can be set, but radio buttons/checkboxes cannot. This could be added later. 2) Currently, there are no Lion controls. 3) For me, it's not worth producing Lion controls if LiveCode will eventually provide these. Regards, Scott Rossi C

Re: [ANN] LiveCode.tv event #43

2011-11-12 Thread Björnke von Gierke
Remember that the event will start in an hour, join ChatRev before then :) http://bjoernke.com/chatrev/ On 11 Nov 2011, at 14:19, Björnke von Gierke wrote: > This weekend, Colin will present two topics: > > First he will show us Adobe Director, with its an xTalk-like programming > language.

Re: [OT?] ADOBE DROPS FLASH for HTML5

2011-11-12 Thread Chipp Walters
Ian, Thanks for the link. Great read. Here's my take: *Adobe is in the process of repositioning Flash from a browser plugin to a dedicated cross platform application development tool-- just like LC is right now (assuming LC sees the writing on the wall and tosses the revPlugin).* This makes sens

Re: [OT?] ADOBE DROPS FLASH for HTML5

2011-11-12 Thread Mark Wieder
Ian- Saturday, November 12, 2011, 7:24:57 AM, you wrote: > We've heard *what* Adobe are doing, now there's a blog post about *why* they > are doing it. Thanks. Interesting. Even Adobe recommends HTML5 over Flex. http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html "we are planni

Re: CLI support in LC (was [OT?] ADOBE DROPS FLASH for HTML5)

2011-11-12 Thread Mark Wieder
Richard- Saturday, November 12, 2011, 6:46:18 AM, you wrote: > IIRC, -f was to prevent file access, yes? I'm probably misremembering the exact details - it's been a while now. It may even have just been redirection revolution < scriptFile > Is there a way that using secureMode might work for w

Re: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers

2011-11-12 Thread Matthias Rebbe
Am 12.11.2011 um 16:24 schrieb bar...@libero.it: > > Hi Pierre > Fri, 11 Nov 2011 Pierre Sahores wrote: > >> Seems useful and cool priced with the "pickup the templates you need, at >> your choice" option !> Thanks for delivring it. Will probably test it along >> a next coming project ;-) >>

Re: mouse within oval filled area

2011-11-12 Thread Randy Hengst
Sorry to flood the list.. but nevermind… I double-checked and that idea doesn't help you…. On Nov 12, 2011, at 9:56 AM, Randy Hengst wrote: > Hi Hugh, > > I haven't done exactly as you describe, but have made things where I only > wanted a response when the user clicked the filled area of a gr

Re: mouse within oval filled area

2011-11-12 Thread Randy Hengst
Hi Hugh, I haven't done exactly as you describe, but have made things where I only wanted a response when the user clicked the filled area of a graphic. I used the function version of within…. This script in the graphic…. on mouseUp if within(graphic "myGraphic",the mouseLoc) then bee

Re: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers

2011-11-12 Thread Todd Geist
I think the "so called Pro version" is a at a great price I am happy to support Scott's work. I have everyone of his tools and was happy to purchase the pre-release and the final release of tm-control. I see tools such as this and a vibrant, profitable 3rd party tool ecosystem in general as esse

Re: [OT?] ADOBE DROPS FLASH for HTML5

2011-11-12 Thread Ian Wood
We've heard *what* Adobe are doing, now there's a blog post about *why* they are doing it. http://www.mikechambers.com/blog/2011/11/11/clarifications-on-flash-player-for-mobile-browsers-the-flash-platform-and-the-future-of-flash/ No comments from me on on the different things covered in the arti

Re: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers

2011-11-12 Thread bar...@libero.it
Hi Pierre Fri, 11 Nov 2011 Pierre Sahores wrote: >Seems useful and cool priced with the "pickup the templates you need, at your >choice" option !> Thanks for delivring it. Will probably test it along a next >coming project ;-) >Best, >Pierre Agreed, a nice tool professionally produced but at w

Re:CLI support in LC (was [OT?] ADOBE DROPS FLASH for HTML5)

2011-11-12 Thread Richard Gaskin
Mark Wieder touched on a subject recently dear to my heart when he wrote: ...and we used to be have that ability, before it was nixed in rev 4.0 or something. I used to create little stack apps to do tasks and run them from the commandline with the -f option. Made for a nice alternative to perl

Re: Wasting space on the forum.

2011-11-12 Thread Mark Schonewille
Thanks for explaining, Francis. Yes, I agree that one level of quoting is sufficient, but I also believe it is necessary. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 502

Re: liveCode server on UBUNTU

2011-11-12 Thread Pierre Sahores
Hi Malte, I did extensive tests month ago and did't try again in the last weeks : both revServer and LC server works fine under Redhat Enterprise Linux and CentOS (free version of REHL). Works but can't bind PostgreSQL (needed for all my apps) under OpenSuse. If you can switch your linux box t

RE: mouse within oval filled area

2011-11-12 Thread John Dixon
Use the mouseColor ? > From: ad...@flexiblelearning.com > To: use-livecode@lists.runrev.com > Subject: mouse within oval filled area > Date: Sat, 12 Nov 2011 11:59:33 + > > Has anyone worked out how to test if the mouseLoc is within the filled area > of an oval graphic (defined by startAngle

mouse within oval filled area

2011-11-12 Thread FlexibleLearning
Has anyone worked out how to test if the mouseLoc is within the filled area of an oval graphic (defined by startAngle and arcAngle)? I was thinking polar coordinates, but this assumes a circle and a fixed radius which is not necessarily the case. A btter math brain than mine is needed! Hugh Senior

Re: Wasting space on the forum.

2011-11-12 Thread Francis Nugent Dixon
Hi to all who may have had problems understanding my very bad English, You are correct, I did mention 6 and 7 levels, I felt sure that many of you would think that this is a little excessive. Of course, Mark, I agree that one level is perfectly acceptable, IF the mail is counsel, or an answer to

Re: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers

2011-11-12 Thread René Micout
All that seems to be great (BIG work) !!! But some questions : 1. Some controls (radio buttons, checkBox, sliders, ...) have they 3 sizes (Mac OS X : standard, small and mini)? 2. Is there a project with the basic controls complete Mac OS X Lion? 3. If not, is it easy from an existing theme to cre