Resize the stage but keep content in Center?

I'm prototyping an application for iPhone with a little ActionScript 2.0 in Flash CS5. I have developed the application completely and now I want to put in a frame of iphone for demonstration. Is it possible to create a new document with an iphone in and place the main file inside, like a clip? This ruin this .root target actions and frame labels on the main timeline? Especially that there is a lot of movie nested clips .root using labels of image target in the main timeline.

My other idea is to increase the size of the stage of the document and place the image of the iphone directly in there, however the existing components are carefully placed and spaced so is it possible to enlarge the document, so that the current pieces in the Center? Any ideas would be VERY appreciated.

You can load your current swf file in another swf and then resize it as you see fit in your new swf.

If you used _root in your current swf file, you can use the following in your current swf file to prevent _root problems when it is loaded into another swf:

This ._lockroot = true;

Tags: Adobe Animate

Similar Questions

  • Is it possible to resize the document, but keep the content proportions?

    With scripts, there are currentDocument.resizeImage () and currentDocument.resizeCanvas (). ResizeImage() method stretches the image. The resizeCanvas() will resize the canvas but not change the size of the image.

    I'm looking to resize the canvas to a new format, but keep the aspect ratio of the content. Is there a way to do this?

    OK, I got it working!

    adjustedWidth = width;

    adjustedHeight = height;

    If (imageAspectRatio > targetAspectRatio) {}

    adjustedHeight = width / imageAspectRatio;

    }

    else {}

    adjustedWidth = height * imageAspectRatio;

    }

    currentDocument.resizeImage (adjustedWidth, adjustedHeight, null, resampleMethod);

    currentDocument.resizeCanvas (width, height, AnchorPosition.MIDDLECENTER);

  • What is the best way to resize an image, but keep the height and width of the same original size or format?

    What is the best way to resize an image, but keep the height and width of the same original size or format?

    I tried to use the function of the size of the Image, but when I changed the size of the image, the width has not changed with it.

    Thanks for the tips!

    Hi Landon.Luu,

    You want to keep the relationship between the width and height to be the same?

    Click the constraint between width and height to keep the ratio intact.

    Kind regards

    Claes

  • I am connected to the internet, but my network sharing Center proclaims that I'm not.

    The paradox connected but not connected

    I am connected to the internet, but my network sharing Center proclaims that I'm not. Because some of my programs believe later, they refuse to patch. Also, I used the antivirals ware, scans, System Configuration and deleted and later restored the wireless network.

    Any help would be greatly appreciated. Thanks in advance.

    Hello

    1 reboot as often, this allows the refresh icon and also stops a few things of
    interfere with the slot troubleshooting process.

    Do a 1 Restore Point then you can go back to where you were if necessary.

    How to create a Vista System Restore Point
    http://www.Vistax64.com/tutorials/76332-system-restore-point-create.html

    ------------------------------------------------------

    Control Panel - network - write down of the brand and the model of the Wifi - double click top - tab of the driver - write
    version - click the driver update (cannot do something that MS is far behind the pilots of certification). Do
    It will be the same for network (NIC) card - then right click on the devices and UNINSTALL - Reboot -
    update the driver stacks.

    Now go look at the site of the manufacturer of the system for the updated drivers.

    After watching the system manufacturer, you can check the manufacturer of the device an even newer version. (The
    manufacturer of system become your backup policies).

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    Download - SAVE - go where you put it - right click – RUN AS ADMIN.

    You can download several at once however restart after the installation of each of them.

    Repeat for network (NIC) card and is a good time to get the other updated drivers as Vista like
    updated drivers.

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    -----------------------------

    Allow you to reset your TCP/IP stack just to make sure:

    Start - type in search - ORDER - search box at the top of list and RIGHT CLICK – RUN AS ADMIN

    Enter these one at a time (or copy and paste) and press ENTER after each

    ipconfig/flushdns

    nbtstat-r

    nbtstat - RR

    netsh int Reinitialis

    netsh int ip reset

    netsh winsock reset

    Reset

    ----------------------------------

    Make sure you know the details of connection to your wireless router - SSID and password.

    You lose connection when you do and have to redo your logon.

    Control Panel - Network & Sharing Center - right, click Customize - page set of network locations.
    lower left click on merge or delete network locations - REMOVE all instances of your network (and the
    others you don't use anymore) - REBOOT.

    ---------------------------------
    Other tips:

    If the use of a wired cable - Control Panel - device - network adapter - (NIC) Manager - double
    Click Advanced settings and set the "speed & Duplex" 10 Mbps full duplex and then try 1/2
    double-sided. Be sure to APPLY / OK. Maybe some help here: (don't forget the answer is)
    complicated because there's probably more than one single thing, the origin of the problem)

    Others.

    http://www.pctipstricks.com/tips-for-troubleshooting-network-cable-unplugged-error-for-wired-Microsoft-platform-PCs/

    http://www.how-to-hide-IP.info/2009/05/16/CYBERGHOST-VPN-fixing-network-cable-unplugged-error/

    http://www.annoyances.org/exec/Forum/WinXP/1109372091

    There are many causes, one of which is the small monitor pays attention to the evil network device.
    You can try to disable any other network such as WiFi device and reboot to see if that has an effect.

    Still a problem of equipment such as a loose network card that is not properly attached to the computer can
    cause this.

    http://compnetworking.about.com/od/WindowsNetworking/f/cableunplugged.htm

    I hope this helps and happy holidays!

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to edit an existing esign form that is inside a widget?  I need to change the form, but keep the widget.

    How to edit an existing esign form that is inside a widget?  I need to change the form, but keep the widget.

    Hello Damien,.

    If you talk about form fields in the Widget, then Yes, you can change them by going to the tab manage and click Edit opposite the name of the Widget under the Widgets section.

    Kind regards

    -Usman

  • Move the layer but keep anchor still

    Hi, I know that I can use the Pan behind tool to move a layer anchor point. Now for adjustment purposes that I need to move the layer, but keep the anchor point where it is... otherwise it changes the path of the animation. Is this possible?

    Kind regards

    Frank

    I guess you have your animation path and you want to change the position of the layer to this track. If you simply position keyframes adjust anchor point values in the timeline panel. You can click and drag on the values, so that you can see the movement of the layer from the path.

    If you have animated a layer by setting keyframes in the anchor point so that you can change the relative position of the layer by rubbing through the position values in the timeline panel.

    If you have animated the two position and anchor, then you can open the layer in the layer panel, reveal the path of the anchor, select all the keyframes of an anchor in the scenario, click and drag on any keyframes the anchor to drag all this without creating a new keyframe. You can see and move keyframes from the plug-in position which has properties of position in the layer window and do the same thing.

    You can use the same select all the keyframes in the technical timeline to recover and move a path any position in the composition window.

    If this doesn't give you a solution I don't understand your problem.

  • Resize the stage to the size of the browser

    Hi all

    I wonder how do I prepare my ground to resize the size of the user's browser and keep the Center main movieclip.  But I don't want the scene to scale, I want the physical limits to grow without scaling the content.

    The reason for this: I have something that we will call it 'snow' falling in the background.  When the browser is also, I don't want the scene scaling and the snowflakes GET bigger or smaller, but have the stage show more space for the flakes of snow fall.  I already have the snowflakes falling outside the current boundaries of the scene, I wonder how the stage limits dynamically extend the size of browsers.

    Thanks a ton!

    In the publishing settings, make sure that HTML is selected on the Formats tab, and then in HTML, tab select 'percent' for "No. Scale" drop-down box for the scale and Dimension . Use Stage.stageWidth and Stage.stageHeight to retrieve the dimensions of the stage while SWF is loaded into the browser to position elements on stage. But note that coordinate (0,0) will always be in the same position according to your dimensions of original scene independently with or without browser.

  • Resize the photo but not the vector mask?

    If I use a vector for a picture of drawing as a mask, can I then change the picture and hide individually?

    There is a point in the center of the photo which allows me to move the mask, but how can I resize the photo without resizing the mask and resize the mask without resizing the photo?

    Thank you

    Hold down the Alt/Option + click this point blue Center to move/adjust the mask without worrying if the thumbnail of the layer is active.

    Regarding resizing regardless of them, I'm not aware of all the shortcuts except for:

    Decouple (click/enable/disable the link between the thumbnail of the layer and the mask thumbnail)

    Select the thumbnail of the mask.

    Change the values (W/H) in the PI. (You can also do the same thing here for the active layer thumbnail)

    Here is a tip that I use a lot of the time:

    Use AutoShapes like masks. It is those who have points in the canvas "controller" that allow to resize, change the angles etc.

    Example:

    A. open/import an image file.

    B. Edit > cut the image/bitmap to the Clipboard.

    C. adding a Rectangle object rounded on the Web and have it active before moving on to the next step.

    D. Edit > paste inside the contents of the Clipboard (the image).

    The result is your image with the a vector mask was consistent with the auto shape (in this case, the rounded Rectangle).

    That's the problem - select the vector mask thumbnail and you will see again "anchor controllers" there: resize and corner radius.

    h

  • Resize the stage problems - please help!

    Hey guys,.

    I hope someone can help me here. I need to address this issue very soon, and I'm completely stuck!

    So basically. I've created an animation in a few months (in cs4 at the time I think) - standard 550 x 400 px. All done, everybody was happy. Now, I was asked if I can change the dinensions of animation at 1366 x 768 px. I am now under CC so... I watched, done what I told said...

    go to the key in the properties

    type in new dimensions, and then click content scale

    Has done all that, but every time I try to do that, he moves slights of the elements. For example all dropped randomly 100 px.

    So I tried the setting scale to 712 x 400 (in the hope that I could evolve in the future) but still got the same problem

    I got my info from this: http://tv.adobe.com/watch/cs-55-web-premium-feature-tour-/flash-professional-cs55-scaling-/ assets
    But of course, it is 5.5. But I noticed that it changes the settings in the preferences. Which I apparently do not have cc.

    Can anyone help? I'm really stuck on this, and I need to sort

    Any help would be wonderful!

    Thank you very much

    Jen

    Yes easiest way to resize an entire project is to move the selection all the frames, right-click on it, select images cut, and then creating a new symbol, and once inside paste content, you cut the symbol by right-clicking flowing first keyframe and select Paste images. Then when you come back to the stadium, you can drag the new symbol of your timeline and resize to your heart's content.

  • create a button to resize the stage?

    Hi all

    So I put buttons menu (created on the edge) for a Web site.  But each page, obviously, has a different amount of content, so I'm curious to know if it is possible to use the buttons of menu also adjust the height of the stage (in order to accommodate the largest graphics and eliminate the need for a scrolling region in the page).  It would be something in the sense of "sym.getComposition"? () .getStage () .resizeY (numberofpixels)  I tried

    "sym. $(internship).css({"height":"900px"});)" but that has not worked. Any thoughts?

    Thank you

    I'm not sure it would work, but in the meantime, you must wear the quotes around stage.

    "sym.$("Stage").css ({"height":"900px"});}).

  • Remove photos from the iphone, but keep on Macbook

    How to delete photos from my iphone 5s 9,32 to save space (GB), but keep them on my macbook?  Only the choice of icloud was "remove photos from all devices.

    This is how works iCloud photo library. It synchronizes all actions of all devices. To save space on your iPhone, select this option to keep a local library optimized photos.

    Otherwise, you can disable iCPL on your iPhone and go back to my photo stream to synchronize new images on your computer. Make sure that all your photos have been imported b before turning it off.

  • How do I delete photos on the iphone but keep them on ipad?

    How can I delete pictures on my iphone 6 but keep them on my ipad?

    If they are connected to the same ICloud, then everything you delete, I think I will delete in the next. But you can remove it and send it to your ICloud.

  • Windows mail - how to remove the attachments, but keep the body of the text

    I use Windows Mail. I get e-mails with attachments that I want to throw, but keep the body of the email. Tried several options, but nothing seems to work. I have seen a few posts here and advise to send the email to yourself and all that. Is there a better way to do it?

    I've seen some ads for exractor tools... Are they any good at all? And all those cheap that anyone knows? Thank you!

    My OEX program (www.oehelp.com/OEX/) has a function that will remove attachments (and save them if you want) messages with a click of a single button that is much faster than to try to do it manually.  It has a number of other features as well.  It also works well on XP in Vista (32 bit only) for Windows Mail and OE.
     
    Steve
     
    "TheGodfather3" wrote in message News: cfe1d43c-da68-4f0e-b25a-61b2e57d3a89...

    I use Windows Mail. I get e-mails with attachments that I want to throw, but keep the body of the email. Tried several options, but nothing seems to work. I have seen a few posts here and advise to send the email to yourself and all that. Is there a better way to do it?

    I've seen some ads for exractor tools... Are they any good at all? And all those cheap that anyone knows? Thank you!

  • Substitute CellRenderer of the list but keep the default background color

    I set up a custom CellRenderer class to apply a different font when rendering a list. But the default background color disappeared as well. It was a pure white when the custom CellRenderer class was created.

    How could I apply the custom font for a list, but keeping the default background of display (dark and light gray on the lines of even / odd)?

    Thank you very much for your help!

    Implemented as a cellrenderer alternation. Then simply change the font.

  • How can we add a text field on the stage, but without the text label?

    How can we add a text field on stage, but without the left text label by default?  I want just the field.

    I thought about it.  Go to the page layout palette and change the options of caption for the text box.

Maybe you are looking for