Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

converting actionscript to javascript

New Here ,
May 14, 2023 May 14, 2023

How can i get this to work in javascript when converted?

 

Gabriel26707846dtff_2-1684109565536.pngexpand image

 

trying to get data from this file 

Gabriel26707846dtff_4-1684109565744.pngexpand image

 

 

with javascript

577
Translate
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
Community Expert ,
May 14, 2023 May 14, 2023

that would require several hours of coding to convert.

 

if you're not fluent in js, look for js code that does what you want, learn js or hire someone to code that for you. 

Translate
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
New Here ,
May 14, 2023 May 14, 2023

I have some knowledge of js I just need a little guide on how to get started.

Translate
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
Community Expert ,
May 14, 2023 May 14, 2023

they key to that as3 (i believe) is breaking the encoding into its key parts.  i believe that will be:

 

saving the initial/correct positions 

randomizing positions

drag and drop code

checking positions

 

encode each part. there's no need for class files because js isn't really an object oriented language.

Translate
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
New Here ,
May 14, 2023 May 14, 2023

okay

Translate
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
Community Expert ,
May 14, 2023 May 14, 2023

excellent.

 

now, you can get free help here with problems you may encounter.  ie, your first post is to broad in scope to help in a forum.  but break that into 20+ more narrow questions and that is doable via this forum.

Translate
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
New Here ,
May 15, 2023 May 15, 2023

Javascript is very much an object-oriented language, according to (checks Google) practically everyone. What it's not is class-oriented.

Translate
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
Community Expert ,
May 15, 2023 May 15, 2023
LATEST

thanks for the correction 

Translate
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