El Kevo
Threadersteller
Dabei seit: 31.01.2006
Ort: -
Alter: 36
Geschlecht:
|
Verfasst Di 09.10.2007 15:00
Titel von Flash 6 zu Flash 8 |
|
|
morgen!
ich hab da mal ein Problem:
ich hab ein fertiges Slideshow Skript aus dem internet gezogen und für meine bedürfnisse angepasst das aber für den Flash Player 6 gemacht wurde und ein Flash MX Profil hat.
wenn ich das ganze jetzt in ein Flash 8 Dokument kopiere oder einfach Flash Player 8 einstelle geht garnix mehr.
wisst ihr was die ursache dafür sein könnte?
hier mal die fla:
http://rapidshare.com/files/61303988/sliding_imagesfla8_88.fla.html
und hier die codes:
Code: |
_root.xnew = -4130;
function move(clipName) {
destination = _root.xnew;
position = clipName._x;
velocity = velocity*_root.bounce+(destination-position)/_root.speed;
clipName._x += velocity;
}
clip.onEnterFrame = function() {
move(this);
};
|
Code: |
onClipEvent (load) {
slideTitle = _parent.slideTitle
slideVariable = _parent.slideVariable
_root[slideVariable] = _parent.startScale
minScale = _parent.minScale;
maxScale = _parent.maxScale;
count = _parent.startScale;
conversionFactor = (maxScale-minScale);
decPlaces = _parent.decPlaces;
}
|
Code: |
slider._x = (_parent.startScale-_parent.minScale)/_parent.maxScale*background._width;
slider.onPress = function() {
this.startDrag(true, 0, 0, background._width-slider._width, 0);
this.onMouseMove = function() {
count = _root[slideVariable]=((this._x/(background._width-slider._width))*conversionFactor)+minScale;
count = Math.floor(Math.pow(10, decPlaces)*count)/Math.pow(10, decPlaces);
};
};
slider.onMouseUp = function() {
slider.stopDrag();
this.onMouseMove = function() {
};
};
|
Code: |
on (release) {
_root.xnew = -4130;
}
|
Danke im Vorraus
Kev
Zuletzt bearbeitet von El Kevo am Di 09.10.2007 15:29, insgesamt 2-mal bearbeitet
|
|