Copy link to clipboard
Copied
I created a simple html canvas with four buttons. They are all gotlandstop actions. Each stop frame has a back button on it that brings me back to the first frame.
When I choose "test" from the control menu it launches in my browser and works fine. When I try to open the html file from my finder it launches my browser and shows the first frame with all the button but nothing is clickable.
Anyone else running into this issue?
Thanks,
Tom
Thanks everyone I figured out what was wrong. Just a few clicks in the publish settings and blamo, problem solved.
Thanks for your help.
Tom
Copy link to clipboard
Copied
Hi.
Two main reasons can be:
- When you open your HTML from the local file system security issues may happen. So you have to setup a local or a online server to host your HTML and the other needed files.
- If your button has a bitmap in it, you must use a vector shape in the hit frame to bypass security issues.
I hope this helps.
Regards,
JC
Copy link to clipboard
Copied
Hi JC,
Thanks for responding to my post.
The client wants to be able to run this on their computers without having to access the internet. It's for their sales team and they don't always have access to the internet.
They gave me a sample someone else had done that works fine when I launch the html file on my mac. I need to be able to give them something that runs locally.
I do have vectors in the hit frame. There is only one bitmap in the scene. It's a bitmap illustration with vector buttons placed over top.
Thanks,
Tom
Copy link to clipboard
Copied
I don't think you quite got what the ACP said. You can set up a local server that you can use for this purpose.
For example, Setup a Local Web Server on Windows, Mac, and Linux
Copy link to clipboard
Copied
Oh, I see. Thanks for clarifying. Unfortunately, even if this is a solution I can't expect my client to do that. I need a solution that doesn't require any action from the end user other than launching the file.
Thanks.
Copy link to clipboard
Copied
Are these people using Windows or Mac computers? If Windows, require that the client use any browser other than Chrome to open your thing. Chrome's security model is straight up broken when it comes to local file content.
Copy link to clipboard
Copied
Thanks everyone I figured out what was wrong. Just a few clicks in the publish settings and blamo, problem solved.
Thanks for your help.
Tom