-
1. Re: Scaling does not work properly if stage is inside a div
vivekuma Dec 1, 2014 2:52 AM (in response to NathCim) -
2. Re: Scaling does not work properly if stage is inside a div
NathCim Dec 1, 2014 3:23 AM (in response to vivekuma)Hi, thank you for the quick answer.
Unfortunately it doesnt work.
In the console I get an error that 'AdobeEdge.loadComposition' is undefined.
It doesnt matter if I put the script inside the head or at the end of the body, the error message stays the same.
My Test-Site is a published edgeAnimation, only modified by adding a div around the stage that has a width of 100%.
Do I have to include some scripts seperately to run your recommended solution?
-
3. Re: Scaling does not work properly if stage is inside a div
vivekuma Dec 1, 2014 3:27 AM (in response to NathCim)Then you need to share your project files with us. Upload it to some cloud storage and then share the link.
You can also PM me the link if you don't wish to share publicly.
-
4. Re: Scaling does not work properly if stage is inside a div
NathCim Dec 1, 2014 4:35 AM (in response to vivekuma)PM's on the way
-
5. Re: Scaling does not work properly if stage is inside a div
vivekuma Dec 1, 2014 6:02 AM (in response to NathCim)Hi,
You first need to upgrade the Edge Animate to v2014.1.1, and then open the composition and save it.
And then try the solution I mentioned in my first comment.
hth,
Vivekuma
-
6. Re: Scaling does not work properly if stage is inside a div
NathCim Dec 2, 2014 12:42 AM (in response to vivekuma)Thank you very much, it works now.
Just for notes or people searching:
It only works for me with combination of scaleToFit:"width" and centerStage:"horizontal". Other options did not (it explains itself i guess) work with bScaleToParent to get the effect,
An issue I discovered and wondered about:
I opened my old project in the new AE version, it added the loadComposition-part etc..
but the values for width and height missed the 'px'. Only a plain number was in it, also breaking the wanted functionality.
Is this a bug?
Best things last: Thank you Vivekuma for your fast and competent help! This solution saves me lots of hours.
Sincerly yours
-
7. Re: Scaling does not work properly if stage is inside a div
vivekuma Dec 2, 2014 12:58 AM (in response to NathCim)Glad it worked for you
Can you share that old composition, so that we can check if that's a bug?
Regards,
Vivekuma
-
8. Re: Scaling does not work properly if stage is inside a div
NathCim Dec 2, 2014 1:02 AM (in response to vivekuma)I'll upload the project and send you the link + Version number via PM.
-
9. Re: Scaling does not work properly if stage is inside a div
vivekuma Dec 2, 2014 1:38 AM (in response to NathCim)Yes, this is a bug. We'll log a bug internally, and will be fixed in the next release.
And thanks for reporting it.
Regards,
Vivekuma
-
10. Re: Scaling does not work properly if stage is inside a div
NathCim Dec 2, 2014 2:05 AM (in response to vivekuma)Guess we are even now ;P
Until next time, thanks for the nice contact.
-
11. Re: Scaling does not work properly if stage is inside a div
vivekuma Dec 2, 2014 2:07 AM (in response to NathCim)Sure, we are!!!


