Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Main Forums > Chill Out Room > I think I need the help of a flash guru..
Pages (2): [1] 2 »   Last Thread   Next Thread
Share
Author
Thread    Post A Reply
Boomer187
Spicy Hotdog



Registered: Aug 2001
Location: USA
I think I need the help of a flash guru..

SO here I am in my 2nd year of grad school and I need to run an experiment for my masters thesis. well I was gonna have this chick make one up in Authorware, however she is a n00b and I doubt she can get it done anytime soon.


so i was wondering if the few programmers out there can help me out. There are two seperate things I need programmed, each have to be a total of 10 minutes, after that I need it to quit or direct the person somewhere else, like a webpage which id have questions.



Now for one experiment I just need a picture to pop up for a 3 second duration after either 15 seconds or 3 minutes (i figure this can be a variable I assign a value at the beginning of the program or a seperate programs for each time can be made).



For the other one I need a picture to pop up for 3 seconds in duration when the space bar is pressed after either a 15 second or 3 minute duration. If the space bar is not pressed nothing happens, if it is pressed before the time length nothing happens. After the picture is displayed the process starts over and they have to wait either 15 seconds or 3 minutes.



the hardest part I found using other programs is the 10 minute overall time limit. It has to stop no matter where it is at after 10 minutes.



I believe this can be done in flash, which would be cool cause I almost understand a little of it. Plus I can put it on a webpage easily and direct the subjects easily. But i am open to any solutions.






Cliff Notes, I need an experiment programmed, if your not a programmer, you missed out. if you do program and you need cliff notes, get back to work.

Last edited by Boomer187 on Feb-03-2005 at 21:50

Old Post Feb-03-2005 20:55  United States
Click Here to See the Profile for Boomer187 Click here to Send Boomer187 a Private Message Visit Boomer187's homepage! Add Boomer187 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
igottaknow
PerfectTeeth R4 Dinosaurs



Registered: Feb 2001
Location: The Future

You don't need a programmer per say you need a multimedia interactive designer. You'll have a difficult time finding someone who knows Authorware. Look for a Marcomedia Director or Flash developer. You also can look into javascript driven test tools such as Courseware.


___________________
GIGANTIC CUNT

Old Post Feb-03-2005 21:40 
Click Here to See the Profile for igottaknow Click here to Send igottaknow a Private Message Add igottaknow to your buddy list Report this Post Reply w/Quote Edit/Delete Message
trance85
Senior tranceaddict



Registered: Nov 2004
Location: Denver, United States

Yea I'm pretty sure Flash actionscript can get that job done well enough, not sure about the specifics about it though.


___________________
-trance85

Old Post Feb-03-2005 21:45  United States
Click Here to See the Profile for trance85 Click here to Send trance85 a Private Message Add trance85 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
SID133
pizza.....



Registered: Apr 2004
Location:

what class is this for?

for what you want director is your best bet ill look over what you want when i get home again and ill tell you if i can help


i currently going to school for multi media stuff so this is what i do in school


___________________
"Her lips were red, her looks were free,
Her locks were yellow as gold :
Her skin was as white as leprosy,
The Night-mare LIFE-IN-DEATH was she,
Who thicks man's blood with cold."

Samuel Taylor Coleridge

Old Post Feb-03-2005 21:49  United States
Click Here to See the Profile for SID133 Click here to Send SID133 a Private Message Add SID133 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Boomer187
Spicy Hotdog



Registered: Aug 2001
Location: USA

quote:
Originally posted by SID133
what class is this for?

for what you want director is your best bet ill look over what you want when i get home again and ill tell you if i can help


i currently going to school for multi media stuff so this is what i do in school




Kick ass, its not for a course, it is for my Masters Thesis. I have to run this experiment and then write about it.


Thanks for the replies.

Old Post Feb-03-2005 21:51  United States
Click Here to See the Profile for Boomer187 Click here to Send Boomer187 a Private Message Visit Boomer187's homepage! Add Boomer187 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Leon
88mph



Registered: Nov 2004
Location: Nov 2004

I'm a Multimedia/Graphic Designer, but I don't like you Boomer kthx nyaaa ;]


___________________
http://french-express.com
http://discodust.blogspot.com

Old Post Feb-04-2005 01:55 
Click Here to See the Profile for Leon Click here to Send Leon a Private Message Visit Leon's homepage! Add Leon to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Leon
88mph



