
September 4th, 2004, 01:29 PM
|
 |
Wickedwd.com
|
|
Join Date: May 2004
Location: wickedwd.com
Posts: 186
Time spent in forums: 17 h 20 m 36 sec
Reputation Power: 0
|
|
|
Printing dynamic textboxes
Im using flash mx 2004 and created a flash form with a print button at first it prints the form but not the dynamically filled textboxes. Then i put the textboxes as part of a movieclip and it print but it only exposes 1 variable out of 15 after inspection the only difference i found was that that ONE was multiline while the others were not. The textboxes get their info from a .cfm coldfusion page. here's the code ive got, a nudge in the right direction is appreciated.
SCRIPT TO GET Dynamic info from Database:
Code:
loadVariablesNum("mypage.cfm", 0);
SCRIPT FOR PRINT BUTTON:
Code:
on (release) {
formPrint_pj = new PrintJob();
formPrint_pj.start();
formPrint_pj.addPage("form");
formPrint_pj.send();
}
on (rollOver) {
info = "click here to print";
}
on (rollOut) {
info ="";
}
on (press) {
info = info = "thanks, wait while i print...";
}
on (press) {
movie.play(1);
}
PS. i know this is more a flash question, i asked over there as well 
|