Changing stage size midway through movie

Hi
I have downloaded a Flash movie from a library which I want
to use as part of a larger movie. The downloaded Flash movie is 300
pixels square, while the movie I want to use it in will be 765 x
100 pixels. The downloaded movie has a number of layers and is
around 100 frames in length.
Is there a way of selecting all the elements on the stage and
then a) reducing them all in size, which would be 33 percent of
original size and b) moving them so they are centered on the stage?
Or am I better working on a larger stage (would have to be
2295 x 300 pixels) and then publishing at 33 per cent of actual
size? Does one way have a benefit over the other in terms of
finished file size? If I do it this way, I'm still going to have to
move all the elements across the stage as a group (if this is
possible).
Many thanks for any help.

Found the solution that worked (used ._xscale and ._yscale
instead of ._width and ._height
[code]
function resize_movie_clip(clip_loader_name:MovieClip,
max_width:Number, max_height:Number, center_offset:Number )
if( (clip_loader_name._width > max_width) || (
clip_loader_name._height > max_height ) ) // If either dimension
is too big...
if( clip_loader_name._width > max_width )
_root.picsPage_mc.txt_test = "func if 1";
clip_loader_name._width = max_width;
clip_loader_name._yscale = clip_loader_name._xscale;
if( clip_loader_name._height > max_height )
_root.picsPage_mc.txt_test = "func if 2";
clip_loader_name._height = max_height;
clip_loader_name._xscale = clip_loader_name._yscale;
else { new_width = orig_width; new_height = orig_height; }
[/code]

Similar Messages

  • Changing Stage size at runtime

    I have been poking around and not finding any info on this.
    What I want to do is change the height of the STAGE (not a
    MovieClip) based
    on which view I'm showing the customer at a particular time.
    For instance...
    I may have a thumbnail and a detail view for a product. I
    don't need a lot
    of screen real estate to show the thumbnail view, but I'd
    like to make the
    swf taller if the user switches to the detail view.
    I don't simply want to make the swf taller by default because
    I'll have a
    ton of unused whitespace in thumbnail view, which will look
    stupid.
    I shouldn't have a problem with the JavaScript to change the
    height
    properties in the HTML tags for the Flash object, but not
    really sure if/how
    to do the other part in Flash. Everything I've seen so far
    has been
    read-only properties.
    Thanks,
    Chris.

    did you change stage size?
    how can you do this without javascript?
    "Christopher Hayes" <[email protected]> escreveu
    na mensagem
    news:ee4csi$ent$[email protected]..
    >I have been poking around and not finding any info on
    this.
    >
    > What I want to do is change the height of the STAGE (not
    a MovieClip)
    > based on which view I'm showing the customer at a
    particular time.
    >
    > For instance...
    >
    > I may have a thumbnail and a detail view for a product.
    I don't need a lot
    > of screen real estate to show the thumbnail view, but
    I'd like to make the
    > swf taller if the user switches to the detail view.
    >
    > I don't simply want to make the swf taller by default
    because I'll have a
    > ton of unused whitespace in thumbnail view, which will
    look stupid.
    >
    > I shouldn't have a problem with the JavaScript to change
    the height
    > properties in the HTML tags for the Flash object, but
    not really sure
    > if/how to do the other part in Flash. Everything I've
    seen so far has
    > been read-only properties.
    >
    > Thanks,
    >
    > Chris.
    >
    >
    >

  • Dynamically change stage size on runtime

    Hi everyone,
    I need to change the stage size dynamically.
    When i try to do this............
    size_mc.onRelease = function(){
        trace(Stage.height);
        Stage.height += 100;
        trace(Stage.height);
    it comes always the current stage size.
    Thanks in advance

    You cannot change the width and height properties of the Stage using code--it must be done in the editor.  The width and height values can represent different things depending on the value you set for the scale mode, but you cannot reassign them to different values dynamically.
    The solution just offered to you is under the same rules, the stageWidth and stageHeight values cannot be assigned using code, but that code is AS3 code so it will not fit in your AS2 design in any case.
    The same goes for the followup offered in AS2.  You will notice the stage size is not being changed... it cannot be.  This is just a full screen design solution, but is not a soltuion to changing the stage size.  The stage size can only be changed manually in the authoring environment.  I don't know that the offering is answering what you are really trying to do, but it is not answering the titled task of dynamically changing the stage size

  • Change the size of a .mov

    A try to change the size from 640x480 to 480x320 pix
    how do i do that ?
    Tia

    Do you own QuickTime Pro?
    What is your intended use of this new file?

  • Change stage size in web browser without scaling

    I need to change the stage's size without auto scaling (i.e.
    cropping is ok) so that the user can scroll up/down the stage
    either with the browser's scrollbars or custom scroll bars I
    create. The height of the swf's contents change and so I need to
    change the stage's size or somehow crop it so that it would match
    the browser's size.

    At Adobe's web site at
    http://www.adobe.com/devnet/flash/samples/
    you'll find a link to the zipped sample files. In there, you'll
    find a folder titled "StageSize". Take a look at this example, it
    may explain how to achieve what you want to do.

  • How do i change the size of my movie?

    hi
    i have adobe premiere pro cc and i created a new project, i want to make a movie for my friend.
    but it gives me a thin screen (to edit), as if i was filmilng on an iPhone, and i want it to be wide!
    how do i change it?
    i hope you understood what i meant, anyway here's a photo to clarify:
    sorry for my english and for the silly question.
    thank you!

    thank you!!

  • DVD Player freezes and quits midway through movie

    Hello,
    I tried to find a topic like this already in existence, but I had no luck, so I decided to post one of my own. Today my DVD Player has been acting up. I rented a couple of DVDs from Blockbuster and tried to watch them on my computer. The one I watched yesterday worked fine. Today, however, the player froze up and went to spinning beach ball of death about halfway through the movie. It suggested I check the DVD for scratches, and I did, but it's fine. Just in case, though, I tried to put in another movie. This time, the DVD got through the previews and to the menu before doing the same thing. Can somebody give me an idea as to what is going on and how I can fix it? Is my computer just 'tired' from being on all day?

    Yup same problem here, started after I upgraded to 10.6.4 in late June, when my MacBook Pro was less than 2 months old.
    Apple replaced the optical drive, same problem.
    The fix can be easy such as restarting the DVD player or ejecting the disc and putting it back in, to rebooting the laptop. When it won't read the disc at all I have to do an optical drive reset, which always fixes the problem, for awhile anyway.
    I've struggled with trying to duplicate the problem- I've been in to the genius bar four times now and they say they can't do anything more until I can duplicate it. I've done an archive install, they suggest a clean install which I'm reluctant to do at this point.
    It seems to be related to-
    1) how long the computer has been running since the last reboot- a day of surfing increases chances of error
    2) power- if I go on battery power for awhile I'll almost always get a quits unexpectedly. That seems to be the start of a downward slide, where eventually it won't read a disc at all. It's also telling that an optical drive reset, which resets the power to the optical drive, always fixes the problem.
    Turns out the power cord was slowly going south, which multiplied the number of dvd errors. Apple gave me a new power cord late August and the dvd errors are less frequent, tho still 2-3x/week.
    The quits unexpectedly errors are usually SIGSEGV and SIGBUS.

  • In MAC, I want to change document size from 8.5X11 to 18X24 to create a poster to print through Staples. I created the doc originally in WORD, changed the size in WORD, converted to PDF doc. But PDF doc is still in 8.5X11. Read ADOBE support help info. Te

    In MAC, I want to change document size from 8.5X11 to 18X24 to create a poster to print through Staples. I created the doc originally in WORD, changed the size in WORD, converted to PDF doc. But PDF doc is still in 8.5X11. Read ADOBE support help info. Terls me to change size in application rather than printer. BUT ACROBAT Pro does not give me a page set up option in FILE. I can only find one in the printer dialog box. Help!

    from the FAQs on Staples website:
    I have a file that I know is a PDF, but the website claims it is not in a PDF format. What should I do?
    Check to see that the file has the .PDF extension. Also, check that the filename does not have any special characters such as an ampersand (“&”).
    Regarding your measurements set to centimeters rather than inches; is it just in MS Word?
    Or does it occur in all other applications.
    Check your Work preferences first:
    If it is happening in all your applications, check your Mac OS System Preferences.

  • In putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I wnt to red

    picture size...in putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I want to reduce the image to fit the size of the box.

    If you right click on the image on the page in the context menu select photo box alignment and then select one of scale to fit {centered, Left-aligned, Right-aligned}
    That should do what you are loking for.

  • Was just watching an HD movie and tried to resize the window midway through. Now I get the error "This movie cannot be played in HD on this display" Yes it can I just was. How do I fix this?

    Was just watching an HD movie and tried to resize the window midway through. Now I get the error "This movie cannot be played in HD on this display" Yes it can I just was. How do I fix this?

    I have the same problem on an original iPad.

  • How to change the stage size in premiere pro cs3?

    Can anyone tell me, how to change the stage size of video in premiere pro cs3?
    Actually my video is cutting(dimensional preview) while rendering...it is not showing full view...so I want full preview of that video after rendering.
    Regards,
    Abhishek Thakur

    Hi,
    First of all thanks for your quick reply...I tried what you said, but the size is not changing because the area is inactive...
    Please see the attached file for more clarification.
    Regards,
    Abhishek Thakur

  • Lock stage size to movie's stage - What does this do?

    I thought it would make the projector window not resizable,
    but it doesn't.
    What else could this function possibly be for? (I did figure
    out how to
    make the projector non-resizable, via (the stage).resizable =
    FALSE. But
    this seems to work completely independantly from the "Lock
    stage size"
    setting in Publish settings.

    Let me try to explain in the easiest way possible.
    1. Reads the lines of the given file attached to the file pointer fp.
    2. If the first three characters of the read line is '***' and the date mainted in the
    block is not empty, the block date value is set to first 100 characters present in
    the read file line
    The above set of code would be repeated for the first 20 lines present in the file.
    3. If the file date in the block is null, then it is filled with some temp value.
    4. Store current year into variable v_temp_line
    5. If the value present in the block date is current year then do the following:
    a) obtain 16 characters from v_temp_line string starting from the position where
    current year starts. Ex. Let us take this string -
    ABCDEFG2006-07-07142325ABCDFS
    Here current year 2006 starts at 8. so this code will result in
    2006-07-07142325
    b) Then it is reformatting it to the format 'YYYY-MM-DD HH24:MI'
    c) Converting the date into char with the format 'DD Mon YYYY HH24:MI'
    d) Stores the value
    6. Closes the file
    7. Calls the subroutine get_file_size if the obtained date is greater than the
    calculated date.
    On the whole what this code does is reading 20 lines of a file, obtains the date from the read line and if the read date is of current year, stores the value in block variables.
    I hope this explanation would be useful to you.

  • Edit stage size without effecting elements position.

    Question.  Can you change the size of your stage, say smaller than what you started with, so that when you move your elements to the new position of the stage the motion paths do get messed up because you moved everything?
    I have a "full" page layout that I would like to cut in half but the stage jumps to a "middle" point and when I try to move all my elements, some with motion paths, it increases the distance of the path and destroys it.  I don't see any way of locking the paths to move an element and I have 23 elements with paths to move so moving each would suck.
    I know Edge is basically in Beta 24, 7 because it's still not flushed out anywhere near where it could be.  If they just allowed you to adjust the stage size by locking a region kinda like page size in Photoshop or adjusting the page like in Illustrator with cropping.
    Any suggestions or help would be greatly appreciated.
    Thanks,
    Ryan.

    Hi Colin,
    Thanks for the fast reply.
    I guess I checked fullscreen when creating the project, however, when setting fullScreen to false (and uncommenting the still commented node?!) in de descriptor file I get the following compile error:
    Error occurred while packaging the application:
    /private/var/folders/gv/gv-j1H1UFJ4olvFpGwVTVk+++TI/-Tmp-/AOT1309729499262/Box2DiPad-app.x ml(109): error 103: application.initialWindow.fullScreen is an unexpected element/attribute
    User error somewhat or bug?
    ... Rats! In case anyone messes up like me: The fullscreen node gets rewritten all the way at the bottom of the initialWindow section. So it needs to be changed there....
    Is there anyone who can shed some light on AIR 2.7 update progress?
    Thanks,
    Manno

  • Premiere Pro CC 2014 Stalls Midway Through Render

    I've recently added the CC 2014 suite to my computer, and for the most part it's good and solid.  However, whenever I try to output a file from Premiere Pro CC 2014, either as a direct export or via Media Encoder, the program simply stops rendering midway through the process.  It doesn't actually freeze up or fail to respond, as I can easily stop the render altogether without having to resort to task manager.  It simply stops as any random point and then the estimated render time begins to climb, and it doesn't stop climbing.  It doesn't matter what settings I use, custom or preset, MOV, MP4, AVI...h.264, mpeg...codec or container does not matter.  The results are the same.  I even tried changing the Preview File Format, nothing different there either.  Tried a complete uninstall/re-install (made sure to use the cleaner tool).  No luck.
    As someone who relies pretty heavily on NLE's to cover his freelance work, this is pretty disconcerting.  For now, my only fix was to step back to the previous version of CC, but I don't view that as a long term solution.  Anyone have any ideas?
    For clarity, here are my system specs:
    Motherboard: Asus Z97-Pro
    CPU:  Intel i7 4790k (with Corsair H110 Liquid Cooler)
    RAM: G.Skill Ares series 1866 - 32GB
    GPU: EVGA GTX 780 - 3GB
    Primary Drive: Intel 335 Series SSD - 240GB

    You say it stops at random points every time. Are they really random, or is it at the same general area on your timeline? There may be a piece of media there that is preventing it from finishing. This has happened to us several times throughout our editing process for our documentary and it is almost always a image file that causes this issue. Generally replacing it or converting it to another format will help in our case.

  • Set stage size?

    Is there a way to have the stage size change during this one
    section that is vertically longer? I'd prefer not to have the html
    scrollbar through the whole site, but I need overflow to show for
    this one page of the Flash website (website is one long timeline
    with labeled frames for each of the pages)
    Thanks to all the smarties!

    in a manner of speaking you are correct jp - you *can* use
    the onResize event of the Stage class to adjust the size of the
    stage to the browser window or table, you *can* also 'scale' the
    content of the stage through publishing and code, on-the-fly
    durring runtime in a similar manner. however that is not what the
    halo's problem relates to, he wants to change the stage only during
    one portion of the site navigation, so unless the entire site was
    built dynamically, and any other page content was present, it would
    be problematic to scale the contents 'all' to the height of the MC
    in question. a better solution for the issue as he describes it is
    to use a scrollpane window, as i'd mentioned.

