| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jun 2001
Location: england
Posts: 5
|
greetings
does anyone know is it possible to create forms in flash which have text already in place which can then be personalised by each recipient and then saved with the new text in place - neither the swf or projector files appear to have a save facility. I have tried flash launching a pdf but unless each recipient has a full version of acrobat they can view and edit but not resave the new text. Same goes for producing the files as html in dreamweaver Attached is a small jpg with a sample form, originally produced as a pdf, you can tab through each form field enter/edit you own text then the intention is to save the updated file to your desktop The files are part of a presentation to go on CD any ideas thanks |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
If you published from Flash 5 as a projector you could use the SAVE fscommand to save the variables to the user's machine. Search these forums for more info ont he command. The syntax is:
ActionScript Code:
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2001
Location: england
Posts: 5
|
Greetings Jesse - top man
works a treat, however as ever I have a further question, (did you look at the attached jpg?). this form will run to 28 pages with as many as 200 text fields in it. At the moment as you go to each new page I have loadVariablesNum ("mytext1.txt", 0); loadVariablesNum ("mytext2.txt", 0); loadVariablesNum ("mytext3.txt", 0); etc these correspond to each different text field on that page then at the bottom of each page a save button with fscommand ("save", "mytext1.txt"); fscommand ("save", "mytext2.txt"); etc again to correspond to each text field on that page rather than entering all this individually is there some catch all code to load all the text fields at once, and then the same to save them as well? thanks steve |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
The save fscommand will save all variables on the timeline it's executed from (or maybe it's all variables on the root.. I forget.. it's undocumented). Either way, y ou shouldn't have to execute multiple save commands for that reason. You should be able to save all your variables at once. Assuming you don't reuse variable names.
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|