Search found 13566 matches

by Klaus
Sat Jul 14, 2007 8:13 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: newbie question; write to file, read from file?
Replies: 12
Views: 9825

Hi homer, please don't give up too soon, help is on its way! This is what you want, its not very efficient, but effiency will come to your code later after you understood all the basics :-) The basic syntax for writing contents to textfiles is like this: (If you use "write ... to file ..." then you ...
by Klaus
Sat Jul 14, 2007 7:53 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Array of fields
Replies: 4
Views: 4679

Hi proza,

use brackets and it will work :-)

repeat with i=1 to whatever
put i into field ("f" & i)
end repeat

Rev will evaluate the string first to "f1", "f2" etc.


Regards

Klaus


P.S.
But an array is a complete different animal ;-)
by Klaus
Wed Jul 11, 2007 3:25 pm
Forum: Animation Engine
Topic: metacard?
Replies: 1
Views: 4529

MetaCard stack = Rev stack!

The fileformat is identical, so yes, it will work with MC stacks :-)


Best

Klaus Major
by Klaus
Sun Jul 08, 2007 12:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Menu Builder Puzzle
Replies: 4
Views: 4774

Re: Menu Builder Puzzle

Hmm - what am I missing...?? ... Also, I gather from the docs that these menus are (can be?) stack specific. What if I just want a menu that's the same throughout my whole application? Where does it go? TIA Kai Please check the "defaultmenubar" property in the docs, that is what you are looking for...
by Klaus
Thu Jul 05, 2007 6:51 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Duplicating a card?
Replies: 4
Views: 4637

Hi Derek,

you are looking for "clone" and "copy"! :-)

...
clone this cd
## In the same stack

...
copy cd "My card" of stack "A" to stack "B"
## Between stacks

Hope that helps.


Best

Klaus Major
by Klaus
Thu Jul 05, 2007 2:15 pm
Forum: Multimedia
Topic: MP3 help please!
Replies: 6
Views: 7817

Hi Rick, hmmmm, setting the filename of a player to a MP3 files works without problem, so something else must go wrong here. Afer setting the filenmae you get "could not open movie file" in the result? Can you open that file with QuickTime Player? What exactly is in your script, could you post it pl...
by Klaus
Thu Jul 05, 2007 11:53 am
Forum: Multimedia
Topic: Video files
Replies: 2
Views: 5450

Hi dalkin, the solution: Use a relative pathname for your video! Example: You have your standalone in a folder "Standalone folder" and in there is another folder named "Video" or whatever which contains your video file. Then you can use the relative (to the current folder!) pathname: "Video/your_vid...
by Klaus
Thu Jul 05, 2007 11:42 am
Forum: Multimedia
Topic: stopping videoclip stack objects?
Replies: 5
Views: 7728

Buongiorno Lestroso,

actually the correct syntax is:

-> play stop videoclip XYZ

See also the "dontrefresh" property in the docs!


Best

Klaus Major
by Klaus
Fri Jun 29, 2007 3:29 pm
Forum: Talking LiveCode
Topic: OS X screensaver
Replies: 6
Views: 5713

Hi Chris,

please check "OS X Screensaver" of user "designeq" in "Revolution Online".

Rev never stops to amaze me :-)


Best

Klaus
by Klaus
Mon Jun 25, 2007 3:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie: Another code critique
Replies: 3
Views: 4274

Hi kai,

your code looks great to me, couldn't be scripted to run faster :-)


Best

Klaus
by Klaus
Tue May 22, 2007 5:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: screen captures
Replies: 4
Views: 5270

Hi Ken,

sure it is :-)

Check the docs for "import snapshot..."


Best from germany

Klaus
by Klaus
Wed May 09, 2007 9:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "export snapshot" syntax
Replies: 12
Views: 8968

Qucik and maybe naive question:
Does a "lock screen" and "unlock screen" not what you want (Refresh card)?


Regards

Klaus
by Klaus
Sun May 06, 2007 11:05 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie: Confused once more
Replies: 3
Views: 4806

Hi Kai, try this: on setCheckboxLayout Index answer "in setCheckboxLayout" -- set the locklocation of "group_Cat1" to True set the locklocation of GROUP ("group_Cat" & Index ) to true ## or BUTTON or whatever ("group_Cat" & Index) is... end setCheckboxLayout The object decription is missing, should ...
by Klaus
Fri Apr 20, 2007 9:52 am
Forum: Multimedia
Topic: Flash in QuickTime Player
Replies: 6
Views: 10670

Hi firends,

I think the way to go is to use the new browser external, QuickTime is a nice but half-baked solution.

This way you can have the latest Flash movies*** inside your Rev app and noone can tell the difference :-)

***and EVERYTHING that runs in a browser!


Regards

Klaus Major
by Klaus
Tue Apr 10, 2007 2:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: movie command
Replies: 4
Views: 5910

Hi maxs,

check the "play" command in the docs.

But you are quite limited when using imported videofiles!


Best

Klaus

Go to advanced search