Parallax Scrolling Doesn't seem to work for me...

All talk relating to Edward, the Flash platform game engine. (Forum is now locked)

Parallax Scrolling Doesn't seem to work for me...

Postby boylie » Tue Nov 17, 2009 6:35 pm

Hey guys,

I've been trying to get parallax scrolling using the help found here and here, but it doesn't seem to be working for me. I've made a movie clip, drew a rough background, and added the following code to the frame this item is on: MovieClip(parent).parscroll = this.

This movie clip was put on the main timeline, right under the movieclip for level one, but it doesn't work when I test it out. Can anyone help me figure out what's going on?

Thanks in advance!
boylie
Newcomer
 
Posts: 1
Joined: Tue Nov 17, 2009 6:25 pm

Re: Parallax Scrolling Doesn't seem to work for me...

Postby SophieH » Fri Nov 27, 2009 12:52 pm

Sorry for the long delay boylie (also welcome to the forum :))

in the latest version of Edward you shouldn't need to code it at all (the first link you posted was a mod of an older version of edward).

it should just be a case of:
1) drawing your background on the main timeline,
2) make it a movie clip,
3) then drag the '! Parralax' part movie clip from the library into your backround movie clip's timeline (its in the 'Level Parts' > '! Unique Parts' folder)

if that still doesent work send me your .fla and I'll see if I cant figure out what the problem is :)
User avatar
SophieH
Site Admin
 
Posts: 76
Joined: Fri Aug 08, 2008 8:01 pm
Location: UK - Europe


Return to Edward Topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron