This content has been marked as final. Show 6 replies
Make sure you add the Buddy API xtra to the projector. From the top menu navigate to Modify>Movie>Xtras… click the Add button, scroll to budapi.x32, select it and click OK, then remake your projector. If it still doesn’t work, getting the path wrong seems to be the most common mistake with file functions. Your path looks fairly straight forward but it never hurts to check, add a temporary line: alert _movie.moviePath & “test.txt” when you run the projector check the path in the alert box against the actual file location, is Buddy API looking for the file in the right place?
Thanks for the quick reply. Yes i did forget to add the xtra to my projector, however, when i go to Modify>Movie>Xtras, there is no budapi.x32 to select ?????
sorry, i've found the xtra and added it but still no joy :(
In the Modify, Movies, Xtras list, it will likely be called 'Buddy API
When you say that you push the button and "nothing happens". Do you
mean that literally? Or do you get an error message of some sort? If
you have not added BuddyAPI into the projector, you should get an error
stating that baOpenFile is not available (or perhaps a less useful
If you are not even getting that, then I assume you are using a
#flashComponent button and you need to go into the Property Inspector's
Flash Component tab and change the 'eventPassMode' to #passAlways in
order to make the button work.
Also, there are 2 versions of BuddyAPI right now, one that works with
D10 and lower and another that only works with D11. Make sure you have
the right one installed.
Thanks so much for your help. You were right it was the #flashComponent button that was the problem. When I changed it to pass always it worked fine. Thank again!