How can I make the output size of "Web" animate CC to adapt in an HTML page?

In animate CC, I've set the width and height of the canvas as 720px 650px X. It doesn't seem to be an option per cent.

The width/height appears in two places, one in the < canvas > element, the other in the .js file. I'm trying to find out if there is a way to adjust these to make re-size/scale dynamically with the size of the container (for delicate design).

<! - snippet of HTML file - >

< head >

< script src = "js/canvasProject.js" > < / script >

< script >

var canvas, stage, exportRoot;

function init() {}

canvas = document.getElementById ("canvas");

exportRoot is new lib. JeffersonRoseBand();

Stadium is new createjs. Internship (Canvas);

stage.addChild (exportRoot);

internship. Update();

createjs. Ticker.setfps(25) (lib.properties.fps);

createjs. Ticker.addEventListener ("tick", stage);

}

< /script >

< / head >

< body onload = "init (); « ; >

< div >

< canvas id = "canvas" width = "720" height = "650" > < / canvas >

< / div >

...

Start of canvasProject.js

(function (lib, img, cjs, ss) {
var p; // shortcut to reference prototypes
lib.webFontTxtFilters = {};
// library properties:
lib.properties = {
  width: 720,
  height: 650,
  fps: 24,
  color#292929",
  webfonts: {},
  manifest: []
};


Hi all

Sensitive scaling options are now part of the HTML5 canvas publication settings in the latest version of animate CC (2015.2)

See here: new feature summary (June and August 2016)

Creating ads with CC HTML5 animate: canvas reactivates the scale. Animate Adobe blog

Update your copy of Animate through the creative application of cloud and try it now!

Tags: Adobe Animate

Similar Questions

  • How can I check the output size of the Image of an image with a variable

    I have problems with a filter, I write because I can not enter the output image size (x and y) in a filter without doing it manually with a parameter

    Yes, it's currently the only way, but we do not realize that this is a problem and are working on solutions.

    Thank you!

  • How can I increase the font size on web pages?

    original title: I got my rear wehre desktop display, it was, but when I open internet the print is so small.  How can I increase that?

    Internet Explorer printing has not increased.  I was able to get my new office in readable and fitting on the screen, but printing on the web is so small.  I can't find a way to get this back to where it was.  Can you help me?

    Internet Explorer printing has not increased.  I was able to get my new office in readable and fitting on the screen, but printing on the web is so small.  I can't find a way to get this back to where it was.  Can you help me?

    Maybe isn't a permanent solution...

    Look at the bottom right > click on the symbol "%" > select a % higher

  • How can I make the computer remember previous Web sites I have visited

    How do for the computer remember a previous Web sites I visited, I know there are some parameters that will do

    Hi Mike,.

    You want to visit the websites you have already visited in the address bar without having to type the full web address?

    You can check the start-up or enable Auto complete feature in Internet Explorer 10. To do this, follow the steps below:

    (a) open Internet Explorer, go to Tools and select Internet options.

    (b) in the Internet Options screen, click on the Content tab and click the Settings button in the AutoComplete section.

    (c) for the AutoComplete settings screen, make sure the address bar option is checked and all the other options you want to use.

    Also check out these links for more information:

    Remember passwords and fill web forms

    http://Windows.Microsoft.com/en-in/Internet-Explorer/fill-in-forms-remember-passwords-AutoComplete#IE=IE-10

    Remove and manage cookies

    http://Windows.Microsoft.com/en-us/Internet-Explorer/delete-manage-cookies#IE=IE-10

    Hope that answers your query. You can write back to us for other queries/problems related to windows and we will be happy to help you further.

  • How can I make the smaller pdf file size?

    How can I make the smaller pdf file size?

    Hi vickyb,.

    Reducing the size of PDF file requires Acrobat (one way is by choosing File > save as > PDF of reduced size). If you do not have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.

    Best,

    Sara

  • How can I make the biggest impression

    How can I make the biggest impression on all Web sites? where is the setting? Thank you!

    To temporarily make more big, click on 'view' in the menu, then choose 'Zoom' & then it will allow you to set the zoom to larger or smaller.

    If you want to definitely bigger, if you have a Mac, click on 'Firefox', then 'Préférences' / If you have Windoze choose 'Tools', then 'Options' (both look the same from here...), then click the "Content" icon and change the font size.

    That should do it...

  • How can I change the font size of the bridge interface

    The font size of all the tags and the text of the icon is too small. How can I increase the font size?

    Hi wjbwillie.

    Greetings,

    Unfortunately there is no option in Bridge to change the user interface, can be with the next update it will be an option, but as if now, there is nothing that can be done inside the bridge to make the fonts appear large or small.

    Concerning

    Rohit

  • On another PC I want to save my favorites, but my browser Firefox does not work how can I make the backup, before I reinstall Firefox

    On another PC I want to save my favorites, but my browser Firefox does not work how can I make the backup, before I reinstall Firefox.
    Firefox cannot renew its tabs and now won't run and let me do a backup

    This may be considered to be solve my problem.
    I decided to uninstall the rogue program Firefox download and reinstall the same version (No. 8). I used Windows XP Add Remove programs who asked if I wanted to save the settings of Firefox until I uninstalled Firefox. I said yes and operated with the uninstall. I couldn't find a Firefox 8 so I went for the 12 version and installed on the laptop. This version 12 now works with all the passwords one favorite of the uninstalled 8.
    Thank you for all your help and advice.

  • Re: Satellite A300 - how can I make the webcam work on Win7

    Hello everyone.

    I had Win Vista installed on this Satellite A300 and it worked well.
    I had no problem at all.

    Then I moved to Win7 and now I'm going through the test of the work of webcam.
    I tried to install all types of drivers, even those for A500, but it would be of no use.

    So, how can I make the webcam work on my A300?

    I've tried everything, even the installation of Ubuntu on this laptop and still it wouldn't work. If this is your interest, I'm under Win7 in Spanish, x 32, Home Edition.

    I really need your help here, please, I beg you, I spent 5 days ago almost try ANYTHING!
    And yet, I get the message after each installation/reboot of the: "the camara web esta disabled o ha Fall.» "Por favor, it check las web camara su configs", which would result in something like "the webcam is disabled or it has failed. Please check the configuration of your webcam. I've been browsing the forum for related issues, but I have not found any solution :(

    Thanks in advance,

    Ozma.

    Hello

    Seems the webcam software has not been installed correctly.
    That Win 7 OS do you use? 32-bit or 64-bit?

    Here you can find Chicony webcam driver for Win 7 64 bit
    http://Support1.toshiba-tro.de/Tedd-files2/0/webcam-20091026100013.zip

    and here you can find Chicony webcam driver for Win 7 32 bit
    http://Support1.toshiba-tro.de/Tedd-files2/0/webcam-20091023184836.zip

    Good luck

  • What happened to the bar that says 'file, edit' etc.? How can I change the font size to display Hotmail? Where can I access 'Cancel '? Thank you-

    How can I access the toolbar which includes "file, print" etc.? How can I change the font size of my hotmail home page? It used to be using "display".

    In Firefox 3.6 and later Windows, you can hide the menu bar on "view > toolbars" or via the contextual right click menu on a toolbar.
    Press F10 or press and hold the Alt key to bring up the menu bar temporarily.
    Go to "view > toolbars", right click on the menu bar, or press Alt + V T to select to show or hide toolbars (click on an entry to switch from the State).

    See also what happened to the file, edit and view menus? and http://kb.mozillazine.org/Toolbar_customization

  • When I get e-mails, printing is so so small I can barely read. How can I make the biggest impression

    When I open my emails to read, printing is so tiny that I can hardly read them. How can I make the biggest impression?

    Hello
    Try to view/Zoom/full Zoom In (ctrl + +).

  • How can I make the best use of a new external hard drive and a new catalog full of photos just loaded into Photoshop elements 14 Organizer?

    How can I make the best use of a new external hard drive and a new catalog full of photos just loaded into Photoshop elements 14 Organizer?

    Keep all the files on external hard drive image?  Nothing else and no pictures on the desktop?

    Keep all image files both places?

    What is the best way to go through thousands of images in the Organizer to identify and place them in files?

    Once I've placed a file, I just leave it in the entire catalog or a way indicate to me that it has been sorted?

    As overwhelming, any tips/shortcuts/schemes, you can offer are welcome!

    As I only have the version of the EP, here is some info on the organiser:

    https://helpx.Adobe.com/Photoshop-elements/how-to/use-elements-Organizer.html

    Independent of how this feature works, you want to have your photos in one place and have a backup (second copy) somewhere else. All hard drives will not be successful at some point - some more early, some late - never trust to have your files in any safety devices if they are on a single disc. Once you have your sorted, it would be useful that you will organize/name/tag new photos immediately if the task is relatively short and simple. I copy my photos on my internal hard drive for my camera, take a quick look with preview to see who needs some changes and then decide where to put them - either drop them immediately after naming them or bring in an editing application and then file them away.

  • How can I make the screen keyboard on disappear?

    How can I make the screen keyboard on disappear?

    Press the key at the bottom far right (icon with an arrow to the bottom of the keyboard).

  • My 6s iphone shows that I have an email unread in my Inbox.  I have read and open any emails in my Inbox, but my phone shows an unread email.  How can I make the 1 red go?

    My 6s iphone shows that I have an unread email.  I have read and open any emails in my Inbox.  How can I make the 1 red go?

    Go to settings > Mail, Contacts, calendars > press e-mail account. Put the Mail DISABLE (display white side). To return to the home screen (it's essential!). Phone power off. Turn the phone to power back on. Mail switch must stay off - if enabled, you will need to repeat this process. If it is disabled, you did it right - turn it on and the 'ghost' post should have gone - for now. That they will probably come back until this bug is fixed permanently.

  • How can I measure the output of a sensor pwm ultrasound using the module or 9403

    How can I measure the output of a sensor pwm ultrasound using the module or 9403

    Khalil,

    When you say 'measure' the PWM signal, exactly what to tell you?

    You're looking to measure the frequency or cycle of the signal function? You count the edges of the PWM output increase? Looking to control the waveform?

    With reconfigurable FPGA hardware, it is up to the user to define the function of the physical i/o on the FPGA chip. By connecting the signals as Adam suggests your digital pulse will be brought to the cRIO. In your FPGA program, you define the function. You can set a base counter or transfer digital data from single point to welcome you cRIO for floating-point more complex treatment. Example FPGA programs are located in the http://www.ni.com/IPnet.

    Hope this helps, please post any additional questions.

Maybe you are looking for