Forum Topic: ok i need new help

(143 views • 20 replies)

This topic is 1 page long.

<< < > >>
None

Senri

Reply To Post Reply & Quote

Posted at: 3/4/06 03:44 AM

Senri FAB LEVEL 11

Sign-Up: 10/15/05

Posts: 4,463

how come the box at the end of the level doesn't work when the charector goes over it

ok i need new help

Why so much hatred? You've got to live in this world with me. Why so much hatred? Everyday I wake up in the same country I take a look around and I see no unity. NG Ska Crew

BBS Signature

None

Vengeance

Reply To Post Reply & Quote

Posted at: 3/4/06 03:45 AM

Vengeance EVIL LEVEL 28

Sign-Up: 03/18/05

Posts: 5,049

what's the code you have on it?

========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature

None

Senri

Reply To Post Reply & Quote

Posted at: 3/4/06 03:47 AM

Senri FAB LEVEL 11

Sign-Up: 10/15/05

Posts: 4,463

_root.onEnterFrame=function(){
if(_root.character.hitTest(_root.levelEnd)
){
_root.nextFrame();
onEnterFrame=null
}
}

Why so much hatred? You've got to live in this world with me. Why so much hatred? Everyday I wake up in the same country I take a look around and I see no unity. NG Ska Crew

BBS Signature

None

Vengeance

Reply To Post Reply & Quote

Posted at: 3/4/06 03:47 AM

Vengeance EVIL LEVEL 28

Sign-Up: 03/18/05

Posts: 5,049

have you got the right instance names?

========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature

None

Senri

Reply To Post Reply & Quote

Posted at: 3/4/06 03:50 AM

Senri FAB LEVEL 11

Sign-Up: 10/15/05

Posts: 4,463

yes charecter (but spelled right) and levelEnd

Why so much hatred? You've got to live in this world with me. Why so much hatred? Everyday I wake up in the same country I take a look around and I see no unity. NG Ska Crew

BBS Signature

None

Vengeance

Reply To Post Reply & Quote

Posted at: 3/4/06 03:51 AM

Vengeance EVIL LEVEL 28

Sign-Up: 03/18/05

Posts: 5,049

if(_root.character.hitTest(_root.levelEnd)
){
make that into one line, newgrounds automatically shorten's it.

========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature

None

Cybex

Reply To Post Reply & Quote

Posted at: 3/4/06 03:52 AM

Cybex NEUTRAL LEVEL 20

Sign-Up: 03/04/05

Posts: 7,744

Do any errors appear in the output window?


None

Senri

Reply To Post Reply & Quote

Posted at: 3/4/06 03:56 AM

Senri FAB LEVEL 11

Sign-Up: 10/15/05

Posts: 4,463

yes

Why so much hatred? You've got to live in this world with me. Why so much hatred? Everyday I wake up in the same country I take a look around and I see no unity. NG Ska Crew

BBS Signature

None

Longover

Reply To Post Reply & Quote

Posted at: 3/4/06 03:58 AM

Longover LIGHT LEVEL 04

Sign-Up: 02/19/03

Posts: 743

At 3/4/06 03:51 AM, -Vengeance- wrote: if(_root.character.hitTest(_root.levelEnd)
){
make that into one line, newgrounds automatically shorten's it.

Flash doens't read whitespace though(right...) If you want to solve your own problems, throw a "trace("");" into the middle of that funtion


None

Longover

Reply To Post Reply & Quote

Posted at: 3/4/06 03:59 AM

Longover LIGHT LEVEL 04

Sign-Up: 02/19/03

Posts: 743

At 3/4/06 03:56 AM, kevinvvfry wrote: yes

post the errors....


None

Senri

Reply To Post Reply & Quote

Posted at: 3/4/06 12:37 PM

Senri FAB LEVEL 11

Sign-Up: 10/15/05

Posts: 4,463

sorry i fell asleep on the keybored earlier but it still doesn't work

Why so much hatred? You've got to live in this world with me. Why so much hatred? Everyday I wake up in the same country I take a look around and I see no unity. NG Ska Crew

BBS Signature

None

Cybex

Reply To Post Reply & Quote

Posted at: 3/4/06 12:41 PM

Cybex NEUTRAL LEVEL 20

Sign-Up: 03/04/05

Posts: 7,744

At 3/4/06 12:37 PM, kevinvvfry wrote: sorry i fell asleep on the keybored earlier but it still doesn't work

What did the errors say?


None

Kirk-Cocaine

Reply To Post Reply & Quote

Posted at: 3/4/06 12:42 PM

Kirk-Cocaine EVIL LEVEL 34

Sign-Up: 08/17/03

Posts: 16,551

At 3/4/06 12:37 PM, kevinvvfry wrote: sorry i fell asleep on the keybored earlier but it still doesn't work

nextFrame(); doesn't always work if theres a stop(); command I find. Try using _root.gotoAndPlay(#); instead.

#=frame number.

If the light is green, the trap is clean.

PSN ID: KirkNG

BBS Signature

None

Senri

Reply To Post Reply & Quote

Posted at: 3/4/06 12:44 PM

Senri FAB LEVEL 11

Sign-Up: 10/15/05

Posts: 4,463

**Error** Scene=Scene 1, layer=level, frame=5:Line 2: Unexpected '}' encountered
if(_root.character.hitTest(_root.levelEnd)
)}

Total ActionScript Errors: 1 Reported Errors: 1

Why so much hatred? You've got to live in this world with me. Why so much hatred? Everyday I wake up in the same country I take a look around and I see no unity. NG Ska Crew

BBS Signature

None

Cybex

Reply To Post Reply & Quote

Posted at: 3/4/06 12:47 PM

Cybex NEUTRAL LEVEL 20

Sign-Up: 03/04/05

Posts: 7,744

At 3/4/06 12:44 PM, kevinvvfry wrote: **Error** Scene=Scene 1, layer=level, frame=5:Line 2: Unexpected '}' encountered
if(_root.character.hitTest(_root.levelEnd)
)}

