Search found 6 matches

by haitham
Wed Mar 25, 2009 2:34 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Inserting sounds Programmatically
Replies: 7
Views: 5659

First, I have to thank you for your help.

Regarding you question, why do I want to do this.

Well, this might need some explanation. In short, the sound will be stored in a database file (SQLite file) in a binary format so that it can be played later directly from ANOTHER application.

Thus, I will ...
by haitham
Tue Mar 24, 2009 7:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Inserting sounds Programmatically
Replies: 7
Views: 5659

Inserting sounds Programmatically

Hi,

I want the user to click on a button, browse his/her files and select a specific sound file (WAV file). Then, I want to store the binary data of that sound in a variable (something similar to imageData for images).

How can I do that?

Thanks,
Haitham
by haitham
Mon Mar 23, 2009 8:24 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: clearing imageData!
Replies: 2
Views: 2947

Hi Klaus,

Well .. that's tricky :/ but still nice.

It seems that I am still didn't get familiar with Revolution. Programming in Revolution is different somehow from programming using C++, Visual Basic or ActionScript 3.0. In Revolution, you have to know exactly how you should write the right ...
by haitham
Mon Mar 23, 2009 7:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: clearing imageData!
Replies: 2
Views: 2947

clearing imageData!

Hi,

When I have something like the following code:

-- MyImage is an image area
-- SomeData is a binary data of an image
set the imageData of image "MyImage" to SomeData


Now the image of "SomeData" appears in the "MyImage" area.
How can I clear and remove the the image from the image area ...
by haitham
Sat Dec 20, 2008 6:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: making a password field
Replies: 2
Views: 3259

Thanks SparkOut,

I wrote, myself, a simple nice code that does the job easily.

The following code should be inside the Text Entry Field itself.
-------------------------------------------------------------------
on keyDown theKey
put "*" after last char of me
put theKey after last char of field ...
by haitham
Fri Dec 19, 2008 8:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: making a password field
Replies: 2
Views: 3259

making a password field

Hi,

I want a Text Entry Field for a password. I want stars appear in the field instead of the characters that are entered by the user.

Is there any straightforward way for doing that?

Thanks.
Haitham