![]() |
newbie question
hey,
i'm modifying a modern skin and i want to add a double click action to the actual body of the skin itself but i can't work out how to - i can add add a dbl click action to one of the buttons but can't work out where to put the code to get events from the main body of the skin thanks in advance |
Well for that you really need a MAKI script... something like...
code: More on MAKI scripting What exactly do you want to do? New context menu? I'm always interested in Modern Skin mods, and I wonder if you could share your work (privately of course). |
thanks for the info, but it is a script file really nesecary? it just seems like a somewhat complicated way of doing something that i assumed would be very simple
all i'm trying to do is modify this skin so that it will minimize when the frame is double clicked |
well it is neccesary
|
I don't think it's imperative :)
Try 'dblclickaction=""', I think that's it. |
hammerhead:
i tried that but i didnt know where to put it to operate on the frame of the skin... just as a test i put that code under the pause button and it worked fine to minimize the window but i couldnt get it working on a 'non-button' i haven't got around to trying out the code that edgeofepsilon posted yet but i'll give that a go this evening hopefully cheers for the help though guys |
that will only work on a button wouldn't it?
|
ok i tried to compile the script above, but the compiler simply tells me that onDblLeftClick() is not a function of the layer class... any ideas?
|
code: |
ok i got the script compilling and included (although for now i've just set it to stop playback rather than minimize 'cause that wouldn't compile) but nothing happens... is there any way i can check if i've used the correct window/image id's?
|
| All times are GMT. The time now is 06:44. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.