Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looping Frame? 3

Status
Not open for further replies.

august

MIS
Aug 24, 2000
150
PH
Hi all!
How do i repeat frame2 while i'm in frame6?

Ex:
frame1,frame2 frame3,frame4,frame5,frame6 =>return to frame2

do my example is good?

Thanks,
August
 
Put this in frame 6...

gotoAndStop(2);

or, if you want things to loop, put this on frame 6...

gotoAndPlay(2);
 
hey wangbar did you ever make it to that test we were talking about?
e.gif


carlsatterwhite@endangeredgraphics.com
 
Got completely crippled with the NIMDA virus over the weekend at work and at home so I've only just got the PCs back up and running. Give me some more details on how you want to put the thing together (are you using databases etc) and what kind of options you want to offer for questions and answers and I'll give it a go and see if I can be of any help.
 
as far as database, whatever you feel is required..as far as the test i just wanted to have a script that houses five questions..each question 4 possible answers..when the user signs up and takes the test flash calculates percentage right and stores it displaying the top five percentages for the test..that way the players of the game can watch and see who's winning throughout the week untill the game has finished for the week..the reason i need them to sign up some how is because of the fact that i want them to be able to see there name and the place they are in, ie: 1st, 2nd, etc..
e.gif


carlsatterwhite@endangeredgraphics.com
 
Definitely going to need some back-end storage then - a straight flash site won't be able to store the values. Do you have something like Microsoft Access to use as a database? Are you familiar with ASP at all? For something like this they would be a really good way to go.

The flash part of the movie will be relatively simple - question and answer stuff and the calculations for the percentages are easy enough.

The output of the flash could be sent via ASP to your database on the server (really simple database - just names and scores).

When a new player loads your movie another use of ASP/Access to read past scores and display them.

The alternative would be to use some PHP scripting, I've done this in the past to keep a high score table for an online game which wouldn't be too different.

I'll have a think...
 
wang i am completely lost when it comes to creating databases..i can go in and manipulate cgi scripts and things that i have installed but as far as creating them, lost..like i said man if you have time and want to pass on some knowledge you could create the game for me..and all the required asp or php files to run the game..from what you create if you could in details explain how you did eveything and the thought process behind it that would be a plus for me..that way i could go through everything very carefully and learn from what you have made..i need to learn database storage most definatly and learn how to pass the data back and fourth..i buy a new book every couple weeks and it gets better everyday..but haven't made it as far as php and asp yet..will though, just takes time..like i said man if you have time then by all means i would love to see what you come up with..there is no rush, so whatever you can do is appreciated..maybe you could post a good faq from this on passing data back and fourth thru flash..would be good for all the other dummies like me out there..

thanks for whatever you can do..
e.gif


carlsatterwhite@endangeredgraphics.com
 
Okay man, I'll start putting something together, might take a few days though...
 
no rush..and thanks..
e.gif


carlsatterwhite@endangeredgraphics.com
 
Hey Carl - sent you the first part of that thing, .fla's gone to your mail. It's rough but there's a couple of things to get you going. I'll work on a back-end solution for the score table and send it along.
 
dude that's nice script man..i appreciate..will take me a couple weeks probably to memorize what is doing what and why it does it..then i will change the graphics to suit the site i'm working on..but first since you took the time to help, i will take the time to learn it, instead of just use it..and yeh old, that link was sweet as well..

you guys have a good day..
e.gif


carlsatterwhite@endangeredgraphics.com
 
Carl, I know how you feel about Flashkit ;-) but check this out - looks like it could be exactly what you're after. (I've done a bit of this stuff in the past so give me shout if it doesn't give you what you need but I think it looks pretty good and you won't have to buy a database...)

 
sweet, looks like it will be just what i need..and it's not that i don't think that flash kit has some quality information, when the links work..just alot of kids who's heads and mouths are way to much for my taste..but then again that's the forum, and then again who am i?

thanks for the link ewan..
e.gif


carlsatterwhite@endangeredgraphics.com
 

...and then again who am i?

Good old Carl Saterwhite maybe? LOL

mywink.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top