AnimeSuki Forums

Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Go Back   AnimeSuki Forum > Support > Tech Support

Notices

Reply
 
Thread Tools
Old 2004-08-31, 21:22   Link #1
chaoz
I see all and pwn all
 
Join Date: Apr 2004
Age: 34
Need help in ActionScript

Ok I need to turn a lab in using Flash and I dunno what the hell to do.
If anyone knows ActionScript. Go here: http://fog.ccsf.cc.ca.us/~dbass/cs183B/Lab1.pdf
That's my assignment, just tell the script that I need to write. Please...I'm going nuts trying to figure this out.
chaoz is offline   Reply With Quote
Old 2004-09-01, 00:29   Link #2
nooc
Senior Member
 
Join Date: Jan 2004
Location: somewhere else
You have to make a flash movie consisting of 2 frames.
First frame's name is "start" and the second frame's is "story".
In "start" you have to place 3 text fields (dynamic) and one button.
In the second, one text field (dynamic, multiline, wrap) and one button.
The button in the "start" frame should have an event function (release event) that will copy the values from the 3 text fields to 3 global variables. You can do it like this:
_global.var=textfield.text, where var is any variable name and textfield is the name of the textfield. For example:
_global.var1=textfield1.text;
_global.var2=textfield2.text;
_global.var3=textfield3.text;
And then make the movie advance to the "story" frame.
In the story frame, you need to set the thext in the one text field like this:
textfield.text=_global.var1+"'s friends sang "+_global.var2+", while playing a game called "+_global.var3;
The button in the "story" frame should have an event function (release event) that will make the movie return to the "start" frame.

nooc is offline   Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT -5. The time now is 10:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
We use Silk.