Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: [flasher] Actionscript Find & Replace
From: Dorian Nisinson
Date: Thu, 08 Mar 2001 20:42:00 -0000

If I understand your problem correctly, there may be a lot of editing in
your future but there is an easier way to structure a movie so that the next
time you have many instances of the same 4 buttons, changes will be easier.
Create each button in the usual manner and then make a movieClip with each
button inside it. That way you only enter the code for each button once. You
can then place as many instances of your buttons on stage as are needed. If
different button groupings are needed at different places in your movie then
make a separate movieClip for each button and you can mix and match.

When the time comes to make a change to 65 instances of a button, just edit
the original movie clip that contains the button or buttons. Change the code
for the button once. Your done. All instances of that button inside a movie
clip are changed too.

Sorry not to have better news.

Dorian

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dorian Nisinson Design
http://www.nisinson.com
dorianatnisinson [dot] com (mailto:dorianatnisinson [dot] com)
Flash Motion Graphics
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>
> Hopefully someone can direct me here, or tell me if this feature isn't
> present (or if I'm a sleep deprived raving lunatic).
>
> I've got navigation templates I need to change script on. There are 65
> of them. Each one I need to change buttons to load different movies.
> For instance, template 1 will load in info1.swf. Then I change that
> link in template 2 to load in info2.swf. There are 4 buttons that need
> to be changed in this manner over all 65 templates.
>
> Currently I'm doing this by opening up each template and then changing
> the code on each individual button separately by hand. I'm wondering if
> there might be a find and replace option that I could use. If there is
> I've been unsuccessful in locating it (or I'm too sleep deprived and
> it's about to bite me in the nose).
>
> Any suggestions?
>
> Thanks,
> Brian Mays
>
>
>
>




[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]