window.open() would allow the user to open the pdf in their browser.
Thank you for the answer!!, just other question, How do I give the "route" or "location of the file
is like this? for example:
thank you in advance!!
Here are some more details to help you.
Give your button an instance name; in this example, I'll use "myBtn". Then add these actions to the main timeline:
The bolded part should match your button instance name and file location/name.