Video Center in full screen with noScale

I try to focus my FLVPlayback video programmatically in AS3, but I'm having a difficult time with her.

myPlayer.x = (Capabilities.screenResolutionX/2)-(myPlayer.width/2);

myPlayer.y = (Capabilities.screenResolutionY/2)-(myPlayer.height/2);

This code does not work, anyone got any ideas how to make this work?

M

almost certainly an alignment problem.

stage.align="TL";// for the reg point remains top-left after resizing

myPlayer.x = ((stage.stageWidth-myPlayer.width)/2);//similar to what you wrote, but using stageWidth, this will also work when the flash is not full screen

myPlayer.y = ((stage.stageHeight-myPlayer.height)/2);

Tags: Adobe Animate

Similar Questions

  • Flash, mode full screen with flv

    Hello

    I have a problem that I need to play a site in flash mode full-screen. Which works fine but I have a link where we have a FLV video component. Whenever I look for the link view the FLV video, the video goes full screen and fills the entire screen. I want the FLV file so that it remains at the original video size while I am in full screen. Any suggestions please. Also I have another problem, if I leave the video playback in full screen, and then when I press ESC to get out of the video it to exit full screen, how can I get out the video but not exit full-screen mode.

    BTW, I searched the internet and could not find any example of flash where we flv videos in the website of mode full-screen.

    OK, your starting point is to change the line in the HTML code that says this:

    "scale", "showall"

    to do this:

    "scale", "noscale"

    Then when the movie goes full-screen content retains its original size. In your function full-screen, you would say to full screen, but also have a listener for the event (read about the event here: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Stage.html#event:f ullScreen ). Once the screen mode full screen, you then get the stage.stageWidth, stage.stageHeight and new provision your items in the positions and sizes you want.

  • Screen MBP sleeps during video playback in full screen

    I have a MBP of 2007 running El Capitan (10.11.3) connected to an external monitor using the clamshell. While watching videos fullscreen in Safari (flash or HTML5), the external monitor standby according to the energy saving settings. In Mavericks it would behave normally (i.e. the screen would not go to sleep while watching videos, but would normally sleep when idle).

    Setting the parameters of the saver of energy will never leave the screen saver is not an option, because I don't want to stop the screen manually every time (I use it as a TV - pc).

    I had the same problem when I updated to 10.11.3 (actually, I don't mine clamshell when I connect to an external display, but had the same problem in that the computer went to sleep as if it has not been used despite a video playing in full screen on the outside).

    Here is how I fixed it.   Want to remove "com.apple.PowerManagement.plist" (path: Mac HD > Library > Preferences > SystemConfiguration > com.apple.PowerManagement.plist) then restart.  Worked like a charm.

    I hope this helps.

  • How can I disable by double-clicking an embedded video past in full screen?

    How can I disable by double-clicking an embedded video past in full screen?

    Hello

    I would sugegst you post the question on the link provided below for assistance.

    http://experts.Windows.com/FRMS/windows_entertainment_and_connected_home/default.aspx

  • Problem of Mode full screen with Base of BACK in Windows Vista program

    I have a program from base of BACK, but I can't go full-screen with my BACK Basic program. In order to solve my problem quickly.

    Here is a link to a similar problem with a number of proposed solutions: http://www.askageek.com/2007/12/20/how-to-run-an-old-dos-program-in-full-screen-using-windows-vista/.

    Here is another article to resolve the problem (and note the links to other sites that may also help) from Microsoft:http://support.microsoft.com/default.aspx?scid=kb; EN-US; 926657. I'm not sure I like the idea of using the XP drivers on the Vista system (it seems unfair), but the article comes from Microsoft if...

    Here's another option to run the BACK of the screen maximized in Vista with some possible solutions:http://www.walkernews.net/2007/06/03/how-to-maximize-vista-command-prompt-window/.

    I hope this helps.  Keep me in the loop.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Why some youtube videos appears a white screen with sound only, while other just work very well, these videos streaming without any problem

    Why some youtube videos show a white screen with sound only, while other works very well, these streaming videos without any problem on youtube no black screen, nothing, but sometimes once downloaded, they appear black screen with sound only? Yes sometimes when you re-download it works very well, but why?

    Hello

    (1) did you make any changes before the show?

    (2) you use internet explore? If so, which version?

    (3) is the specific question of youtube videos?

    (4) the same thing happens with the different browsers?

    The video problems when you use Internet Explorer

    http://support.Microsoft.com/kb/2532294

    For reference:

    Why a few blank pages or incorrectly displayed in Internet Explorer?

    http://Windows.Microsoft.com/en-us/Windows7/webpages-look-incorrect-in-Internet-Explorer

    I hope this helps.

  • Why some thumbnails appear dark, although the photo itself is correctly exposed. When enlarged to full screen with the SPACEBAR or open in Photoshop, exposure returns to the correct appearance.

    Why some thumbnails appear dark, although the photo itself is correctly exposed. When enlarged to full screen with the SPACEBAR or open in Photoshop, exposure returns to the correct appearance.

    «Click on the image and click on "clear cache for selection".»

    Try this out and let us know if this helps

  • Problem with the new version of the flash player only showes a green background full screen with sound not picture

    New version of the flash player only showes a green background full screen with sound not picture

    'green' stuff usually indicates an outdated graphics driver: http://forums.adobe.com/thread/945765, even though I think that Windows 8.1 should have enough new pilots.  Check anyway.

  • Slide show full-screen with 2 photos

    Hello
    I would like to know how to create a slide show full-screen with two clikable photo inside, as this Web site: http://www.eturaweddings.com
    Thanks for your help

    David

    Hi David

    It would be a bit complicated if you must use a fullscreen, accordion and tooltip, or any other publication inside Accordion widget or you can use different pages to render a similar effect.

    Thus, for example

    -Insert the widget in full screen

    -Insert the Accordion with the width of the page (use the same image that is used for full screen)

    -Insert a ToolTip when the trigger would be half the size of target container and the installation program on the click of the mouse action (you set the trigger and target in the layers panel)

    Sorry, but that would be a workaround, I know a little long.

    Or you can create separate pages where you can use the widget in full screen for different pages using the same images.

    In addition, you can try to use slide shows in the library exchange Muse:

    http://Muse.Adobe.com/exchange

    Thank you

    Sanjit

  • Lack of Menu in full screen with Compiz + VMTools

    When Compiz is enabled and VMTools is installed when I full-screen, the Menu at the top is visible until that resizes the window workstation. When this happens, the Menu at the top is grayed out and I can't see the icons and Menu items. When I remove VMTools I have is no longer a problem of menu but I can't use multiple monitors with Compiz active. When I disabled is more to these questions, which seems to be with VMTools.

    I like to keep active Compiz as it has quite a few practical uses rather than some glitter.

    I am running Workstation 6.5.1 build-126130 on OS host 2.6.27 - 11-server. Guest operating system is WIndows XP.

    Ubuntu 8.10 with a 8600GTS Nvidia using TwinView.

    Using the host for display settings, automatic adjustment is activated.

    For the purposes of the screenshot I had to move my Panel down, but even still, the question remains.

    Any help is appreciated.  Please let me know if I can provide further information.

    Hello. Yes, there is actually some problems that can trigger this result, unfortunately. I was just in this and other similar problems last week.

    First of all, I think that if there is only one this monitor on the system, you will not see it. It's probably not a good answer for you, but, I guess.

    Unfortunately, Compiz does not at all favorable to the old things we try to do to get the fullscreen window managers and then stretch that window full-screen with multiple monitors. Metacity and KWin are, however, an option you have is to use Metacity or KWin until this issue is resolved.

    The good news is that now we have an official indication in the EWMH (_NET_WM_FULLSCREEN_MONITORS) (http://snurl.com/dxbi6) specification, things will be much better in the future. The bad news is that right now, there is really nothing you can do to make things better, if you absolutely have to run your current version of Compiz. New versions of the xfwm4 (2.6.0), (not yet published) Metacity, Compiz and KWin (4.2.1) (0.8) now support the WM_FULLSCREEN_MONITORS NETindicator and react much better with VMware Workstation and player, which might also be interesting to try. KWin (from KDE 4.2.1), in particular, carries most of the pleasure of the eyes that you're used to with Compiz and behaves very well with the position of work/drive. Compiz 0.8 is also much better-well-behaved now, although there is a small regression if you use full-screen mode and you want to change the windows, work/drive continues his manoeuvre itself to your new window position (that is, you will need to exit full screen mode if you want to use another application). But at least you'll be able to see your menus. =;)

    I hope this helps?

  • Cannot get full screen with videos uTube

    I bought a Mac mini-opportunity 2.1 mid-2007, 1.83 GB and 2 GB of ram.  OS 10.6.8 using Safari I can watch videos, but when I click on full screen, I get a message stating that the browser does not support.  I am using a VGA monitor.    On my iMac desktop computer when that was under snow leopard, I don't remember the problems with the mode full-screen.  So I wonder, is there an add-on I need?

    Hello, Charles Palenz,.

    Thank you for using communities of Apple Support.

    I understand that you get an "unsupported browser" message when you try to view videos full screen YouTube on your Mac mini. I know how it is important to ensure that you can view videos how you want your Mac.

    I recommend you take a look on the support site of the mode full-screen YouTube, specifically the steps listed to ensure that you have a version update of Adobe Flash Player installed. Then, follow these steps:

    1. Open Safari.
    2. Select "Safari" from the Apple menu bar in the upper left corner of your screen and select Preferences from the menu drop down.
    3. Select the Security tab and put a check mark in the box next to "Internet plug-ins: Plug-ins to allow", if it is not already selected.

    If you still have a question after that, please contact the Support of YouTube directly.

    Best regards.

  • Freeze YouTube videos in full screen with Firefox, but not other browsers.

    I had a hard time watching YouTube videos in Firefox in recent weeks. Basically, the video does not start and if I keep using small video player it works fine. But if I click on full screen, the video stops for a few seconds, then catch up and repeat this operation until the end of the video. However the sound plays always continuously throughout the video, even though the image is frozen. I don't have this problem in Internet Explorer or Google Chrome, and it only happens on one of the three computers that I use Firefox on. I ran Malwarebytes Anti Malware, Kaspersky Internet Security, and Windows Defender full scans, so I'm fairly certain that it is not malware or a virus that is causing the problem.
    I also tried the following without result: reset Firefox, Firefox run in SafeMode with no addons, reinstalling Firefox (more an another clean reinstall), reinstall Flash player

    I can't understand what is wrong, and Firefox is my favorite browser, so any help would be appreciated.

    Before restarting my OS in safe mode, I checked to see if I still had the problem and now he is gone magically. I did no change at all since yesterday when it was not working properly and now it's fine. Kind of strange. anyway thanks for your help, that's why I love Mozilla so.

  • I lose the point of the mouse with a desktop in full screen with media center.

    I am running windows 7 64 bit. I have a graphics card 9800GT running a monitor and a LCD TV. I have the video installation of screens as extended desktop so that media center can run on the TV while I still have access to other functions of windows on the PC monitor. What happens is that when the library is running full screen on the TV I do not get a pointer on the other TV. When I close the Media Center or move it to full screen, the mouse pointer is still visible on both screens. It's really annoying. Does anyone know how to solve?

    I tried your suggestion and it did not work to retrieve the pointer of the mouse, BUT I don't have a partial solution. I bought a MCE remote and it allows me to control MCE well without the mouse. However, the downside is that I can't run other applications using the computer screen (the other view runs MCE) since I have no control of the mouse. Maybe you could help me out here. If I could remap a key on the remote control to switch in MCE mode while I run an app as I have everything that I need. Is there a key combination that will increase MCE from full screen to windowed mode?

    However, you must put in a bug report as I see quite a few others see mouse problems MCE running in mode full screen display.

  • How can I disable the screensaver during video playback in full screen?

    Hello!

    HTML5 is great and hopefully get rid of Flash as soon as possible.
    That said, something still bothers me when I play HTML5 video (YouTube for example): the screen saver is still as I am full screen.

    Y at - it a config that I missed or is this a bug in Firefox?

    (I use Archlinux with GNOME)

    See:

    • bug 517870 - video must disable screensaver during playback

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • Stick videos while playing full screen on the view

    During playback of a video online when I go to full screen the video will stop all few seconds and restarts when I drag the touchpad. When I return to the small screen video plays normally.

    Hello

    1. What is the operating system installed on your computer?

    2. what web browser do you use?

    3. this happens with all sites or with any specific Web site?

    4 have had any changes made to the computer before the show?

    If you use Internet Explorer, please follow the steps in the link.

    The video problems when you use Internet Explorer

    http://support.Microsoft.com/kb/2532294

Maybe you are looking for

  • Vista accident with the video of

    w/Vista H / Premium 32-bit Update to sp2 now install clean sp1 Athlon 64 x 2 d / c 6400 + 3.2 4 GB of ram NVIDIA geforce gtx 280 Board of Directors then 590i now 780 has   startup crash   http://S125.Photobucket.com/albums/P49/lordstomp/?action=view&

  • What is updatuser?

    Hi guys, whenever I start my pc I get a notification on parental controls, so I opened the parental control panel upward and found that, as well as myself as administrator, updatuser was listed as a standard user. If I click on updatuser a widow appe

  • Bluetooth device driver not found after accidental uninstall (Win7 64 bit)

    I use a Plantronics M50 bluetooth headset on my mobile, Skype etc. All troubleshooting yesterday (had a problem with the microphone volume is very low) I followed a few steps of an article if found on a Microsoft forum, telling me to uninstall the dr

  • Error message blackBerry Smartphone camera "BOLD" - "could not start...". Close other applications.

    New user - message "could not start...". Close other applications"appears.  Any ideas?  Thank you.

  • Configuration of a DR Site

    Hi allEBS R12.211 GR 2Rhel6.5We set up a site/Office of DR on another city, away from the primary Office (prod).The two offices has its own different internet provider.I'm confused on how connect us our servers of PROD and EVE with different network