Web Content: Scale to Fit
Any suggestions as to why a web content url to Twitter Feed that formerly worked with Scale to Fit would stop working after a rebuild in v25?
Same problem here.
I create a 768x1024 Edge animation to be used in the vertical rendition of the article. Then I create a proportionally scaled down frame in the horizontal rendition using the "Scale Content to Fit" and link to the 768x1024 published Edge content. It should work, right? But it doesn't. My content is much smaller than the frame and there remaining 20% or so space inside the frame is a shade of grey...
I'm going to see if I can somehow fix this by opening the file in Dreamweaver, but I really should have to do so if it works fine in the 768x1024 frame.
Is there something obvious that we're overlooking?
Thanks!
Similar Messages
-
How to fit HTML into a web content overlay?
How can I fit a 640px x 960px HTML generated from Adobe Animate into a Web content overlay with 640x x 960x dimension graphic frame?
When I uncheck the "scale content to frame" option, the HTML was scaled up--cropping 3/4ths of the image. But with the scale content frame option selected, the HTML was scaled down showing the whole image but on a 1/3rd scale.
The article format is set to PDF.I assume you mean Edge Animate.
What version of ID? Did you fully patch Edge to 1.0.1?
If you have CS6 you can just place the OAM file.
Bob -
Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.
Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.
-
Streaming Video through Web Content Overlay
Really would appreciate some help here. Whenever I link an HTML file containing a MP4 video through the Web Content Overlay, all the other body text in the pages no longer render as vectors (the text becomes pixelated). The video is in H.264. Any ideas?
Does the video streaming source link has the same page resolution as your folio is? Did you check the option "scale content to fit" is web content overlay?
-
Web Content Overlay Limits?
What are the limits of the web content overlay? I've put up an overlay with an image that spans greater than 2k+ pixels however, the overlay creator wants to scale it down to about 2/3 the size of it. I do not have scale content to fit checked.
If you simply place the image into an image frame and select Pan and Zoom from the bottom of the overlay creator pallette you can make it err.. pan and zoom! With no HTML.
I have never got an image to zoom btw, they all will pan.
Andy -
Can't Flex apps scale to fit browser window?
This has been brought up a couple of times, but seems to be a
mystery: How does one scale all content to fit the browser window,
preserving aspect ratio, and centering the content vertically or
horizontally (depending on whether the window aspect ratio is less
than or greater than the content aspect ratio)?
Since Flash is vector-based, I would have thought this would
be straightforward and encouraged!
Some information in an earlier post, plus experimentation on
my part, has yielded a bizarre and inflexible partial solution -
using StageScaleMode, and sizing the app's base container to
exactly 500x375 pixels, I can get content that scales with
the window size and doesn't have mismatched margins (though I
haven't figured out how to center it yet). In addition, there are
ugly scaling artifacts (look at the drop-shadows as you change the
browser window size).
Again, not being a Flash programmer, I baffled that this
isn't better supported, but I have to admit, most of the Flash apps
I've seen in the wild seem to all be fixed at some ridiculous size
like 640x480 or something. Are there some serious bugs here, or am
I missing something? Is there a better approach?
Here's a simple, complete, example (based on an example from
an earlier thread, but simplified a good bit):
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx='
http://www.adobe.com/2006/mxml'
pageTitle="Resize Test"
layout="absolute" autoLayout="false"
addedToStage="event.currentTarget.stage.scaleMode =
StageScaleMode.SHOW_ALL"
>
<mx:Style>
VBox {
cornerRadius: 4;
borderStyle: solid; border-color: #000000; borderSize: 1;
horizontalAlign: center; verticalAlign: middle;
dropShadowEnabled: true;
</mx:Style>
<mx:VBox width="500" height="375"
backgroundColor="#808080"
paddingTop="20" paddingBottom="20" paddingLeft="20"
paddingRight="20">
<mx:VBox width="100%" height="100%"
backgroundColor="#808000">
<mx:Label text="This is some text" fontSize="12"
width="128" textAlign="center"/>
<mx:Button label="Button"/>
</mx:VBox>
</mx:VBox>
</mx:Application>quote:
Originally posted by:
jpwrunyan
Not bitmaps. Externally loaded images that get converted to
bitmaps. What I said is that 90%+ are online catalogues. Logically
it would be safe to assume they display external images of a set
size. Sorry that was unclear. It would interesting to see an
official survey.
Yeah, I was using "bitmap" to mean raster graphics, whether
the actual source be jpg, png or what have you.
quote:
Originally posted by:
jpwrunyan
And good luck getting anyone from Adobe to pay attention to
this forum let alone comment. Better to contact their support if
you're ever really stuck.
Another reason I'm thinking MS is going to win this war - my
colleague is having great luck in the WPF forums.
quote:
Originally posted by:
jpwrunyan
Another reason I thought of why resizing does not result in
rescaling by default:
HTML and JSP applications don't rescale when you change the
browser size. Just go to hotmail or msn and check. They reposition.
Flex applications are intended to behave the same way but with RIA
capabilities. That is probably the more likely explanation than
bitmaps merely not scaling well. Anyway, this behaviour was a
thought-out decision and I happen to agree with it. By the way,
older Flash applications
do rescale to fit the window by default.
Exactly! That's the big problem, in my view, with the
HTML/JPG based web, and is what a vector-based solution
(discounting raster graphics) should solve.
Firefox, and now IE7, have features to allow you to scale web
pages to overcome, in a stop-gap way, this problem. IE even scales
images and Flash apps, though some Flash suffers problems when
scaled. Firefox does not (yet?) scale images or Flash along with
the other content. Flash-based Elmo games at sesamestree.org, at
640x480, look pretty stupid on my 42" 1920x1080 LCD (played by my
3-year old, not me!), but at least I can now (try) to scale them up
with IE7 for him.
I do not believe this was a thought-out decision, it's just
inertia from the bad old ways of doing things. There should be a
working option to easily scale content to the browser window, and
if Flex doesn't provide one, Microsoft certainly is going to (with
WPF/E) as they have with WPF. I'm not a big MS fan, but I think
they get the way things are going with the proliferation in the
range of screen resolutions and sizes that web content is being
displayed on.
That said, I realize there is more to dealing with different
screen sizes than just scaling - you may have to change the amount
of content on the screen, dependent on what the subject is.
quote:
Originally posted by:
jpwrunyan
Now if you want the Flash Player to be able to import huge
.jpg files with 1000px+ resolution and selectively only load enough
information to make a smaller size bitmap image so you can rescale
with impunity, more power to you. Sounds great. I would love this.
But it still doesn't address what should happen when the image goes
beyond the original size. I know you're only using vector graphics
so it's not an issue for you.
Yep, raster graphics are troublesome. Worst case, a beautiful
picture frame grows to surround the image as one zooms beyond its
original size (insert smiley icon of choice here)
quote:
Originally posted by:
jpwrunyan
Finally to get back on the main topic:
if SWFLoader isn't working well, you could programatically do
the same thing. Have a sub-contaier inside the application
container which adjusts its scale accordingly to the size of the
parent application container. I have done this myself with the
Image class for zooming in and out from images (ironically 1000px+
images which were displayed at much smaller sizes).
<Application resize="adjustSize()"
creationComplete="adjustSize()" paddingLeft="0" paddingRight="0"
paddingTop="0" paddingBottom="0">
<Script>
private function adjustSize():void {
var newScaleX = this.width/content.width
var newScaleY = this.height/content.height
content.scaleX = newScaleX;
content.scaleY = newScaleY;
</Script>
<Box id="content" borderStyle="none" width=400 height=300
/> <!-- the width and height are arbitrary -->
</Application>
Something along the lines of the above should definitely
work. I am just basing it off my own previous code. You may have to
be careful of borders and padding if you decide to add them.
Whether it works better than the other suggestions you'll have to
decide.
Thanks for the code, and I'll try it. I'm new to Flex, and so
I'm still struggling with some things (such as when objects are
available for manipulation). -
Web Content on iPad and Android
I have created three Web Content on a page.
Two with Auto Start and the third with manual Start. It contains the famous EDGE animation made by rain.
All three WC are scaled to fit.
On the iPad, the firwt two WC are displayed and behave correctly. The Scale to fit option scales to the main content of the page and the width, which is nice.
The third WC is fit but with a strange empty are. It looks like there is an inner gap on the right and at the bottom
But on the Galaxy the content is fully scaled so the whole page is scaled down to the frame. Also the content that should be displayed only when tapped displays only the last frame of the EDGE animation.
Does Adobe has a table that compares how WC behaves on the iPad and on Android ?Up
-
Are Adobe EVER going to make Edge Animate scale-to-fit (like Flash)?
I've been following the progress of Edge Animate (formerly Edge) ever since Steve Jobs decided he wasn't having Flash on the iPad.
With each new version I've been desperately looking for the feature that I consider the most important of all: Scale-to-fit
There are a couple of discussions already on this forum where people have requested this feature - but both have been sidetracked by replies from people who haven't understood what 'scale-to-fit' is. So let me explain Scale-to-fit:
I'm talking about the feature in Flash - where if the HTML dimensions are set to 'Percent' - then the resultant movie will scale-to-fit any browser window. Here is an example of what I mean:
http://www.skippingschool.co.uk
- try changing the browser size and you'll see the whole frame (graphics and images) scales without changing its proportions.
When the latest version of Edge Animate came out with its built-in easy-to-follow 'Resize' Lesson, I thought Adobe had finally found an answer. But good though this feature is, it doesn't solve the problem. It's only possible to properly scale-to-fit images - not graphics.
It's now more important than ever that Adobe finds a solution to this problem. The world is going 'Responsive' - its not just a fad. And 'Responsive' is not just about three columns being squeezed into one. All Responsive sites require images, graphics AND animations to scale-to-fit. So Adobe's tutorial showing how Edge Animate can be added to WordPress sites is of limited use because it won't work for Responsive web sites.
So please Adobe, will someone tell me if scale-to-fit is EVER going to happen? I don't mind if it's 3 months, 6 months, 9 months down the line - but I need to know if it's worth me sticking with Edge Animate - or whether I should be looking toward HTML5 Canvas or something else for a solution?
Alternatively, is there some fundamental reason why it can NEVER happen?
Please tell me? Just put me out of my misery!Hi Sarah,
I hope you don't mind but I played around with your code a bit and managed to get the kind of scale-to-fit behavior that I believe the OP was asking about. I think the trick is to make sure that you also check whether the scaled height of the stage exceeds the height of the browser window and change the scaling so that it is responsive to changes in both the width and height of the window, whichever is the limiting factor. The code I changed in CompositionReady appears in bold below. I hope this helps.
sym.$("#Stage").css({ // Set the transform origin so we always scale to the top left corner of the stage
"transform-origin":"0 0",
"-ms-transform-origin":"0 0",
"-webkit-transform-origin":"0 0",
"-moz-transform-origin":"0 0",
"-o-transform-origin":"0 0"
function scaleStage() {
var stage = sym.$('Stage'); // Set a reusable variable to reference the stage
var parent = sym.$('Stage').parent(); // Set a reusable variable to reference the parent container of the stage
var parentWidth = stage.parent().width(); // Get the parent of the stage width
var parentHeight = $(window).height(); // Get the browser window height
var stageWidth = stage.width(); // Get the stage width
var stageHeight = stage.height(); // Get the stage height
var desiredWidth = Math.round(parentWidth * 1); // Set the new width of the stage as it scales
var desiredHeight = Math.round(parentHeight * 1); // Set the new height of the stage as it scales
var rescaleWidth = (desiredWidth / stageWidth); // Set a variable to calculate the new width of the stage as it scales
var rescaleHeight = (desiredHeight / stageHeight); // Set a variable to calculate the new height of the stage as it scales
var rescale = rescaleWidth;
if (stageHeight * rescale > desiredHeight) // Do not scale larger than the height of the browser window
rescale = rescaleHeight;
// Rescale the stage!
stage.css('transform', 'scale(' + rescale + ')');
stage.css( '-o-transform', 'scale(' + rescale + ')');
stage.css('-ms-transform', 'scale(' + rescale + ')');
stage.css('-webkit-transform', 'scale(' + rescale + ')');
stage.css('-moz-transform', 'scale(' + rescale + ')');
stage.css('-o-transform', 'scale(' + rescale + ')');
parent.height(stageHeight * rescale); // Reset the height of the parent container so the objects below it will reflow as the height adjusts
// Make it happen when the browser resizes
$(window).on('resize', function(){
scaleStage();
// Make it happen when the page first loads
$(document).ready(function(){
scaleStage(); -
Web Content Overlay - iFrame Width Issue
I'm adding a web content overlay in one of my articles. I've created and hosted a webpage that contains an iFrame of a Google Form.
When I select my text frame in the article, apply the Web Content Overlay option, add the URL, and load/test the folio on my iPad, the iFrame width I set in my html file isn't taking effect. The web overlay isn't displaying (and wrapping the text and form) according to the width that I specified in the html file. Testing the html file in different browsers on my desktop shows a change in width, but not so on the web content overlay frame in my article. Vertical scrolling is working just fine but I'd like to have a narrower width for the form so that a user only scrolls vertically; instead of having to scroll left/right to read more information on the form.
I've tried editing the iFrame width in the code: inside the iframe element, adding a div wrapper, defining a table width... No adjustments in the html seem to be rendering correctly on iPad.
And I'm not a huge fan of the Web Content Overlay's option of Adjusting content to fit the frame since it makes the form very small.
I'm running on CS5.5; I haven't tested the direct embed into
Any help is greatly appreciated!Try to paste the code directly into InDesign. Sometimes it creates better results than just using a web overlay. I'm also dealing with some similar problem trying to get SoundCloud into the document.
-
Can't interact with Web Content Overlay when article is zoomed in
I have a problem with Web Content Overlay. It's working (interacting) only when article is viewed in 1:1 scale. Articles are added as PDF's, and when i do pinch zoom on them - Web Content Overlay stops reacting on click events.
Is it a general WCO limitation?
Can article with Web Content Overlay be zoomed in and still give user the ability to play with HTML content?
PiotrHello,
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Once you get the pop-up, just select "'Start in Safe Mode"''
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you. -
Edge Suite issue with Scale to Fit composition
Having problem with this WordPress based site. As you can see, the composition is not appearing. It used to be, but then I tried Sarah Hunt's tutorial on Scale to Fit comps. The tutorial seems to work fine....except on WordPress sites. At least using the Edge Suite plugin to upload .oam's. It's mentioned in Sarah's tutorial but there was never a resolution. So I brought it over here to the main Adobe Forums and hopefully I can get an answer as to why my comp isn't displaying.
The files for this preso are here: https://www.dropbox.com/s/v6w8x0zl0cln5wi/flowshot.zip
Any help on making this work, er, uh, fit, would be great.Tried that as well, to no effect. Now I get no Edge comp on the page at all. Just blank. Although the code says otherwise
<div id="featured" class="grid col-940">
<div style="width:1px; height:auto"><div id="Stage" class="EDGE-6453776">
<script type="text/javascript">window.AdobeEdge = window.AdobeEdge || {};window.AdobeEdge.pathPrefix = window.AdobeEdge.pathPrefix || {};AdobeEdge.pathPrefix.libs = 'http://flowcommunications.com/wp-content/uploads/edge_suite';AdobeEdge.pathPrefix.comps = AdobeEdge.pathPrefix.comps || {};AdobeEdge.pathPrefix.comps['EDGE-6453776'] = 'http://flowcommunications.com/wp-content/uploads/edge_suite/project/flowshot_5';</script>
<script type="text/javascript" src="http://flowcommunications.com/wp-content/plugins/edge-suite/includes/edge-wordpress.js"></script>
<script type="text/javascript" src="http://flowcommunications.com/wp-content/uploads/edge_suite/project/flowshot_5/flowshot_ed gePreload.js"></script>
<div id="Stage_flowshot_5" style="height:200px;width:960px;margin: 0px auto;margin-top:10px;" class="EDGE-6453776"></div>
</div></div>
<p style="color: #FFF; font-family: "myriad-pro",sans-serif;"><strong>Hello! Welcome to our new site, on a new server.<br>Pardon our dust. It’s still under construction.<br>Thank you!</strong></p>
</div><!-- end of #featured --> -
Bug of scrollbar with "scale to fit" script
Hi,
I encounter a sort of bug with this nice script "scale to fit":
http://sarahjustine.com/2013/04/08/create-scale-to-fit-projects-with-adobe-edge-animate/
I create a simple animation composed of a single image (stage = 1024px X 3000px) with the script (see below) to test it: everything works, the animation is well scaled, BUT when I resize the browser, the scrollbar keeps his original size even if the height of the animation is very low.
The bug concerns all the popular browsers (desktop and mobile* version) except chrome.
* I use this meta: <meta name="viewport" content="width=device-width;">
exemple:
original height of the animation = 3000px
height of the scrollbar = 3000px
height of the animation scaled = 600px
height of the scrollbar don't change = 3000px
I don't use any CSS, I simply publish the animation with EDGE CC (not 1.5).
Someone could give me some hints for resolve this "bug" ?
Oliver.
sorry for my English, I'm French...
A live example which seems to use this script (not of me),
you can see the scrollbar bug if you resize the browser (with IE or Firefox)
http://www.ryanterry.net/resume/html5/
- - - - - - - the script (on.compositon.ready) - - - - - - -
var stageHeight = sym.$('Stage').height(); // Set a variable for the height of the stage
sym.$("#Stage").css({ // Set the transform origin so we always scale to the top left corner of the stage
"transform-origin":"0 0",
"-ms-transform-origin":"0 0",
"-webkit-transform-origin":"0 0",
"-moz-transform-origin":"0 0",
"-o-transform-origin":"0 0"
function scaleStage() {
var stage = sym.$('Stage'); // Set a reusable variable to reference the stage
var parent = sym.$('Stage').parent(); // Set a reusable variable to reference the parent container of the stage
var parentWidth = stage.parent().width(); // Get the parent of the stage width
var stageWidth = stage.width(); // Get the stage width
var desiredWidth = Math.round(parentWidth * 1); // Set the new width of the stage as it scales
var rescale = (desiredWidth / stageWidth); // Set a variable to calculate the new width of the stage as it scales
// Rescale the stage!
stage.css('transform', 'scale(' + rescale + ')');
stage.css( '-o-transform', 'scale(' + rescale + ')');
stage.css('-ms-transform', 'scale(' + rescale + ')');
stage.css('-webkit-transform', 'scale(' + rescale + ')');
stage.css('-moz-transform', 'scale(' + rescale + ')');
stage.css('-o-transform', 'scale(' + rescale + ')');
parent.height(stageHeight * rescale); // Reset the height of the parent container so the objects below it will reflow as the height adjusts
// Make it happen when the browser resizes
$(window).on('resize', function(){
scaleStage();
// Make it happen when the page first loads
$(document).ready(function(){
scaleStage();Hey Oliver,
Try wrapping another div around the #Stage div. I believe the scrollbars are appearing because with the script Animate will recalc the parent height, BUT if that parent is the body it doesn't adjust so it thinks it's the original height of your composition. So your HTML page will look like this:
<div style="height:1px; overflow:hidden;">
<div id="Stage" class="EDGE-78729757">
</div></div>
I found I had to apply the height property to get it to hide the scrollbar, but the value is irrevelant as it gets overwritten anyways by the script. Give that a shot.
Good luck!
Sarah -
How to Scale to Fit automatically?
Hi,
I'd like Safari to Scale to Fit automatically every time I open or go to another web page so that I don't have to click the "+" button. Is there a way to do this?
Thanks
Leonardo
Macbook 2.16GHz 2GB Mac OS X (10.4.10) MB062LL/AHello Leonardo ...
First of all, welcome to the Apple discussions.
Not by knowledge an I never heard about. But what you can do is adding a little script to the Safari Menu bar.
Open the web site an scroll down, Scriptable Pllciactions - Safari
Let me know if so ...
Good luck ...
Dimaxum <]:~)) -
"Scale to fit paper size" ......doesn't
It's often convenient to scale a web page down to fit the entire page on letter size.
This is doable with the Scale field in the print dialog box.
On the other hand, I can't get Paper Handling>"Scale to fit paper size" to work in Safari.
It works in Pages, TextEdit, Preview, and Word.
Why not Safari?
I've found posts on the Internet making the same observation, but no answers.Suggest you post this on the Microsoft Mac forums since it's their software you're having trouble with:
http://answers.microsoft.com/en-us/mac -
Hello all,
I have to print PDFs. Preview or printing directly from Finder prints scaling 100% and many many times the edges of the PDFs are left outside of the printing area. I have the correct paper size selected (A4) and actually the PDFs are also A4 but for some reason 100% zooms in a bit and cuts the sides of the print outside.
I can of course fix this by selecting Scale to Fit and Print Entire Image but I do have to do this every single time I open a PDF. I want to make this option my default! And preferrably so that I can use CMD+P from Finder to print directly without having to open the PDF. I already know what is in it...
I have tried different Terminal tricks I have found searching the web but no luck, this and others with Preview closed before executing the command
defaults delete com.apple.Preview PVImagePrintingScaleMode
Please help and make my life easier. Cannot be this hard.I got a work around for this. Instead of using RTF template, I used Microsoft Excel itself as template and did the formatting in excel.
thanks,
Vijay
Maybe you are looking for
-
Please Help - How to Fetch the Data from a Cube
Dear All, We created a cube containing dimensions Customer, Product, Branch, Activity, Time dimensions using Oracle Analytical WorkSpace Manager. Once Cube is created, How can I see the Data existing in the Cube using normal SQL Queries ??? Through A
-
NOT HAPPY. I've Just upgraded to iTunes 11 on a MBP 15" 2009 model, OS 10.8.2 I use my computer all over the place with NO internet and cannot access the HUNDREDS of tracks I've purchased and downloaded and been playing for years. How can I access t
-
Itunes has stopped working (Win 7 64 bit)
I keep getting this when I try to sync my iPad 2 and my iPhone 4. It gets all the way through the sync to photos and then I get this issue: iTunes has stopped working A problem caused the program to stop working correctly. Windows will close the pro
-
Please help me. I think this all stems from iTunes update....While in Safari for a few mins. it will crash. Decided to use firefox...worked great for a few days, then it started to crash. Went to use iDVD and it froze. This all started after I upgrad
-
WHY are the GAMES I Play on FACEBOOK now NOT LOADING ??
Why are the GAMES I PLAY on FACEBOOK now not Loading ? I finally got to the area about STORAGE and got it TURN OFF and went to Play and two so far have NOT LOADED