Search found 568 matches

by PEB
Sun Nov 28, 2010 12:36 am
Forum: Hollywood bugs
Topic: BUG ?
Replies: 2
Views: 4345

Re: BUG ?

Thanks for the explanation! I don't really need to use a decimal here. And even if I choose to use a variable with a decimal (as in the example), it's really not hard to work around this issue by multiplying by 10 before the variable comparison and then dividing by 10 afterwards. I just thought the ...
by PEB
Sat Nov 27, 2010 10:30 am
Forum: Hollywood bugs
Topic: BUG ?
Replies: 2
Views: 4345

BUG ?

Function p_Steps() StepVar=StepVar+0.1 If StepVar=1.1 DebugPrint("Yep 1") ElseIf StepVar=1.2 DebugPrint("Yep 2") ElseIf StepVar=1.3 DebugPrint("Yep 3") EndIf If StepVar=1.3 DebugPrint("Done") End() EndIf DebugPrint(StepVar) EndFunction StepVar=1 Function p_Te...
by PEB
Mon Nov 08, 2010 12:04 am
Forum: Newbie questions
Topic: No Programming Knowlegde
Replies: 27
Views: 29642

Re: No Programming Knowlegde

Exactly what error messages are you getting? I'm sure the problem is actually NOT in this piece of code, even if errors appear here. The example programs are great to help you learn how Hollywood works. But instead of copying and pasting from the examples, I would suggest writing your own code to fi...
by PEB
Sat Nov 06, 2010 7:41 pm
Forum: General programming
Topic: FontPreviewer & IconEditor
Replies: 1
Views: 3326

Re: FontPreviewer & IconEditor

You need to have the latest AISS installed.
by PEB
Thu Nov 04, 2010 12:41 am
Forum: Off topic
Topic: The incredible share your Hollywood projects thread
Replies: 17
Views: 26494

Re: The incredible share your Hollywood projects thread

I just tried the OS4 version.

It worked well; I like it.
by PEB
Mon Nov 01, 2010 3:30 pm
Forum: Wishlist
Topic: Possibility to complety disable an event
Replies: 4
Views: 8851

Re: Possibility to complety disable an event

If you only want to use Designer, then you are probably stuck; but if you don't mind editing the code by hand, you can use DisableButton() and EnableButton() to accomplish what you want.
by PEB
Sat Oct 30, 2010 6:48 pm
Forum: Newbie questions
Topic: No Programming Knowlegde
Replies: 27
Views: 29642

Re: No Programming Knowlegde

You should probably post the exact code that is giving you problems (try to narrow it down as much as possible) so that others can look at it and try to help you better.
by PEB
Sat Oct 30, 2010 6:44 pm
Forum: Wishlist
Topic: Possibility to complety disable an event
Replies: 4
Views: 8851

Re: Possibility to complety disable an event

If you are using #LAYERBUTTON with MakeButton(), then the noautohide input (set to FALSE) might do what you are asking (if I understand the question correctly).
by PEB
Mon Aug 30, 2010 2:32 pm
Forum: General programming
Topic: newlayer = insertlayer(NIL,...) how does it work?
Replies: 4
Views: 6823

Re: newlayer = insertlayer(NIL,...) how does it work?

You have two layers with that example.

Assuming you have layers enabled, even if you only load one brush, if you display it 5 times, then you are making 5 separate layers with it.
by PEB
Sat Aug 28, 2010 1:08 am
Forum: General programming
Topic: newlayer = insertlayer(NIL,...) how does it work?
Replies: 4
Views: 6823

Re: newlayer = insertlayer(NIL,...) how does it work?

As long as you have layers enabled, you can just use display brush, and assign a name (and other layer attributes) from DisplayBrush(). For example: DisplayBrush(1, 50, 50, {Name="LayerName"}) This will display your brush as a new layer and assign the layer name "LayerName" to it.