ActionScript 3.0 :: Make A Fullscreen Button For Flv Player
Mar 23, 2010
so i'm trying to make a fullscreen button for my flv player, and it only works when my fullscreen_btn.x is < 600 and > around 300. anybody ever encountered this before?[code]
View 1 Replies
Similar Posts:
Sep 1, 2009
i am tryin to make a video player function that goes fullscreen.... and i am using the following code...
on(press)
{
if (Stage["displayState"] == "normal")
{
[Code].....
View 1 Replies
Jun 19, 2011
So I've been assigned to create a custom flash video player. I followed a good tutorial by Lee Brimelow and went far with the project, until I've hit a dead end - fullscreen function for the video itself. I would simply want to add a fullscreen toggle button that doesn't scale my whole scene, but only the video container (videos are loaded from xml via tree component), while preferably keeping the controls visible.I'm really hard pressed here, since I have to finish by tomorrow, but I really can't see making any progress without some guidance, even if I pull an allnighter.
View 0 Replies
Dec 16, 2009
I am working in a player and when am trying to make it fullscreen the scrubber and volume bar everything become too big in size.
View 1 Replies
Jul 30, 2010
How do you capture the event on the Video Control Skin when the Full Screen button is clicked.
View 3 Replies
Jul 18, 2011
Any way of building in a fullscreen button right into the skin of a video player using actionscript 2? Or perhaps have access to a source file? I've seen the skins with fullscreen with AS3 with CS3, but I need tut on skins with fullscreen using AS2.
View 1 Replies
Nov 29, 2010
How can I make a Fullscreen Button in AS2?
I didn't find a video by Lee in his Tutorial Section...
View 1 Replies
Nov 17, 2010
I wanted to make a video player that has normal mode and fullscreen mode. The part I am having trouble understanding is how to handle the video once it gets set to fullscreen. Do I just use the current video or do I get a high quality version of the video to show during fullscreen mode? What would be best practice for this situation?
View 1 Replies
Aug 5, 2010
I am using a media display component to display a short FLV cartoon. I have given the component the instance name "fcEp01" and am successfully controlling its play, rewind and pause functions using buttons using "on (release) {_root.fcEp01.Play();}" and so on. I want to have an additional button that will allow the viewer to toggle the component to fullscreen (and back). I am using AS2 in Flash CS3. I realise that it may be necessary to use a movie clip instead of a regular button, but the tutes I've looked at haven't worked.
View 6 Replies
Apr 13, 2009
I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:
Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;
Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:
Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....
View 9 Replies
Aug 30, 2009
I'm making a flash site, and i want it to load full browser with a "fullscreen"-button to go fullscreen. The problem, however, if i resize, the site will keep the same width-to-height ratio...But if i'm testing it using the flash debugger, everything resizes just correct...My html:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">[code]......
View 1 Replies
Jan 4, 2012
I need a player that can play FLV videos in FULLSCREEN inside my Flash8 application.I know that it can be done using AS3, but I need to use AS2; is there a player that supports fullscreen that can be used?
View 1 Replies
Jul 29, 2010
My boss wants me to implement a full screen option in our player. I can easily make a button to activate the full screen mode but can figure out how to make it change to a 'full screen exit' button once full screen is activated.
Here's the current fullscreen code I have:
ActionScript Code:
import flash.events.FullScreenEvent;
function fullScreenRedraw(event:FullScreenEvent):void
{
[Code]......
View 2 Replies
Jan 14, 2011
I'm trying to make a simple flash mp3 player with a play/pause toggle button called toggle_btn. The button is actually a MovieClip with two buttons inside it: play_btn and pause_btn, which live in different places on the MovieClip's timeline. That all works fine, and when I press the play/pause button for the first time, my music plays as expected.
However, when I press it again to pause, it keeps right on playing. If I push it again, the button gets all glitchy, and doesn't go into its rollover state when it should nor toggle when clicked.
Here's my ActionScript:
Code:
// load the playlist
var getFile:URLLoader = new URLLoader(new URLRequest('songs.xml'));
var numSongs:int = 0; // number of songs in playlist -- we'll set this later
[Code]....
View 3 Replies
Feb 15, 2011
according to release notes in flashplayer 10.2 you can do fullscreen on multiple monitors. how can i trigger this behaviour?
View 1 Replies
Jan 14, 2009
So I'm building a flash presentation and one slide has video. I have a flv component on the stage and the user wants the video to initially appear at a smaller size and then to click on it to launch the movie in fullscreen and to play. The playing is no problem but it doesn't want to launch fullscreen.Code below:
// VIDEO
moviePlayer_mc.fullScreenTakeOver = false;
moviePlayer_mc.addEventListener(MouseEvent.CLICK, launchFullScreen);
[code].....
View 9 Replies
Oct 27, 2007
I got a problem while making a fullscreen enabled flv player.I developed a player which will got to fullscreen but the problem comes when the monitor is wide. There comes blanh space left and in the right side of the video.
my code is like this
function goFullScreen() {
Stage["displayState"] = "fullScreen";
flvplayer._width = 600;
flvplayer._height = 450;
[code].....
flvplayer is the movieclip which contain the video.
View 4 Replies
Mar 7, 2011
I have a really annoying bug with the Flash player. When I go into fullscreen then an image of the normal-sized flash player flashes up momentarily in the top left-hand corner of the player.It's really ugly and I can't seem to find a quick fix to get round this. The only answers I have found are to use a NetConnection and NetStream classwhich I simply do not have time to do
View 1 Replies
Apr 13, 2010
A lot of users on one of our online apps complain about the app freezing in the fullscreen mode. I googled and came across many others complaining about this problem for other flash apps. Is it such a common problem, or are there known causes for it?
View 2 Replies
Feb 3, 2009
I imported youtube player with the url given in my fla and I need to implement "FULL SCREEN" functionality for the video player which is loaded.
View 0 Replies
Feb 28, 2010
Does anybody know why flash gives me this errors when I play video in fullscren mode in custom flv player?
[Code]...
View 8 Replies
Aug 28, 2009
I have a problem with Flash Player 9. I have developed a flash application (projector) in Flash CS3 using AS2 . I can compile it into Flash 9 projector, but when I do that, it will not run FSCOMMAND("FULLSCREEN", true); anymore. I wonder why this is as such.
When I read through some help resources, somewhere it says that FSCOMMAND is not supported in FP9 because of some security reasons and it says that I should use External Interface API instead.
If I have to use External Interface whatever remember that I am working with flash projector (exe), not in a browser. I use "trapallkeys" to stop people from pressing ESC and CTRL-F to quit fullscreen mode. However, ESC and CTRL-F still work if I put "trapallkeys" above "fullscreen".
So the problem is, I only able to use either one, not both. This is really strange.
I could not make "showmenu", "false" to work either.
View 2 Replies
Jun 26, 2009
I am in the process of making my first FLV player in Flash CS4, for videos I plan to upload on my site. The play/pause/rewind buttons seem simple enough. However, I have searched and can't find-a timeline 'duration' that tells how many minutes have been played and how many total there are-a fullscreen button that toggles full/not fullscreen in the browser-if possible, some way to manipulate the timeline (e.g. drag the cursor forward to make the movie skip ahead)or explain to me how to do thisAs I said, I have searched for the above and found the play/pause/rewind tutorials but no timeline/fullscreen ones.
View 2 Replies
Nov 26, 2010
I'm having problems with text fields in full screen. I'm aware of the security restriction but Adobe says text fields are disabled only when running in a browser, text fields should be OK when in standalone player or AIR. I'm exporting a .exe file and text fields become immediately disabled when I go to Full Screen. I can't develop the thing in AIR (to use FULL_SCREEN_INTERACTIVE ) due to company restrictions on installing software. So the standalone exe is the right solution to me, this should be working, but it isn't.
View 4 Replies
Jul 28, 2011
1. How to Auto hide player controlbar, when video fullscreen. 2. and also controlbar widh when player fullsize to monitor width.
[Code]....
View 13 Replies
Jul 4, 2010
At the moment I'm using Selenium-Flex to write functional tests for a video playback app.At the moment, I need to test that the app behaves appropriately when switched to fullscreen mode - make sure that the control bar is in a reasonable spot, the video resizes appropriately, etc., and of course to do that I need an automated way to make Flash Player go fullscreen.
For good reason, Flash's security features prevent being able to fullscreen except in response to user input. Actual user input, a javascript callback being called does not count.Is there any way to disable this security feature on my test rig, so I can actually run my automated tests on fullscreen mode? Barring that, is there any way to put Flash into fullscreen mode externally, so I can hack it up to work that way?
View 1 Replies
Oct 7, 2010
Is it possible to make a flash player go full screen (not in browser)? Would there be any bug / error on different version of Flash player?
View 3 Replies
Feb 10, 2010
This is a Free script that comes with Flash Media service
I need to add full screen capability to the video. I can send you all the flash files if you need, also I can pay like 50 USD if this going to take some significant time.
Since the file is bigger than 512 KB i had to upload it
THis is the Download URL: [URL]
import mx.video.*;
msg_box.text = "Enter stream URL and click 'Go' to play.";
var so:SharedObject = SharedObject.getLocal("FMS_LIVE_Client");
var counter = 0;
[Code].....
View 1 Replies
Jul 8, 2010
It's with a Flash overlay that has been custom made to overlap a .flv video running in Flowplayer (open source video player at flowplayer.org) The Flash overlay is mostly transparent and just includes a few buttons over top the video to allow visitors to share, email and visit a related website. Take a look here for example:[URL]
The video and Flash buttons work fine when videos are played within Flowplayer at normal size in the browser, but when making it fullscreen using Flowplayer, the Flash overlay plugin does not resize to fullscreen with it. Then, when made regular size again it gets distorted, as you can see from the example.
I know it might involve creating a custom onResize() function, but I haven't figured this out yet with Flowplayer. There are vague instructions & snippets of code here under "Layout management" section on flowplayer . org/documentation/developer/writing-flash-plugins.html
Code:
override public function onResize():void {
/*
set _childButton width according to my new width,
[Code]....
Interesting, but doesn't tell me much of what to do. I have a feeling it might involve making a new .as class in Flash and associating it to the custom buttons overlay .swf. On the right track?
get the overlay to resize using onResize and what code should be used would be very helpful. Others may be also trying to make custom overlay plugins too, and the fullscreen issue would be the next step to know after that and make it look more complete.
View 3 Replies
Feb 25, 2011
I want to make my flash website full screen so there is no white background.What is the easiest way to do this? Here's my website and what it looks like right now. I tried to follow some guys steps but it didn't make it full screen.[URL]
View 1 Replies