Edge keeps resetting composition size ( not really responsive experiment )

Hello all,
This is more a question to the adobe edge animate team i guess rather than the community.
I recently had to do a project in adobe edge animate. I noticed the scale/responsiveness/resize is not really fitting my requirements, so i decided to tweak the resizing a bit. I wanted to achieve a fully responsive layout starting from x:0,y:0 ( top-left ), so the composition is always shown at 100% width & height.
The problem with the current animate scaling is that , it always has blank/white spaces on the sides. Even if using the BOTH option in the composition settings it always fits( scale ) the content just by one of the dimensions( the bigger fitting one ). It would be either by height or by width , but not both. The other dimension is compensated with blank space.
I made it work. Here's the demo. It's not completed and not sure if it will be because.. When the stage/composition loads, stars resizing(drag) the window. You'll notice that the stage resizes correctly and all of a sudden a smile starts appearing on anyone face, but unfortunately every time a user clicks a button ( or any action is executed ) the runtime resizes the main app again to it's original dimensions, breaking the fullscreen resize. For example , click on the black button NEXT , and you'll see the stage resized again with the edge resize logic
I'm attaching my resize logic immediately after the resizing of the edge animate( binding it to the window resize ), that's why everytime a user resizes the window the resize is correct. The aspect ratio is preserved everywhere and everything works as I wanted, but for some strange reason for me everytime an action ( timeline action/trugger ) , or even a button action/trigger, the resize logic block is executed.
So i guess my questions are:
1.Why does edge animate resize the wrappers and the composition everytime an action is executed ? Isn't this also a performance problem?
2.is there a way to stop this behaviour. I even made the composition non responsive hoping for even better result. In this case only my logic would be executed instead of two times for each resize event ( edge resize & my resize )
3.Is there any way to overload the edge resize method or any way to make this work( stop animate to resize the stage and wrappers for every action )
4.Also.. currently there is a resize initially so the stage is also resized on first view without resizing the window. but again i guess, because there are actions in my stage they are resetting the first resize aswell. I guess this one will not be a problem if the previous issue can have a workaround somehow.
Thanks a lot..

Hi Dalex,
1. You need to know that Edge animate handles the responsive scaling by using css scaling the stage div element along X and Y axes by the same amount so that the aspect ratio is maintained. And that's the reason, when you apply responsive scaling value to both, Edge checks which of the attribute (height or width) fits the whole screen, and depending upon that it applies the scaling with aspect ratio maintained.
2. By looking at the demo, I think that you want to have responsive scaling such that the game fits the whole screen along width and height. If I am thinking right, then that way, I think it will have a bad user experience if the user resize the window more in one direction, then you will loose the aspect ratio.
3. So, what I would recommend is that you use "responsive scaling"=> "height or both", and "Center Stage"=>"horizontal or both". This way you'll have empty white space on either side but will have good user experience. Also, this way, you no longer need to use any extra code to handle responsive scaling yourself, and responsive scaling will work even after clicking buttons(as in your case).
4. But still, if you don't like step#3, then you will have to create the whole anomation in Edge with units as "%" instead of "px". But in your case, it won't look good if user resizes browser window more in one direction.
Let me know if that helps.
hth,
Vivekuma

