Skip to main content
Participant
Apr 28, 2022 9:41 AM UTC
Question

HTML5: Give exported html file name a different name than the js file

Hi,

 

is it possible to give the html file a different name than the js file in the settings when exporting?

 

Output name in the publishing settings changes both the html and js file to the same name. But i want to name the html file, let's say, "index.html" but keep the .fla name for the js file.

 

Cheers,

John

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

kglad
Community Expert
Community Expert
Apr 28, 2022 1:34 PM UTC

animate is going to publish the same name for the html and js files.  that can (and should, if you're appending a version number to the fla) be different from the fla file name.

 

after publishing, you can rename your js file and then the html's script tag to match the js file name.

Translate
Participant
Apr 28, 2022 3:47 PM UTC

I know of the manual path after publishing.

So there is no way to only change the html file's name beforehand. 

 

Alright, thank you for taking the time!

Translate
kglad
Community Expert
Community Expert
Apr 28, 2022 5:47 PM UTC

you're welcome.

Translate