|
|
#1 (permalink) |
|
Üyelik Tarihi: 24.03.2007
Yer: ist
Mesaj: 99
|
harici swf deki scrool çalışmıyor
bir scrooler var elimde fakat bunu ana.SWF ye harici bir SWF olarak yüklediğimde scrool çalışmıyor.. bu root meselelerin den pek anlamıyorum sanırım onunla ilgili.. yardımm Kod:
onClipEvent (load) {
setProperty(this, _y, _root.scrollbar._y - _root.scrollbar._height * 0.5);
magnification = (_root.object._height - _root.scrollbar._height) / (_root.scrollbar._height);
objectstart = _root.object._y;
sliderstart = _root.slider._y;
top = _root.scrollbar._y - _root.scrollbar._height * 0.5;
bottom = _root.scrollbar._y + _root.scrollbar._height * 0.5;
}
onClipEvent (enterFrame) {
setProperty(_root.object, _y, (_root.slider._y - sliderstart) * -magnification + objectstart);
}
|
|
|
|
Zoque'a hoşgeldiniz!