Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 05-08-2009, 01:10 PM   #1 (permalink)
 
Super Techie

Join Date: Feb 2008

Posts: 302

Thorn is on a distinguished road

Default Flash:

I'm making a very simple game for a class. Right now, I have all the movement I need, and most of the interactions. The coding is giving me some trouble.

I'm trying to do several things.

1) When I click a moving button, the game ends.

2) When I click the moving button, a health bar of three objects (say put three like images up) adjusts, with the final click giving me a "you win" screen.

Right now, I have a randomly moving button, with other randomly moving images, and a background, all in one frame. Any help?
Thorn is offline  
Old 05-09-2009, 11:47 AM   #2 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,466

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: Flash:

You need to post the code you're having the problem with.
__________________

Baez is online now  
Old 05-11-2009, 12:43 PM   #3 (permalink)
 
Super Techie

Join Date: Feb 2008

Posts: 302

Thorn is on a distinguished road

Default Re: Flash:

That's exactly the problem. I don't know the code. That's what I'm trying to figure out.

I would be satisfied with knowing how to make the game end when I click the moving button. The other stuff is just little things that would be cool.


The only thing that makes sense to me is
Code:
on (press) 
{
	stop();
}
But it doesn't work.

Last edited by Thorn; 05-11-2009 at 12:59 PM.
Thorn is offline  
Old 05-13-2009, 01:15 PM   #4 (permalink)
 
Super Techie

Join Date: Feb 2008

Posts: 302

Thorn is on a distinguished road

Default Re: Flash:

I'm uploading my attempt at the game. I don't understand the code I need or the timeline on the button. Any help?



RapidShare: Easy Filehosting
Thorn is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Flash in Ubuntu 9.04 with Firefox Osiris Linux Tips and Tricks 1 05-07-2009 10:36 PM
Need a new flash drive Spit-wad Other Computer HW Topics 14 03-17-2009 11:48 PM
USB works. Flash drive doesn't. Jayce Linux, BSD, other *nixes & Open Source Software 5 02-20-2009 04:02 AM
FlashPlayer version? ThriceLabs Windows Operating Systems and Software 1 12-24-2008 12:24 PM