Similar Messages

  • Composition size not matching footage-Please help

    Hi I am really hoping someone can help me with such a basic problem. I open up After Effects CS4, then import a video clip which has dimensions of 1440x1080.  Then I drag the clip onto the new composition icon which is SUPPOSED to create a composition with the same parameters as the footage. But instead the footage is the wrong aspect ratio and appears to be squashed into a 4:3 box (or so it appears)
    PLEASE Help if you can I am really aggravated
    Thank you very much

    Thank you again Dave. Please forgive all the dumb questions. I'm pretty good on the photo end but admittedly lacking much knowledge about video.
    Here's where I'm getting confused right now
    My video was shot out of the camera at 1440x1080.  That is a 4:3 ratio
    If I render it to 720x480, this would be a 3:2 ratio. Wouldn't that distort my video?
    You stated that if I wanted to keep my work at 16:9 that I should render to NTSC DV Widescreen but I didn't think I was ever at 16:9.  Wouldn't that be 1920x1080?
    Since I thought my video was shot in HD would rendering to DV minimize the quality?
    "Nest your current comp in the new comp"   Should I make a new composition in After Effects using a different format?
    "Render in a lossless codec in AE"   My clip in After Effects was actually only about one minute long. I am using that clip in a Premier Pro project that is about 15 minutes long. I saved the .aep project and then imported it to Premier without rendering it.  Then I was going to render the entire 15 minute project all at once. Should I do this differently?
    Should I do as Rick stated above and create a new composition in 1920x1080?  If I do wouldn't that leave two black bars on either side?
    As I'm typing this I'm realizing that my entire Premier Pro project is the actual size of the video 1440x1080 so I'm not sure how I would create a new comp there.
    Oh soooooo many questions

  • IPod keeps reseting and is not recognized by my computer

    I plug in my ipod and the copmuter tells me that the disk is not recognized and gives the options of initializing, ignoring, or reseting. And then when I unplug it, the iPod just turns on and off showing the apple logo. Any help would be appreciated. Thanks.

    This message appears when OS X thinks the iPod hard disk is corrupt. You can click "initialize" which will erase the iPod contents, then use the iPod updater to restore it in the normal manner.

  • Hard Disc Size not really recognized

    Dear all, first time I am in this forum here!
    I looked for a while in different posts, which I did in similar forums before, but I was not able to find the answer I'd liek to get.
    Some time ago I upgraded my X60s hard drive from 60 to a Samsung 250 GB hard drive by using Acronis software and cloning. The bios was recognizing the new harddrive and I thought everything is fine. By the way I am using XP, all the available updates from Lenovo are installed (to my limited knowledge, I have to say)
    But now I realize, that the hard drive is already nearly fully occupied, which I cannot understand, because on C:\ I only find ca. 120 GB of files.
    So what is wrong? I just downloaded the PC Doctor software available at Lenovo, but the tests stops with a failure during the "SMART short self test" (in German: "SMART kurzer Selbsttest").
    Is it possible to fix that? I do not have XP on discs and would like to avoid a whole new set up of the system. Is there a proper tool I could use to determine, what is wrong?
    I would really appreciate any hint!! Because in generell I love the x60s. It is a fantastic little notebook!
    Thanks for reading this and sorry for taking your valuable time.
    Best regards,
    Hans from Frankfurt, Germany
    X60s, 2.5 GB RAM, WD500 GB

    Like Hans, I also purchased a Western Digital 500 GB hard drive, aka Scorpio Blue. My first attempt to use it involved creating bootable DVDs with the Thinkvantage sofware and running the Rescue and Recovery program wih the new drive installed, but thad did not work.
    Than I saw Hans' post re using Acronis to clone his new WD drive from his old drive and then swap them, so I tried this method too and it worked. For non-techies like me, here are the specific steps I followed to clone my original drive that has Windows XP Pro installed.If I've made a mistake below, please correct me. For this procedure you will need a USB drive connection kit and a small phillips screwdriver.
    1) Use a USB connection kit to connect the new hard drive to a USB port. The USB connection kit I used was a little flaky, so I had to disconnect and reconnect the cables once or twice before the drive was recognized.
    2) If you do not see the new hard disk in the list of hard disks in "My Computer," you may need to format it. To format, right-click "My Computer" and choose "Manage." In the dialog that appears, under "Storage" click "Disk Management." If I recall correctly, you right-click on the new drive's name and choose "Format."
    3) If you don't have it already, download a copy of Acronis True Image Home. There is a free 15-day trial downloadable at:
    http://www.acronis.com/homecomputing/download/trueimage/
    Of course, after downloading Acronis, you need to install it.  The name of the file I downloaded was TrueImage2009_d_en, which was in the Downloads folderin My Documents.
    4)  Once True Image Home is installed, start up the program by choosing Start/All Programs/Acronis/TrueImage Home. In the start up window, click Try Now.
    5) In the blue panel in the lower left corner of the screen, click "Utilities." You will then see two options: "Clone Disk" and "Add New Disk." Choose "Clone Disk."
    6) Follow the prompts from there, taking care to correctly designate the source disk, which is your old hard disk (c drive). The destination disk is your new hard drive. I used the recommended "Automatic" option and let Acronis partition the new 500 GB drive proportionally to my old120 GB drive. The software warns you that cloning will erase whatever is on the destination drive. You have to agree to this to continue.
    7) Early in the cloning process, a dialog tells you to reboot. Click the Reboot button. After that, you can let the cloning go unattended for a while. I think mine took about 30 to 45 minutes.
    8) When the screen tells you that cloning was successful, turn off your computer, disconnect the USB connection kit attached to your new drive. Then remove the old internal drive, using the procedure described at the web address below (there's a movie if you want to see it done). You should unplug the laptop and remove the battery first. Put the disk cover and phillips screw that attaches it someplace safe.
    Hard disk removal instructions:  http://www-307.ibm.com/pc/support/site.wss/MIGR-62795.html
    9) Once my old drive was out of the Thinkpad, I pulled off the rubber things on the side and removed the metal cradle by unscrewing the four small phillips screws on the non-labeled side. I then attached the metal cradle to the new Scorpio drive and put the rubber pieces on the sides and inserted the drive into my laptop.At some point you will want to reattach the hard disk cover to the Thinkpad with the little phillips screw but you may want to test the drive first (step 10).
    10) Reinsert the battery and turn the computer back on to test the drive. Mine booted just fine on first try, and all my files were there.. I have an Ultrabay and a driver for a software key for some court reporting software I use and those worked too.  Once you've verified the new drive works, turn off the computer and reattach the hard disk cover to the laptop if you haven't done so already.
     Hope this is helpful.

  • Composition Size - Not what it says

    I've entered 720:576 but the width is only about 500 in the comp window. Square Pixels.

    720x576 is a standard resolution for PAL SD.  Why don't you use use the PAL SD comp preset?

  • I keep getting "Applephotostream.exe" not working on my pc.   How can I fix or reset?

    I keep getting "Applephotostream.exe" not working on my pc.   How can I fix or reset?

    My Vista Home Premium  System Type is a 64 bit Operating System.
    I was hoping that someone in the Apple Community would have a solution.
    Still waiting.
    Thanks for your response.  Keep checking back.

  • Ipod will not charge, keeps resetting, extremely low battery.

    Someone please help!!
    I adore my Ipod, its 2+, it was working fine, till a few months ago.
    In the beginning, it stopped charging on the computer, it synced, but i would have to charge in on a Ipod radio thing first.
    Then after awhile, on the radio, (it worked perfectly at first) the ipod would come up with the message, "This accessory not supported by Ipod", it would still play on it, movies, songs, and charge it, but the message would come up every often.
    Now it refused to be recognized by the radio, and won't charge.
    (yet if you press play the song and movies will play)
    It had very little battery left so i bought a wall charger.
    I tried charging with a wall charger and car charger!
    Now its basically dead, and when i plug it on to the wall charger, the apple logo comes on, and it goes to low battery message, then apple logo..again again.
    It just keeps resetting, so i took it off that.
    Leaving on the charger for awhile won't work, because it just keeps doing that.
    What do i do?
    I can't restore it, because i'd have to charge it first!
    (I got a new battery for it a few weeks ago, the battery life was way better, charged a bit faster, and it seemed to work better, but the computer still drained it)
    Anybody have any ideas?
    Please please please.
    I swear i love it, but i'm going to throw it out the window soon.
    -edit,
    just to add, the first thing that went wrong, that started this thing, was when i got that -48 error, it doesn't do that anymore just to add
    Message was edited by: Imjustkeeding

    I have the same problem and sent my ipod to a the service center for a battery replacement. I was informed by them first by email that "Our technicians have performed full diagnostic checks on your IPOD 5TH GENERATION and have been unable to reproduce the symptom(s) you reported when you requested the repair. As a result of our tests, we can confirm that your product meets Apple specifications for performance, usability, and functionality." then I was told over the phone that they reloaded the software and firmware and that it is working properly and is being sent back to me. Then, and heres the kicker, I received my i pod back with a form stating it was a hardware failure affecting another component. I have since called multiple times and no one can tell me where the hardware failure is but the ipod still says its a battery issue. Go figure i think apple knows exactly what the faulty part is that is causing this error and has no solution short of replacing the unit and they dont want to replace the units of all those with this hardware failure

  • Edge animate composition is not an option on insert media menu, and I subscribe to the cloud

    edge animate composition is not an option on insert>media menu, and I subscribe to the cloud

    If your product was installed via the Creative Cloud, you should be able to update it using the Creative Cloud.  If your product was installed via other media (like from the DVD), you will not be able to update it using the Creative Cloud.  Now that CC has launched, you might want to look at upgrading now and try it out now.
    Thanks,
    -Elaine

  • Help! Charge Keeps Resetting to Home Screen every minute or so.

    Hi. My Samsung Charge Keeps Resetting every minute or so to the Home Screen. It shuts off anything I'm doing and goes black. It then starts up at the home screen and says "media scanner running" at the top of screen. What I was doing before problem occurred...I was listening to music player yesterday for several hours until battery went dead. I plugged the phone into my laptop to charge the battery and the problem started.

    I don't really know what to do but your battery probably is not charged very well yet.  The USB port on a PC is NOT a very powerful charger.
    Try this.  Plug your phone into the 1 AMP charger that came with it.  After the battery is charged past the 60% mark leave the charger plugged into your phone and then hold the on/off button (top right outside edge of the phone) until you see Power Off.  Touch power off.  After a minute restart the phone.
    If that does not fix your phone do the same thing at one more or maybe two more times.
    I hope someone else may have a better idea.
    JerryF

  • Network Users with network homes not really working for me

    I have with great pain setup a OS X Lion server on a Mac Mini that was supposed to be my central server to have 4 network users accounts and all the users data is stored on an external disk array with mounted network homes to the 2 iMacs and 2 Macbooks I have in my home.
    I have gotten it all working and all my Macs are joined to the Open Directory and each User can login as a network users on any of the Macs and get their files via mounted home directory from the server. The home directories on the server are backed up with Time Machine.
    I have found the following items that do not work proberly:
    1) Desktop backgrounds settings are just lost sometimes for whatever reason. Desktop background goes to default and you need to manually set back to the one you have selected. This happen mostly if users have their own desktop pictures.
    2) Keychain get's screwed up. The user often get the "Keychain doesn't exist to store ..." message and need to select to reset the keychain. Anything I have tried from "Keychain First Aid" to removing and have a new one created doesn't fix the problem. It keeps on coming back.
    3) iTunes Storage and AppStore are getting confused about authorized computers. This is because a user logs in from another computer and then iTunes store would tell the user this computer hasn't been authorized to play the purchase music. Same happens with iPhone apps from the AppStore. Apparently those two stores are not setup to hanlde network users proberly.
    4) Permission issues happen sometimes in Application like iPhoto where it would complain not being able to see photos or cannot add new photos to the library. Need to run a permission repair on the Iphoto Library to fix this.
    5) One critical one is that it's not really possible to restore files from Time Machine. The Time Machine backup is done on the server by an administrator account directly backing up the user directories. When you go into Time Machine on the server even the admin can drill down into the user directories so no restore possible. The individual users have no idea that there was ever a Time Machine backup done as Time Machine is not setup in their accounts on the individual Macs. This prevents any possible restore.
    I reckon that many of the problems are related to having only one location for ~/Library as the individual Macs are writing their user related settings into this directory in a central location. So what happens is when something on iMac 1 and then I log in on iMac 2 that might not exactly match this Macs config and it get's confused throwing one of the above erors.
    Trouble is witth central network home directory the way they mounted i can't exclude the ~/Library folder. The only option I can see is mobile account because I have seen in the preferences that when they sync the handle Library items differently.
    Does anybody have any experience out there with this sort of thing and can advise what's the best way forward?
    If i can't resolve this I'll go back to have network users with local home directories on each Mac and just setup for each user a network share to which they copy files if they want them available on other Macs. Not as nice but at least it works!
    As a said note I did this to make things easier but it has up to now cost me trouble then i had before!

    Haven't heard anything from anybody so probably to daunting a topic ...
    I have now moved on to try Portable Home Directories (PHD) and syncing ... what a disaster!
    First it took  me ages to get this right as the way the home directores are mounted on the clients from the server it's just weired which has to do with how AFP mounts are implemented. Since one AFP mount can't be mounted by several users on the same system they use a workaround of mounting it to a temp directory and then linking it back to where it should be. Of course this causes major problems.
    Okay it kind of worked so let's move on to syncing PHD. First of all on initial creation it only sync a small portion of the directory that should be okay but on some of my accounts it never went passed this stage. It said it's all synced but it only had synced the first 10% or so of the data. I wasn't able to make it sync anymore.
    On other accounts it correctly synced all the data down, or so I thought. Apparently a few sync session back and forth and 50-60% of the data was gone. On further investigation it turned out to be iTunes and iPhoto libraries. Turns out does don't sync probably via Home Sync!!!
    Apple product is not able to probably syncing Apple specific library files!!!!
    So here my warning to everybody: DO NOT USE PHD and HOME SYNC to sync your data as you will lose stuff if you have iTunes and/or iPhoto libraries with Lion OS X Server!!!
    The whole Lion Server experience has been a disaster for me. Now I have a server that does file sharing and time machine backup sharing. I can do the same thing with a standard Mac using those services. What's the point of Lion Sever for Home if nothing works proberly?

  • Blu-ray Disc size not changing.

    I followed adobes workflow for final cut to encore cs4 by using compressor to create and MPEG2 Elementary stream Blu-ray file.
    now when i take the file (20GB) into encore the blu-ray project and my disc info always says 28 GB. I am trying to trim the end of the video so that the file would be smaller on the disc. I can do this fine with SD DVD's but in the blu-ray even if I make the timeline with only 5min of footage it keeps saying 28GB.
    is there something I am doing wrong?
    The file says don't Transcode.
    I am new to Encore and so far my experience hasn't been great with all the times its been crashing during importing assets and the "General Error" popups.
    I am using CS4 with the  latest patch

    I'm not really the most qualified to answer your question. Since the obsolescence of DVD Studio Pro and the ability to program menus and Steve Jobs saying that BD is a "bag of hurt" and Macs not directly supporting BD, there's been no point for me getting involved with BD creation. Media players (like Roku) will win (IMO.)
    Does the disc you made at least play from your Samsung burner?
    AVCHD discs are playable on blu-ray players and your final file size is small enough to fit on a regular DVD-r disc.  Have you tried just making an AVCHD disc on DVD-r?
    You can actually burn blu-ray directly from FCPX OR you can create an AVCHD disc (just select the appropriate Output Device from the Settings tab in the Share dialog.) Simply Share to Blu-ray (you might have to Add Destination from the Share popup menu.) Does burning directly from FCPX make a difference? (I'd hate to have you sacrifice a 25g disc though... that's why I'd suggest trying the AVCHD disc first.)
    [I'm sure other people have had better luck, but I have never had a Sony product that I could recommend to anyone. From old CD players to HD TV, everything Sony I ever bought turned to junk... except maybe one of the walkmans which I only keep around for extended blackouts (like hurricanes). After the TV, I finally learned my lesson. I would suspect the players as faulty before suspecting the disc as a coaster especially if it plays from the Samsung burner.]

  • What settings will keep the brush size "precise" while I am brushing?

    Hi -
    I give up.  With all the options in PSD CS5.5 (Mac 10.7) I can't figure out how to keep seeing the size of my brush while I'm using it.  I can see and adjust the size of the brush (  ]   [  ) but as soon as I hold down the mouse button the circle goes away and I cannot see the edge of my brush.  Consequently my brushing is not precise.
    Can someone please tell me what combination of settings will allow me to see the cursors I want in the size they will be applied and have that size be apparent AS I am applying them?
    TIA some sanity.
    JL

    Jeff Schewe - thanks so much for pulling me back from the edge.  That's the exact answer I needed.
    Everyone else - thanks for responding with such succinct and valuable comments.
    JL

  • "N" Express not resetting, solid amber, not responding via ethernet

    I understand there is alot of problems, etc with setting up the Airport Express Wireless N - but I can't seem to find anything like what I'm seeing happening at the moment. My Airport Express was bought in late 2008 and used on-and-off since then (mainly due to it's temperamental configuration), but I finally got it working on my home wireless (Wireless N with a DLink router) and AirPlay. Worked fine for a week straight, then I moved it to a different hi-fi. AirPort seems happy with green light, but not showing up on the Network. Tried resetting it, (soft/hard and factory) but keeps ending up a solid amber light that on the odd occasion blinks and turns to green for a second. Doesn't show up on Airport Utility via Wifi or ethernet (my iMac even thinks the cable is disconnected).
    So, I'm at the end of teather. Tried resetting it all ways to no avail - any suggestions?
    Thank you for your time

    Unfortunately, the solid amber light with an occasional green blink is almost always an indication that there has been an internal component failure inside the Express and it will need to be replaced.
    It sounds like you have done all the "hard reset" and "factory default resets", so there is really nothing else that you can do unless you are very handy will small tools and electronic repairs.
    It's a wild longshot, but if you carefully saw the AirPort Express case in half along the seams, you can check for something obvious like a broken wire or connector that has come loose. It's a lot of work...and not easy, but might be worth a shot.

  • HT203066 Health App keeps resetting data and dashboard view

    Health up on my iPhone 5s (iOS v8.1.2) keeps resetting the data and dashboard views:
    - when I enter data in the 'Me' tab (Birthdate, Sex, Blood type), the data keeps disappearing when opening the application again
    - adding a dashboard (i.e. 'Weight') the dashboard shows (with no values) and disappears again
    - adding a data point in any dashboard manually does not show.
    Also - I am using MyFitness Pal & Withings Health App - no data is showing.
    I recently re-installed the phone as new (couple of weeks ago), I re-installed the third party apps (and deleted all data when asked)
    Any hints, pointers?
    Thanks in advance

    I'm having the exact same problem. I've even tried:
    1. Turn off all syncing by theirs-party sources.
    2. Delete all third-party apps that might sync data so that the Health App "Sources" list is empty
    3. Reset all settings on the phone.
    4. Reload third-party apps one by one
    5. Selectively turn on syncing by third-party apps and only sync categories I really want to see.
    All to no avail. The Health App crashes constantly and when trying to input data into third-party apps, those apps will crash also.
    I'm currently trying to sync data with:
    UP by Jawbone (UP24)
    Withings HealthMate (Withings WiFi scale)
    MyFitnessPal
    Runtastic
    Nike+

  • WRT54G Keeps Resetting - Help!

    Just bought router a couple of weeks ago, and it keeps resetting.  First I lose internet connectivity, and when I bring up the Linksys Advisor, it goes into the initial setup like I've never done it.  It worked fine up until a few days ago.  Any idea what is going on?

    don't really rely on the easy link advisor sometimes it's not accurate. do you frequently have power outtage in the area?sometimes it affects the settings of the router.also try to configure the router properly if not familiar on how to do that try to get in touch with the phone support

Maybe you are looking for

  • Display no longer wakes from sleep after latest updates

    G4 Quicksilver 933, nVidia Ti, 1.5GB, 20in Cinema Display I applied the latest updates that were pushed out recently (10.5.2 and the "Leopard Graphics Update") and now my Apple display will not properly come up when I wake the box from suspend. That

  • Plz help mw with PPTP with multicast enable

    Hi , ive setup a pptp server on router  , but i want to make sure that multicast udp packets are exchanging between my local lan and users that come by pptp tunel here is my config of router : ========================= cisco900#sh run no ipv6 cef ip

  • Quicksilver trying to power on, but cannot.....

    My Quicksilver G4 has a recently installed 30GB hard drive. It also has new RAM installed (512MB). I tried to power up the computer: The button lights up fo a second or two, I can hear slight whirring from the inside (as if it is trying to power on),

  • Video hacia atraz

    La verdad es que aqui si me comio, necesito hacer ver en el video que una persona que salta y cae se vea que sube, esto lo hacia muy facilmente con el adobe premier 5.1, pero la verdad es que no encuentro como hacerlo con el pro, si alguien puede dec

  • Snap-Crackle-Pop....Pleeeease help!

    Hello I am having trouble recording live audio into Logic. What really has me frustrated is that I had it right last night and today, all bets are off. Here is the deal: I am using two dynamic mics going into an Onyx400f pre/firewire audio interface.