Good morning,
There is two buttons on the same level wich launch a function :
btn2.onRelease=btn1.onRelease =function () {
play ();
};
I put a button at the level40 and it doesnt work, do you ssee why ?
_level40.btn2.onRelease=btn1.onRelease =function () {
play ();
};
I'd imagine that it's working but playing its own parent rather than the
level where you wrote the function (or vice versa: what were you hoping it
would do?). Have you tried this?:
var thisFunction=function () { play ()}
_level40.btn2.onRelease=btn1.onRelease=thisFunction
If not, then try adding a trace(this) and see what you get
Danny
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders