How to proper resize images and videos when running without loss of quality?

Hi guys. I need a little help here.

I built a flash site, in which I want to resize a movie to the scene. I do it by keeping the proportion, so I just resize the width and then I resize the consequence of the height to the width of new but keeping the proportion.

The problem is that my film looks like he "pixeled".

I found a site on which the stage is resized dynamically with the movie and the background images without any of their loss of quality. So far, I knew that resize pictures or videos in flash for the creation or the runtime environment produces results pixeled.

This is the site: http://kampanjeweb.apt.no/jotun/romforrom/. Can someone tell me how they do without quality loss? Just make the browser in windowed mode and resize the margins to see the effect.

Thank you.

Hello, Venian.

On the video, you can try setting the smoothing of the flash.media.Video on TRUE property. This should keep a quality, but you can do nothing if the video has a bad quality. You need a great video.

On the images, you you need to redraw the image whenever you resize. To achieve this, use a combination of Bitmap, BitmapData and Matrix classes. No doubt, just call again. Here's a simple example:

var scale:Number = .5;
var highQualitySourceImage:Bitmap = ...your image...;
var scaleMatrix:Matrix = new Matrix();
     scaleMatrix.scale(scale, scale);

var bitmapData:BitmapData = new BitmapData( scale*highQualitySourceImage.width, scale*highQualitySourceImage.height);
     bitmapData.draw(highQualitySourceImage, scaleMatrix);

var finalBitmap:Bitmap = new Bitmap(bitmapData);

addChild( finalBitmap );

See you soon,.

CaioToOn!

Tags: Adobe Animate

