actionscript to js function

Post here your questions about the HTML5 / JavaScript for SFS2X

Moderators: Lapo, Bax

Post Reply
rickash
Posts: 4
Joined: 21 Aug 2023, 07:01

actionscript to js function

Post by rickash »

what would that look like in javascript? FSObject.newFromObject(param)
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: actionscript to js function

Post by Lapo »

Hi,
there isn't a corrispondent in Javascript.
You would need to create an empty SFSObject and then proceed with populating it with the properties of another JS Object that you want to send.

On the other end of the communication you will receive those properties and recreate the JS Object (if needed) or just access those values directly from the SFSObj.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply