Test SWF full screen w/ Flash CC/Animate CC - actionscript-3

When pressing CTRL+ENTER to test the SWF the generated HTML seems to always use pixel in size format. I'd like the HTML to use a percentage say 100% in format, so that I could test the SWF full-screen. Is this possible? I'm using Animate CC.
Thanks,
Jack

Related

Embedding a large .flv into Adobe Flash results in noise-y results

I'm trying to import a rather large .flv into my otherwise empty Flash file in Adobe Animate CC.
The .flv in question
Importing it (1)
Importing it (2)
After clicking Next and Finish, the video imports in about a second, very quickly for a huge video. The video appears on the stage much smaller than its actual size (160x120 pixels). The video itself looks nothing like what it's supposed to - in fact it looks like noise from a TV with bad reception.
My library window after importing

Actionscript 3.0 Preloader Instantly Finishes

I have had a lot of trouble trying to make a preloader work in Actionscript 3.0. I'm also using Animate CC.
So to try to figure out how to even make it work, I downloaded Simple NG Loader from Newgrounds https://www.newgrounds.com/downloads/preloaders/ , to make sure I had a working preloader. Then I got 4 high res images from google, around 10000x10000 pixels each, adding up to 85MB, to make sure there was more than enough to load.
I placed the preloader on the first frame, and put all the images on the second along with "stop();".
When I play, the preloader instantly finishes, but it leaves me with a white screen for a while before the images eventually shows up.
If I play it using a standalone flash player, it instantly crashes.
I would really appreciate some help with this!
The issue is probably that the game will already be fully loaded when you launch the swf in flash. You need to set your flash player to "Simulate Download". Do the following:
Hit ctrl+enter in your ide to launch the swf
Hit view on the menu of the swf and click simulate download.
The swf will now restart and pretend it's downloading. If you open view again, you can select the download speed by going to "Download Settings"

How can I force flash fullscreen to a particular display in a multi-display setup

I want to get several Flash animations to come up on different displays at start up. Is there a way in Actionscript that I can force the movie to go fullscreen on a particular display?
Package your flash animations into AIR applications - you can then set the x,y of each application within the properties box / xml.
Flash Player chooses which monitor to full-screen to. If there is a solution, it is not AS3.
"Flash Player and AIR use a metric to determine which monitor contains the greatest portion of the SWF, and uses that monitor for full-screen mode."

HTML5 Video Tag Width/Height

I'm trying to create a video tag for use with Chrome only. I don't always know the dimensions of the video, but I would like to have it be the size of the window. I thought I could accomplish this by using "width=100%" and "height=100%", but I found that the built-in controls were hard to see. I reduced height to 98%. Most of the videos I am currently trying to play are 720p MP4's. I tried playing a 1080p (actual dimensions being 1920x1040), and it wouldn't work (the video player acted as if my source was wrong, but I could right click and successfully download the file). The file size was more than 3 gig, I'm not sure if that had anything to do with it.
Edit: I also checked that the codecs were the exact same, and they are between the smaller and larger videos.
Anybody else having the same or like issues?
I just wanted to post on here now that I've fixed this issue. The issue was the file size information is apparently at the end of normal MP4's. For streaming, we want this information at the front of the file so the player can decide how to buffer and what-not. Chrome must do some sort of quick file size check if it doesn't find the file size information at the beginning. I used a program called QT-Faststart which moves the file size information to the front of the file. Thus solving the issue.

YouTube video loaded into Flash MovieClip, can I get width and height?

I'm trying to load a YouTube video on a flash MovieClip using url
http://www.youtube.com/v/4nRNoXT_gUc that returns the video with player directly.
the video is loaded and i can manage it with his player, the problem is when i try to position it no the stage, because I don't know his width until it starts.
I've tested it with Event.ENTER_FRAME but when the video starts it return width = 10000
how can i do to know his width or height?
You can retrieve the movie's nominal width and height through the loader's contentLoaderInfo object. Just try the following :
trace(loader.contentLoaderInfo.width);
The nominal width and height of your movie is 640x480. You will notice, however, that the movie is being scaled down (probably by YouTube, would need to be confirmed).
Also, be aware that what is returned by YouTube is an AVM1Movie object. An AVM1Movie object is an SWF that was compiled under ActionScript 2 (in YouTube's case, most likely Flash version 8). The interaction that is possible with an AVM1Movie object is much more limited than that of a regular AS3-based swf file.