Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Apr 28, 2022 Apr 28, 2022

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

TOPICS
Code , Publish package
352
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2022 Apr 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 28, 2022 Apr 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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2022 Apr 28, 2022
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines