Search found 3253 matches

by bn
Sun Jul 27, 2008 11:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Rotating an Image with Specified "Forward" Directi
Replies: 5
Views: 1216

OK, mokobogo try this and see if it is what you want: you can use the stack from my previous post or make a new one it has an image that is called "i1" make a freehand polygon graphic with not too many points to begin with and call it "g1" now make a button set the script to the button to: ---------...
by bn
Sun Jul 27, 2008 10:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Rotating an Image with Specified "Forward" Directi
Replies: 5
Views: 1216

Hi mokogobo, look at angle you can set the angle of an image create an image call it "i1" set the border to false in the inspector fill the image with a color, lets say with the bucket tool create a slider in the inspector set the start value to 0 set the end value to 360 set the script of the slide...
by bn
Mon Jul 21, 2008 7:18 pm
Forum: Talking LiveCode
Topic: Rotating Polygons
Replies: 2
Views: 1197

Hi, I agree, an angle property for polygons would be nice. In the meantime on could come close to the functionality with revRotatePoly. make an irregular polygon, name it "g1" create a custom property for this graphic "g1" called myPoints set myPoints to the points of graphic "g1" create a slider, s...
by bn
Thu Jul 17, 2008 8:24 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: using base64Encode to return encoded string
Replies: 8
Views: 2050

Hi, put on mouseUp put fld "user_name" into myAuth put ":" after myAuth put fld "password" after myAuth put myAuth into fld "testing" get auth_encode(myAuth) -- now do something with it answer it end mouseUp function auth_encode pStringToEncode local tEncoded put base64encode (pStringToEncode) into ...
by bn
Tue Jul 15, 2008 9:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Floating Video Window?
Replies: 10
Views: 1875

Mark,

shure enough, I got mixed up.

thanks for putting me back on track.

cheers

Bernd
by bn
Mon Jul 14, 2008 7:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Floating Video Window?
Replies: 10
Views: 1875

Hi Mark, It was possible to display iSight in a QuickTime player, using Mac OS X 10.4.x, but it no longer works with 10.5. the example stack 'Video Capture' in -> resources -> Sample Projects works for me with the built-in iSight. Rev 2.9 System 10.5.4 Quicktime 7.5 MacBook Pro. It would be a pitty ...
by bn
Mon Jul 14, 2008 10:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Floating Video Window?
Replies: 10
Views: 1875

Hi Gyroscope That's a new one for me; I didn't know that could be done... although if you use video in a player, it still will sit above everything else. There is a keyword to allow graphics to appear in front of it though but a) I can't find it in the Dictionary again and b) I couldn't get it to wo...
by bn
Fri Jul 11, 2008 10:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Imported png/jpeg quality
Replies: 5
Views: 1168

Hi, you might want to look at this thread http://www.nabble.com/-Not-Quite-OT---Possible-Fix-for-PNG-Color-Shift-to12511893.html#a12511893 and at this thread http://www.nabble.com/Image-discoloration-in-2.8.1-to17038763.html#a17049716 and here http://www.nabble.com/Shifting-RGB-td17869398.html#a1786...
by bn
Tue Jul 08, 2008 7:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Why cant I unlock the "In Depth" video tutorials?
Replies: 5
Views: 976

on a mac Revolution installs a special Codec for the tutorial videos it is Techsmith (the company) and ensharpen (the codec) I suppose one needs this codec on windows too, because regardless of whether it is mov or avi, if you don't have the codec you cannot replay the videos. btw, Quicktime can pla...
by bn
Tue Jul 08, 2008 11:16 am
Forum: Talking LiveCode
Topic: polygon area
Replies: 8
Views: 3092

Hi Mario, bjb, TEDennis, well, the link provided by TEDennis to a website explaining polygons http://alienryderflex.com/polygon_area/ helped me in doing some math on the area, I looked at the part with the simple polygons i.e. polygons that dont intersect themselves. I tested the algorithm on fairly...
by bn
Wed Jul 02, 2008 9:55 am
Forum: Talking LiveCode
Topic: polygon area
Replies: 8
Views: 3092

bjb007, agreed, the accurracy is a problem and I wouldnt buy land based on this, especially since the square mm is expensive nowadays..... for accuracy you should probably do the math (which as you know I cant) And in the pixel approach one one has to account for the border of the polygon, do you wa...
by bn
Tue Jul 01, 2008 11:30 pm
Forum: Talking LiveCode
Topic: polygon area
Replies: 8
Views: 3092

Hi Mario, bjb007 is probably right in what he said regarding the math, but since I am not good at math myself I figured why not let revolution let it do another way :) It is a little more involved than I thought but here it is, a solution for someone avoiding the math... the recipe: start out with a...
by bn
Mon Jun 30, 2008 11:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: weird MouseLoc() results
Replies: 2
Views: 1038

mouseLoc

Hi Andreas, I put this script in the card script ------------------------- local tLocList on mouseDown put "" into tLocList send "recordMouseLoc" to me in 10 milliseconds end mouseDown on recordMouseLoc put the mouseloc & return after tLocList if the mouse is up then delete last char of tLocList -- ...

Go to advanced search