Search found 10784 matches

by Klaus
Sat Apr 20, 2019 1:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: modal stack behavior
Replies: 4
Views: 96

Re: modal stack behavior

Hm, I have tested my script and it worked out fine.
Please post your script again!
by Klaus
Sat Apr 20, 2019 1:26 pm
Forum: Talking LiveCode
Topic: Dismissing answer dialogs after xxx seconds automatically
Replies: 8
Views: 867

Re: Dismissing answer dialogs after xxx seconds automaticall

Hi MWCoastMedia, on mouseUp ## Important part to send BEFORE the dialog ;-) send "closeit" to me in 2 secs answer "sfasdfasdfasdfasdf" end mouseUp command closeit close stack "Answer Dialog" end closeit When attempting this on iOS, Livecode throws error codes 91 (chunk: can't find stack) and 108 (cl...
by Klaus
Fri Apr 19, 2019 3:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Videoplayer is not working
Replies: 15
Views: 152

Re: Videoplayer is not working

Blanke wrote:
Fri Apr 19, 2019 3:42 pm
Yeah, I thought about using a button too, but actually I want it to play, as soon as the app launches, because its the background.
Then "on openstack" (or "on opencard" of the first card) would be the ideal place(s) for this.
by Klaus
Fri Apr 19, 2019 3:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Videoplayer is not working
Replies: 15
Views: 152

Re: Videoplayer is not working

Okay, didn't know, that this does nothing, because when I imported images as control they've always shown up. Yep, that is the difference. But using a player object is much more flexible! Where do I need to put the code? When you want to play the video, maybe in a button "Play video"? BTW, "Blanke"...
by Klaus
Fri Apr 19, 2019 2:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Videoplayer is not working
Replies: 15
Views: 152

Re: Videoplayer is not working

I tried importing the video as control, but since this didn't work, because the video was simply not shown, I switched to setting the filename of a playerobject and this is where the problem I described in my first entry occured. Importing a video file as control does NOTHING but saving a COPY of t...
by Klaus
Fri Apr 19, 2019 2:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Videoplayer is not working
Replies: 15
Views: 152

Re: Videoplayer is not working

We still don't know what format the video has! 8)

Please always supply as much info as possible, so we can help.
Guessing is highly ineffective! :D
by Klaus
Fri Apr 19, 2019 2:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Videoplayer is not working
Replies: 15
Views: 152

Re: Videoplayer is not working

And please explain what you mean with:
"Something is quite not working..."
8)
by Klaus
Fri Apr 19, 2019 2:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Videoplayer is not working
Replies: 15
Views: 152

Re: Videoplayer is not working

Are you really using an IMPORTED video?
Menu -> File -> Import as control -> Video file...
?

Or are you setting the filename of a player object?
What format is the video file?
by Klaus
Fri Apr 19, 2019 1:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Videoplayer is not working
Replies: 15
Views: 152

Re: Videoplayer is not working

Hi Blanke, welcome to the forum! LC is very picky when it comes to PLAY imported video files! Only a very limited number of videoformats can be PLAYed this way, so I guess this is the case here. Advice: Don't import the video, just put the file into the folder with your stack and use it into a playe...
by Klaus
Fri Apr 19, 2019 9:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: modal stack behavior
Replies: 4
Views: 96

Re: modal stack behavior

Hi Lemuel, as I wrote on FACEBOOK, go to that modal stack as the LAST action in your script! 1. First fill all the fields etc. of the EDIT stack and 2. THEN go to that stack as modal on mouseUp tbutton global tLineToEdit ## I avoid nested IF THEN as much as possible. ## Please note how much more rea...
by Klaus
Thu Apr 18, 2019 3:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Completely deleting substack / stack
Replies: 4
Views: 132

Re: Completely deleting substack / stack

Hi Shawn, you need to type a bit more careful: on elDeleto ## if there is a stack stack "testCard" then if there is a stack "testCard" then delete stack "testCard" end if ... With this script I got it working: on mouseUp answer "hello" wait 5 milliseconds ## No script must be running when we remove ...
by Klaus
Thu Apr 18, 2019 1:26 pm
Forum: Off-Topic
Topic: Everyone needs a mentor
Replies: 4
Views: 286

Re: Everyone needs a mentor

Five dead characters? O boy... :(
by Klaus
Thu Apr 18, 2019 1:09 pm
Forum: Off-Topic
Topic: Everyone needs a mentor
Replies: 4
Views: 286

Re: Everyone needs a mentor

Really? 8)

Your message contains 7 characters.
You need to enter at least 10 characters.
by Klaus
Thu Apr 18, 2019 8:50 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Completely deleting substack / stack
Replies: 4
Views: 132

Re: Completely deleting substack / stack

Hi Shawn, I think LC does not like to delete a stack while a script IN that stack is being executed. Just like you cannot delete controls with/in their own script(s). Add a handler in the MAINSTACK thaqt will delete the substack: command el_deleto delete stack "testCard" end el_deleto Then just call...
by Klaus
Wed Apr 17, 2019 12:59 pm
Forum: Talking LiveCode
Topic: Gadget pane
Replies: 19
Views: 342

Re: Gadget pane

What is the format of the input string if not already text? Styles require additional data. Usually this is done in binary form, such as within the inner operations of a field or the clipboard data. We can transform those into textual representations that include the formatting, such as htmlText or...

Go to advanced search