Search found 3863 matches

by bn
Mon Sep 08, 2008 3:42 pm
Forum: Talking LiveCode
Topic: [ANN] BvG Docu
Replies: 10
Views: 8540

bankog wrote But still : is it possible to copy the content of the field "keyword" (in order to print it, I think you can only print the "entry" from RunRev print menu) ? I dont know how to print all the properties at once, would be nice. But then, I am looking things up in the documentation all the...
by bn
Mon Sep 08, 2008 3:02 pm
Forum: Talking LiveCode
Topic: [ANN] BvG Docu
Replies: 10
Views: 8540

Hi Bangkok, you can use the built-in Revolution dictionary to see the properties. This at first was not obvious to me either when I was looking for a way to see all the properties. In the dictionary type "field" then click on on the 'Type' header to sort the entries and you will find all properties ...
by bn
Sun Aug 31, 2008 11:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: QTVR Pan OpenCard
Replies: 5
Views: 5789

Jim, glad it works for you. cpPlayerLoc is a custom property that you create in Rev when you set it. It is persistent because it is saved with the stack. It is a way to store a variable and share it from different handlers, even when they are not in the same script. You can look at these properties ...
by bn
Sun Aug 31, 2008 7:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: QTVR Pan OpenCard
Replies: 5
Views: 5789

Hi Jim, playing around with this I found the second solution to not work anymore. Why??? So here is what works pretty consistently for me opening a card with a QTVR on this card to a non default pan without going visibly from pan 0 to x on preopencard set the alwaysbuffer of player 1 to true set the...
by bn
Sun Aug 31, 2008 3:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: QTVR Pan OpenCard
Replies: 5
Views: 5789

Hi Jim, I dont quite understand what you want If you want to go to a card which has a QTVR already loaded and when opening the card you want it in a certain angle and you dont want the change of angle to be visible then the only way I found was to reload the QTVR on opening the card. like in: on Ope...
by bn
Fri Aug 01, 2008 10:38 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Justifying text in a text field?
Replies: 2
Views: 2294

Hi Peter, apparently there is no way to fully justify text natively in Revolution. It has been discussed on the list several times and there are workarounds. you might want to look at http://thread.gmane.org/gmane.comp.ide.revolution.user/100217/focus=100322 look also at the whole thread may be it g...
by bn
Wed Jul 30, 2008 9:18 am
Forum: Multimedia
Topic: setting the brushColor to transparent color
Replies: 9
Views: 9416

Hi Mark, If you take the snapshot from the global coordinates as in the code I posted it "flattens" the image, i.e. takes a snapshot from the original image and the second image with the marks. Also Jan posted a different approach to flattening the image by grouping them. BTW you probably could do s...
by bn
Tue Jul 29, 2008 11:34 pm
Forum: Multimedia
Topic: setting the brushColor to transparent color
Replies: 9
Views: 9416

Hi Mark, glad it worked for you. just in case you want to 'freeze' the changes to the pict and you want to do it with a snapshot you will want to use the global coordinates to reference the area of the first image, since refering to the rect of the first image gives you a snapshot without the overla...
by bn
Tue Jul 29, 2008 7:41 pm
Forum: Multimedia
Topic: setting the brushColor to transparent color
Replies: 9
Views: 9416

Hi Mark, you could probably overlay your snapshot with an empty image of the same size and set the transparency of this image to about 50 to 60. Then your user can hilite the part of the imported image with a yellow 'pen' on your overlay. Depending on your needs this might work. If you want to prese...
by bn
Mon Jul 28, 2008 8:05 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Rotating an Image with Specified "Forward" Directi
Replies: 5
Views: 4278

Hi, maybe mokogobo is up to something else but I post this anyway if anybody is interested in a nonblocking version of the move and rotate thing Additionally I rotate the image now a lot more smoothly with controllable degrees of the rotational steps, looks much better now. Moving speed is also cont...
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: 4278

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: 4278

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: 3138

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: 6233

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: 6215

Mark,

shure enough, I got mixed up.

thanks for putting me back on track.

cheers

Bernd

Go to advanced search