Transfer values between 2 html documents? POST OR GET or how in animate?

Participant ,
Jan 19, 2021 Jan 19, 2021

Copy link to clipboard

Copied

Hello guys, i hope you having a excelent day!

 

 

     If i have a gamelevel one with score variable is a space shooter, and i want to have that value in a second html, and then to this.html and acourdinlly the value score show in next html, so score its on lets say the 3 hmtl pages and when i press getURL the score value will apear in the secondlevel.html?

 

How is it done in in animate? i see most info in GET and POST includes a form, so should it always go with a form?! cant it be done ?

 

thank you so much flash, edge, animate band!

Views

56

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jan 20, 2021 Jan 20, 2021

Copy link to clipboard

Copied

the easiest way is to append a query string to the url (in the sending document) and parse that with javascript (in the receiving document).

 

the only drawback (afaik) is the data is public, but for what you want to do, that doesn't seem like an issue.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 20, 2021 Jan 20, 2021

Copy link to clipboard

Copied

Thank you Kglad!! I was thinking bout that, but u know its a birthdate gifth for my dad so i just wanned something movie for him to have fun, but its a puzzle so i will try, here what i was doing

 

http://cbunbury20.github.io/grandpashooter/game5.html

 

i guess i can work on this with this..

 

thanks budd happy new year!

 

https://www.codeproject.com/Questions/795191/Passing-JavaScript-data-values-between-HTML-pages

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jan 20, 2021 Jan 20, 2021

Copy link to clipboard

Copied

you're welcome 

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines