Search found 174 matches

by okk
Fri May 08, 2020 1:07 pm
Forum: Multimedia
Topic: Creating a media timeline beyond the maxWidth limit
Replies: 22
Views: 18313

Re: Creating a media timeline beyond the maxWidth limit

Hi all, thanks for the comments. I got my timeline scrolling nicely and all is fine. I did not know that Sample Stacks in the IDE is actually called livecode share. Thanks for the tip. I only found 2 stacxks from Matthias, no large picture scroller unfortunately. Best. Oliver
by okk
Fri May 08, 2020 12:53 pm
Forum: Talking LiveCode
Topic: odd scrolling behaviour of text field
Replies: 12
Views: 6399

Re: odd scrolling behaviour of text field

Hi guys, thanks for testing. I still have the behaviour in various iterations of LC. The text is clean, no special formatting etc. I attach a sample stack. Do as follows: - open stack - scroll text field to the bottom (this is important!) - select before phrase: ""The male is a biological..." - hit ...
by okk
Sun Apr 26, 2020 10:00 am
Forum: Talking LiveCode
Topic: odd scrolling behaviour of text field
Replies: 12
Views: 6399

odd scrolling behaviour of text field

Hi, I noticed a strange scrolling behaviour of a textfield. When I hit the return key in a field that is already scrolled to the bottom, the field would react with a strange scroll showing the newly created line at the bottom of the field. This behaviour is a bit annoying since I always need to scro...
by okk
Fri Apr 24, 2020 3:13 pm
Forum: Multimedia
Topic: Creating a media timeline beyond the maxWidth limit
Replies: 22
Views: 18313

Re: Creating a media timeline beyond the maxWidth limit

Hi and thanks for the explanations, I dont know the inner workings of LC and how much of a reworking it would be to use 24bit integers, but my hunch is that it needs to come sooner or later. If I am not totally mistaken with HTML/CSS it seems to be possible to use much larger integers for coordinate...
by okk
Wed Apr 22, 2020 8:29 am
Forum: Multimedia
Topic: Creating a media timeline beyond the maxWidth limit
Replies: 22
Views: 18313

Re: Creating a media timeline beyond the maxWidth limit

Hi Richard and bogs, thanks for trying to answer my perhaps silly question. I still do not understand fully why it would be a bad idea to have larger numbers for coordinates. In my case, I have about 500 fields in a group. My stack is 1000 pixel wide. From the 500 fields only a few are visible at th...
by okk
Tue Apr 21, 2020 12:28 am
Forum: Multimedia
Topic: Creating a media timeline beyond the maxWidth limit
Replies: 22
Views: 18313

Re: Creating a media timeline beyond the maxWidth limit

Hi Richard, thanks for the tip. I actually just did as you suggested and indeed this is snappy. Based on the position of the scrollbar I just place and show the fields that are within the visible part of my timeline, the rest I hide. So instead of scrollling one ore multiple groups of fields I just ...
by okk
Mon Apr 20, 2020 4:54 pm
Forum: Multimedia
Topic: Creating a media timeline beyond the maxWidth limit
Replies: 22
Views: 18313

Re: Creating a media timeline beyond the maxWidth limit

Hi Bernd, thanks a lot for your response! I am studying your demo stack at the moment.It seems a very elegant workaround and it goes into the direction I was thinking about. The scrolling works great. What seems for me still (at this moment) a problem with this workaround is when the user wants to c...
by okk
Mon Apr 20, 2020 8:11 am
Forum: Multimedia
Topic: Creating a media timeline beyond the maxWidth limit
Replies: 22
Views: 18313

Re: Creating a media timeline beyond the maxWidth limit

Hi, let's not go too much off topic and speculate about future resolution of devices, in my concrete use case the limit is clearly an issue because I need to place objects outside of my stack. I was looking for advice on some possible workarounds. I also do not fully comprehend why LC could not have...
by okk
Sun Apr 19, 2020 8:30 pm
Forum: Multimedia
Topic: Creating a media timeline beyond the maxWidth limit
Replies: 22
Views: 18313

Re: Creating a media timeline beyond the maxWidth limit

Hi and thanks for the replies. My current assumption for a workaround is to split the timeline in several groups of say 20000 pixels width and then kind of stitch them together on the fly when the user scrolls. It is certainly doable but feels not very elegant. More sophisticated ideas are welcome. ...
by okk
Sun Apr 19, 2020 2:13 pm
Forum: Multimedia
Topic: Creating a media timeline beyond the maxWidth limit
Replies: 22
Views: 18313

Creating a media timeline beyond the maxWidth limit

Hi, I am working on an editor that allows users to create karaoke versions of speeches. The editor also contains a sort of media timeline in which users can change timecode and duration of words. This timeline contains a number of fields - for each word of the speech I have one field - the width of ...
by okk
Tue Mar 17, 2020 4:41 pm
Forum: Talking LiveCode
Topic: writing to a XML Node -> node is empty
Replies: 1
Views: 3978

Re: writing to a XML Node -> node is empty

Hi, I posted the same question on the runrev list and got a solution from Mark: on mouseUp local tInitialXML, tXmlId put "<?xml version='1.0' encoding='UTF-8'?><identity><name></name></identity>" into tInitialXML put revXMLCreateTree(tInitialXML,false,true,false) into tXmlId revXMLPutIntoNode tXmlId...
by okk
Sun Mar 01, 2020 1:32 pm
Forum: Talking LiveCode
Topic: set cursor to none --> cursor doesnt reappear
Replies: 3
Views: 2898

set cursor to none --> cursor doesnt reappear

Hi, can someone verify this glitch: on mouseup set the cursor to none lock cursor wait 100 unlock cursor end mouseup The cursor would stay hidden after script execution, it shows up evetually if I move it over a text field, but not when the text of that field is locked. Lc 9.5.0 on MacOS 10.12.6. Th...
by okk
Wed Feb 26, 2020 9:26 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 17724

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Thanks Bernd and bogs for this great LC lesson and for your sample stacks. I havent really worked with multiple stacks before. I am optimistic that I can work with this. In the production version I will keep for now player and subtitle field separate, but the two stack method will make it in the nex...
by okk
Wed Feb 26, 2020 6:22 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 17724

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Hi bogs, thanks for you stack, that was a quick response! I understood how you move the two stacks in sync. What I did not understood from your sample stack ow you kept the "winshape" stack always on top of the "positioner" stack. I even made the positioner stack larger, but clicking in it did not m...
by okk
Wed Feb 26, 2020 12:23 pm
Forum: Talking LiveCode
Topic: writing to a XML Node -> node is empty
Replies: 1
Views: 3978

writing to a XML Node -> node is empty

Hi, I have created an xml tree with all the nodes. I want to overwrite the text in a node. I noticed that when I use an Umlaut the revXMLPutIntoNode command creates an empty node (example 1). Without an Umlaut it works (example 2). (1) revXMLPutIntoNode treeID,"speech/speechname","äiti" (2) revXMLPu...

Go to advanced search