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!

Help!! 2 Problems.

Status
Not open for further replies.

lumstar

Technical User
Jan 29, 2002
177
CA
Hey Guys,
I have 2 questions:

When using the _root.variable command to insert text into a dymanic text field, how would you go about making it so that if a particular button is pressed once it returns "1" if pressed twice it returns "a" 3 times "b" four times "c" and the fifth brings it back to "1"???

And, when publishing to Windows Projector (.exe) format, how does one make it so the application name is something other than "Flash"

Thanks in advance!
 
first frame of your movie...

variables=new Array("1","a","b","c");
count=0;


on the button...

on(release){
variable=variables[count];
count++;
if (count>=4){
count=0;
}
}


You may have to add -root paths etc. to fit this into your existing movie. Slainte

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top