Skip to main content
MatthewLally
Known Participant
July 15, 2020
Question

An .oam file does not fill desktop screen when placed in Dreamweaver

  • July 15, 2020
  • 1 reply
  • 610 views

I created an interactive HTML5 canvas document in Adobe Animate.  When I place the .oam file into Dreamweaver it looks great on a smartphone screen but does not fill the screen when viewed on a desktop screen.  Increasing the height and width dimensions in Dreamweaver does not seem to icrease the size on desktop viewing.  I have to admit I have not mastered media queries yet. I am not sure if that is where the solution will be.  Are there any suggestions to have the .oam file fill on a desktop screen and be centered?  Using Adobe Muse I could just drag the corners of the imported .oam and it seemed to work beautifully but I have abandoned Muse for a different problem. Thank you for considering.

    This topic has been closed for replies.

    1 reply

    Nancy OShea
    Community Expert
    Community Expert
    July 15, 2020

    In Animate CC, did you make your Canvas responsive?   See YT video below for details.

     

     

    In DW CC, create a responsive layout from one of the responsive starter templates.  File > New > Starter Templates > Bootstrap Templates or Responsive Starters.  Select a layout and hit Create button.  Save and name your document. Then insert OAM.

     

    Nancy O'Shea— Product User & Community Expert
    MatthewLally
    Known Participant
    July 20, 2020

    THANK YOU SO MUCH for your timely response.

     

    I created a demo/sample Animate file and tested it in browser per YT video instructions.  It was PERFECT - perfectly sized, centered, and scaled resposnively.

     

    Then I went to Dreamweaver and selected 'Starter template' - 'Responsive started' - 'Resposive About page'.  I don't want an About page; I just want my .oam file, but it seemed as good a choice as any.  I figured I could just cut out all the auto-populated templated stuff that I don't want.

     

    Unfortunately once I publish the Dreamweaver wesbite my sample/demo .oam file LOSES all it sizing/ scale responsiveness.  The website as a whole with all the auto-populated Dreamweaver template elements is responsive but my .oam itself is not.

     

    I'll attach 2 screenshots of the website on my desktop.  One shows that it doesn't fill the desktop screen (or come close enough) and the other shows that the .oam isn't scaling down responsively. 

     

    P.s. I went back to cut out all the template stuff and left my .oam.  The .oam still wasn't responsive.

     

    I want to emphasize that I appreciate your suggestions and they did help move me closer to my goal.  

     

    It may be unnecessary but I'll attach 2 screenshots.  One is that the .oam doesn't scale up to fill the desktop.  The other is that it doesn't scale down.

     

    Nancy OShea
    Community Expert
    Community Expert
    July 20, 2020

    Upload your work to a staging server so we can see it.  Screenshots don't tell us much.

     

    The parent container that the OAM sits in should be 100% width.

    Also you might find it easier to use an <iframe> for your animation.

     

     

    Nancy O'Shea— Product User & Community Expert