[Tweener] Hello
Adrien LOZES
realeon at hotmail.com
Sun Nov 15 03:20:00 PST 2009
Hello,
I'm working on this scroll
http://tweener.googlecode.com/svn/trunk/examples/box_list_scroll_as2_flash8.zip
I've made a button that let me reach the position I want on the scroll
this.bout.onRelease = function() {
this._parent.gotoPosition(4);
};
now I'd like to load a movie when i move to this or that position...
Maybe with if?
this.bout.onRelease = function() {
this._parent.gotoPosition(4);
if (_root.Position=4) {
loadMovieNum("test.swf", 1);
}
};
but this doesn't work (it loads the movie alright but not because of
the position)
Do you have an idea of how it could be done?
Cheers
Adrian
More information about the Tweener
mailing list