[Tweener] Hello

Ernesto Quezada ernesto.quezada at gmail.com
Sun Nov 15 05:57:48 PST 2009


_root.Position=4 != _root.Position==4

Salut!

2009/11/15 Adrien LOZES <realeon at hotmail.com>

> 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
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>



-- 
http://www.games-garden.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20091115/730214ff/attachment.htm>


More information about the Tweener mailing list