mc mit function scrollen [Flash 10]
| Beiträge: 33 Registriert: Feb 2011
| 24.07.2011, 16:20
Hallo, irgendwie übersehe ich hier den Fehler... es scrollt über die "Grenze" hinaus ö.ö.
ActionScript:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | upBTN.onPress = function()
{
if (_root.ME.NI_tx_resume._y == -608)
{
delete _root.menu.upBTN.onEnterFrame;
}
else
{
this.onEnterFrame = function()
{
_root.ME.NI_tx_resume._y = _root.ME.NI_tx_resume._y - 5;
};
}
};
upBTN.onRelease = function()
{
delete this.onEnterFrame;
};
|
| | | Beiträge: 1776 Wohnort: Laimbach 6 1/2 Registriert: Nov 2002
| 24.07.2011, 16:55
|
|