Pause Screen
Is there a way to disable everything (movieclips and stuff). Like say everything on _root but still have something like an unpause button thats not disabled, and the mc's and other items on _root may change so they wont always be the same, meaning I can't disable everything individually.
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 05-02-2005, 12:43 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Pause Screen
Is there a way to disable everything (movieclips and stuff). Like say everything on _root but still have something like an unpause button thats not disabled, and the mc's and other items on _root may change so they wont always be the same, meaning I can't disable everything individually.
Problem With Screen Resolution + Problem With Pause
Hello, Hello,
I've got a full Flash site (http://www.laplumeetlasouris.com) optimized for a 1024x768 screen resolution. I would like to make it available to people having a 800x600 screen resolution. Is there any way to display a "reduced" (in size) version of my Flash files ?
Many thanks in advance,
François
+ my previous question still unsolved :
Quote:
Originally Posted by smile007
Hello,
I've got a full Flash site (http://www.laplumeetlasouris.com) in which people can navigate using buttons to display a screen after another.
I want to make a local demo version of this site, screens being displayed automatically. In order to control the pause duration for each screen, I use :
ActionScript Code:
function pause(){
play();
clearInterval(timer);
}
on the first frame of each swf file
and
ActionScript Code:
stop();
timer = setInterval(pause, X000);
on the frame where I want to pause. This way, I can control the pause duration for each screen.
The problem is that I also want the site to be accessible with buttons so that, if someone does not want to see a screen, he can go to another. But as soon as I press a button, the duration of the following pauses is not the one I wanted, as if my "clearInterval" actions were ignored.
What can I do ?
Many thanks in advance
François
Full Screen Flash Projector Reverts To Windowed When Exiting Screen Saver
I've created a flash projector that displays a companies product catalog on a 50" touch screen plasma display.
It looks great and plays great if I launch the projector and force it to full screen.
However, since this is a plasma, screen burn in is a major issue to contend with.
I've set the Windows screensaver to activate after one minute of inactivity.
The problem is that when the screensaver is exited by a touch, the flash projector that was running in full screen mode is now back in windowed mode so CTRL-F has to be hit to force it to full screen again.
This isn't good.
So, I guess my question is two-fold:
Is it possible to programatically force the projector to full screen mode so that no user intervention is required? (fscommand works on the first launch, but when the screensaver kicks in, all bets are off.)
And/Or
How would I go about creating a timer to activate an internal screensaver and insert it into the actionscript for the XML gallery?
Any help is greatly appreciated.
Thanks,
Rick
[FLASH9- AS2] Full Screen, Keep Scale Ratio, Center Screen
[ X ] Problem solved
Hi everyone
I just came up with something i have some trouble to handle
I've tried a couple of solution but none seems to work perfectly
What I'm trying to do is simple, get my flash to go full screen, but whatever resolution the user has, my flash must centers itself with the biggest proportion possible, and two movie clips goes right and left of it, as if they were borders.
I've been able to do this with a simple png, but i was not able with a movieclip where his dimension changes through time. ( i have a tween, so the mc gets really big even though just my stage is displayed)
Open Browser 100% Of Screen (maximize Not Full Screen)
Hi...
Would anyone happen to know the answer to this ?
Open browser 100% of screen...
In other words i want to maximize the browser window...
Kinda like full screen but they get to keep their browser :P
Does the java command support %'s ?
like..."width = 100%"
Help on this would rule
Full Screen Flash - Screen Center Problem
Hi, I'm trying to use full screen flash, and place my movieclips with actionscript.
It's screwing up the screen center for some reason though, and I can't seem to figure out why...
Here's the screwed up site:
http://www.combinecreative.com/test/mover.html
Here's the code that's on a movable MC:
onClipEvent (enterFrame) {
_x += (_root.logox - _x)/3;
_y += (_root.logoy - _y)/3;
Here's the code I'm using on the main timeline to move the MC's:
_root.logox = Stage.width / 2;
_root.logoy = Stage.height / 2 - 200;
It seems pretty straight foward, but for some reason it's offsetting my screen center...
Any ideas would be great!
Screen Update Lag? Screen Updates During Preview But Not In Browser.
I've got a function that searches an external csv file for some info then returns the results to the screen via a couple of arrays and some other string functions. The csv search takes approximately half a second to a full 2 seconds, depending on where the searched data is located in the csv.
So that user's do not think the app is frozen, I've written some code that disables the input text box and changes its background color. Also, the code changes a status text box's text to "searching".
All of it works fine in the preview window (ctrl + Enter). However, when I export it to html preview (F12) the boxes do not update. The search still works and the results are still returned, but neither box changes. I'm thinking maybe the browser or player is not updating the screen fast enough. Below is some sample code:
this.Search_btn.onRelease() = function()
{
InputName_txt.selectable = false;
InputName_txt.setStyle("backgroundColor", 0x999999);
Status_txt.text = "Searching";
PersonnelSearch (InputName_txt.text);
}
At the end of the PersonnelSearch() function I have code that changes it back. I've tried placing the status code at the beginning of the PersonnelSearch() function but no go. I even tried the following code:
this.Search_btn.onRelease() = function()
{
InputName_txt.selectable = false;
InputName_txt.setStyle("backgroundColor", 0x999999);
Status_txt.text = "Searching";
if(Status_txt.text == "Searching")
{
PersonnelSearch (InputName_txt.text);
}
}
Nothing has worked so far. Is there some sort of screen update lag between the preview speed and the actual browser window speed? To test the pathing, I removed the code in the PersonnelSearch() function that returns the boxes to normal then re-tested. The boxes finally updated in html preview mode, however, they did not update until the PersonnelSearch() function had completed.
Full Screen Flash Page On All Screen Settings
PLEASE COULD SOMEONE HELP
I am NEW to FLASH and am designing a website (www.sk1online.co.uk)
I have designed a website the size of the website is 800x600.
I have published the website with the following settings:
100%x100%
Scale: Exact Fit
Window: Transparentless
When I view the website on a 800x600 screen setting the website appears perfect and takes up the whole screen.
HOWEVER, when I view the website on other settings say 1024x768 the website shrinks and dosnt take up the whole page.
PLEASE LET ME KNOW HOW I COULD PUBLISH THE WEBSITE SO IT FILLS THE WHOLE PAGE ON ALL SCREEN SETTINGS.
I have used the following to no LUCK.
Stage.align = "TL";
Stage.scaleMode = "noScale";
Full Screen Flash - Incorrect Screen Middle
Hi, I'm trying to use full screen flash, and place my movieclips with actionscript.
It's screwing up the screen center for some reason though, and I can't seem to figure out why...
Here's the screwed up site:
http://www.combinecreative.com/test/mover.html
Here's the code that's on a movable MC:
onClipEvent (enterFrame) {
_x += (_root.logox - _x)/3;
_y += (_root.logoy - _y)/3;
Here's the code I'm using on the main timeline to move the MC's:
_root.logox = Stage.width / 2;
_root.logoy = Stage.height / 2 - 200;
It seems pretty straight foward, but for some reason it's offsetting my screen center...
Any ideas would be great! pretty please...
Screen Update Lag? Screen Updates During Preview But Not In Browser.
I've got a function that searches an external csv file for some info then returns the results to the screen via a couple of arrays and some other string functions. The csv search takes approximately half a second to a full 2 seconds, depending on where the searched data is located in the csv.
So that user's do not think the app is frozen, I've written some code that disables the input text box and changes its background color. Also, the code changes a status text box's text to "searching".
All of it works fine in the preview window (ctrl + Enter). However, when I export it to html preview (F12) the boxes do not update. The search still works and the results are still returned, but neither box changes. I'm thinking maybe the browser or player is not updating the screen fast enough. Below is some sample code:
this.Search_btn.onRelease() = function()
{
InputName_txt.selectable = false;
InputName_txt.setStyle("backgroundColor", 0x999999);
Status_txt.text = "Searching";
PersonnelSearch (InputName_txt.text);
}
At the end of the PersonnelSearch() function I have code that changes it back. I've tried placing the status code at the beginning of the PersonnelSearch() function but no go. I even tried the following code:
this.Search_btn.onRelease() = function()
{
InputName_txt.selectable = false;
InputName_txt.setStyle("backgroundColor", 0x999999);
Status_txt.text = "Searching";
if(Status_txt.text == "Searching")
{
PersonnelSearch (InputName_txt.text);
}
}
Nothing has worked so far. Is there some sort of screen update lag between the preview speed and the actual browser window speed? To test the pathing, I removed the code in the PersonnelSearch() function that returns the boxes to normal then re-tested. The boxes finally updated in html preview mode, however, they did not update until the PersonnelSearch() function had completed.
Flash Presentation On 16:9 Screen Or A Wide Screen Plasma Tv
Hi Gang,
I am new to the forum, so big hello to all your hot flash gurus!
I have been given a project where I need to create a flash site, that will be played on full screen on any computer.
However, they also would like to play it on a wide screen tv, like a plasma screen.
When it comes to proportions I am not sure where I should begin.
For example, if I begin the site for a website I could start with 800 x 600, 1024 x 768 these all being the 4:3
If the site works full screen on 4:3 then thats great and thats my goal, but I want to make sure that when I play the flash site on the WIDESCREEN plasma, it doesnt distort.
what I am hoping will happen is that when we run the projector file, the site simple opens, but the box where the site compotents are, simply sits in the middle and there are spaces on the right and left, where its been centred inside the widescreen display.
The second concern is pixel size, I know that the shape of pixels are different on TV screens, to computer monitors, do I need to worry about this? or will the computer that we play the Flash projector file through, on to the PLASMA just sort all that out, as if I was playing the site on a normal computer screen.
Thanks so much for any advice you can give.
FULL SCREEN FLASH PAGE ON ALL SCREEN SETTINGS
FULL SCREEN FLASH PAGE ON ALL SCREEN SETTINGS
PLEASE COULD SOMEONE HELP
I am NEW to FLASH and am designing a website (www.sk1online.co.uk)
I have designed a website, the size of the website is 800x600.
I have published the website with the following settings:
100%x100%
Scale: Exact Fit
Window: Transparentless
When I view the website on a 800x600 screen setting the website appears perfect and takes up the whole screen.
HOWEVER, when I view the website on other settings say 1024x768 the website shrinks and dosnt take up the whole page.
PLEASE LET ME KNOW HOW I COULD PUBLISH THE WEBSITE SO IT FILLS THE WHOLE PAGE ON ALL SCREEN SETTINGS.
I have used the following to no LUCK.
Stage.align = "TL";
Stage.scaleMode = "noScale";
Return To Idle Screen (screen Saver)
I need to know how to make a screen saver screen with Flash. After a certain amount of idle time, the screen returns to an animated holding screen. Please help!
Off Screen Pictures Show Up In The Html Screen
I have been working on swf and now that it is almost fininshed I have been checking how it will look with in a web page.
The problem is the pictures I want to slide off the screen continue to be visible on the html screen. Does that make sense?
In flash the pictures move off the document area (in this case 750X400) but when view in an html page I can still see the pictures as they slide off the bottom edge of the flash area.
Is there any way to keep flash pictures from showing up when they are off the page?
My .swf is scalled 100%X100% with Salign T so that the swf fills the screen left to right and is next to the top edge of the screen. Just the bottom edge of the flash screen is open... and this is where I see the flash pics continue to show even after they should have moved off the screen.
Hope this makes sense. I would appreciate any help on this.
Matt
Page Goes Off Screen W/ Screen.availWidth Command
Hello all. Using this script in a getURL NewWindow command:
'width='+screen.availWidth+',height='+screen.avail Height+’
shoots the edges of the popup off the screen, which looks pretty bad. It's not such an issue with 1024X768 since the page has been designed so no scroll is needed. But with 800X600 one half of the vertical scroll bar is off the page (not good). What can I throw in there to make the page, I dunno, maybe 10 less pixels than the "available width." Or maybe a command that tells the popup to actually fill the available space.
thank you Flashmeisters!
ps, I have a laptop....don't know if my screen is somehow different than a monitor because of it.
Intermediate Gray Screen Seen While Moving From One Screen To Another
I am integrating flash with VC++ using ActiveX.Here when I click on buttons to go to the next screen an intermediate blank screen flashes for a second that looks very odd.In fact for some screens that have many movie clips the blank screen stays there for a few seconds before showing the actual frame. This causes a blinking effect that is not proper.I wish to know why this happens and how it can be removed.
Thanks in advance.
How To Make Flash Screen Saver Always Fit Screen?
hi.
i'm trying to make a screen saver just for the pleasure of myself and a few close friends in my team. i've searched everywhere but have not found an answer to the following problem. although i use this command:
Code:
fscommand("fullscreen", true);
in the first frame of my movie, the screen saver does not fit the screen all around as it should. yes, it does scale to a certain extent, but only according to the dimensions of the original fla, that is, it'll stretch only horizontally or vertically until the stage limit leaving a gap either to the top or sides... and this won't do as my friends have different stage dimensions as me.
so. can someone please tell me what i'm missing? i'm using flashforge to produce the .scr. i've tried with trial versions of a couple of similar converters, but the problem persists. must be something with my .fla settings.
wise words will be much appreciated here!
Full Screen Flash On All Screen Sizes
The problem I have is that I designed a website 800x600 (page size).
When I publish the website in 800x600 screen resolution the website doesn't fit in the whole page (it stretches).
I then designed the website taking up half of the 800x600 page and published it. It viewed full screen on 800x600 screen resolution only and on other screen resolutions it shrinked.
PLEASE LET ME KNOW HOW I COULD VIEW IT FULL SCREEN ON ALL RESOLUTIONS,
HERE IS MY CODE BELOW..
PLEASE COULD YOU SEE WHAT IS WRONG WITH IT:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>index</title>
</head>
<body bgcolor="#000000">
<!--url's used in the movie-->
<a href="<A href="mailto:FAZ@SK1ONLINE.CO.UK"></a">mailto:FAZ@SK1ONLINE.CO.UK"></a>
<a href="<A href="mailto:dhol99@hotmail.com"></a">mailto:dhol99@hotmail.com"></a>
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/...version=7,0,0,0" width="100%" height="100%" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="quality" value="best" />
<param name="scale" value="exactfit" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#000000" />
<embed src="index.swf" quality="best" scale="exactfit" wmode="transparent" bgcolor="#000000" width="100%" height="100%" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
Getting Screen.width And Screen.height From Javascript
or is there a way in F5 to set these as variables.
I'd like to place a MC 800x600 and set the stage size to something like 2500x2500 and then place the movie full screen no toolbars, but place the moveclip in the center of the screen and it's height still 800x600
anyone ever do this?
with this technique I want to be able to drag dialogs and info boxs off the main MC and set them out side the main MC of 800x600.
to do this I have to set the stage very lage? but I want to keep the clip centered
any ideas
jef
Print Screen / Screen Grab
I'm building a virtual horse racing game in Flash MX. So far, I have the horses running across the screen and the winner is always different.
The next thing is to do a "photo finish" screen after the race. This would visually confirm the winner to the user. The problem is, how do I capture an image of the winning horse as he crosses the finish line and then display it to the user?
Is there a way for Actionscript to trigger a print screen and then I could take this image from the clipboard and display it in the movie?
Screen Size Changes -- Can't Get Full Screen
I loaded a swf file on my homepage. However, it appears small. But when another link -- within a standard HTML page -- is used to go back to the swf page it then appears the larger viewable size. If anyone has suggestions on how to make the entire site viewable larger -- I would sure appreicate it.
Thanks!
Julie
How To Get Screen Shots (print Screen)
dear all
i am newbie to AS3 and want to print my screen programmatically using AS3 and Flash Cs3 with FMS3
how can i do that..
any positive and quick response in this regard will be highly appreciated.
a bundle of thanks in advance
Regards
maani janjua
Edited: 04/18/2008 at 01:27:55 AM by maani786
Flash Image Gallery Embed In PHP Click Flash Screen Appear In Middle Of Screen
Firstly Thank you for taking a look at this thread. Secondly i tried searching for this and couldn't find anything
In case you haven't read my intro topic. i am working on an online retail website. It is relatively old and only displays 1 picture of the shoe. I have looked around other websites and some appear to have a flash script, that enables the user to click on the picture and make a grayish box appear in the screen. This small box has thumbnails of the images which can be clicked to be enlarged and also the ability to zoom in a fair amount and move around the picture. Below are some screen shots i have found. Any ideas or suggestions would be very much appreciated
Kind Regards
Delphi
^ This is one i found on a site.. its flash and allows you to click on the smaller thumbnails to bring it to the top. also allows you to zoom in.
^ This is what i meant by Quote: greyish box appear in the screen .
Non-screen-based And Screen-based, I Dont Understand
"If you want to include a preloader (a separate SWF file that loads your primary SWF) with your screen-based document, one way to do this is to create the preloader as a separate SWF file (non-screen-based), and load the SWF file for the screen-based document from within the preloader SWF.
You cannot create a preloader within a screen-based document, because all screens in a document are located on the first frame of the root Timeline, so you cannot call or load other frames."
1st Q. what is a non screen based swf?
2nd Q. what is a screen based swf?
3rd Q. where can i possibly get a preloader code that i can modify?
4th Q. how about the code to load the final movie?
5th Q. can someone explain this to me and the step by step process?
HELP PLEASE!! HELP PLEASE!! HELP PLEASE!! HELP PLEASE!! HELP PLEASE!!
THANK YOU IN ADVANCE GUYS
Full Screen Flash. No Toolbars, Controllers, Just The Flash Page On Full Screen - How
Ive seen this on DVD Roms, Multimedia Roms, Presentation Cds, etc.
People insert their DVD or CDs of their Flash and it plays automatically and at Full screen. There's no Controllers or anything except the one you make in the Flash itself.
There's no browser either. Its like watching a DVD where all you see is just the movie.
Anyone know exactly what this method is called and any tutorials or samples on how to do this with your Flash page.
Thanks
Pause
Hey guys, i just need a simple timer to put into my for loop. i can make one easily in C but its a little more difficult in flash 5 cause im newer to it than i am to C. Can someone help me out? just a timer where it will wait for a desired number of seconds that u can easily put into some scripting. thanks
Pause MC
I have several movies on the stage. They are controlled by the "with" statement to play in sequence. The problem is how to stop and and start them. This means I have to create a variable to tell me what movie is currently playing and at what frame. Please help I have tried everything for days !!!
Pause
Here's a little something that's been buggin me that I need to figure out.
If you go to certain sites such as http://www.faintstatic.net/ and go to his portfolio, and choose one of his projects to launch.
You get a pop up.
I do it all the time myself. No problem.
The question is in that when you return, his original site has been paused. Music, movie clips, and all. I assume this is done for the benefit of us with slow processors on our machines, so that the new thing that's launched doesn't have to compete with the other in the background.
Can someone tell me what the cleanest way to do this is?
P.S. Does anyone have a favorite hosting company?
Thanks as always. John
5 Second Pause?
I was wondering if there was any way to pause a Flash 5 movie for maybe 5 seconds or so, and have it carry on with the rest.
i.e
say I have some text in the movie that i want people to be able to read. Is there a script that will pause the peice, or maybe loop a 1 sec peice 5x and then carry on with the rest of the movie??
I hope this is clear...
TIA.
Pause Mc
I have a mc in my main timeline. I would like to create a button that allows the user to pause the mc at anytime and then press the pause button again to allow the movie to continuing playing.
Thanks
J
I Need A 30 Sec Pause...
G'day trendsetters...
I have a movie (15 frames per sec) where I need a 30 second pause along the timeline. Rather than create 450 empty frames, is there an easier and more efficient way?
I have seen the answer to this question in the forum before but I can't find it!
Cheers
Pause?
can you pause a mc for a set amount of sec.?
Pause For 1 Second
Hi ppl, wanna ask does anyone know the actionscript to pause for a second, mi story is this. There is 2 sound file in my game, at the start of the game, a slowMusic file will be played, after a time limit is reach, the slowMusic will stop and another fastMusic will be played.
Problem:
--------
The slowMusic does not stop fast enough, so what I have is that there will be a mix of both the slowMusic and fastMusic, making it sound real bad. So, that's why I want to pause a second before the playing of the fastMusic.
Any suggestion to solve this problem is welcome and thz for reading.
I am using flash 5.
Pause
I want to pause my movie.... and any movie clips playing when paused this is what ive done... i set a variable if = 0, telltarget each movie clip and stop... variable = 1 telltarget each movie to play and it does that but i only want to play the movie clips that were running when paused!! any better solutions out there...
thanks alot!
I Can't Get It To Pause Please Help
Im using Flash 5.. and i want to know how do you create a button at the begining of a a flash vid to "start" it.. (like press the button to start the movie..) and also how create a reply button at the end.. if anyone could help.. that would be great!! thanks
I Need To Pause
anyone no how to pause, or delay a movie for a certain amount of time or ticks? What actionscript do I need? Thanks for the help!
Pause
Hi,
I'm new to the autoacripting thingy and preloader. I'm wondering if there is a way to add a 3 sec pause to the end of the preloader. My scene 2 is pretty small, so on T3 line, my loading page doesn't even show up a bit. but i want people to see my loading page though...
Or maybe there is a way to preload scene 2 as well as scene 3? or another swf file?
thanks for helping
Pause?
is there a way to tell the script to just WAIT 5 seconds and THEN execute? like a pause action or something?
Pause
If i want to pause a movie for say 5 seconds at the beggining, how can i achieve this? Do i use actionscripts?
Pause Mc
say I have MC with animation loop
can I pause it for 10 seconds???
How Can I Pause...
Flash5
I want to stop something from happening too quickly, by pausing my AS for two seconds. How can I do this (preferably without adding more keyframes or movieclips)?
Ta!
Pause?
Is there such a thing as a "pause" feature in Flash MX?? i want to pause the movie for a couple of seconds and resume it. Is there another way than spacing it out over all the frames you want it to cover or by using the stop and goto actions?? Thanks!!
Pause A MC
I have a movie clip that contains a drop down menu. I have the movie clip falling down the screen. I need to stop the menu on rollover then continue falling on rollout. I am not very good with action scripts, so could someone help me. I have attached my flash file for further reference.
Here is a link to a zip file in case the attachment didnt work.
http://home.indy.rr.com/coxdcc/flash/
or you can email me at jcox-dcc@indy.rr.com and I can send you the flash file.
Thanks for any help you can give . . .
Pause
I'm trying to figure out an elegant way to pause my movie. It wouldn't be that hard to figure out it it were just an animation, but I also have 2 frame counter loops all over the place for pacing. If someone hits the spacebar to pause, and the movie is in the middle of the loop at the time, then how can I make sure it will stop? And when they hit spacebar to unpause, I would need to skip the rest of the counter loop. Any ideas?
Pause
Hi,
i want to pause my main movie for 25 frames i forgot how to do it...hope you can help me..
How Would I Put A Pause In This
Hi I want to put a slight pause in this slideshow. a couple seconds. Here's the code. I want it so it fades in a pic and then pauses for a couple seconds and then the next pic fades in.
_root.onEnterFrame = function(){
for(t=0; t < used; t++){
_root.slide[t]._width = 200;
_root.slide[t]._height = 150;
if(slide[t]._alpha < 100){
slide[t]._alpha += 5;
}
-->>>>I'm guessing the code would go here<<<-----
}
}
Thanks a lot
Dave
How Would I Put A Pause In This
Hi I want to put a slight pause in this slideshow. a couple seconds. Here's the code. I want it so it fades in a pic and then pauses for a couple seconds and then the next pic fades in.
_root.onEnterFrame = function(){
for(t=0; t < used; t++){
_root.slide[t]._width = 200;
_root.slide[t]._height = 150;
if(slide[t]._alpha < 100){
slide[t]._alpha += 5;
}
-->>>>I'm guessing the code would go here<<<-----
}
}
Thanks a lot
Dave
|