Skip to main content
mikhails94419921
Participant
January 29, 2018
Answered

Adobe Animate CC is publishing HTML5 with strange variables

  • January 29, 2018
  • 1 reply
  • 254 views

Hi there

I'm researching how to do cool things with Animate CC and CreateJS, but I've faced a problem: in my stage content all layers have names like "instance_1", "instance_2" and so on. What should I do to have a normally named content? (see attached screenshot)

    This topic has been closed for replies.
    Correct answer ClayUUID

    So when you say "normal" instance names, you actually mean user-assigned names. You should have said that in the first place.

    Well, you can't assign instance names to graphic symbols. You can only assign instance names to buttons and movieclip symbols. So you'll have to change any graphic symbol you want to script to a movieclip.

    1 reply

    Legend
    January 29, 2018

    This is normal, it is not a problem. You can't assign your own names to graphic symbol instances. Stop worrying about things that don't matter.

    mikhails94419921
    Participant
    January 30, 2018

    But what if I want to use them? And by the way, I have an example of published code with normal variables naming (see attached)

    As you can see, at this screenshot we have variables named exactly the same way as names of classes. But I don't know what should I do to get the save result.

    ClayUUIDCorrect answer
    Legend
    January 30, 2018

    So when you say "normal" instance names, you actually mean user-assigned names. You should have said that in the first place.

    Well, you can't assign instance names to graphic symbols. You can only assign instance names to buttons and movieclip symbols. So you'll have to change any graphic symbol you want to script to a movieclip.