[AS2] Is It Possible To End Movie Or At Least Hide It In Browser When It's Done?
Because of SEO considerations I am trying to use flash as little as possible in my site.
I need it though for uploading files. I like to have an accurate progress bar and I find flash is great for this.
Anyway once my file is uploaded, successfully, I would like the flash to go away (either exit or hide itself) and reveal an "Add To Basket" button underneath which is written in HTML.
Failing that, is there a way to get flash to change a CSS style of an object so I could have my Add To basket button hidden and then made visible when the flash tell it?
Thanks
DevShed > Flash Help
Posted on: February 5th, 2009, 10:24 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Hide I.E. Browser
I want to open my webpage with true fullscreen. No visible browser feature. Like a projector with fscommand set full screen true.
Its been a while since ive done this and cant remeber.
I think it was java script embeded in swf.
help
How To Hide Control Bar In Web Browser?
i would like to hide the menu bar in web browser. As my web page is written in flash and no need to have "bac, forward, reload and stop " buttons. Do i do it in Flash? or Html?
Thanks in advance
Address URL In Browser.... Hide?
Hello,
Another quick question if I may. I'm using Dreamweaver to create a simple HTML site as an intro to my flash animation. Is there anyway
to link in Dreamweaver so that the address does not appear in the address URL bar on Explorer? Currently it is showing ...intro.html then ...flash.html etc as the user clicks around. I don't mind it showing the main url, just not the pages the user links too.
Any suggestion most welcome!
many thanks in advance.
Hide Browser Toolbar?
Is there a way to hide the browser toolbar? i'm gussing its some sorta javascript code?
thx!
Browser Detect To Hide A DIV Layer?
I am adding a transparent Flash window to an HTML page, so it appears that things are flying over the HTML page. (I'm NOT having a problem with this.)
Problem is that the transparent Flash only works in the following browsers:
Internet Explorer 3 or higher (Windows)
Internet Explorer 5.1 and 5.2 (Macintosh)
Netscape 7.0
Mozilla 1.0 or higher
AOL
CompuServe
So... I need a JavaScript that detects browsers and hides the DIV layer if the wrong browser is detected. I've found browser detection scripts, but can't figure how to modify them to hide a layer.
PROBLEM: I'm totally lame when it comes to scripting. Can some kind soul help me here? I'd be happy to send lots of great karma your way!
How Should I Hide A Movie?
I'm constructing a Flash file which has several movies.
I only want one movie to show at a time.
BUT, I don't want to reload the movies becuase they hold variables which are required for my application.
What I therefore am trying to do is hide each movie that isn't necessary to be on the stage, by changing it's _x or _y value.
Is this a good strategy?
Is it dangerous to do this for some reason?
Can I do it another way?
Or should I be using another method, say using global variables or something?
Any help/opinionswould be really appreciated.
Thanks.
Jam
Can't Hide A Movie... Why?
The following actionscript isn't hiding the
movie (in this case an imported mpeg
saved as an swf). What is missing?
I don't want the movie to begin playing until later and can't seem to start/stop and make it invisible/visible upon my command.
createEmptyMovieClip("empty", 1);
loadMovie("sampleMovie.swf", "empty");
empty._visible = false;
empty._x = 100;
empty._y = 100;
How To Hide Movie Instances
I have 2 movie clips: A & B. They each have an invisible button.
I want to, on the main timeline, only show A when it starts. When the user clicks on A, hide movie instance A and show movie instance B (and vice versa, click on B, show A/hide B).
I tried using the _visible, but it doesn't seem to be working. Maybe I'm putting code in the wrong place.
Help!
Ya Tin
Hide And Play Movie
Hi,
I have one button on my main stage, one key frame, and one layer.
I have added an animated movie clip to the mainstage.
When I test movie...everything works perfectly!
I want the movie clip to be hidden and then appear and play when the button is clicked.
How do I do this?
Thanks
Scott
[F8] How To Hide A Movie Clip?
I'm trying to hide a movie clip on a button press. I suppose and I can just have the clip go to a blank frame but I was wondering if there was a different way to do it with actionscripting.
[CS3] Where To Properly Hide A Movie?
I am building a flash VT for 360 swf's, and I need a floorplan to slide into the right side so the user can switch 360's. These are allways full size in the browser window, hopefully maximized. I am not sure where to put the floorplan movie on the stage so that it is always just off screen and only comes when called. Any guidance or suggestions would be greatly appreciated.
Hide Scrollbar In Movie
Hi!!!
I have attached scrollbar to dynamic text.
When I click any main topic, text matter appears. This text matter has scrollbar.
But before clicking main topic, scrollbar already viewed. I can't hide it.
how do I solve this problem?
plz help me.
bye!!!
Hide Movie Clip
i have 50 movic clip (box 10px by 10px) in my flash with the instance name is "test_mc" (all 50 MC same name of instance)
then i write this code
this.createEmptyMovieClip("test_mc", 0);
test_mc._visible = false; // try to hide the movie clip
but when i publish the file only single (1) MC is hide, why is happan
here is i want to hide all my 50 movieclip at a time
can anybody modify tish code or give me new code for tha
Hide Movie Clips
Is it possible to hide several movie clips at once by adding their instance names to an array, and then creating some kind of function? If it is, could anyone please give me an example of such a function?
Hide Movie Clips
Is it possible to hide several movie clips at once by adding their instance names to an array, and then creating some kind of function? If it is, could anyone please give me an example of such a function?
Full Browser Movie, But Use Browser Scrollbar When Needed
Is there any way to make a full browser swf that, at a certain point, stops scaling to the stage and allows the browser to use it's native scrollbars?
For example, say my flash site has a top bar (it's y is always 0) and a bottom bar (it's y might be stageHeight - 15). Is there any way to tell the movie to stop scaling if the bottom bar's y is less than say 300, and from that point have the browser display it's scrollbars allowing you to scroll the content?
Mouse Hide When Movie Load
hi friends
i am new in flash scripting. would you pls like to tell me that how can i hide mouse when movie running and when mouse move movie close. actualy i made screen saver from flash but there are these two problem
1). mouse do not hide.
2). movie do not finish when mouse movie.
thanx in advance
On Buttonhit, Hide A Movie Clip..how?
hi,
I have a button that is going to play movieclipA to introduce a new page. But I want to hide movieclipB when I press the button. Also I want ovieclipB to return after movieclip A is done playing.How do I do that?
A response is appreciated.
calvzz@hotmail.com
Hide And Show The Movie Clip
i made a movieclip as a ball...
i want to make the hide and show with actionscripting...
i want code to desable and unable for movieclip...
[F8] Button To Hide Movie Clip
Hi guys,
I can't get a button to hide a movie that is shown using this code:
Code:
stop();
// convert strings to numbers
col1 = Number(col1);
col2 = Number(col2);
col3 = Number(col3);
// loop and attach movie clips for bar 1
for (x=0; x<col1; x++) {
name = "col1"+x;
_root.attachMovie("col1", name, x);
// set _x and _y of this new attached clip
// note that 15 is just the height (approx) of one block
// these values are arbitrary
with (_root[name]) {
_x = 187;
_y = 566-(6*x);
}
}
The movie is called col1 and has no instance name.
_root.removeMovieclip("col1"); doesn't work.
Any help would be appreciated.
HitArea Hide Movie Clip
Im trying to hide a clip on when one clips collide with another using hit Tes and also hitArea, both of them doesnt work....
I write the following code:
onClipEvent (enterFrame) {
if (_root.guardia, hitTest(_root.quienes)) {
hide == true;
} else {
hide == false;
}
}
Is something there i mess?
best,
IN
Movie Clip Loader And Hide
I want to make this movie clip loader(http://www.kirupa.com/developer/acti...liploader.htm), but i would like it to act like the windows xp(toolbar auto hide) or Mac interface(i.e. it shows up when, say your cursor is at the bottom of the screen or there is a page curl and it half turns a page etc etc.) where it does not show until you do something specific. Get the idea?
Please, any help would be greatly appreciated.Thanks again.
E
How To Hide Parts Of A Movie Clip
How do you hide part of a movie clip. Like set an area much like a DHTML layer that is visible. I want my area that is visible and then an overflow area that is invisible. How do I do this??
Browser Display Size Of Flash Movie / Need To Have Browser Match Movie Size
Hello,
I am having a problem getting my flash movies to come up in the broswer w/out any extra space around the movie. I have published all 3 ways out of flash, and even made may changes to the Dreamwever file with no luck.
Is it possible to have my movie pop up and the browser be 600x440 w/out extra background?
Please send help!
Thanks,
xcaliber_1
Show/hide Movie Clip Using One Button
I require with regards to the following:
using one button can you alter the alpha setting of a movie clip to 0 and using the same button change the movie clips setting to 100 using actionscript alone.
All help much appreciated
Mouse Hide/show Movie Clips
I have a movie clip where the mouse hides when in the movie clip.
I want the mouse to hide when the movie clip is rolled on and when its rolled off the mouse is shown again.
How would i go about this?
Any help would be great!
Jemes
Mouse.hide Inside A Movie Clip?
Here's what I have: I have a movie clip (lets call it MC) that has a series of buttons in side it. I want to use the Mouse.hide script when a user rolls over MC, but I still want the user to be able to roll over the buttons.
Check out this link to see what I"m talking about. example
The area with the palm tree has a series of buttons in it that make a cool effect. I want the effect to be even cooler by making the mouse disappear when it's inside that rectangle.
Thanks for the help in advance.
Hide Buttons When Movie Loads And Then Show
I have a movie that loads another video. When it goes to video by hitting button
I can hide buttons underneath.
When I unload the movie, I need the buttons to show up again and clickable.
I added the onEnterFrame, but makes no difference.
Can someone help as to how I can bring the buttons back when movie that was loaded is unloaded?
Thank you in advance.
Attach Code
onEnterFrame(_root.VideoBtn.enabled._visible = true);
VideoBtn.onRelease = function(){
loadMovieNum("video.swf", 10);
VideoBtn._visible = false;
};
Auto Hide (movie Clip) Task Bar
How do I make a auto hide task bar (which is a movie clip)?
auto hide bar similar to windows task bar, when move mouse to bottom of screen, the task bar come up, else task bar auto hide.
http://www.oniva.com/upload/1356/hide.jpg
I try to set code in movie clip (task bar) but don't work well
=====================
on (rollOver)
{
_root.top._x = 400;
_root.top._y = 220;
}
on (rollOut){
_root.top._x = 400;
_root.top._y = 150;
}
Using A Slider To Show / HIde Movie Clips
I've created a slider and would like when the slider gets dragged across a certain point (preferably an x coordinate) it will then show a movie clip. It's being used for a portfolio.
I've created the slidder with 2 different images:
1. is the line it moves on
2. is the actual slider bar
I have the following code on the slider to allow the user to drag it back and forth but I'm not sure how to set it so that when the user reaches a certain point it will show a movie clip that contains different images that relate to that point.
onClipEvent (load) {
top = _y;
bottom = _y;
left = _x;
right = left + 175;
}
onClipEvent (enterFrame) {
if (dragging == true) {
// execute this code
}
}
Any help is greatly appreciated. Thanks
Attach Code
onClipEvent (load) {
top = _y;
bottom = _y;
left = _x;
right = left + 175;
}
onClipEvent (enterFrame) {
if (dragging == true) {
// execute this code
}
}
Auto Hide (movie Clip) Task Bar
How do I make a auto hide task bar (which is a movie clip)?
auto hide bar similar to windows task bar, when move mouse to bottom of screen, the task bar come up, else task bar auto hide.
http://www.oniva.com/upload/1356/hide.jpg
I try to set code in movie clip (task bar) but don't work well
=====================
on (rollOver)
{
_root.top._x = 400;
_root.top._y = 220;
}
on (rollOut){
_root.top._x = 400;
_root.top._y = 150;
}
Hide Movie Clip's Real Width
I have one main movie clip "content" that contains evreything for my site. A script running on _level0 watches the width/height of this movie clip to keep it centered within the flash window.
Now, I have masks inside this "content" movie clip. These masks may be quite small (say 400px wide) yet they are revealing only small areas of much larger jpegs (maybe 2000px wide).
My problem is that the script running to center the "content" movie clip measures these massive jpegs that are hidden by the mask. I would like only the revealed portions to be centered within my movie.
Any ideas?
Cheers, James.
Question..load Movie..or Show/hide Type?
on... http://inko.netfirms.com/ when you click on a menu text/button.....he has various windows/panels pop up (animated/scale thingys) These do NOT look like external movies loaded..how is this done??? (NOT tha I know how to load external movies either..LOL) Can some run a quick step-by-step....or point me to a tut for it??
Also,..the sliding background is this done with action script?? Thanks -whispers-
How Do I Hide Area Of Movie Turning All White Before Loading
I have a horizontal image scroller setting on an html page. I got a preloader to work but it did not fix the problem. I have a near black html back ground. On the first load, the area with the swf goes white until the movie pops up. Please help me get rid of it. Here is the fla: http://elvalleastronomers.com/scrollerbig.zip
I tried asking in the general forum, but I guess this question was not difficult enough. Please, someone help me!
Load Movie, Play, Then Hide Or Store On Or Off Stage?
I have a main movie (main.swf) in which I load external swf's into. My first movie that is loaded is "home.swf". After it plays to the end it stops on a pic. the user can click a button to go to the next section, for example "company.swf". Home is then "unloaded" automatically so company can load, right? Well, in the main movie is where my navigation sits, an MC called "MainNav_MC". I also have a logo in which i would like the user to be able to click and return to the last frame of "home.swf". If home.swf is not loaded it does not work. How can I "hide" or move home.swf off stage so it is loaded and will work when a user clicks the logo to "go home"?
Thanks for ANY assistance . . . I've been scratching my head on this one for a little over a week!
How To Hide Several Movie Clips On EnterFrame (or OnEnterFrame SwapDepth) AS2 CS3
Hi Guys,
I am new to AS2, so any hints would be appreciated. The movie I am doing uses Kirupa's rollover tutorial to roll an effect off a movie clip. As there are several of these on the page, I am also using swapdepth to put them on the top of the other clips when we are hovering over them. Otherwise the layer order messes things up.
The test file can be seen at www.greetingsfrombayer.com/new.
The (butchered) mc code is as follows:
---------------
stop();
this.onEnterFrame = function(){
if(rewind == true){ //if rewind switch is set to true play backwards
prevFrame(); // play backwards
}
}
this.onRollOver = function(){
rewind = false; //set variable (or switch) that decides wether ot not to play backwards...
play(); // play this movie clip.. (grow the button(tween));
_root.x +=2; // this moved the movie clip to the top, to get out of the way of the others
this.swapDepths(_root.x);
}
this.onRollOut = function(){
rewind = true; //set or rewind switch to true so it will play backwards...
_root.x -= 3; // puts it back down onto it's level again
this.swapDepths(_root.x);
}
this.onRelease = function(){
getURL("http://www.animalhealth.bayerhealthcare.com","_blank");
}
---------------
The issue is that I have a closing image that comes on about a minute into the animation. (The movie pauses on frame 1 for 60 secs then moves on) But if a user is still hovering over one off the movie clips it keeps that movie clip on top, over the animation, which of course looks stupid.
So I either need to have an onEnterFrame (or alternative) that will delete all of the little movie clip rollovers, or will bring the final large movie clip to the top when it starts, whatever the user is hovering on. Any ideas would be really appreciated as this is the last little bit of the job to finish.
And if you do visit the test site, sorry about the music. The animation at the end fades in after 60 sec.
I am using CS3, with AS2.
Cheers,
Will
Actionscript/Javascript Hide Movie Clip With Buttons
Hi all, and thanks for reading.
I have an embedded Flash movie which I'm manipulating with JavaScript.
I basically want to hide certain "layers" which have essentially become groups of symbols in an embedded movie clip. The goal is to hide everything, which worked well using the Alpha property when the symbols in the movie clip were just graphics, but, now that I'm converting them to buttons to add interactivity, it's become problematic: the buttons, although invisible, are still active.
Is there some way that I can just outright hide or turn off the movie clip or make each button in that movie clip inactive (without using a for loop) so that these buttons will disappear?
Putting an invisible rectangle over it is not an option, as there are many different "layers" and possible combinations that would make it impractical.
Thanks in advance.
Mouse Hide Or Not To Hide? That Is The Question
Hello again,
Pls could you tell me if there is anyway of controlling the coordinates of the mouse hide feature.
For example if i wanted it to confine to a certain area then reapear outside that area, how can it be done?
I thank you all big time
Is It Possible To Show And Hide Html Layres Using Buttons In A Flash Movie ? If So Ho
Is it possible to show and hide html layres using buttons in a flash movie ? If so How ?
For example I have a html page which has on it a html layre. You know the score:
Layer1" style="position:absolute; width:247px; height:11px; z-index:1; left: 75; top: 11; visibility: visible; etc
Now what I want to do is to be able to show and hide this layre using a flash button, held in a flash movie that will also be on the html page.
Therefore I basically need to know if it is possible and how to control the visibility of the layre
Cheers Guys
Full Screen, No Scale, Hide Items Outside Movie Area
I have created a full screen movie but want to keep the scale so the movie sits in the centre of the screen (done, no probs) but how do I stop any symbols/objects from appearing outside of the movie parameters. I want the items which go off screen NOT to appear on the full screen.
Can anyone help?!
p.s. I dont want to use a mask as the movie I want to apply this to has several layers, some of which are already masked.
Trigger Show/hide Multiple Div Layers From Flash Movie
Hello,
I need to show and hide multiple DIV layers by clicking on buttons inside an embedded flash movie. I looked around and the closest I got was this tutorial here:
http://www.bestflashanimationsite.com/tutorials/1/
but the problem is I need 10 buttons to each show one layer while hiding the other ones. For example, I click button 1, layer 1 shows, then I click on button 5, layer 1 is hidden and layer 5 shows etc.
How can the above code be split so instead of showing all DIV layers at once, it shows one and hides the rest??? If anyone has any suggestion it would help tons. Thanks.
Show And Hide A Movie Clip.... Also Clarification On Instance Names
Hello.
First of all I would like to show and hide a movie clip when a button is pressed.
I have tried
Code:
on(release){
Info.hide();
}
and
Code:
on(release){
Info.visible = false;
}
What about if I place the button inside a movie clip and the movie clip i want to show and hide isn't within that movie clip? Do I just stick _root. infront of Info? Is _root used to address the stage and _parent to address something 1 level up from the place the AS is?
Secondly, I would like some clarification on this
When you convert something to a symbol you name it and you can place it on the stage. You can also give it an instance name if you wish. If you were to use code to address the mc on the stage you use the instance name. Is this always the case? or can you sometimes use the name?
Also the identifier? under the linkage bit, what is this used for?
Thanks.
P.S. Sorry if the message is written poorly, I kept thinking of more questions I need clarifying.
P.S.S. Thanks again
Trigger Show/hide Multiple Div Layers From Flash Movie
Hello,
I need to show and hide multiple DIV layers by clicking on buttons inside an embedded flash movie. I looked around and the closest I got was this tutorial here:
http://www.bestflashanimationsite.com/tutorials/1/
but the problem is I need 10 buttons to each show one layer while hiding the other ones. For example, I click button 1, layer 1 shows, then I click on button 5, layer 1 is hidden and layer 5 shows etc.
How can the above code be split so instead of showing all DIV layers at once, it shows one and hides the rest??? If anyone has any suggestion it would help tons. Thanks.
|