Copy link to clipboard
Copied
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;
}
}
}
Copy link to clipboard
Copied
you may as well discard that actionscript and start over with the coding.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
There are two sprites in there, and I believe I tried putting stops in both of them to no avail. I'll double-check.
Copy link to clipboard
Copied
Sprites don't have multiple frames, so they shouldn't be playing at all.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now