|
|
#1 |
|
Junior Member
Join Date: May 2002
Posts: 16
|
need some help here....
this may or not be a stupid question but. i want to put the songticker where the background isnt, if you know what i mean. just text, with no background at all. ive tried everything i can think of, but nothing seems to work at all.
|
|
|
|
|
|
#2 |
|
Sunshine
(Major Dude) Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
|
me thinks its not possible. everything needs a background to have sumthin place on it but prove me wrong
m*69 |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Jan 2002
Posts: 1,778
|
Wrong.
Just define a height and width for your layout, and no background. Then put a songticker in there. To be able to move it you'll need a layer in there that you can click and hold with the mouse. You'll win2000 or higher with DTA enabled for the songticker to work like that, especially if you have antialias on. ¯¯¯¯Joe Bloggs____ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
|
|
|
|
|
#4 |
|
Sunshine
(Major Dude) Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
|
oh well
me not know much about that kinda stuff so i get proven wrong all the time hehe ![]() m*69 |
|
|
|
|
|
#5 |
|
Major Dude
Join Date: Jan 2002
Posts: 1,778
|
I forgot to say, you need to add sysregion="1" to every object if you want it actually show up.
¯¯¯¯Joe Bloggs____ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: May 2002
Posts: 16
|
thanks for the help. finally got it working now
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: May 2002
Posts: 16
|
new problem
ok, i have this layer covering the volume control, which i want to fade away when the mouse is over it.
heres the script: #include "../../../lib/std.mi" Class AnimatedLayer AnimatedLayerHint; Function StartAnimation(AnimatedLayer l, int start, int end, int speed); Global AnimatedLayerHint volumeCover; System.onScriptLoaded() { Group sGroup = getScriptGroup(); volumeCover = sGroup.findObject("Volumecover"); } volumeCover.onEnterArea() { StartAnimation(volumeCover, 1, 15, 10); } volumeCover.onLeaveArea() { StartAnimation(volumeCover, 15, 1, 20); } StartAnimation(AnimatedLayer l, int start, int end, int speed) { l.stop(); l.setStartFrame(start); l.setEndFrame(end); l.setSpeed(speed); l.setAutoReplay(0); l.play(); } and that works fine. but when i try to set ghost="1" for the layer it stops working. anyone know y? |
|
|
|
|
|
#8 |
|
Major Dude
Join Date: Jun 2002
Posts: 851
|
It stops working because onEnterArea() and onLeaveArea() are mouse events, and ghost="1" tells the Layer to ignore mouse events. I think you may want to leave ghost="0" but try rectrgn="0" instead.
Hope this helps, ~FrisbeeMonkey My Skins Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: May 2002
Posts: 16
|
that didnt work either. is there a way, probly through maki, that i could tell the layer to pass mouse clicks down to underlying layers?
|
|
|
|
|
|
#10 |
|
Major Dude
Join Date: Jun 2002
Posts: 851
|
Duh, sorry, I should have thought about this a little more. What would probably work best for you is to ghost="1" your cover, but then have the onEnterArea and onLeaveArea events linked to your Volume. This way, when the mouse is over your Volume control, the AnimatedLayer will open, and when it is off, it will close. Does that make sense?
~FrisbeeMonkey My Skins Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: May 2002
Posts: 16
|
yes it does, suprizingly enough. ill have to get to work on it now. thanks a bunch
And after nearly an hour of butting heads with maki scripts the volume slider is done. thanks again to all for the help so far. Last edited by mickachu; 21st March 2003 at 05:07. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|