Skip to main content
Participant
February 26, 2022
Question

Animate cc canvas (load file from 50n number)

  • February 26, 2022
  • 1 reply
  • 147 views

hello guys, it is possible that I can control any other timeline from another file like I have two html5 canvas files slide_1 and Slide_2 so if I click the button from slide one then load slide_2 and play from frame number 50 please help

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    February 26, 2022

    no, you can't control an already opened web page from another web page.

     

    that said, why open two different web pages instead of opening, what appears to be, another web page?

    Participant
    March 2, 2022

    My project is for iPad and  when I swipe next slide 1 so I want to load slide _2 and when I swipe left so I want to load slide _1 and play from 50 frames because I don't need to start from frame 1

    kglad
    Community Expert
    Community Expert
    March 2, 2022

    the only benefit to opening new windows is to minimize the load size of your app.  the downside is a delay in loading the other webpages/slides and loss of flexibility/control.  ie, use movieclip for each slide and position them dynamically (when needed). ie,

     

    position the current slide on stage,

    if there's a next slide, position it to the right of the stage

    if there's a previous slide, position it to the left of the stage

    after swiping, update the above.