I have a custom built drag and drop interaction (essentially the user sorts a list into two columns by drag and drop. If the user moves a word to the wrong list it is designed to spring back into the list, if corrcet it stays in the right column). It works just fine in Powerpoint and on its own in Flash but won't work in Presenter (the words moved into columns don't stay in position when moved to the correct one). Anything in particular we are doing wrong, or is this just not supported in Presenter?
also watch out for _root references, you can't use those if you are inserting it into Articulate as that effectively changes where the _root is. If you are using _root might I recommend something like this...
On your main timeline add code like this...
_global.topLevel = this
And then wherever you reference _root swap it out with this...
Would anyone be able to take a look at the code of this first rough interaction , and suggest what is wrong? As I mentioned this worked fine on its own but not in Articulate itself.
8 Replies
I would hazard a guess that your referencing _levels in your actionscript and importing it into Presenter is messing that up.
TC
Is it AS2 or AS3? If it's AS3 it won't work in Presenter...
also watch out for _root references, you can't use those if you are inserting it into Articulate as that effectively changes where the _root is. If you are using _root might I recommend something like this...
On your main timeline add code like this...
_global.topLevel = this
And then wherever you reference _root swap it out with this...
_global.topLevel
Would anyone be able to take a look at the code of this first rough interaction , and suggest what is wrong? As I mentioned this worked fine on its own but not in Articulate itself.
I attached a version modified that should work ok. just a couple minor mods.
Thanks Steve - I tried it but the objects dragged would still not stay put when they were in the right position.
As before it works great on its own as a Flash movie but not when previewed or published in Articulate.
Could it be settings on Articulate I'm not getting right?
Hi Paul,
Have you tried importing the SWF as a web object? This will help you get around any ActionScript conflicts.
https://player.vimeo.com/video/143914206
Thanks Brian - it seems to have done the trick!
This discussion is closed. You can start a new discussion or contact Articulate Support.