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!

Save Text? 1

Status
Not open for further replies.

august

MIS
Aug 24, 2000
150
PH
Is there a way to save text in flash? if have?

Ex:
Assuming that i have a some input text on my stage with a save button then i want the text to be save on a file(.txt)is this possible in flash?

thanks in advance
August
 
Online? Or local?
mywink.gif
ldnewbie
 
As of now i will use it in local site actually i'm new on flash just for learning purposes only.

Another Question Please!

How can i call MC on a button how can i load it in my main movie?
Ex:
I have a button then when i hit the button my target MC will execute on the main movie.

what is the proper way of doing it?

A many Thanks!
August
 
You first have to create the movie clip and the button.
Make sure your mc has a blank keyframe at the beginning of it. Add a stop(); action to this first keyframe.
From the library, drag your button and mc on stage, and for clarity, each on it's own renamed layer.
Your mc will appear as an empty small circle. Select it and in the Instance panel, name it.
That done, right-click your button and hit actions. In the left part of the Object Actions box that will popup, double-click on the on action. Uncheck release, and check press. Next double-click the tellTarget action and type in the name you gave to your movie clip instance's name. Finally double-click the play() action... You should end up with something like this:

on (press) {
tellTarget ("yourmcintance'sname") {
play ();
}
}

Close this Object Actions box, and test your movie. When you press the button, the movie clip should play!

Regards,

mywink.gif
ldnewbie
 
Thanks OLD!
what about my first question?

thanks,
August
 
Online... I believe you'll need a server side script.
Locally... Will get back to you!

Regards,
mywink.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top