Skip to main content
Participant
April 28, 2022
Question

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

  • April 28, 2022
  • 1 reply
  • 498 views

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 has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 28, 2022

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.

Participant
April 28, 2022

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!

kglad
Community Expert
Community Expert
April 28, 2022

you're welcome.