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

Does Flash Create AS Code When You Draw on the Stage?

Guest
Jun 03, 2009 Jun 03, 2009

I'm starting to learn AS3, and a question comes to mind.  Let's say I'm in the authoring environment and I draw a rectangle on the Stage, set some properties - fill color, etc. - and then convert to button symbol.

Question 1 - Is Flash creating AS code that records these actions (create an instance, set properties, etc.)?

Question 2 - If Flash is creating AS code, is there any way we can see that code?

Thanks!

TOPICS
ActionScript
657
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
LEGEND ,
Jun 03, 2009 Jun 03, 2009

No, Flash is not creating actionscript when you draw on the stage.  You are the key force behind having actionscript come into play.  Flash is generating code that defines what you have drawn, but it isn't anything you can see/edit.

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
Guest
Jun 03, 2009 Jun 03, 2009

Thnks for the quick and direct answer.

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
LEGEND ,
Jun 03, 2009 Jun 03, 2009

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
Engaged ,
Jun 03, 2009 Jun 03, 2009

No ActionScript is generated as Ned already said, but (almost) every action - that takes place in the IDE - is stored in the History Panel.

Those are Flash specific commands which you can save to file (JSFL).

So if you'd have a repetitive task, you can perform the task once, save the generated JSFL from the History Panel and then repeat the task from the "command" menu.

You can open the History Panel from the "window" menu:

Window -> Other Panels -> History (CTRL+F10)

May not be what you're looking for, but you never know

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
Guest
Jun 03, 2009 Jun 03, 2009
LATEST

Thank you, Muzak.  I wasn't aware of the History Panel.  That's a very useful resource.

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