Actionscript 2.0 :: Make A Fullscreen Button In It?
Nov 29, 2010How can I make a Fullscreen Button in AS2?
I didn't find a video by Lee in his Tutorial Section...
How can I make a Fullscreen Button in AS2?
I didn't find a video by Lee in his Tutorial Section...
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 RepliesI 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 RepliesI 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]....
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]......
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 Replieshow to create an all flash site that can automatically fill the browser window. I don't want the content to scale, just have certain "white space" areas expand to fill and also have things like menues or footers always be at the top/bottom.
View 3 RepliesI'm working on a project where I need to make a Flex application that fills the entire browser window (note that I mean that the toolbars should be visible and all that even if I say fullscreen).To develop the SWF I'm using FlashDevelop (for the first time) and I'm stuck. When I build the project it displays no error and a file website.swf is generated.When I browse to this file with Firefox, it displays what I want and in fullscreen. However when I go to the generated index.html I get a white horizontal bar at the top of my screen (again the browser window).I've looked around a bit on the internet and found several people suggesting that the CSS should include stuff like:
<style type="text/css">
html, body { margin:0; height:100%; overflow:hidden; }
body { margin:0; height:100%; width:100%;}
[code].....
Possible to make a transparent fullscreen swf?
View 1 RepliesI have a movieclip, that inside it's timeline I have a function that after loading an image into stage, call a function to fullscreen the stageWhen I open my swf file alone , it just do fine but when I open it in html file , it doesn't go fullscreen.(It doesn't relate to allowFullscreen or something like that, cause if move my fullscreen command before loader complete , it goes perfect, but if i use in onComplete event , it doesn't do anything when viewing in html.side my movieclip i have this that doesn't work :
Code:
import flash.events.MouseEvent;
import flash.display.Loader;
[code]....
I've done a website in Fullscreen Flash(Not Fullscreen like when you play agame but the full of screen of the browser). To achieve the result, I've set the Flash Width and Height to 100% and I've had a HTML code so there's No Margins. But now the problem is that the jpegs files into the flash are squashing alot. I'd like to keep the perfect quality of jpgs but when it resizes to 100% of a widescreen it squashes for sure and I totally understand. How can I make a Fullscreen Feeling without using 100% Width and Height?I've seen couple of fullscreen flash sites that did it but I don't get how they do.URL...
View 3 RepliesIs there a way to embed a .swf file in a webpage and provide a way to make it fullscreen? I'm creating these files with Adobe Captivate, which doesn't seem to provide a way to publish in other usable formats (.avi files are too big, and no .flv is available, to which there seem to have some players around that allow fullscreen).
If there's a way to convert .swf to some other "embedable" format,
I have an Adobe Air 2.5 app that has been written in Flash CS5.There is a need to play video's from within that app and I am not in the mood to write a video player from scratch. Soooooo... we attempted to use the FLVPlayer from http:[url].... but could not get the thing to work properly at all through their API.
The video player must go full screen and have the normal playhead scrubbing, play / pause / stop, and volume controls.Can you make the FLVPlayback control go fullscreen?
How can i make my flash application fullscreen
View 1 RepliesI have a website which is built totally in flex.
I want to make a button, on the click of which the browser becomes fullscreen. I am not talking about a flex fullscreen, by which i mean "Application.application.stage.displayState = StageDisplayState.FULL_SCREEN;" I dont want to use this.
The reason, I dont want to use it is, that flash does not supports keyboard on flex-fullscreen. But if i can make the browser fullscreen, it will solve my purpose.
I want to make an application in AS 3 in which a XML will be read and it contains all the tracks that I want to be played. But every movie must be played in fullscreen, and the transaction can't be seen by the spectators. So who is seeing the playlist must not see what is 'behind the movie'. Only movies being played sequentially in fullscreen. Is it possible to be made?
View 1 Repliesi 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].....
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.....
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 RepliesI have a small problem with my fullscreen mode.It enters fullscreen mode nicely when the user click on a button and exit as well when you press the"esc" key (which is the standard). is there a way to track when i exit the full screen because i want to make some MovieClip to re appear at their initial position.
View 1 RepliesSo 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 RepliesCant 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 RepliesI 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 RepliesWhat 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 RepliesI 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.
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 Repliesi 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]....
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
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 RepliesI 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.