Fullscreen and setClip
Hi!
I have a question if it's reasonable to use g.SetClip() (to determine clipping region) along with the fullscreen mode and BufferStrategy class.
My question is how the graphics on the screen are handled while using BufferStrategy --> e.g. if I have something on the screen that doesn't need repainting will BufferStategy know that or I have to determine clipping region.
TIA for your remarks
I've noticed two things about fullscreen and setClip.
First of all, fullscreen mode is very good about maintaining its own clipping region. I've done time trials and found the overhead for drawing offscreen objects is minimal. A "user clip" set by setClip is actually concatenated with the display clip, so setClip can be used to narrow down your drawing region as well. I've made some nifty effects that way.
Second is a warning: If you're changing display modes, set fullscreen FIRST, then query and set display mode, then get your buffer strategy. If you get your buffer strategy before you start changing modes, then all the built-in clipping in the graphics object it returns will be invalid once you change modes.
Similar Messages
-
AIR Fullscreen AND Show_All
Hi, everybody
I'm trying to resolve this problem.
I am developing a AIR application with the following attributes: FULLSCREEN and then stage to EXACT_FIT (without trying to preserve the original aspect ratio).
The full screen is ok but the content of the stage appears cut out in approximately 1/4 of its area.
Can anybody help me?
Thank´s for any help.
Carlos Lopes.
My code is:
<mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="fFullscreen()"
horizontalAlign="center" verticalAlign="middle" clipContent="false" backgroundColor="#E1C787">
<mx:Canvas width="620" height="480" backgroundColor="#FFFFFF" x="209" y="73">
</mx:Canvas>
<mx:Script>
<![CDATA[
import flash.display.StageAlign;
import flash.display.StageScaleMode;
public function fFullscreen():void {
stage.displayState = StageDisplayState.FULL_SCREEN;
stage.scaleMode = StageScaleMode.SHOW_ALL;
]]>
</mx:Script>
</mx:WindowedApplication>Hi, everybody
I'm trying to resolve this problem.
I am developing a AIR application with the following attributes: FULLSCREEN and then stage to EXACT_FIT (without trying to preserve the original aspect ratio).
The full screen is ok but the content of the stage appears cut out in approximately 1/4 of its area.
Can anybody help me?
Thank´s for any help.
Carlos Lopes.
My code is:
<mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="fFullscreen()"
horizontalAlign="center" verticalAlign="middle" clipContent="false" backgroundColor="#E1C787">
<mx:Canvas width="620" height="480" backgroundColor="#FFFFFF" x="209" y="73">
</mx:Canvas>
<mx:Script>
<![CDATA[
import flash.display.StageAlign;
import flash.display.StageScaleMode;
public function fFullscreen():void {
stage.displayState = StageDisplayState.FULL_SCREEN;
stage.scaleMode = StageScaleMode.SHOW_ALL;
]]>
</mx:Script>
</mx:WindowedApplication> -
ITunes 8 fullscreen and Windows 7
Run into an odd bug. I can't seem to full screen any of the movie purchases I've got on Windows 7. When I try, it flickers like it is attempting to go fullscreen, and then it kicks me back to the play list, yet the audio for the movie is still running. Is there a way I can get this reported as a bug to Apple?
Hello, Welcome to discussions.
Since Windows 7 is currently in Beta it is not yet officially support with iTunes 8.0.2. You may wish to also post on the Windows 7 Beta Support forums as they might be able to provide you with more information about current updates to your OS.
http://www.apple.com/itunes/download/
Windows Hardware
A PC with a 1GHz Intel or AMD processor
Screen resolution of 1024x768 or greater
Playing videos purchased on the iTunes Store requires an Intel Pentium D or faster processor
Playing HD-quality videos purchased on the iTunes Store requires a 2.0GHz Intel Core 2 Duo or faster processor
512MB of RAM; 1GB is required to play HD-quality videos
A DirectX 9.0-compatible video card with 32MB of video RAM; 64MB recommended
A QuickTime-compatible audio card
A broadband Internet connection to use the iTunes Store
An iTunes-compatible CD or DVD recorder to create audio CDs, MP3 CDs, or back-up CDs or DVDs
Windows Software
Windows XP Service Pack 2 or later, or 32-bit editions of Windows Vista
64-bit editions of Windows Vista or later require the iTunes 8 64-bit installer
QuickTime 7.5.5 or later is required (included)
200MB of available disk space
Screen reader support requires Window-Eyes 7.0 or later; for information about accessibility in iTunes, visit www.apple.com/accessibility -
Fullscreen and noscale using AS3.0
I'm attempting to create a projector that will go fullscreen
and without scaling using AS 3.0
In AS 2.0 I simply did this:
fscommand("allowscale", false);
fscommand('fullscreen",true);
Worked every time...
I've tried a few things, like the following:
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
stage.scaleMode = StageScaleMode.NO_BORDER;
stage.align = StageAlign.EXACT_FIT;
But it ignors the code.
I have had success with the following:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
Suggestions???fscommand still exists in AS3. try this for your AS3
projector
import flash.system.fscommand;
fscommand("allowscale", false);
fscommand('fullscreen",true);
Edit: Thought I might post a link to the LiveDocs for
fscommand since people on the forums keep getting confused about
this pretty much undocumented function in AS3. I'm sure it is
simply because the Flash team is intending to deprecate it
completely but either way, it is still there and it's use is no
different that it was in AS2. The only difference is that now you
MUST import the flash.system package to use it.
AS3
Help - fscommand on LiveDocs -
I have recently upgraded to 10.0 and whenn using Flash Player in Fullscreen it behaves badly. Starts pausing frequently for aroun a second. It's annoying. When I escape fullscreen and run it within the Browser panel it's fine.. Other Browsers work fine in Full Screen Mode. Tried it with IE and Google Chrome. Firefox is my default Browser so my preferred option.
goneja2 wrote:
I have narrowed it down to my Motherboard, GPU, CPU or Power Supply that is emitting the noise.
I have never heard of such a thing, but the first thing I would try is to disabled Hardware Acceleration (Flash Player Settings). -
FLVPlayback screws up fullscreen and resizes my swf on "Esc"
OK, so I have been modifying the Adobe AS3 videogallery for my site. It got just about everything working but fullscreen.
1) The HTML is set to enable fullscreen
2) The playback component is the newest version
3) The Flashplayer is version 10+
So when you click on any of the videos in the menu it loads into the side panel and plays as it should. But when you click on the fullscreen button it goes into fullscreen mode, but only displays the first frame of my last video in the menu. That's all it does, really weird!
When you press, "Esc" it exits out of fullscreen and the swf that was at 100% centered is now aligned top left at it's original size of 723px
I have NO idea where to start here. The link to my site is below. Let me know what you think!
http://www.xsxtreme.com/index2.htmlI mean sir, when I click on one of the imported videos the video itself covers the entire screen. What i need is when i click the button for video 1, for sample, it will load with the size i manually transform on the stage.. and when the time comes i press the FULLSCREEN button on the "SkinOverAll.swf" that when the fullscreen happens..
Again, my settings stageDisplayState is FULL_SCREEN and scaleMode is NO_SCALE on the first frame. So, when i go and click the tab for video page it started fullscreen. The problem happens when i started clicking on one of the buttons on the video page, the screen all turns to black.. And when i hit ESC the screen turn to normal and no video is playing.. Tried playing the video, it work fine and press the FULLSCREEN BUTTON work fine too {that's because the stageDisplayState is NORMAL..
I hope that you could really help with this one.. I have a deadline tomorrow..
Thanks again,
YSONG -
Adobe Reader 10 - 3D fullscreen and floating window issue
hey everyone,
since the new pdf viewer (adobe acrobat 10) released i've got an issue with the 3d fullscreen and the floating window.
the first photo below shows the default view in a 3d scene. if i'm selecting the floating window (or the fullscreen) there is a problem with the camera (position, targetPosition and the behavior).so the view is wrong and the position of all nodes in it, and up to now i am unable to fix it
Furthermore, as you see in picure three, the fullscreen mode of a 3d scene shows the whole page and many errors in the scene itself...
Does anyone has this problem as well and can help me?
cheers frankhi good morning,
i was on holiday for 5 days now so sorry my late answer. I tried to set the default view in the u3d model but it doesn't work as well
i loaded up a file that does not work in fullscreen as well as in the floating window (http://www.fileuploadx.de/76685).
The javascript errors at startup were evoked, because i deleted some models that aren't needed but the javascript tries to load it. But they don't have any effect to the scene so far.
In the floating window (or fullscreen) something with the camera must be wrong. I deleted the buttons (you can see as billboards in the scene) and then it works. So i tried to figure out the problem and let me displayed the position of the camera after each rendering event simple by (console.println(scene.cameras.getByIndex(0).position). Even if I displayed all cameras, that were about 50 surprisingly, it was the same overall. If the scene is embedded in the pdf document the camera position changed as it has to be. In the floating window and in the fullscreen i did not record any changes of the camera ...
does anybody has an idea ?!
cheers frank
ps: please use adobe reader 10 to see that issue. with version 9 everythings should work fine. -
Is it possible to use fullscreen and exclusive mode with a jfilechooser?
is there a way to use them together? while in fullscreen exclusive mode the jfilechooser doesn't attach to fullscreen window and it halts the program.. I've tried setting the parent frame as the fullscreen frame but it's all glitched.. am I missing something?
thank you,
best regards,
JacopoFor reference, the cross-post can be found here:
Is it possible to use network devices (cDAQ-9188) with a PXI Real Time system?
Jayme W.
Applications Engineer
National Instruments -
FullScreenTakeOver, fullscreen, and fscommand exec
I am not a programmer. I switched to CS3 for flv ease of
skins, but I'm finding AS3 to be extremely difficult to learn.
I have an .fla that I am publishing as a Mac projector and a
Windows projector. It took me 2 days just to learn the new way to
handle simple buttons and now the Mac projector is already acting
up on other simple commands. I haven't even had a chance to test
the Windows .exe because I can't get the Mac version to work. I'm
hoping the problems are the same so I only have to deal with this
once.
I'm at the point where I'm trying to get this to work:
//in first frame
fscommand("fullscreen", "true");
myvideo.fullScreenTakeOver = false;
//in different scene
myButton.addEventListener(MouseEvent.CLICK, openSyllabus);
function openSyllabus(event:MouseEvent) {
fscommand("exec", "syllabus.app");
seems simple enough right?
Here are the problems:
1. fullscreen is not actually fullscreen. It has a menu bar
the top of the window.
2. "myvideo" is an FLVPlayback component. It is contained in
an swf called "video.swf". video.swf is loaded into an mc in my
projectors main timeline called "videoSpot_mc" like this:
teleButton.addEventListener(MouseEvent.CLICK, newvid);
function newvid(event:MouseEvent) {
var loadit = new Loader();
addChild(loadit);
loadit.load(new URLRequest("video.swf"));
videoSpot_mc.addEventListener(MouseEvent.MOUSE_DOWN, newvid);
But when video.swf loads into videoSpot_mc it goes to a black
screen despite having "myvideo.fullScreenTakeOver = false;" in
frame one of the main timeline. I tried it in frame 1 of
"video.swf" timeline, too and it just made the movie freeze. What's
wrong here?
3. fscommand is not opening "syllabus.app" which is a simple
application that in turn opens "syllabus.pdf".
I am working on a Mac OS 10.4.10 publishing from Flash CS3
v.9.0.3 in AS3.
What am I doing wrong??? I really need these answers fast or
I will probably lose this client. Thanks in advance.Thanks, but it needs to be a hybrid cd. If only the windows
version works then its useless.
I got the fullScreenTakeOver = false; to work. I also found
out that if you put
fscommand("fullscreen", "true") in the first frame and then
fscommand("fullscreen", "false") in the second frame and then
fscommand("fullscreen", "true") in the third frame, then the menu
bar will go away like it used to by just putting it in the first
frame.
The fscommand("exec", "myapp.app") never worked. I searched
every forum on the web and found only more people with the same
problem. I ended up switching back to AS2 Flash Player 8 and
created fullscreen video and other effects myself through AS2.
fscommands all worked swell. No issues.
I find Flash 9 and AS3 to be bad product "advancements" and
am happy I used the trial version before paying out the money for a
product with so many flaws and setbacks. -
Need 2 options; one for fullscreen and other for window
I have an application that needs to run fullscreen if the
monitor's resolution is set to 1024x768, and in a standard window
if the resolution is any larger. For the fullscreen mode, it needs
to take up the entire 1024x768 space - so the taskbar needs to go.
The problem I'm having is that when I enter fullscreen mode, the
movie won't take over the entire screen, it leaves a space at the
bottom eventhough I've hidden the taskbar.
What I need is for it to function just as it would if I
selected "fullscreen" from the publisher settings. Any idea? Here's
the code I'm using now:
if baScreenInfo("width") = 1024 then
displayType = "fullscreen"
_movie.displayTemplate.titlebarOptions.visible = false
_movie.displayTemplate.resizable = false
_movie.stage.drawRect = rect(0, 0, 1024, 768)
_movie.stage.rect = rect(0, 0, 1024, 768)
baHideTaskBar(true)
else
displayType = "window"
_movie.displayTemplate.titlebarOptions.visible = true
_movie.displayTemplate.resizable = true
end ifI was actually able to solve this problem with a free xtra
called fullscreen.x32. Now what I do is through the publisher
settings I set the movie as a standard window, and then only if the
screen is set to 1024x768, I reset it to fullscreen. So the code is
simply this (using buddyAPI to get the display indo):
if baScreenInfo("width") = 1024 then
fs = new(xtra "fullscreen")
setScreenMode(fs, 1024, 768,16,0, 0)
end if
It displays over the taskbar just like the fullscreen setting
does in the publish settings. Works great. -
I made a website which runs locally in a public museum. So I need to use firefox in fullscreen always, so that the customers would not have acces anywhere else but the site I created. I used HTML5, and JWPlayer for watching the videos.
There was no problem like this in the computer I made the site, but in the exhibition computer this problem appeared. I tried to run it in Kiosk mode using R-Kiosk, but it did no good.Kyseessä on sen verran erikoisosaamista vaativa ongelma, että tämä on käytännössä väärä foorumi ongelmanratkaisun kysymiseen. Voi toki olla, että joku tietää, mutta en veikkaisi sitä. Sori seuraavalle luukulle ohjaamisesta, mutta tässä tapauksessa on se on paikallaan.
Yleinen kehittäjäresurssi (joka on varmaan hyvin tuttu on) MDN https://developer.mozilla.org/ ja sen mukaisesti keskusteluryhmät (newssit) ja postituslista on oikeita osoitteita. Suosittelen siis sinne kirjoittamista. -
LXDE (Openbox) Fullscreen and Layer Problems
Hi,
I run the console "Terminator" as a wallpaper and I sometimes use in fullscreen mode on occasion. I've noticed that once Terminator is in fullscreen, it's "always on top" despite being in the bottom layer. From fullscreen back to normal mode, it's in the bottom again. It's not just with Terminator but all applications are behaving the same way (fullscreen ==> always on top).
I've then binded the "F6 key" to toggle the Raise/Lower window functionality in my ~/.config/openbox/lxde-rc.xml file. That did not do the trick either. Is there a way to make an application to keep their layers even in fullscreen?
Thanks in advance~Do you use a composition manager? Any application specific settings in rc.xml?
Last edited by emeres (2014-05-30 17:54:40) -
Mavericks fullscreen and vsync
Hi,
I recently installed Mavericks on my rMBP and my iMac and saw a bad drop of fps in many games (including Diablo 3 and TESO beta). After playing around a bit with the settings I discovered, that in fullscreen mode with enabled vsync the framerate is capped at 30fps. When I switch to windowed mode OR disable vsync, the fps are back to normal. Is this a known bug in Mavericks? Are there any known fixes for this?
Regards,
Dariofscommand still exists in AS3. try this for your AS3
projector
import flash.system.fscommand;
fscommand("allowscale", false);
fscommand('fullscreen",true);
Edit: Thought I might post a link to the LiveDocs for
fscommand since people on the forums keep getting confused about
this pretty much undocumented function in AS3. I'm sure it is
simply because the Flash team is intending to deprecate it
completely but either way, it is still there and it's use is no
different that it was in AS2. The only difference is that now you
MUST import the flash.system package to use it.
AS3
Help - fscommand on LiveDocs -
Android fullscreen and systemChrome
Hi all,
I'm testing Android AIR 3 app on Samsung Galaxy Tab 10.1. My app goes fullscreen from start (I tested with pure AS3 switch also). But standard systemChrome (notifications bar) is still visisble. It becomes empty and black filled but still takes place on a screen. How to completely remove systemChrome from the application?
Thanks,
Denis.Try this one,
http://blog.mesmotronic.com/index.php/p/533/comment-page-1#comment-292390 -
Mac OS apps won't go fullscreen and notification center not working
Hi everyone,
I'm on Mac OS 10.8.2, and lately my apps simply won't go full screen (e,g, safari or any other app that uses native OS X full screen), and now i've just realized that notification center doesn't show either (neither if a click on the top right button nor swipe with two fingers), although notifications keep poping up.
Does anyone have any idea what could be happening?i'm using 10.4.7, dual 2.5g, 3g ram - flash 8 professional
i just found a work around using a combo of threads. i got it
working on a new empty file and on my current working file.
make a 3 frame movie.
don't put anything in the first two frames except this
actionscripting:
in frame 1, put fscommand("fullscreen", "true");
in frame 2, put fscommand("fullscreen", "false");
in frame 3, put fscommand("fullscreen", "true");
and then continue on w/ the rest of your actionscripting in
this frame and on...
placing the three toggling fscommands all in the same frame
did not seem to provide enough time for flash to react.
i realize this is ugly w/ the flashing notfull/fullscreen. i
hate writing code and building files like this... but it does work.
the flashing doesn't really show up on a PC either, which is nice.
Maybe you are looking for
-
How to create the .BPDX file required to scedule PDF index updates?
Hi All, I'm having trouble creating the .BPDX file required to schedule index updates. There is very little information on the subject & i have been going round in circles for the last couple of days. I have created several files that appear to initi
-
Problem in translations when Table maintenance screens
Hi, I have generated maintenance for a custom table. I am able to see the sceen title (= Table description) in EN (original langauge). However, when I login into other languages it it displaying the screen title as "?". Could you please let me know h
-
Transfer my balance to someone else
Am I able to send my balance available in itunes store to someone else? I don't use itunes anymore, and want to send my balance to a friend so they can use it.
-
i am getting one single pop up add over and over again like at least 5 times a minute. it is like... a cell phone horoscope problem i have reset safari several times and it has not fixed the problem. and block pop up IS selected help?
-
IPhoto 8 - importing TIFF files
I have just tried to import 3 TIFF files and found that when I go File>Import to Library> and the selection window appears my tiff files were greyed out, only by manually adding ".tif" at the end of the file name will iPhoto enable me to select the f