Clear Screen
This is fairly simple. I have a little drawing board using the following code:
createEmptyMovieClip("Line",1);
Line.lineStyle(1,0x000000,100);
onMouseDown = function (){ Line.moveTo(_xmouse, _ymouse); onMouseMove = function (){ Line.lineTo(_xmouse, _ymouse);} }
onMouseUp=function(){ onMouseMove=null; }
I also have a button named clearScreen, instance name clearScreen. I want this button to clear the screen so I can continue drawing. Whats the code?
Thx
FlashKit > Flash Help > Flash MX
Posted on: 06-21-2003, 12:15 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Clear Screen Help
I have a project i'm doing for school making a game with a tile back ground and duplicate movie clips for the dudes. and when i go to a new empty fram the crap is still on there i need it off i know the remove movie clip thing but the back ground it is made like
stop();
mvWdth = 578;
mvHght = 578;
tileWdth = 34;
tileHght = 34;
map1 = [[29,29,28,29,28,29,32,0,30,20,23,21,23,22,23,31,0],
[2,0,0,0,0,0,0,1,30,25,26,20,24,20,20,31,0],
[0,0,1,0,0,0,0,0,30,20,21,21,22,22,27,31,0],
[0,0,0,0,0,0,0,0,30,23,20,23,22,23,23,31,0],
[0,0,0,0,1,0,0,0,30,20,24,22,23,24,23,31,0],
[0,0,0,0,0,0,0,0,30,21,23,21,27,23,23,31,0],
[0,0,0,0,0,0,0,0,30,25,22,23,26,23,26,31,0],
[0,0,0,0,0,0,0,0,30,22,23,23,23,21,23,31,0],
[0,0,3,0,0,0,0,0,30,20,23,23,25,23,23,31,0],
[0,0,0,0,0,0,2,0,30,23,27,23,23,21,22,31,0],
[0,0,0,0,0,0,0,0,30,20,23,21,22,24,23,31,0],
[0,0,0,0,0,0,0,0,30,22,22,23,23,23,21,31,0],
[0,0,0,3,0,0,3,0,30,20,23,24,21,23,23,31,0],
[2,0,0,0,0,0,0,0,33,29,28,28,29,28,29,32,0],
[0,0,0,1,0,0,0,0,0,2,0,0,0,12,13,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,3,14,15,0,0],
[11,8,8,9,8,11,8,16,17,8,10,8,4,5,9,8,16]];
function MapMaker (map) {
_root.attachMovie("blank", "tiler", d++);
var mapWdth = map[0].length;
var mapHght = map.length;
for (var i = 0; i < mapHght; i++) {
for (var j = 0; j < mapWdth; j++) {
var name = "tile_"+j+"_"+i;
_root[name] = new _root["tile"+map[i][j]];
_root.tiler.attachMovie("TileSet1", name, i*100+j*2);
_root.tiler[name]._x = (j*_root.tileWdth)+15;
_root.tiler[name]._y = (i*_root.tileHght)+15;
_root.tiler[name].gotoAndStop(_root[name].pos);
}
}
}
MapMaker(map1);
thanks guys
How To Clear The Screen And Load Another Swf?
I', trying to make a catalog type cd. Where someone can basically view my inventory on a cd. But each of my sections is already on its own swf type presentation.
If I import as swf into the movie, create a MC and use the LoadMovieNum command, it just overlaps the loaded movie onto the first.
How do I make it so when someone clicks on a picture or a button, it clears the screen and runs a new swf in the same directory on the disk?
OR
Import the new swf into one swf but just clear the screen first so they dont overlap?
Thank you
PrintJob Why Does It Clear The Screen ?
I have written a colouring board/whiteboard app and it's in use.
A small problem is just driving me bananas:
When a user has drawn a picture and printed it (PrintJob function)
the drawing board is cleared. I don't know why this is happening.
PrintJob code is: (the drawing is held in _root.canvas)
Quote:
// PRINTING
this.print_btn.onPress = function() {
var printit : printJob = new PrintJob();
if (printit.start()) {
var numPages:Number = 0;
if (printit.addPage(_root.canvas,{xMin:0,xMax:750,yMin:0,yMax:575})) {
numPages++;
};
if (numPages > 0) {
printit.send(); // print page(s)
}
delete printit;
_root.createEmptyMovieClip("canvas", 0);
} else {
trace("PrintJob.start() failed");
}
}
Any A.S. gurus can help me out here ?
Clear Movie(screen)
Is there a function to clear the movie(screen)
created by "duplicateMovieClip"?
Thank you.
Clear The Screen Of Deleted Array Objects?
I created an array of text input boxs in frame 1 and deleted the array in frame 12. why is it when i jump to frame 30 they still show? I ran the debugger and the instances are gone, but the input boxs still appear on the output movie. do i have to redraw the screen? I saw something about update after event on some tutorial site.
Flash Resize - How Display Clear Text And Images In All Screen Settings
PLEASE COULD SOMEONE HELP ME.......
I have designed a website in FLASH using the following Settings:
Dimentions: 100% x 100%
Scale: Exact Fit
Transparentlece Backgroud
The page WIDTH and HIGHT of the website pages designed is: 800x600
THE PROBLEM I AM HAVING IS THAT when I view the website on a 800x600 screen resolution the text gets disorted and the images become smaller too. The website begins to looks scruffy.
WHEN I view the website on a 1024x768 screen size or greater the webpages are clear and easy to read.
This is a website where the size of the WEBPAGE changes when the screen size changes but the txt and pics remin the same and dont become disorted. HOW CAN I VIEW MY WEBSITE LIKE THIS AND HAVE CLEAR TEXT AND CLEAR PICS IN ALL SCREEN SETTINGS LIKE THIS SITE BELOW...
http://www.x1xfilmanddesign.co.uk/ (HOW CAN I HAVE MY PICS AND TXT APPEAR CLEARLY LIKE THIS WEBSITE IN ALL SCREEN SETTINGS)
THANK YOU
JOE
Clear Button Work To Clear All The Lines Drawn On The Board
hi i need help in regrading to my school project... here is my project... i have been stuck with this for the pass 2 weeks and i still cant figure it out i am hoping that some one would be able to help me.
my project is that i need to click 3 points on the board to draw line connecting the points which i have done.
but i need help in getting my clear button work to clear all the lines drawn on the board
and also to allow the program to draw another sets of lines after the first line has been drawn
and also an undo button that will undo the previous line drawn
Clear Stage And Clear Class Values?
I'm working with this tutorial to create a quiz, but modifying it to load the data from XML: Create a Quiz Application Using AS3 Classes
I would like to put a retry button at the end that would clear all previously set values and clear all the display objects that I've added to the stage and basically start the file over again as if it was the first time. Is this possible?
I would think there's an easy way since it is using external class files... I hope it doesn't require a lot of manual Remove Child At and clearing variable and array values.
Clear Images On Flash Not Clear On Net
I have imported 2 pictures into my library, used the bitmaps in flash converted to symbols for editing. They look great when in flash but they are very pixelated when viewed on the web. Dont know why, quality is all the way up, jpg setting is all the way, it has to do with the way it is published internally. here take a look............. www.newrealitydesigns.com In reference to the table.
If anyone knows whats up let me know.
new_reality@411.com
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
Clear
I may have not made myself clear but i dont need soung are images you see if i was going to make a intro and i wanted to use all my own staff then there is where i run into probules. i just wish i had the skills to build it all from the ground up.
p.s my last intro was 400 frames WOW i need to know how to cu this down and still make my intro good with less frames
a8j5f
Clear Btn HELP
hi , i did this flash ting for drawing on a sketch pad kinda thing, i can draw yes, but den when i re-enter this scene the drawing is still there, how can i clear everything i've drawn by clicking on clearbtn? i tried having clearbtn.onpress den the symbol movieclip of a blank paper(which is jus a white rectangle mc) will be visible. but then it cant work at all. =(
Clear Key
hi all,
in the previous version of Flash i could clear the screen while working in order to have full view of the work area by pressing "TAB" key... all those windows will be cleared and left only the work stage on the screen.. but looks like i cant do tht in the new flash MX... anyone know how can i clear the screen in Flash MX??? or maybe macromedia changed the key... thanks
Clear Xml?
Hi am puting together a fairly easy interface. The "start" frame shows four buttons. Each of those four buttons goes to a specific frame of the movie where a menu appears in a popup window that is populated using xml. That works.
There is a "close" button on the popup that takes you back to "start", where only the four original buttons are supposed to be, but the xml menu remains on top of everything, even though it's not in that frame. I'm guessing I have to somehow clear it, but don't know how.
Any help would be appreciated. I've been searching the forums for a couple of hours now, with no luck.
Not Clear To Me.
HI,
i was reading a tutorial on this site about URL submission but i couldn't understand the rules mentioned below. can anyone explain:
1) how i can make a garbage email address for the return junk mail? how n why do u get return junk mail ?
2) how can i get garbage e-mail address for free?
3)how can i submit my site internationally for free ?
From Tutorial
Site Submission Tools:
If you use them, (Site Submission Tools) make sure you take out a new garbage e-mail address for the return junk mail which will NEVER stop once you do this. Ignore this rule at your own peril. i.e kirupajunkmail@yahoo.com
Never pay for it. There are so many for free and it is the same exact service. It doesn't take terribly long to do but you should set aside at least 1/2 - 1 full day for this alone. But it is helpful. Make sure you spend adequate time on the Foreign search engines in such countries as Brazil, China, Japan, Russia, Germany, France, India, etc..(See others below).
Thankyou,
Peace.
Help To Clear The Air...
Need some understanding here.
I've got a movie clip (myMovieClip) in the Library. I then drag, 5 copies of it to the timeline and named them myMovieClip01, myMovieClip02, myMovieClip03, myMovieClip04 and myMovieClip05.
I scripted a onClipEvent (mouseDown) for myMovieClip01. When I clicked on myMovieClip02 or the other 3, it behaves just like myMovieClip01.
When I scripted myMovieClip01.onRelease = function() in the main timeline, then the rest behaves the way I wanted.
Is this suppose to happen? Why?
Clear Btn
hi , i did this flash ting for drawing on a sketch pad kinda thing, i can draw yes, but den when i re-enter this scene the drawing is still there, how can i clear everything i've drawn by clicking on clearbtn? i tried having clearbtn.onpress den the symbol movieclip of a blank paper(which is jus a white rectangle mc) will be visible. but then it cant work at all. =(
Clear CRLF's
I use this function to clear all CRLF's from a text file... but it's a slow function !! does anybody know a faster one ????
function clearCRandLFs(fString) {
return fString.split(chr(10)).join("").split(chr(13)).joi n("");
}
How To Clear Variables
Does anyone know how to clear variables in Flash? By "clearing" I mean set them to a state like they were never used before. It's not enough to set 'v = null' or 'v = void(0)'. I need something like Perl's delete() function.
I need this for a form that uses loadVariables. If the form form is posted the first time, the resulting variables are put in the form movie clip. If the form is posted a second time all the result variables are sent back as cgi parameters. I can set them to an empty string, but they're posted anyway. This is only a cosmetic problem, but it would be nice to have a solution.
Clear Levels?
If I have a movie attached on a certain level. Is there a way to clear that level without referring to the specific movie. Basically I have several MCs that scroll in as thumbnails, then get replaced by another set of MC thumbnails when another choice is made. Sometimes there will be 5 thumbnails - sometimes 3. When the 5 are showing, and the three are coming in, I want to delete all five of the current levels so only the three thumbnials are showing.
Right now, the first three thumbnails get replaced, but the last two stick around.
Line To Clear?
Ok heres what i'm trying to do. I want a to draw a line from 0,0 of a specific movie clip to the mouse. Heres the code i have.
with(this)
{
lineStyle(1,0x99FF00,100);
moveTo(0,0);
lineTo(_xmouse,_ymouse);
}
It works great except it doesn't erase the created lines!!
so i get this nice crazy line effect.
Is there an Easy way of doing this?
I Dont Know How The Clear It
I have promblem still occur. MY CDs had both flash for introduction and VDO at some contents. when I start CD-Rom Flash can played with no problem and then I play VDO. There It can't be played smoothly. I know we should clear Flash from memory before playing VDO..
But I dont know how the clear it.....Thanks you
More Clear. Last Thread.
Ok, nobody answer and the problem should be simple, so i'll try to be more clear:
I have this drawing tool that works fine:
2°frame
if (Number(mouse) == 1) {
if (Number(x1) == 0) {
x1 = int(getProperty("mc", _x));
y1 = int(getProperty("mc", _y));
} else {
x0 = int(getProperty("mc", _x));
y0 = int(getProperty("mc", _y));
if (Number(((x0-x1)*(x0-x1)))>5 or Number(((y0-y1)*(y0-y1)))>5) {
n1 = Number(n1)+1;
duplicateMovieClip ("line", "line" add n1, n1);
setProperty ("line" add n1, _x, x1);
setProperty ("line" add n1, _y, y1);
setProperty ("line" add n1, _xscale, (x0-x1));
setProperty ("line" add n1, _yscale, (y0-y1));
x1 = x0;
y1 = y0;
}
}
}
Clear ALL Intervals ?
hi there,
i 'd like to know if there is a way to clear all Intervals in a movie with one command...
in my current project I use setInterval()
very often in different clips and though i cleanly put the corresponding clearInterval() commands in the script I realized, that on slow computers some of them don't get stopped...
which puts more weight on the CPU and sometimes slows down the comp very much.
is there a fix ?
tia
Clear Variables?
Is there an actionscript function to clear the data from your variables? How about only some variables (var1 and var2 but not var3 or var4)?
Thanks,
DT
Clear Cache
Whilst this is not a strictly flash question when I upload a new version of a swf file I have cache troubles with viewing latest versionI run ie6 with windows xp
can anyone advise on sure fire way to clear cache or any other tips on viewing my updates on line
Clear Color
I want to make a radial gradient. The outside color will be red and the inside color will be clear. The problem is I don't know how to get that clear color.
Clear All Variables?
is there a quick way to clear all the variables you have defined in your movie without having to go through them all? - any help much appreciated.
thanks
|