Skip to main content
Participant
Jul 15, 2021 7:16 PM UTC
Question

save/load data from canvas to text file

how can i save page 1 scores (movieclip1) to a text file
and load it to page 2 (movieclip2)

 

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Joseph Labrecque
    Community Expert
    Community Expert
    Jul 15, 2021 7:52 PM UTC

    You can make use of global variables for something like this. 

     

    Translate
    Joseph Labrecque
    Community Expert
    Community Expert
    Jul 15, 2021 7:53 PM UTC

    This way you wouldn't need a text file - just save the score as a global var and have various movieclips draw from that variable.

    Translate