bluewalrus
09-18-2008, 06:18 PM
There's an input field on frame 1 the value is suppose to be pass threw 7 frames but its not working the value only goes to frame 2. The value comes up as undefined from frames 3-7.
Any ideas? I'll 3 frames code below.
1.:
stop();
submit.onRelease = function() {
if ((bp.text == "y") or (bp.text == "Y")) {
if (total.text == "1") {
var sphoto:String = '****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****';
gotoAndStop(2);
MC.textField2 = sphoto;
}
}
};
what.onRelease = function() {
gotoAndStop(7);
};
^Deleted a bunch of the other options that are the same code basically so this could be read and posted Disregard if theres one of these "}" short or extra this is the frame that works and the next displays it right but the forwarding to the third doesn't.
2.:
video.onRelease = function() {
/*START VIDEO*/
var svideo:String = '****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****';
/*END VIDEO*/
gotoAndStop(3);
MC.textField2 = svideo;
};
3.:
text2.onRelease = function() {
/*START TEXT*/
var stexts:String = '****XML CODE****';
/*END TEXT*/
gotoAndStop(4);
MC.textField2 = stexts;
};
photo.onRelease = function() {
/*START PHOTO*/
var sphoto:String = '****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****';
/*END PHOTO*/
gotoAndStop(2);
MC.textField2 = sphoto;
};
The fla is avalible here http://www.bluewalrus.net/output5.fla.
Thanks for any help you have.
Any ideas? I'll 3 frames code below.
1.:
stop();
submit.onRelease = function() {
if ((bp.text == "y") or (bp.text == "Y")) {
if (total.text == "1") {
var sphoto:String = '****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****';
gotoAndStop(2);
MC.textField2 = sphoto;
}
}
};
what.onRelease = function() {
gotoAndStop(7);
};
^Deleted a bunch of the other options that are the same code basically so this could be read and posted Disregard if theres one of these "}" short or extra this is the frame that works and the next displays it right but the forwarding to the third doesn't.
2.:
video.onRelease = function() {
/*START VIDEO*/
var svideo:String = '****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****';
/*END VIDEO*/
gotoAndStop(3);
MC.textField2 = svideo;
};
3.:
text2.onRelease = function() {
/*START TEXT*/
var stexts:String = '****XML CODE****';
/*END TEXT*/
gotoAndStop(4);
MC.textField2 = stexts;
};
photo.onRelease = function() {
/*START PHOTO*/
var sphoto:String = '****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****'+inputData.text+'****XML CODE****';
/*END PHOTO*/
gotoAndStop(2);
MC.textField2 = sphoto;
};
The fla is avalible here http://www.bluewalrus.net/output5.fla.
Thanks for any help you have.