I created a .swf file in Flash for an animated button, then put that on my Articulate master slide. When I play the project, the Roll_over and Roll_out animation works perfectly. Then I went back to the master and put a trigger on the .swf button so the user can use the button to navigate to a different slide. My problem is that when I add the trigger to the .swf button, the trigger does not work. Any work-arounds/ideas? The Trigger works outside of the button (on the stage area in Flash), but not on the button like I want it to.
I've attached a sample .story file. Here's what I did:
Created a master slide that has the grey button on it -- the button is a swf; mouse-over and mouse-out causes a small animation.
On the master slide, I selected the swf file (button) and set a trigger for it to go to the next slide when the user clicks.
When I run the preview, the animation on the button works just fine and the cursor shows a hand. But when I click the button to initiate the trigger, it doesn't work.
This has something to do with your Flash button. I imported a couple of random Flash animations and they work just fine with the same trigger. Maybe in your Flash file there is ActionScript that catches the mouseclick event instead of it being passed to Storyline?
I've attached the .fla flie so you can see the ActionScript I used. The .swf is not really an animation as much as it's a roll-over event to change the look of the button.
Let me know what you think. And thanks again for your time!
Sorry, I'm not a 'Flash guy' and just know the basics. I had a quick look at your .fla file and noticed you don't remove the eventhandlers, but I don't know if that would make a difference. I just thought that the problem had to be your Flash animation because the .swfs that I imported worked fine.
6 Replies
Hm, I just tried this and it works for me. Maybe you can share the file?
Michael,
Thanks for your quick response!
I've attached a sample .story file. Here's what I did:
When I run the preview, the animation on the button works just fine and the cursor shows a hand. But when I click the button to initiate the trigger, it doesn't work.
I probably made a simple mistake.
Thanks for any advice you can offer!
__Wally
This has something to do with your Flash button. I imported a couple of random Flash animations and they work just fine with the same trigger. Maybe in your Flash file there is ActionScript that catches the mouseclick event instead of it being passed to Storyline?
Thanks, Michael.
I've attached the .fla flie so you can see the ActionScript I used. The .swf is not really an animation as much as it's a roll-over event to change the look of the button.
Let me know what you think. And thanks again for your time!
__Wally
Sorry, I'm not a 'Flash guy' and just know the basics. I had a quick look at your .fla file and noticed you don't remove the eventhandlers, but I don't know if that would make a difference. I just thought that the problem had to be your Flash animation because the .swfs that I imported worked fine.
Thanks, Michael. I greatly appreciate your time and assistance!
Best wishes,
Wally
This discussion is closed. You can start a new discussion or contact Articulate Support.