ActionScript 2.0 :: Making A Fullscreen Button For Mmog?
Nov 11, 2009
I'm making a fullscreen button for my mmog. It has a draggable menu bar which can be moved up and down a certain height.But when i use fullscreen, the draggable menu cannot go down low enough.I even use Stage.width, but that doesnt do anything. It only supplies me with the width of the movie which was declared in the HTML file.
View 1 Replies
Similar Posts:
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
Jun 28, 2009
i am trying to add a duplicate movie clip, for my MMOG, when another player enters the room. I am using this code:
[Code]...
View 1 Replies
Aug 4, 2009
I'm working on a Flash video slideshow (which you can preview here). I would like to be able to make it so you can click a button (I've got one made in the doc already) that will make just the video on each "slide" go full screen, similar to how you can do so with other videos on sites like YouTube and others.
While what I've linked to above is just a template I'm messing with, I'd like to be able to have a video on the right, let's say, with text on the left, and then be able to click a button (perhaps under the video that says "full screen) and have the video that is there fill the whole window and play.
View 3 Replies
Oct 13, 2011
I've tried lots of ways to get my game running on fullscreen, it seems to be impossible. Here's what I've tried so far[code]...
View 3 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
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
Oct 21, 2011
Sites like The Daily Show (I can't post URLs since I'm a new user, but just go to their front page to see) are doing what I need to do. When you go fullscreen with their video, the bottom video controls and the top social media bar aren't scaled. They adjust themselves in width, but the text and button graphics remain the same size.Now, I've had success with a method where, when the FULLSCREEN event is invoked, I downsize my interface elements by a ratio equal to the difference between my SWF size and the screen size, essentially keeping the interface at a constant size in both modes. However, all text and graphics inside those elements are distorted or blurred when I do this.
View 3 Replies
Mar 12, 2007
I'm creating a presentation in Flash that will be projected onto a large screen. I'm using fscommand("fullscreen", true) to make it fullscreen. Since I don't know in advance what type of playback monitor will be used, apparently there may be some issue with the monitor ratio not being 4:3 which would make it widescreen. I was told to make sure the animation etc extends beyond the Stage frame so that it accommodates widescreen but I'm not sure how to do this - I mean how do you know how far beyond the stage to extend things? Since I don't have access to the playback monitor I can't test on it and the presentation will eventually be put onto a CD ROM where viewers may have all types of monitors.
View 1 Replies
Oct 21, 2011
Sites like [URL] are doing what I need to do. When you go fullscreen with their video, the bottom video controls and the top social media bar aren't scaled. They adjust themselves in width, but the text and button graphics remain the same size.
I've had success with a method where, when the FULLSCREEN event is invoked, I downsize my interface elements by a ratio equal to the difference between my SWF size and the screen size, essentially keeping the interface at a constant size in both modes. However, all text and graphics inside those elements are distorted or blurred when I do this. At [URL], the text looks exactly the same in both modes, and uses no anti-alias.
View 3 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
Apr 3, 2011
I have a swf file that doesn't have any fullscreen button although it's prepared for fullscreen anyway.
Now I'd like to have some kind of button beside/under or elsewhere in the html that can activate the fullscreen mode for the swf.
If it's possible to do this with a regular image, AS3 and html instead of creating a flash movie, that would be nice (see, that was probably a stupid qestion) as I have tried and tested half a dozen flash tutorials to no avail.
Oh, and IF the only way to do it is to create a button in flash, it need to be transparent.....
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
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
Jun 2, 2009
I have created a button which fullscreen the flash, but the trouble is that after doing full screen, i am not able to enter text in textbox, means there is no cursor at full screen.
View 2 Replies
Jul 29, 2010
What is the best way to switch a video to fullscreen from a button in AS3? Like the fullscreen button in FLVPlayback component - I'm aware the FullScreen tag needs to go into the HTML...
View 1 Replies
Mar 8, 2011
I would like to create a button that makes my flash fullscreen.But this line:
stage.displayState = StageDisplayState.FULL_SCREEN;
does not work. Why?(I'm opening my swf directly in Chrome.)
Edit: There seem to be consensus that I should embed in HTML.
View 3 Replies
Sep 20, 2011
i am working on youtube api player in as3 and stuck on fullscreen btn problem. Is there any inbuilt functionality to make it work
in as2 youtube work the code is
ActionScript Code:
var listener:Object=new Object();
Stage.addListener(listener);
listener.onFullScreen=respondFunction;
[Code]....
View 0 Replies
Jun 22, 2006
I want to create a button that closes down a fullscreen window. At the moment I have a button with the following AS.
on (release){
getURL("javascript:window.close();")
}
When I press the button It does nothing in IE and in MZ it says:
Macromedia has stopped a potentially safe operation
View 1 Replies
Jan 29, 2008
how to create this kind of fullscreen function when button is pressed http:[url].... . i dont know what kind of method used in this site.., if it uses javascript or just actionscript.
View 5 Replies
Nov 16, 2009
I am building a website for a project of the university. as i am not a programmer i bought a template from flashden. i need to do some adjustements and alleready asked the author to help, but he has no time to do. i thought maybe i'll get some help over here.
I need a fullscreen video as an intro for that page. there should be a skip button and when the video has finished playing you should get to the page... the page uses a percentage preloader and i want the same preloader for the video, so that it looks like it belongs to the page.
View 1 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 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
Sep 26, 2009
I've added fullscreen and trapallkeys to my project and they work well
but when I press windows Start button then fullscreen disable
View 0 Replies
Jul 13, 2004
I want to add close and minimize button in my fullscreen flash website. I make two button 1. Exit 2. Minimize and then I give action to close button :
on (release) {
getURL ("javascript:self.close()");
fscommand ("quit");
}
and It works but I don't know what to do with minimize button.
View 1 Replies
Jul 13, 2004
I want to add close and minimize button in my fullscreen flash website. I make two button 1. Exit 2. Minimize and then I give action to close button :
[Code]...
and It works but I don't know what to do with minimize button.
View 2 Replies
Jul 22, 2010
Any reliable full screen code for actionscript 2.0. I have search but can't get any thing that works proper. I just need a button type toggle that switches the screen to full screen and back.
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
Jul 27, 2011
I have a Flash movie to be displayed in fullscreen on a kiosk. Also, It needs to run in a browser window because I'm using JavaScript to reload the page for resetting the movie.
The problem is, it doesn't go fullscreen when I put the following line to the constructor:
stage.displayState = StageDisplayState.FULL_SCREEN;
But it works fine if I put the line to a button's click handler.
Note: It doesn't work if just call the handler function with a null parameter.
How can I make it fullscreen as soon as it opens?
View 3 Replies