ActionScript 2.0 :: External Links From Full Screen Toggle?
Dec 22, 2009I am having a issue when in toggled full screen mode. Any external links are opening behind the browser window.
View 4 RepliesI am having a issue when in toggled full screen mode. Any external links are opening behind the browser window.
View 4 RepliesI have my flash at %100 width and height, and have three else statements which dictate the placement of the mc on my stage. What i would like to have is the user changes the screen width to anything smaller than 1024 that it initiates the browser to activate the scrollbars. The layout of my site really needs the user to be able to scroll if they resize the browser smaller than 1024 but have no idea wheather this can be achived through actionscript or if this is something that needs or can be done in the Html. One side note is also that if the browser is resized to a height less than a percentage of the landscape width that the scrollbars would also be toggled on. Here is the site address for perspective: [URL]
[Code]...
I have 5 components on my Flex application(actual view) and they are:
x = main panel
y = bottom panel
z = left panel
a = right panel
b = top panel
I have a toggle full screen button. When clicked I want the main panel(x) to become full screen. At this point only main panel(x) should be visible. when I click on the toggle button again, it should become normal displaying all 5 components(the actual view).
I'm testing a few things with the ND2D library (made by NullDesign, engine's source available at github). What I've encountered, is that if I toggle my Flash application to Fullscreen mode, the World2D (or Stage3D / Context3D buried inside it) doesn't auto-stretch to maximize it to the entire screen resolution. Do I need to reinitialize my setup to the new Fullscreen dimensions? What if the stage.scaleMode is set to "NO_SCALE"? Will that affect the dimensions since the stage, although appearing larger, will still retain the same coordinate system and dimensions? How to correctly toggle Fullscreen mode in Stage3D?
View 2 RepliesI've got the following code working perfectly so that when I click the 'mc.fullscreen_btn' the movies goes full screen. When I click 'mc.fullscreen_btn' again the movie returns the the browser. However ideally I would like it so the user has to click a deferent button to return the movie to the browser (ie: _root.topmenu_mc.displaymenu_mc.displaymenuON_mc.b rowser_btn).. is this possible using the code base I have?
// Full Screen
var stageListener:Object = new Object();
stageListener.onFullScreen = function(bFullScreen:Boolean):Void
{
[Code]....
I am currently finishing off a flash project that I began using FlashMX (with action script 1).It is a language teaching tool which will be viewed both online, and will be also put on CD.I would really like the swf to fill the user's entire screen.I have tried a few things with javascript in the html file that haven't worked. I would greatly appreciate any tips on how to:
1. Create a toggle button for full screen in my flash file
2. Make the swf take up the entire browser window (width="100%" height="100%" doesn't seem to work)
3. Create a standalone version for CD that fills the user's entire screen
I'm developing a flv (streaming) player and I want to add 'full screen' option (on-click of a button...say a toggle one) to it.
I've added <param name="allowFullScreen" value="true" />and it's working fine on my local machine but not on web.
I'm working on a site that's intended to display full screen. At present the initial HTML page has a "launch site" link which pops up a fullscreen window (via javascript window.open) with our Flash content.Once in the Flash site, all URLs that point at off-site destinations are set to open in a new window ("_blank" as the target - either an href in text, or via navigateToUrl). In Mac Firefox the new window opens BEHIND the full-screen Flash (as a new tab in my case). In Windows FF and IE, and Mac Safari, the new window pops in front of the fullscreen Flash.Is there a way to make the non-fullscreen window pop in front of the fullscreen Flash? I'm using swfobject 2.1 - perhaps I need to use an externalInterface call...thoughts?
View 0 RepliesI tested my skin for YouTube Chromeless player, and seems it worked properly.All graphic elements, including TLFTextFields, are stored in external SWF, all the AS3 code - in loading SWF.I use ProLoader class to load SWF.However, when I tried to attach Player skin code to my Home Page code, I immediately bumped into two issues:
1. TLFTextFields ceased to display proper font;
2. YouTube Chromeless player ceased to enlarge up to Full Screen width in Full Screen mode, whereas all publishing settings were kept the same...
Although I managed to cope with TLFTextField bug by replacing instances with vars in loaded SWF, I have no the slightest idea what to do with those paddings in Full Screen mode... Neither removing all children on stage before loading YouTube Player skin, nor compulsory resetting player's size can't make it work...
I wnat to display a FLVPlayback full screen the same as when you click on the Full Screen component button.
function goFullScreen():void {
vidPlayer.enterFullScreenDisplayState();
}
var vidPlayer:FLVPlayback;
[code]....
I am creating a full screen projector with flash CS4. In the projector I have more videos, starting from an swf player-
The problem I encounter is this:
The projector starts correctly FULLSCREEN (using AS). The video plays 900x506 correctly. If I click on the player, to get the video full screen, it works. But when I press ESC, not only the video, but also the PROJECTOR looses full screen.
This is a bit annoying. Is there a way to apply the "back to normal size" only to the video? I do not want to prevent the app to be exited from full screen, it's not a problem if the user wants to exit the projector full screen. But not when the user exits the video from fullscreen mode.
How to target only the video?
// for Full Screen stage.displayState = StageDisplayState.FULL_SCREEN;// for the normal screen stage.displayState = StageDisplayState.NORMAL;But this code does not fulfill my requirement. I need Vertical Scroll Bar, even I go to the FullScreen, but I don't find any Scroll with this code.Even I tried "window.open" of JavaScript with ExternalInterface, but I couldnot succeed.
View 2 Repliesi am creating an interactive application that will run independantly on a computer.I have implimented the full screen stage display state to a btn, and it works great!
-------code-----
import flash.display.StageDisplayState;
function goFullScreen():void
{
[code].....
however as soon as i add a video [i will be adding several] the video takes on the full screen property, and that is not the desired effect.I have used several diff ways to import the video but as soon as i call the full screen, it goes to an all black screen.
I'm trying to go full screen by using the external interface...
i am able to communicate with the flash via JS but there it doesn't go full screen.
Is there any security issue concerning this?
Right now in my project I have a main SWF that loads an external SWF that contains a youtube chromeless player. My issue right now is that the main+loaded swf are embedded in HTML and there is an effect on the site that moves the flash. I have the video controls in html/javascript but since I can't externally call fullscreen unless its a flash button the controls have a "hole" in the bar to allow a button in flash to poke through for fullscreen. Issue is that when the flash moves, so does the fullscreen button. Basically can a separate embedded flash swf just act as a fullscreen button for another embedded flash object?
View 2 Repliesim trying to make a swf where when i click a button it calls an external swf and then goes full screen.
View 6 RepliesI'm building a course to be hosted on my LMS and am unsuccessful at resizing my external SWF files in my player.
My Flash HTML output contains:
HTML Code:
<style>
html, body {margin-left:auto; margin-right:auto; height:100%; background-color: #ffffff;}
body {margin:0; padding:0; overflow:hidden;}
[Code]....
When I launch introduction.swf in preview and resize my window, it all works great, but in the HTML page is does not scale the external SWF.
I have messed with various different solutions with now change in results.
I am loading external SWF files into a blank movieclip (content1) Problem is each SWF is different in height.I need to be able to do a full screen scroll but the scroll will only work with the main stage height, Is there any way to make the page scroll to the bottom of each external movieclip? At the moment it either clips off or I have to set the stage height to something like 1200px to scroll through all the text.
View 2 RepliesIm attempting loading external .swf while having it centered OVER a full screen background.everything works in this code I have here, I just cant get the .swf centered, what am I missing?
Code:
import flash.display.*;
import flash.net.URLRequest;
[code].....
can I make the flash movie full screen (filling entire area of browser window and continue to do so on window resize) AND load an external swf into that movie so that external swf does not get stretched but remains at 100% its default size?
View 1 RepliesI have this code to scale external images to full-screen:
function resize_image(){
pic = big_mc.swfloader;
Stage.align = "TL";
[Code].....
It works fine but I want to change it so the scaling is determined by the browser height, at the moment it scales to the browser width so you lose some of the image height - Also, need to keep the images in proportion
I'm trying to place these external library elements in full screen mode.[code]But I don't know how to make them listen to a stage listener to scale and position relative to the stage size or resize.
View 1 RepliesI've been searching for a way to do this without using html. For some reason i can't have my enter site button load the main movie from the splash page and go full screen at the same time. here is my full screen code: (where do I put my loadMovie script to make both events happen at the same time)
_root.enter_btn.onPress = function(){
if(Stage["displayState"] == "normal"){
Stage["displayState"] = "fullScreen";
[Code].....
My main swf is 960x600 and loads full screen. it is a projector or swf, local. I have the code on frame 1 to ensure full screen and show all:
stage.scaleMode = StageScaleMode.SHOW_ALL;
stage.displayState = StageDisplayState.FULL_SCREEN;
Then I load an external swf into a mc, and it goes full screen as expected. BUT the main swf that loaded that external one, at the time of load, suddenly gets scaled back down to its normal size: 960x600, on the top left corner of the Player Window (or the full screen), so somehow at 0,0. Whn I unload the external swf, I can put the code stage.scaleMode = StageScaleMode.SHOW_ALL; to get it back to where it was. But unfortunately I have some buttons from the Main swf that are supposed to be on top of the loaded one, and should stay where they are. But now they all move because of this scaling down.
the mc that is being used as a container for the loaded external swf is an empty mc located at 0,0. The external swf has the same size as the main one: 960x600
I searched and tried things but could not get it to stay in show-all mode when loading this external swf...
i am wondering from this code, it makes the stage full screen, does it also makes the content of my movieclips scaled to full screen? i have tried this code and it does not seem to do that, how can i make my content to scale to fill a stage's full screen? i have a Movieclip containing a background with a class to make special effects on the background, i am having trouble making the background be "fullscreened" nicely with the stage.
View 1 RepliesI am creating a flash-based Kiosk. When launched, it runs full page/full screen. However, if a user clicks a button that opens an external document, the swf or Flash Projector exe leaves full page mode and appears in the Flash Player. Is there any way to ensure the swf or projector file always stays in full screen - full page mode?
View 4 RepliesI am working in Flash CS3 and Actionscript 3.0 My application resizes according to browser width and height. If the user first resizes the browser and then loads the flash application, I could not get the full browser width untill the user goes for full screen. Is there any way around, to get the full browser width before the user goes for full screen.
View 1 Repliesi am a beginner in action script / flex framework and i am facing a problem: i would like to have like a menu bar always anchor the bottom of the screen in normal and full screen mode... i try to set my component with bottom = "1" (so it should alway be at 1 pixel from the bottom of the stage ... But .. NO :)
[Code]....
I have an AIR application that will go full screen when the application starts:
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE; The stage size is 2560 x 1024. And I have 2 moniters (1280 x 1024 , 1280 x 1024) When I start the application, it shows my application on one of my moniter only.
I need the left side of the stage to be shown in moniter 1 and right side of the stage to be shown in moniter 2. Currently, both sides are shown in moniter 1, and in moniter 2, it shows nothing but my default desktop. *The blue color line is a divider for better visual purpose. How do I make the left side of the stage to appear in moniter 1 and right side of the stage to appear in moniter 2 when the application starts in full screen mode?
Is a command for AS2 to make my movie file play fullscreen (stretch, fit to screen, anything).
goFullScreen(); is great but it leaves white bars left and right. What's odd is that I'm using Adobe Flash Media Live Encoder and it seems to display a perfect widescreen that I want as an input and output but once compiled in flash, it's more square leaving me with white bars left and right. The frame for the video in flash is also widescreen looking.
edit: I ended up stretching the width of the frame but if there is a better way through a command that would make my life easier so I don't have to adjust to every monitor that I run this on.