Is it possible to resize an Adobe Edge animation?

前端 未结 6 831
旧时难觅i
旧时难觅i 2020-12-20 04:26

I\'m trying to have an Edge animation resize based on screen resolution. I\'ve made a high-res one for 1080p and higher-res screens, but since the project is reasonably comp

6条回答
  •  情深已故
    2020-12-20 04:41

    I found this to be a great solution. Add a Resize trigger into your stage. Paste this code inside:

    if ($(window).width() < 960) {
        if ($(window).width() < 600) {
            sym.stop("layout400");
        } else {
            sym.stop("layout600");
        }
    } else {
        sym.stop("layout960");
    }
    

    Then make three different labels in the timeline with the names layout960, layout600 and layout400. Now you can avoid Edge from reloading every time and skip Edge Docks (at least for responsive).

提交回复
热议问题