Hi there!
I'm using the following code to make a very simple casetteplayer. You can take
hold of the tapes and drop it on the player and then the sound will start. It
works fine when I test the movie. But when I load it into the main movie the
drop traget doesn't work (the drag works fine) Here's the code on each tape:
on(press) {
startDrag(this,false);
}
on(release) {
stopDrag();
if (this._droptarget == "/maskine_mc") {
gotoAndPlay(2);
}
else{
}
}
WHAT AM I MISSING?????
Julila - 31 May 2005 21:24 GMT
just in case in the main movie I load it by using this:
loadMovieNum("interviews.swf",50);
.:}x-=V!P=-x{:. - 31 May 2005 21:28 GMT
I haven't tried this but try this - use eval() to convert it from slash syntax
to a dot syntax reference.
on(press) {
startDrag(this,false);
}
on(release) {
stopDrag();
if (eval(this._droptarget) == maskine_mc) {
gotoAndPlay(2);
} else {
}
}