Similar Questions

  • How to recover data images and videos

    How to recover data images and videos of empty Recycle Bin.

    Hello

    Have you looked in the trash?

    Recover files from the Recycle Bin - Vista
    http://Windows.Microsoft.com/en-us/Windows-Vista/recover-files-from-the-Recycle-Bin

    Recover files from the Recycle Bin - Windows 7
    http://Windows.Microsoft.com/en-us/Windows7/recover-files-from-the-Recycle-Bin

    How to restore previous Versions of a file and the folder of Vista (Ultimate, Business and Enterprise)
    http://www.Vistax64.com/tutorials/122127-previous-versions-shadow-copy.html

    How to restore files and folders in Windows 7 with previous Versions
    http://www.SevenForums.com/tutorials/85679-previous-versions-restore-files-folders.html

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

    This could help you recover a file, or a previous version (all versions of Vista and Windows 7).
    http://www.ShadowExplorer.com/

    ShadowExplorer - recover lost files and folders (Vista and Windows 7)
    http://www.SevenForums.com/tutorials/132087-ShadowExplorer-recover-lost-files-folders.html

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

    Recuva - free - recovers files deleted from your Windows computer, Recycle Bin,
    map of the camera digital or MP3 player. And it's free!
    http://www.Piriform.com/Recuva

    Recuva - Forums - help here
    http://Forum.Piriform.com/

    I hope this helps.

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

  • I could place an image in a document BCTI without loss of quality

    Could I place an image inside a BCTI document without loss of quality?

    Review:

    The only thing in this document is the proxy, not the entire chart.

    Bob

  • How to remove individual photos and videos of messages

    The IOS 9 I can't understand how to remove images and videos, that I don't want.  I want to save the messages, simply get rid of the images.

    The 8 IOS they could be modified individually. I don't see a way to do it in 9.

    If slightly, you press and hold a piece of finger on the image there is a menu that appears. There copy talk Save more - more-tap and it brings up a menu where you can select the image or video and remove. It is of course, iMessage - also, if there is a message embedded with the image-, it becomes a case all or nothing.

    Other chat like WhatsApp or telegram applications work the same way

    (1093)

  • Load external images and video on board

    Hello.

    I'm looking into the edge instead of flash.

    My question is how to load you external images and videos from an external server?

    To clarify, I need to insert a link where the images can be recharged on the stage, while they don t meet the final weight.

    Thanks in advance.

    Best,

    Stig.

    I have provided the above solution works if you have the images in your publication and if you want to form load images from another server rather than the relative location of your html file.

    Now if you want to load images dynamically in a rectagle container you will have to code.

    Here is an example for this

    Create a "rectangle" name "Rectagle.

    Add the code snippet in the composition of the ready or other actions user based on your requirement

    "" var myImagetag = 'http://wwwimages.adobe.com/include/style/default/SiteHeader/logo-2x.png ">"

    SYM.$("rectangle"). Append (myImagetag);

  • How to fix stuck battery and automatic when restart updated ios 9.3.3

    How to fix stuck battery and automatic when restart updated ios 9.3.3

    Lambung writes:

    How to fix stuck battery and automatic when restart updated ios 9.3.3

    What do you mean battery stuck?

    the basic troubleshooting steps are: reboot, reset, restore from a backup or restore as a new.

  • Satellite A80: How to restore the audio and video codecs?

    How to restore the audio and video codecs that are installed by default on my Satellite A80 with XP Home edition?
    I removed the safe mode, due to a problem with the Pinnacle Codec installed by Pinnacle Studio 10.
    Now, I need to put the video standard in audio codecs.
    I already downloaded the Microsoft Mediaplayer codec package and video sound new fr in Media Player.
    Unfortunately I have always its program to diagnose Toshiba during the test of its Midi and Wave.
    System Restore came with the message that the restoration was not possible because no changes had been made.

    Post edited by: roel

    Hello

    Try to use the tool "system restore."
    This application restores the operating system to the beginning.
    Maybe it will work.

  • How can I download photos and videos to an SDHC card in my library?

    How can I download photos and videos to an SDHC card in my library?

    How can I download photos and videos to an SDHC card in my library?

    =====================================
    If your player is compatible with SDHC technology, the
    following steps may be worth a try:

    Insert your memory card into your Media Player...

    Reach... Start / computer...

    What is the memory card show as a drive letter? (if your Media Player)
    has several slots, there will be several "hard drives" listed... the
    SD card will be one of them)

    If_Yes_right click on the drive letter correct and in the menu... Choose...
    Open... now you should see the directory of the memory card or to explore.

    From there you should be able to drag and drop or copy and paste the
    files in a folder on your hard drive.

  • How can I download photos and videos from my camera digital/dvr (panasonic sdr s50) to my computer that has windows MediaPlayer, WITHOUT erasing the cameras SD memory card?

    How can I download photos and videos from my camera digital/dvr (panasonic sdr s50) to my computer that has windows MediaPlayer, WITHOUT erasing the cameras SD memory card? (I am running windows xp professional).

    PS - I'm a senior and not warned, any computer do pls 'non technical' answers as possible.

    Thanks in advance for the answers to my question!

    Hello Fred!

    • First create a new folder by right click on an open space on your desktop
    • hover the mouse over the new, & click on new folder
    • right-click on the new folder and choose Rename
    • write your selected folder name
    1. Connect your data cable USB & POWER to the camera or insert the memory card
    2. Open the files and Select the files you want to save
    3. Select files butten now the mouse left click and move the mouse over the files
    4. then right click on the selected files and click copy
    5. go to the folder you named and open
    6. right-click and select Paste & that's it!

    I hope this works!
    Do not hesitate to ask, I don't mind!

  • How to duplicate an image and then put side by side

    How to duplicate an image and then put side by side

    This link might show the CS4 menu:

    Dual View Photo retouching in Photoshop tutorial

  • Images and video can Adobe Acrobat store?

    I'm trying to create a vbook, but wanted to know if adobe acrobat is the tool to use to create a vbook which also contains images and video without reference to external links.

    Not sure if my question makes sense.

    Yes, you can include multimedia (video, sound and SWF content) in a PDF file using Acrobat Pro, Indesign CS6, etc..

    Keep in mind that it is fully supported in Adobe Reader desktop versions.

  • How to decrease the size of the PDF file without reducing the quality and links?

    How to decrease the size of the PDF file without reducing the quality and links?

    Michael and Phil,

    Your ability to reduce the file without diminishing its quality depends on the quality required for their intended use. If these are intended for viewing on screen, then high resolution pictures can be re sampled or changing the resolution without real change is the quality, as long as the user can say. Number of files use subsets of fonts or the incorporations of fonts. Sometimes you can remove subsets of fonts or embedding the fonts if the font will be on the user's system. Subsets of fonts can save space, but if the pdf is a result of several different sources, desincorporation policies and incorporating a copy of the policy can save space.

    Honestly, the size of 2 MB file is not the problem it once was. However, maybe the pdf not by e-mail at all. There are players on a server as well as a link sent to each user.

  • How can I repair my Windows Vista TOSHIBA laptop without lossing all my files?

    original title: How can I repair my Windows Vista TOSHIBA laptop without lossing all my files?

    I would like to repair my Windows Vista Home Premium 32-bit TOSHIBA laptop, because, as I said in my other earlieron of the question in the day ("How do I SAVE my user accounts on an external hard drive" ") does not my Systerm programs. More of this issue, I would like to know how to fix my laptop. Which breaks it was that I installed the Pack 2 of Vista Sevice! Dose anyone have any idea on how to fix it?

    Will324

    I would like to repair my Windows Vista Home Premium 32-bit TOSHIBA laptop, because, as I said in my other earlieron of the question in the day ("How do I SAVE my user accounts on an external hard drive" ") does not my Systerm programs. More of this issue, I would like to know how to fix my laptop. Which breaks it was that I installed the Pack 2 of Vista Sevice! Dose anyone have any idea on how to fix it?

    Will324

    Hey Will324

    link below has how to do a vista repair install

    It is made of wihin a vista operating system

    you are not for this toshiba recovery disk

    you will need to borrow a dvd microsoft

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    or backup your data and reinstall

    Contact the computer manufacturer and ask them to send vista recovery discs

    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp

    they do it for a nominal cost of $

    also ask them if you have a recovery partition on your hard drive to get back to the way you bought

    you would normally press F10 or F11 or Alt + F10, 0 at startup to start the recovery process according to the manufacturer

    Ask them of the exact key sequence

    Save all data, because it will be lost, do the above

    Walter, the time zone traveller

  • How to print several images and select like in windows xp when you right click and select print

    Hi, I have Windows 7 and I recently wanted to print something I that I was accustomed to Windows XP, when you right click on a photo and you can check which photos you want to print from a folder and choose the format of pocket or something I really need someone to help me with this or make an add-on.

    You can print several small pictures on a single page.

    1. Press on and hold down the CTRL key, and then click the pictures you want to print.

    2. Right-click one of the selected photos and then click on print.

    3. In the print pictures dialog box, select the size of the image and the number of copies.

      You will see a preview of your image in the print pictures dialog box. According to the number of photos you print, you can use more than one sheet of paper.

    4. When you are finished, click on print.

      http://Windows.Microsoft.com/en-us/Windows7/print-a-picture

  • Adding several images and videos to DVD Maker

    When you create a DVD Maker project, I am able to add several images, and then I added successfully a video at the end of the photos. In order to catch up with my story, I would now like to add another group of images after the video. In other words, my goal is to have three scenes, IE 1 scene will be the first batch of images. Scene2 will be video and scene 3 to be the second batch of photos
    However, I find that whenever I try to add the second batch of photos they're all in the first group of photos automatically. I find myself with a larger size Scene1 and the Scene2 video.
    How can we separate the two groups of photos, when I open the DVD maker I see only a folder with pictures and the folder with the video. Can I change the order of these two, but I can't create the third folder of photos.
    All my photos are in .jpg format and the video is in .wmv format
    Thanks for any help and advice

    When you create a DVD Maker project, I am able to add several images, and then I added successfully a video at the end of the photos. In order to catch up with my story, I would now like to add another group of images after the video. In other words, my goal is to have three scenes, IE 1 scene will be the first batch of images. Scene2 will be video and scene 3 to be the second batch of photos
    However, I find that whenever I try to add the second batch of photos they're all in the first group of photos automatically. I find myself with a larger size Scene1 and the Scene2 video.
    How can we separate the two groups of photos, when I open the DVD maker I see only a folder with pictures and the folder with the video. Can I change the order of these two, but I can't create the third folder of photos.
    All my photos are in .jpg format and the video is in .wmv format
    Thanks for any help and advice

    =====================================
    If you need three specific scenes on your DVD... your best bet
    would be to create three projects Live Movie Maker and
    Save each in the. WMV Movie format. Then, when you
    import the three. WMV video clips DVD Maker intp... each
    one is a scene (chapter).

Maybe you are looking for

  • HD space eaten by Movies

    My mid-2012 MBA shows Go 74,11 used by "movies", but the two movies in iTunes show as being only 10.7 Gb. I only 20 or so f. available, so what is eating my HD space?

  • Satellite A200-10W: can I collect if I delete the hidden partition

    I think Linux installation on my toshiba laptop, but before I do that I have a few questions. I noticed I can do with my recovery dvd recovery, but I also have a hidden partition on the HARD drive.If I install linux (and modify the original scores) c

  • Can't see new messages on Skype?

    Since last week, I had this problem where I am unable to receive or send messages via my Skype account. It is a problem that is really annoys me and I hope to find a solution to this very quickly. I tried to open Skype my cell phone and noticed that

  • Exchange SIM of iPhone 4S at 6s

    Have an iPhone 4S and 6s iPhone. No longer need both, if I can swap sim from 4 to 6 seconds card?

  • Messages on another phone

    Riddle me this! My wife and I share the same Apple sign in. When we are home we have no cell service (ATT). When turn us our phones on airplane Mode and allow our phones call via WiFi, everything works great. But when I send a MMS text my phone xxx-x