beeblebrox
07-12-2004, 12:11 PM
G'day,
i've got a big problem, please help!
The Idea:
A interactive Color-Game.
by rolling over a movieclip you can change the background-color.
Some MCs add a bit of green, some others add red etc.
//Each Movieclip (a_mov, b_mov etc.) contains a Button with Drag-ability:
on (press) {
startDrag(this,true);
}
on(release) {
stopDrag();
}
// The Main-Script:
a_mov.onRollOver = function() {
trace("hello, onRollOver be traced!");
r=rr;
r=rr+15;
};
fl = new Color(flaeche);
strr = r.toString(16);
strg = g.toString(16);
strb = b.toString(16);
rgb = strr+strg+strb;
f1.setRGB(parseInt(rgb, 16));
1. Is there a chance to get it work?
2. No TRACE-Output while Rollover....why?
I just checked the colorfade-tutorial
(http://www.actionscript.org/tutorials/advanced/Color_fade/index.shtml)
but did not understand...does anybody?
i've got a big problem, please help!
The Idea:
A interactive Color-Game.
by rolling over a movieclip you can change the background-color.
Some MCs add a bit of green, some others add red etc.
//Each Movieclip (a_mov, b_mov etc.) contains a Button with Drag-ability:
on (press) {
startDrag(this,true);
}
on(release) {
stopDrag();
}
// The Main-Script:
a_mov.onRollOver = function() {
trace("hello, onRollOver be traced!");
r=rr;
r=rr+15;
};
fl = new Color(flaeche);
strr = r.toString(16);
strg = g.toString(16);
strb = b.toString(16);
rgb = strr+strg+strb;
f1.setRGB(parseInt(rgb, 16));
1. Is there a chance to get it work?
2. No TRACE-Output while Rollover....why?
I just checked the colorfade-tutorial
(http://www.actionscript.org/tutorials/advanced/Color_fade/index.shtml)
but did not understand...does anybody?