Search found 495 matches

by bidgeeman
Sun Sep 10, 2017 11:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Hi MaxV.
Once again thanks for your feedback :)
Regards
Bidge
by bidgeeman
Fri Sep 08, 2017 10:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Hi MaxV.
Thank you again. The code does get copied you are correct :)
I have struck only one small problem. For some reason the resolution of the original image is degraded and the copy becomes slightly pixelated when using the resize. I Don't know what could be causing it?
Bidge
by bidgeeman
Thu Sep 07, 2017 1:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

LOL Klaus :)
I was just thinking about placing the grab me into the script but you beat me to it!
Might try and set image "i1" to the same loc as image "i2" so that they can be both
dragged around.
Thanks
Binfile...errr...Bidge :lol:
by bidgeeman
Thu Sep 07, 2017 1:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Wow...that worked brilliantly MaxV! I can't place a "grab me" command on the duplicate image as it replaces itself and the code is lost. Is there a way to stop the image defaulting position to the top left corner each time? I will have a play around with it and see if I can work it out. Thanks so mu...
by bidgeeman
Thu Sep 07, 2017 12:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Yes...I tried that stack a while ago and had all sorts of problems with it trying to get it to work properly.
I will revisit though and post my results.
Bidge
by bidgeeman
Wed Sep 06, 2017 1:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Hi Klaus.
That works fine but when I try to rotate the image with the rotate slider it pops back to it's original size?

EDIT: Sorry to be a pain but your code locks the image so that the rotation does not work. It's back to the original problem of the image resizing when it rotates. :(
Bidge
by bidgeeman
Wed Sep 06, 2017 1:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Here is my stack.
The resize button will not work if the image has been rotated as well as the image will not retain it's size after being resized.
I don't know what is wrong.
Bidge
by bidgeeman
Wed Sep 06, 2017 12:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Ahh MaxV...thank you that worked well. I see that you left the image unlocked. My image was being locked by the code I was using and was not allowing the image to resize itself. I have had to rebuild the code I had originally to accommodate this and it works well for image rotating now but my resizi...
by bidgeeman
Wed Sep 06, 2017 11:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

I added the script to the image rotate slider and the image shrank away to nothing!!! :shock: :D

Code: Select all

set the imageData of image "i1" of stack "ImageArea" to the imageData of image "i1" of stack "ImageArea"
set the angle of image "i1" of stack "ImageArea" to pScrollValue 
Bidge
by bidgeeman
Wed Sep 06, 2017 11:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Hi Klaus. Yes. the imagage is on a separate card as per the script above but like I mentioned the set ImageData did not work. The image still shrank as it rotated.
Not sure what i did wrong?
Bidge
by bidgeeman
Wed Sep 06, 2017 9:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Hi MaxV. Please forgive my new user ignorance but when the code refers to "myImage" does that have to be a pathway that refers to an actual image like: image "1" of stack Images? I tried that and it did not work? set the imageData of image "i1" of stack "ImageArea" to the imageData of image "i1" of ...
by bidgeeman
Wed Sep 06, 2017 7:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 3754

Re: Image Rotation

Hi again. Going back to this thread as I have struck a problem with rotation. Trying to import an image from a folder without using the loc so that it will rotate without distortion. problem is that when I import an image it is larger than the stack so I resize it on import. All good there but when ...
by bidgeeman
Wed Sep 06, 2017 12:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: make Start Screen Appear Once Only
Replies: 1
Views: 404

make Start Screen Appear Once Only

Hi.
I am trying to make a registration system for my app and I would mike to have a sub stack for user registration appear only once at the start and then not again after the user has registered. can anyone suggest a straight forward way to do this?

Thanks
Bidge
by bidgeeman
Sun Sep 03, 2017 12:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accessing Table Field Data
Replies: 9
Views: 1312

Re: Accessing Table Field Data

Hi Klaus and jacque.
Thank you so much for the error checking pointer. I applied it and no error presented itself?
This is not the first time I have had something strange like that happen though.
Once again thank you for your help.
Bidge
by bidgeeman
Sat Sep 02, 2017 12:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accessing Table Field Data
Replies: 9
Views: 1312

Re: Accessing Table Field Data

EDIT: [SOLVED] I closed down LC, re-opened it and the error went away???? Sorry to bother you all again but this snippet of code was working well for me earlier but now it has started throwing up and error: on mouseUp put URL "http://www.something.com" into depthvariable put jsonimport(depthvariable...

Go to advanced search