Search found 13 matches

by NullSet
Tue Mar 12, 2019 5:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A Few Questions about "Import Paint"
Replies: 2
Views: 2426

A Few Questions about "Import Paint"

Regarding: answer file "Select a an image:" import paint from file it This seems to create a new image object. According to the dictionary, "The import command places the data in the stack file itself." Three questions: 1 - Where and how is the image data stored? Is it a customKey? Is it saved in th...
by NullSet
Mon Mar 11, 2019 11:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Importing an image
Replies: 9
Views: 5987

Re: Importing an image

SparkOut wrote:
Mon Mar 11, 2019 10:39 pm
"answer file" will give you the info you need.
I remember now! Rusty!!! Thanks SparkOut :D

Tim
by NullSet
Mon Mar 11, 2019 10:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Importing an image
Replies: 9
Views: 5987

Re: Importing an image

Is there a way to script:

Code: Select all

set the cStoredImage of this stack to url("binfile:path/to/your/image.jpg")
With a dialog box to select the image file I want?

Thanks!

Tim
by NullSet
Mon Mar 11, 2019 8:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Importing an image
Replies: 9
Views: 5987

Re: Importing an image

Klaus wrote:
Mon Mar 11, 2019 8:38 pm
You can use a custom property of the stack to store the binary image data like:
Perfect!

Tim
by NullSet
Mon Mar 11, 2019 8:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Importing an image
Replies: 9
Views: 5987

Re: Importing an image

... import paint from file "path/to/your/image.jpg" ... That's the ticket! Thanka, Klaus! Looks like the image data is stored in the image object, not the card or stack. Correct? Is there a convenient way to save the image data in the card or stack instead? In that case, how do I reference the sour...
by NullSet
Mon Mar 11, 2019 7:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Importing an image
Replies: 9
Views: 5987

Importing an image

Forever the newbie, I've forgotten how to import an image. To be specific, I've got an image file saved on my hard drive. I know how to display that on a card. I want to import the image data, so reference to an external file will not be necessary for the image to display on the card. I hope I made ...
by NullSet
Sun Dec 30, 2018 4:37 am
Forum: Talking LiveCode
Topic: Never Mind! Fixed! Start Player 1 Freezes LC
Replies: 21
Views: 13222

Re: Never Mind! Fixed! Start Player 1 Freezes LC

jacque wrote:
Sat Dec 29, 2018 7:02 pm
Klaus kills more spam here than anyone else, but even the subset I see is indeed nearly overwhelming.
I sympathize.

Tim
by NullSet
Fri Dec 28, 2018 11:58 pm
Forum: Talking LiveCode
Topic: Never Mind! Fixed! Start Player 1 Freezes LC
Replies: 21
Views: 13222

Re: Never Mind! Fixed! Start Player 1 Freezes LC

here the links to the above mentioned LC midi stuff: Hey Klaus, I would love to have this functionality. Oh! The music tutorials I could write! I'm not hopeful, though. The "Buy it" "Try it" "Questions" and other links on this site seem to be dead. Anybody else know anything about this? Does Thierr...
by NullSet
Fri Dec 28, 2018 10:26 pm
Forum: Talking LiveCode
Topic: Never Mind! Fixed! Start Player 1 Freezes LC
Replies: 21
Views: 13222

Re: Never Mind! Fixed! Start Player 1 Freezes LC

Oh I see, your talking about something like midi. Thierry wrote a program that will do that for Apple I am pretty sure, and a few others have taken a stab at it as well. I've heard of an LC extension that makes it much easier to create music stacks. Is it still available? I don't know if that was a...
by NullSet
Fri Dec 28, 2018 10:00 pm
Forum: Talking LiveCode
Topic: Never Mind! Fixed! Start Player 1 Freezes LC
Replies: 21
Views: 13222

Re: Never Mind! Fixed! Start Player 1 Freezes LC

Thanks to bogs and Klaus on this thread. The old Play command in hyperCard would play a musical note from one of several instruments, as I recall. The user could determine the pitch and duration, by script. No need to import a sound clip or anything. There have been times when I wished for that. On ...
by NullSet
Fri Dec 28, 2018 8:39 pm
Forum: Talking LiveCode
Topic: Never Mind! Fixed! Start Player 1 Freezes LC
Replies: 21
Views: 13222

Re: Never Mind! Fixed! Start Player 1 Freezes LC

Klaus, I'm sorry you embarrassed yourself. Dude, I've been there too! Feels kinda funny, don't it? Apology accepted. My players did freeze LC a few times because of wrong pathnames. In a perfect world, that wouldn't happen. It's not a big deal. Scripts can always check for wrong pathnames before the...
by NullSet
Fri Dec 28, 2018 7:44 pm
Forum: Talking LiveCode
Topic: Never Mind! Fixed! Start Player 1 Freezes LC
Replies: 21
Views: 13222

Re: Never Mind! Fixed! Start Player 1 Freezes LC

How do I prove I am not a spammer? What if I don't spam? Would that prove it? I previously typed: To anyone who pondered my question without replying, thank you for thinking about it! Is that the sort of thing that spammers type? Your comment is so odd, I can't figure out if it's an un-funny joke, o...
by NullSet
Fri Dec 28, 2018 1:25 am
Forum: Talking LiveCode
Topic: Never Mind! Fixed! Start Player 1 Freezes LC
Replies: 21
Views: 13222

Never Mind! Fixed! Start Player 1 Freezes LC

Oopsie! After posting my query, I investigated the problem further and answered my own question, so I deleted it. To anyone who pondered my question without replying, thank you for thinking about it! It looks like there was an old bug, which caused LC to crash when more than one player was started a...