Embede Drag and Drops
Jun 23, 2011
I have a drag and drop activity in flash that works fine. Once I import it into articulate it does nto function anymore.
My code is below. I dont make reference to root or level0. What is the issue here?
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
startDrag(this);
dx = this._x;
dy = this._y;
this._parent.feedback = "";
}
on (release, releaseOutside) {
stopDrag();
if ((getProperty(this, _droptarget)) eq ("/dna")) {
setProperty(this, _x, dx);
setProperty(this, _y, dy);
this.enabled = false
this.gotoAndStop(3);
trace(_droptarget);
this._parent.feedback = "Correct";
} else {
setProperty(this, _x, dx);
setProperty(this, _y, dy);
this.gotoandplay(1);
//_root.feedback = "Wrong answer.";
//this._parent.myColor.setRGB(0xFF0000);
}
}
6 Replies
Hi Josh,
Are you publishing your Flash file to ActionScript 2 or ActionScript 3?
As2.
Hi Josh,
You'll want to make sure that you're following our recommended best practices:
http://www.articulate.com/support/presenter09/kb/?p=76
If you still have issues, it may be quicker for you to add the SWF to your project as a web object:
https://player.vimeo.com/video/143914206
Hi Josh
are you inserting via the articulate add flash movie or via powerpoint insert menu
Phil
Under the articulate tab im using the flash movie button. Im not using a interaction to insert the movie.
Hi Josh
If you can post the swf I can give it a try
Phil
This discussion is closed. You can start a new discussion or contact Articulate Support.