Multiple MovieClips only One Script Advanced (Flash MX)

Tutorial details:
Written by: Helmut Granda , MX

Time:
15 minutes
Difficulty Level:
Intermediate

Requirements:
Flash MX, READ THIS TREAD
Topics Covered:
How to avoid writing code inside
every single MovieClip and load dynamic content.

Assumed knowledge:
Variables, Functions, MovieClips,
Buttons

In our previews tutorial
we learned how we can place our code in one place and assign actions
to severan Movie Clips at once rather than one by one.

and here it is the code to do that:

Continue reading Multiple MovieClips only One Script Advanced (Flash MX)

Multiple MovieClips only One Script (Flash MX)

Tutorial details:
Written by: Helmut Granda , Flash MX

Time:
15 minutes

Difficulty Level:
Intermediate

Requirements:
Flash MX

Topics Covered:
How to avoid writing code inside every single MovieClip.

Assumed knowledge:
Variables, Functions, MovieClips,
Buttons

S J Mangold Asked at flashnewbie mailing list the following question:

I could use some help with the next step in my programming education.

I have a set of buttons that typically are enabled/disabled at the same
time. Currently, I write code for each button. There’s got to be a way that
I can handle this more simply but don’t have a clue as to what it would be.

Any help would be greatly appreciated.

Thanks!

Sue

There are many ways of solving this problem, you can do it with a function, using the call command or creating a prototype.

We will cover the prototype solution.

Continue reading Multiple MovieClips only One Script (Flash MX)