Under rating threshold (hideshow)
This keeps showing up on my compiler errors tab "The class 'Backgound' needs to be defined". And I can't get the background to scroll, I've followed the tut all the way through. Help?
Under rating threshold (hideshow)
@Jaycerulz. that sucks that your Dad turns the internet off. Does he also turn the computer off? Because if he does not turn the computer off then just have the tutorials loaded up. Like have a seperate page or tab for each tutorial. The only problem is if you need to download a sprite or background. I hope this helps!
Under rating threshold (hideshow)
Is there anyway I can download this as a SWF and play it offline?? My dad turns off the internet at night and I would like to have these tuts on my PC for offline use.
Help will be appreciated.
Under rating threshold (hideshow)
These tutorials are amazing. They actually teach you. I have already finished my first game. See it at http://www.kongregate.com/games/rosslyn568/planet-defender ---- anyway, great tut. 5/5
Under rating threshold (hideshow)
i'm stuck on page 4! i copied the code for the background to scroll and it won't scroll! plz help! note: i'm using Flash CS4 and i saved the .fla as a CS3 .fla.
Under rating threshold (hideshow)
Did first tute, really easy and fun. Second one should be a blast, too! I never thought that actionscripting would be so... Easy!
Under rating threshold (hideshow)
@Thezanman
That is cuz the code is wrong.
class Background extends MovieClip
{
function onEnterFrame()
{
_x -= 5;
if( _x < -2110 )
{
_x = 2110;
}
}
}
Under rating threshold (hideshow)
@Kador11: He could've misnamed the Background.as file.
@saberioninja: Have you used the code from page 7 of this tutorial? Make sure you change the values to match your file.
Under rating threshold (hideshow)
These tuts work, YOU JUST NEED TO KNOW A FEW PROGRAMMING TIPS.
1. It's Case Sensitive, if you spell it IlIKePiE then spell it that WAY!
2. On the back ground you need to change the values of when it's gonna change. other wise it's not gonna work properly.
Under rating threshold (hideshow)
@Kizzi: Yes all of the .as files are saved in the same directory as your .fla else it would search for something that is not there.
Under rating threshold (hideshow)
On Page 7 line 8
_x = 0;
i got this error
ActionScript 2.0 class scripts may only define class or interface constructs.
Source : } Alittle Help?
Under rating threshold (hideshow)
Alright, i have started a new project. My background scrolls up perfectly fine. I just can't get it to loop. Any help? Thanks.
Under rating threshold (hideshow)
No offence, but doing it with scripts is much better than doing it with motion tween. Motion tweens take up a lot of frames, and is a pain to modify!
Under rating threshold (hideshow)
**Error** Symbol=behind, layer=Layer 1, frame=1:Line 1: The class 'behind' could not be loaded.
anyone help? i use Macromedia
Under rating threshold (hideshow)
A problem people might be having is you don't click out of the ship frame and into the background frame when you place your background.
Under rating threshold (hideshow)
ok i tried to open the files on page one and it opens for a fraction of a second and beeps then it goes away...any ideas?