ActionScript 2.0 :: Make A Video Player Function That Goes Fullscreen?
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
Similar Posts:
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
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
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
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
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
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
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
Oct 3, 2010
Cant figure this out, got it to work in firefox a while ago but after upgrading to mac and chrome, I had no luck finding an solution.
View 1 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
Dec 3, 2010
Making my own video player.
View 1 Replies
Jan 10, 2010
I am looking for a very easy way to make a video player which just controled by the scrubbar. I have tried the Componet Seek Bar but that doesn't enable the viewer to scrub the bar. I am wanting to use the Scrubbar Player to view 3d models. At Zbrush they have a Scrubbar player [URL] once there click on one of the pics to view scrubbar turntable viewer. Would love to be able to show my models in this fashion.
View 2 Replies
Feb 13, 2011
I would like to make a Flash video player that takes a URL as an attribute when you embed it and loads the video based upon that attribute. All I need for the moment is a play/pause button. How can I do this is AS3? It needs to be able to play F4V filesIf it's simple to make other features, like full screen, showing how much of the video has been loaded on the timeline, or being able to click at any point in the timeline yo jump to that point in the video
View 2 Replies
Aug 6, 2007
I have this so far, (trying to make my own flash video player:
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
[Code]...
View 4 Replies
Apr 29, 2010
can't make player play video served by php's readfile
View 2 Replies
Aug 13, 2006
i want to know how to make a good clean video player in flash pro 7.2.
1. show my a website telling me to do that.
2. give me a understandable tutorial
3. send me a file showing how its done.
View 4 Replies
Sep 6, 2009
I want to make a poster frame (a simple jpg)to display before the FLV video plays.So first the user to click the play button or on this poster frame.The code below does exactly what I need, but it is in Flash CS4.How could I do the same with Flash 8 Pro (ActionScript 2.0)?
[Code].....
View 1 Replies
Aug 19, 2009
I'm having trouble getting two buttons to do anything. Right now I'm in the process of learning Flash to make a customized video player. I have a rewindButton and a playButton and both have up, over, down, hit assigned but when I run the video and hover over the buttons the mouse changes to a text cursor. No colors change and the buttons aren't clickable.I followed the Flash Video Basics 1 and 2. Also, when I take the // off of the ns play bnc.flv line, the audio echos. I have no idea what's going on.
Code: Select allvar nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
[code].....
View 1 Replies
Aug 20, 2010
Usually maximize, and minimize works while i am opening video player in windows, but when i upload it on website, i cant use maximizie and minimize option. Any working code for websites.
here is my html code: <
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[code].....
View 1 Replies
Feb 24, 2011
I'm hoping someone can help me with an issue I'm having.
I currently have an AIR Application that runs fullscreen.
At some point in the application, I am trying to get a video to play fullscreen as well.
[Code]...
View 3 Replies
Oct 17, 2010
I am building a flash video player with a custom UI, and admittedly I'm not sure exactly what I'm doing. I tried altering a skin, but that always comes out wonky due to whatever coding they use. So I'm altering single video components and putting them in the mc what I want them. It looks great, but the problem is that when video goes to full screen, all of the controls dissappear and I can't figure out how to make them show up. How do I get a movie clip to display on top of the video when it goes to full screen in flash AS3?
View 1 Replies
Feb 19, 2011
I have an EXE flash project that has a menu with several videos in a little player. The player has a fullscreen button that makes the video go fullscreen. When the video is over, the widescreen video is frozen on the last frame and stays there. I need the player to automatically leave widescreen mode at the end of the video and go back to the regular menu player.
I'm using AS3 to call up the videos from the menu clicks, so I'm not scared to get into code using actionscript. I just don't know what to do.
View 1 Replies
May 28, 2010
now, i need to add a "seeker" function where i don't have to use my scrubber to scrub on the progress bar but i'll just to click on any part of the progress bar and the scrubber will go towards it and play.
this is how i play my video file:
Code:
function playClicked(e:MouseEvent):void {
if(!bolLoaded) {
nsStream.play(strSource);
[Code].....
View 1 Replies
Apr 16, 2010
Adobe Flash Builder: How to make a function to play video starting from one second and ending in another? So I havein MXML simple video player tag. I need some function to play that video from second X to second Y and pause it. How to do such thing?BTW: we asume file is embeded into SWF.
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
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
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