What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Easiest way to animate a short cartoon?

Easiest way to animate a short cartoon?
Author: Message:
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: Easiest way to animate a short cartoon?
why doesnt the tutorial work with this code ^o) its exactely the same but the images don't 'loop'

code:
animator = createEmptyMovieClip('animator',1);
bg_1 = animator.attachMovie('bg_mc','bg_1',1);
bg_2 = animator.attachMovie('bg_mc','bg_2',2);
bg_1._x = -bg_1.width/2;
bg_2._x = bg_2.width/2;
speed = 1;
streetWidth = 1500;
animator.onEnterFrame = function(){
    bg_1._x -= speed;
    bg_2._x -= speed;
    if(bg_1._x <= -bg_1._width) bg_1._x = streetWidth;
    if(bg_2._x <= -bg_2._width) bg_2._x = streetWidth;
}


This post was edited on 01-07-2009 at 03:10 PM by M73A.

[Image: lost7ru.gif]
01-07-2009 03:09 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Easiest way to animate a short cartoon? - by M73A on 01-06-2009 at 04:21 PM
RE: Easiest way to animate a short cartoon? - by vaccination on 01-06-2009 at 04:49 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-06-2009 at 04:59 PM
RE: Easiest way to animate a short cartoon? - by vaccination on 01-06-2009 at 05:34 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-06-2009 at 05:39 PM
RE: Easiest way to animate a short cartoon? - by vaccination on 01-06-2009 at 06:08 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-06-2009 at 06:16 PM
RE: Easiest way to animate a short cartoon? - by vaccination on 01-06-2009 at 08:32 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-06-2009 at 08:49 PM
RE: Easiest way to animate a short cartoon? - by vaccination on 01-06-2009 at 08:57 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-06-2009 at 09:03 PM
RE: Easiest way to animate a short cartoon? - by vaccination on 01-06-2009 at 09:24 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-06-2009 at 09:38 PM
RE: Easiest way to animate a short cartoon? - by vaccination on 01-06-2009 at 10:04 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-06-2009 at 10:14 PM
RE: Easiest way to animate a short cartoon? - by vaccination on 01-07-2009 at 08:05 AM
RE: Easiest way to animate a short cartoon? - by linx05 on 01-07-2009 at 10:56 AM
RE: Easiest way to animate a short cartoon? - by NanaFreak on 01-07-2009 at 11:07 AM
RE: Easiest way to animate a short cartoon? - by M73A on 01-07-2009 at 12:44 PM
RE: Easiest way to animate a short cartoon? - by vaccination on 01-07-2009 at 12:51 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-07-2009 at 01:15 PM
RE: Easiest way to animate a short cartoon? - by NanaFreak on 01-07-2009 at 01:19 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-07-2009 at 01:31 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-07-2009 at 03:09 PM
RE: Easiest way to animate a short cartoon? - by Spunky on 01-07-2009 at 03:21 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-07-2009 at 03:36 PM
RE: Easiest way to animate a short cartoon? - by Spunky on 01-07-2009 at 03:43 PM
RE: Easiest way to animate a short cartoon? - by M73A on 01-07-2009 at 03:48 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On