Create Flash Object to protect my online tattoo images

Can anyone assist me with creating an Adobe Flash SWF object that I can use to protect my online tattoo images. I'm looking for something like that at the following link:

http://www.bullseyetattoos.com/tattoos/Tribal/355-Heart_Tribal

Notice how when you run the mouse over the picture area, it displays the photo. I've tried for the last couple of days but I just can't figure it out. Can someone help me out?

Yhanks,

Chief3000
Chief3000Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IqAndreasCommented:
How familiar are you with Flash?

Very little ActionScript is actually required for that effect.

All you need to do is create a MovieClip on a new layer which contains all the items you want to place "in the way". Place the image you want to block "behind" that, and with code (like the snippet attached), scroll the "cover_mc" constantly.

To make the "cover" loop over and repeat, create two copies of the same MovieClip and place them right after eachother. Then when one has moved all the way to the bottom, the attached code will make it appear at the top again.

Do you have any more questions on how to achieve this?

Good luck with your Flashing,
Andreas
cover_mc1.y = 0;
cover_mc2.y = cover_mc1.height;

this.addEventListener(Event.ENTER_FRAME, onFrame);
function onFrame(e:Event)
{
    cover_mc1.y += 2; //Change this number to change the speed
    cover_mc2.y += 2; //Change this number to change the speed

    //Reposition the "covers" if they disappear off the screen
    if (cover_mc1.y > stage.stageHeight)
       { cover_mc1.y = cover_mc2.y - cover_mc1.height; }

    if (cover_mc2.y > stage.stageHeight)
       { cover_mc2.y = cover_mc1.y - cover_mc2.height; }
}

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Chief3000Author Commented:
I just started learning it. I have it installed on my computer now. It looks like Greek to me right. I may need you to take me by the hand so that I can at get the concept. Of course, this is if you have time. Your assistance will be greatly appreciated. I do appreciate the script. I just don't know what to do with it. Hopefully this explains my ibexperience.
0
IqAndreasCommented:
Did you ever give the code a try? It should definitely work.

Just place the code on any frame of the timeline, and create the new MovieClips as described. A light tutorial on Flash and ActionScript might also be helpful in learning how to navigate Flash and where to properly place this code.

Do you need any links for tutorials, or do you think you can find them on your own? Google is priceless. ;)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.