Registered: Nov 2004
Location: Nov 2004

Jokes, what do you need I still don't understand


___________________
http://french-express.com
http://discodust.blogspot.com

Old Post Feb-04-2005 01:58 
Click Here to See the Profile for Leon Click here to Send Leon a Private Message Visit Leon's homepage! Add Leon to your buddy list Report this Post Reply w/Quote Edit/Delete Message
tribu
Guest



Registered: Not Yet
Location:

Ive got what you need. Give me a second and ill post a global pause function in actionscript, and also a timer. Youll need to use a movie clip and the

onClipEvent(EnterFrame){} command to check every frame for the 10 minute mark.

I recommend running at at least 15 FPS

Old Post Feb-04-2005 02:01 
Add  to your buddy list Report this Post Reply w/Quote Edit/Delete Message
tribu
Guest



Registered: Not Yet
Location:

GLOBAL PAUSE FUNCTION


_global.gPause = function (sec:Number){
var target:Number;
var time:Number;
time = getTimer();
target = time + (sec * 1000);

do {
time = getTimer();
}while(time < target)
}

[I]You can call this anywhere onbce its been declared with : gPause(10);




ON 10 MINUTES END

onClipEvent (load){
_gloabl.now = getTimer();
_global.target = now + 600000;
}

onClipEvent (EnterFrame){
_global.now=getTimer();

if (now < target){
}
else if (now >= target){
this.gotoAndPlay(LAST.FRAME.NUMBER(OR LABEL).GOES.HERE);
}

}


This one declares global variables when the movie clip is loads on the screen. It then checks to make sure the current time (in milliseconds) is less than the target (startup + 10 minutes) end time. Once the target time is reached or exceeded, The movie clip goes to the last frame, which should have the command:

stop();

This will end the movie.


One thing to note is that if this clip is loaded multiple times, the script will not work. Make sure this movie is only loaded once, and that it is done first.


I blame any errors in my script to extreme exhaustion.


The keyboard thing is a bit harder. Im working with it now.

Old Post Feb-04-2005 02:10 
Add  to your buddy list Report this Post Reply w/Quote Edit/Delete Message
tribu
Guest



Registered: Not Yet
Location:

ok, this should provide a nice scripting base for your Space Bar requirement:

//this will go in your globals layer,
//or in your first loaded movie clip. Either way, make sure it is only executed once!!

_global.StartTime = getTimer();



//this will go in the main stage's movie clip


on (keyPress "{Space}!!These curly brackets are really Greater than/less than signs that dont show up on these forums!!"){
var CurrentTime:Number = getTimer();
if (CurrentTime < (StartTime + VARIABLE)){
//Variable here refers to
//either 3 mintues or 15 second. Remember, getTimer is based on
//milliseconds, and must be expresssed that way!
}
else{
_root.PICTUREOBJECT._visible = true;
//its past the time limit, it shows the picture thing.
//Probably also helpful here would be a
//this.gotoAndPlay(# or label) which would run through
//a predefined period of time before hiding the picture
}




If you need help further implementing it, telling you wtf i mean, or helping in general, pm me.

Last edited by on Feb-04-2005 at 02:43

Old Post Feb-04-2005 02:20 
Add  to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Boomer187
Spicy Hotdog



Registered: Aug 2001
Location: USA

whoa.

thats freakin sweet. I might wait until I am not under the influence of alcohol to try to implement it.

i appreciate the help.

Old Post Feb-04-2005 02:40  United States
Click Here to See the Profile for Boomer187 Click here to Send Boomer187 a Private Message Visit Boomer187's homepage! Add Boomer187 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
tribu
Guest



Registered: Not Yet
Location:

I just made a few error corrections. Like I said, code may not be fool proof, but should be at least 85% accurate. If you need help with the actual design/implementation, and I have some free time, I will donate to your project in exchange for your help beta testing a flash game i am making this quarter.

Old Post Feb-04-2005 02:45 
Add  to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Main Forums > Chill Out Room > I think I need the help of a flash guru..
Post New Thread    Post A Reply

Pages (2): [1] 2 »  
Last Thread   Next Thread
Click here to listen to the sample!Pause playbackUnknown track dropped by michel de hey [2004] [0]

Click here to listen to the sample!Pause playbackHi-Gate - "Pitchin'" [2003]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 20:04.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!