Hey guys! I'm looking for codes to input text and output it on another frame. I'm not a coder but I tried and made it work on .fla format using this code:
Input:
var nameTXT:String;
nameTXT_button.addEventListener(MouseEvent.CLICK, nextClick);
function captureText(): void
{nameTXT=name_TXT.text
}
function nextClick(e:MouseEvent):
void
{
captureText(); nextFrame();
}
Output:
nameoutputTXT.text=nameTXT;
platform_button.addEventListener(MouseEvent.CLICK, platformClick);
function platformClick(e:MouseEvent):
void
{
nextFrame();
}
products_button.addEventListener(MouseEvent.CLICK, productClick);
function productClick(e:MouseEvent):
void
{
gotoAndStop(15);
}
And its working perfectly fine. But i require this same function on HTML framework. Can someone please write this short code for me? Again, I'm not at all a coder but open to learn more as i proceed. i have seen people doing it using java and other languages but it's all going over my head.