Search found 364 matches

by Flinx
Thu Apr 16, 2026 11:04 pm
Forum: Hollywood bugs
Topic: DisplayTextObjectFX
Replies: 7
Views: 1861

Re: DisplayTextObjectFX

Ok. But don't just tell us.
Show us.

And, did you try my example?
by Flinx
Thu Apr 16, 2026 2:32 pm
Forum: Hollywood bugs
Topic: DisplayTextObjectFX
Replies: 7
Views: 1861

Re: DisplayTextObjectFX

Hi Juan Carlos, You're making it difficult to help you because your example doesn't work. It uses a lot of things that aren't available, so it's hard to tell where the problem lies. Here are the relevant lines of your code, but of course they work on Linux too. (I expected that, since I've used the ...
by Flinx
Tue Apr 07, 2026 3:16 pm
Forum: Hollywood bugs
Topic: SendMessage() freezes on Linux
Replies: 1
Views: 2109

SendMessage() freezes on Linux

The service component of my player on Linux has been unstable since I started using the IPC functions that were added a year ago. Since this occurs especially when a large number of IPC messages are transmitted, and an attempt to use DebugOutput() did hang at SendMessage(), I wrote a test script tha...
by Flinx
Fri Apr 03, 2026 7:12 pm
Forum: Code snippets area
Topic: Progress bar without pixel jumps
Replies: 3
Views: 2289

Re: Progress bar without pixel jumps

Juan Carlos wrote: Fri Apr 03, 2026 5:29 pm there are other variables to evaluate, for example, it's to copy a file, the file size, copy ratios
Take a look at my for loop — there’s a reason it goes from (almost) zero to one. So all you need is a division, for example, the current copy progress divided by the file size.
by Flinx
Sat Mar 28, 2026 5:57 pm
Forum: Code snippets area
Topic: Progress bar without pixel jumps
Replies: 3
Views: 2289

Progress bar without pixel jumps

Some time ago, I learned that Hollywood’s graphics system can set the position and size of graphic objects only to integer pixel positions. Now I’ve noticed that the function for scaling vector brushes can handle floating-point numbers to achieve the anti-aliasing effect. This makes it possible to d...
by Flinx
Fri Mar 27, 2026 6:20 pm
Forum: Hollywood bugs
Topic: Unprecise error message in MakeButton
Replies: 1
Views: 1211

Unprecise error message in MakeButton

Errors in MakeButton's callback function table return -1 as the argument number. Although the source of the message is relatively easy to find, I don't think this is ideal. EnableLayers() Box(0, 0, 50, 50, {Name="x"}) MakeButton(1, #LAYERBUTTON, "x", {OnMouseOver=Function() EndFu...
by Flinx
Wed Mar 25, 2026 4:39 pm
Forum: Hollywood bugs
Topic: Line, SetLayerStyle, and an too-large X2 value
Replies: 1
Views: 1398

Line, SetLayerStyle, and an too-large X2 value

Due to a bug, I came across a combination of commands that causes SetLayerStyle to freeze (tested on Windows and Linux). While this is easy to fix, it’s not so easy to find in a larger program. Perhaps there’s a way to prevent this. @DISPLAY {Layers=True} SetFormStyle(#ANTIALIAS) Line(5, 67, 90, 67,...
by Flinx
Thu Mar 12, 2026 10:16 am
Forum: Hollywood bugs
Topic: (avcodec) FLAC and SeekMusic(id,0)
Replies: 1
Views: 3273

(avcodec) FLAC and SeekMusic(id,0)

Hi,
I recently added FLAC support to my player and noticed (on Windows) that SeekMusic() to position 0 only works once; all subsequent attempts set the position to a later point in time. I'll send an example via PM.

Ralf
by Flinx
Wed Mar 04, 2026 11:08 pm
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 14415

Re: Minor bug with SeekMusic

Then you could try it. If something changes, it will probably help to narrow down the problem.
by Flinx
Wed Mar 04, 2026 8:24 pm
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 14415

Re: Minor bug with SeekMusic

Do you use the avcodec plugin? This has such problems mainly with MP3s with variable bit rate, but for me it's more of an issue on Linux.