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

Lost Action Script -- how did I do it?

New Here ,
Jan 12, 2014 Jan 12, 2014

I created a very short header for a website I built several years ago. I cannot find the original FLA file. It's not a very involved item, but I'll be darned if I can remember how the heck I did it.

This is how it is supposed to look (Welcome to Djuna Wojton's Karmic Healing):

http://www.djunaverse.com/books.php

This is how it now looks, not working properly:

http://www.djunaverse.com/karmicChoices.php

Here is a link to the re-created FLA file. I know I'm missing something simple, stupid, but it's been such a long time since I did any Flash work, it has me stumped. I wonder if anyone can point out my error? I would appreciate it very much.

Here is what I believe is the original ActionScript code.

//ActionScript 3.0

//  package karmicHealing_fla

//    class bar_2

package karmicHeadling_fla

{

          import flash.display.*;

          public dynamic class bar_2 extends flash.display.MovieClip

          {

                    public function bar_2()

                    {

                              super();

                              addFrameScript(8, frame9);

                              return;

                    }

                    function frame9():*

                    {

                              stop();

                              return;

                    }

          }

}

//          class maskanam_1

package karmicHealing_fla

{

          import flash.display.*;

          public dynamic class maskanam_1 extends flash.display.MovieClip

          {

                    public function maskanam_1()

                    {

                              super();

                              addFrameScript(13, frame14);

                              return;

                    }

                    function frame14():*

                    {

                              stop();

                              return;

                    }

          }

}

TOPICS
ActionScript
770
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 ,
Jan 12, 2014 Jan 12, 2014

you may as well discard that actionscript and start over with the coding.

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
New Here ,
Jan 13, 2014 Jan 13, 2014

Yeah, I kinda figured that. But I cannot remember for the life of me how I did this in the first place. How I used the Sprites, how I managed to make the header run just once and stop, etc. I'm looking for a little guidance in that regard. As I said, it's been quite a while since I wrote any Flash code, and it is a bit of a mystery to me at this moment.

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 ,
Jan 13, 2014 Jan 13, 2014

i don't download and correct files unless i'm hired so i didn't check your files.

but from the look of your banner you're missing a stop() on one or more timelines, if that effect is done using timeline tweening.

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
New Here ,
Jan 13, 2014 Jan 13, 2014

Yeah, I would have thought that was the case. But I tried putting stops in every relevant timeline spot, and nada. Making me nuts. I know this was an easy and cool thing to do when I did it, but boy, am I confused now!

There only ONE frame on the timeline, so whatever the heck I did, I must have done it in the sprites.

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 ,
Jan 13, 2014 Jan 13, 2014

you have one frame on the main timeline, but do you have movieclips in your library?

if so, check the movieclips on the main timeline to see if one or more of those need a stop.

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
New Here ,
Jan 13, 2014 Jan 13, 2014

There are two sprites in there, and I believe I tried putting stops in both of them to no avail. I'll double-check.

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
Guide ,
Jan 14, 2014 Jan 14, 2014
LATEST

Sprites don't have multiple frames, so they shouldn't be playing at all.

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