{lang: 'de'}
Flashhilfe.de - Flash Community

mc mit function scrollen [Flash 10]

 


AntwortenRegistrieren Seite1 2  

rising#1
Benutzerbild von rising
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;
};
Schlagwörter: press function, scrollen
RustyCake#2
Benutzerbild von RustyCake
Beiträge: 1776
Wohnort: Laimbach 6 1/2
Registriert: Nov 2002

24.07.2011, 16:55