Maybe you are looking for

  • , I must start the TV twice before it will function. The first time, I get only the audio.

    My laptop computer has TV. Since I bought it new, this is what I have had to put up with:  I press the Media Center icon for TV on my desk top, then select live TV. the Audio only comes up with no picture. I then must go back to the desk top and do i

  • How can I open this file?

    HELP ME!!!! I videoed smth very important!!! AND I CAN'T OPEN IT WITH QUICK TIME PLAYER!!!!! The required Codecs are not available!!! What should I do? The videos are MPEG format! PLEASE HELP!!!!!!! Thank you

  • Why the request.getInputStream() return nothing?

    I use this code to display the request content : <%    java.util.Enumeration headerNames = request.getHeaderNames();    while(headerNames.hasMoreElements()) {      out.println(request.getHeader((String)headerNames.nextElement()) + "<br/>");    int co

  • Migrating Logic Pro to a New Mac

    Hi all - I have an older iMac with Logic Studio Pro on it and all backed up to Time Machine. Today I got a MacBook Pro and the first thing I did was restore the Time Machine backup to it. Everything worked fine - well, almost. I am missing some ESX24

  • P45 Platinum IEEE1394 drivers for Win7 x64

    I just reinstalled my PC with P45 Platinum mainboard and everything installs fine with the drivers from the MSI website, however there is no driver for IEEE1394 controller there. I installed Win7 x64 now, before I installed WinXP and at the time of t