Total ActionScript Errors: 1 Reported Errors: 1

Put
if (_root.character.hitTest(_root.levelEnd))}
on one line.


None

Senri

Reply To Post Reply & Quote

Posted at: 3/4/06 12:49 PM

Senri FAB LEVEL 11

Sign-Up: 10/15/05

Posts: 4,463

log onto aim itll be eiser we can talk like that

Why so much hatred? You've got to live in this world with me. Why so much hatred? Everyday I wake up in the same country I take a look around and I see no unity. NG Ska Crew

BBS Signature

None

Cybex

Reply To Post Reply & Quote

Posted at: 3/4/06 12:54 PM

Cybex NEUTRAL LEVEL 20

Sign-Up: 03/04/05

Posts: 7,744

At 3/4/06 12:49 PM, kevinvvfry wrote: log onto aim itll be eiser we can talk like that

I don't have aim.


None

Senri

Reply To Post Reply & Quote

Posted at: 3/4/06 12:55 PM

Senri FAB LEVEL 11

Sign-Up: 10/15/05

Posts: 4,463

At 3/4/06 12:54 PM, Cybex wrote:
At 3/4/06 12:49 PM, kevinvvfry wrote: log onto aim itll be eiser we can talk like that
I don't have aim.

oh well then it still doesntwork im so confused

Why so much hatred? You've got to live in this world with me. Why so much hatred? Everyday I wake up in the same country I take a look around and I see no unity. NG Ska Crew

BBS Signature

None

Darkaxl

Reply To Post Reply & Quote

Posted at: 3/4/06 12:57 PM

Darkaxl EVIL LEVEL 08

Sign-Up: 10/23/04

Posts: 1,611

At 3/4/06 12:54 PM, Cybex wrote: I don't have aim.

Sure ya dont -_O ,!,

..


None

Cybex

Reply To Post Reply & Quote

Posted at: 3/4/06 01:08 PM

Cybex NEUTRAL LEVEL 20

Sign-Up: 03/04/05

Posts: 7,744

At 3/4/06 12:55 PM, kevinvvfry wrote:
At 3/4/06 12:54 PM, Cybex wrote:
At 3/4/06 12:49 PM, kevinvvfry wrote: log onto aim itll be eiser we can talk like that
I don't have aim.
oh well then it still doesntwork im so confused

What error message comes up now?


None

KaynSlamdyke

Reply To Post Reply & Quote

Posted at: 3/4/06 02:21 PM

KaynSlamdyke LIGHT LEVEL 15

Sign-Up: 06/25/04

Posts: 4,338

_root doesn't accept onEnterFrame() commands, surely?

Might be a step in the right direction for other people to sort out. I'm none to sure how to handle hittests

- Kayn Slamdyke (KSd) - Motorcycle Moderator [[892646]]
- Randomly destroying picture spam without warning since 2008


All times are Eastern Standard Time (GMT -5) | Current Time: 12:53 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!