Alright, this is my problem; i need to find a way to pause and start again from that same position the ‘infinite menu’ found here on kirupa
http://www.kirupa.com/developer/mx/infinite.htm
A friend of mine attempted to help me, and gave me some code to fiddle with. I did fiddle with it, but problem was, the code was for Flash MX 2004. So it didnt work on my MX. Here is the existing code i have, but doesn’t function (i.e. works fine when control>Test Movie, but doesnt work when actual .swf from folder is opened)
cmdPause.onRelease = function() {
if (_root.Paused == true) {
text = “pause”;
_root.Paused = false;
} else {
text = “play”;
_root.Paused = true;
}
};
onLoad = function () {
_root.Paused = false;
_root.xcenter = 150;
_root.speed = 1/10;
};
MenuAnim.ScrollMenu.onEnterFrame = function() {
var distance = _root._xmouse-_root.xcenter;
if (_root.Paused == false) {
MenuAnim.ScrollMenu._x += (distance*_root.speed);
if (MenuAnim.ScrollMenu._x>0) {
MenuAnim.ScrollMenu._x = -300;
}
if (MenuAnim.ScrollMenu._x<-300) {
MenuAnim.ScrollMenu._x = 0;
}
}
};
Or…if you have your own theory on how i could get this to work, by all means! Thanks in advance everyone