ActionScript 2.0 :: Hide Or Make A MC Invisible When Rolling Out From A Button Or Another MC?
Feb 24, 2002Can i hide or make a MC invisible when rolling out from a button or another MC?
View 8 RepliesCan i hide or make a MC invisible when rolling out from a button or another MC?
View 8 RepliesI am using Flash Professional CS4. I made 2 buttons (2 rectangles,each turned into a symbol of type button). I now want when I click 1 button that the second becomes invisible. Is there a way to do so?
View 2 RepliesI'm sure this is something easy that I'm missing, but I can't figure it out. How do I make a button invisible? I need it to be invisible through frame 43 of my movie. I have tried changing the alpha to 0, but it's not letting me change that, except in the edit button mode which changes it for the entire duration and not just through frame 43.
View 1 RepliesI have a home page, with 5 swf's that are called into a container on the main. Now when I click on the home button on i need for the embedded swf thats up to become invisible not unload because i need the information to .
View 9 RepliesI Want to load an external .swf in a movieclip which is my container "contenedor_somos" when i click on a button. What i want to do next is to make that .swf to dissappear or unload or whatever when i click another button.
View 3 RepliesDoes any one know how to make a movieclip invisible so I can use it as an invisible button?
View 3 RepliesFor my newspaper i am creating each page has a next button and a previous button. I have assigned the previous button on one page to attach the movie of the page previous to it and then tested my movie. However when i click the previous button the movieclip does load but loads behind the starting moveiclip. So what i want to do is when the previous button is cliked, that page (movieclip) with the previous button on its dissappears and the previous page loads.
View 21 RepliesI want to make the timeline go to the next frame (ie gotoAndStop) only if two button instances are invisible. For the buttons I have scripted an on(release) to make them invisible, but I don't know how to use the if function to make my animation progress when they are both invisible.
View 7 RepliesI have a banner with big invisible button covering the stage and underneath it I have movieclips which must respond to mouse events. But I can't get through invisible button. I only get button events and cant interact with movieclips underneath it. Here's simple code:
invisibleBtn.addEventListener(MouseEvent.CLICK, onTopClick);
bottomMc.addEventListener(MouseEvent.MOUSE_OVER, onBottomOver);
function onTopClick(e:MouseEvent):void{
[Code]....
I want to make an e-card for a marriage in flash. The card opens from the top. How do i give an effect of the card being opened on click? or even the card being opened automatically!
View 1 RepliesMy MC button is now working as expected with one problem... when I click the mouse button when over a MC button then roll the mouse off the button and release the mouse button, the button stays 'hilighted' (in frame 3 of the button MC) until you roll the mouse over it again.I'd like it to stay highlighted only as long as the cursor is over the button and the mouse button is held down...when you roll the mouse cursor off the button it should release it and send it back to frame one of the button MC. Does that make sense?Here is the code:
btn1.onRollOver = function() {
this.gotoAndStop(2); //highlites the button
this.dt.text = menuArray[0][0];
[code].....
I'm trying to do this: When I roll over a button, an image appears. I have three buttons and 1 image per button that corresponds with it. When I roll out, the image disappears. I have most of it figured out, but the part that gets me is how to make each button correspond to one image. Right now when I roll over all three buttons, it only shows the image the first button should.
View 2 RepliesIm trying to make a cursor display when rolling over a movieclip only between a specific range of frames. with this code the cursor shows up in the range of frames but doesnt follow the mouse, and the mouse pointe ris visible
Code:
thisFrame = _root._currentframe;
if (thisFrame > 50) {
if (thisFrame < 90) {
[Code].....
have the indicator arrow go to the button that was last clicked after rolling out of the menu.I have lost track of what all i have tried.URL...
View 1 RepliesI created a view cart button in PayPal and need to link it to a button in my fla. I know you can do this in AS but I haven't had any luck in my searches. I'm using CS3.[code]
View 2 RepliesI am a Flash novice who has worked through a couple of the standard introductory books on Flash in Actionscript 3 and some of the online tutorials. However I cannot work out how to do the following: A button A (I know how to design buttons including invisible ones) is on the stage. A user clicks on this button which then causes a text to appear at another location of the stage. This text includes an invisible button B. The text tells the user to click on it with the result that the text, including the invisible button B, disappears but if the user reclicks button A then the text with button B should appear again.
View 3 RepliesI am making a video player based on the Video Basics tutorials Lee put up a while back.
I am working on a custom controlBar with autohide. Basically, when i mouse over the video area I want them to pop up, and when I mouse out of the video area I want them to disappear. I have setup the controlBar movieclip itself with "show" and "hide" frame labels. Each one plays a fade in/out sequence a few frames long, no big deal. That is the easy part and works fine.
In order to detect the onRollOver and onRollOut events for the video area I made an invisible button on top of it called "butt". It works fine too.
Code: Select allbutt.onRollOut = function() {
trace("out of video");
controlBar.gotoAndPlay("hide");
};
[Code].....
Invisible button layer above controlBar layer: When i roll onto the video area the controlBar pops up, but I cannot access the buttons on it (play, rewind, etc) because they are now underneath the invisible button that monitors the rollOver and rollOut of the video area, which apparently wont let anything under it be clicked. How can I gain access to these buttons?
Controlbar layer above Invisible Button layer: When I roll onto the video area the controlBar pops up fine, but once I mouse over the control bar flash thinks I am leaving the bounds of the invisible button and tries to hide the controlBar right away, which causes me to "re-enter" the invisible button, so it just bounces back and forth between showing and hiding the controls.
How can I monitor the video area and still have access to the buttons on the controlBar once it pops up?
After a few years of using Flash I am creating my first project in AS3 and am running into some problems which are quite common involving targeting movieclips and controlling them. Basically I have a fla which has an MC on the timeline with an instance name of INFO_MC. Now i want this MC to be invisible when the swf starts and I have managed this by using the following code: Actionscript Code: INFO_MC.visible = false;
This is fine. However I get stuck when I try to make INFO_MC visible when I click a button in a loaded swf. How would I target INFO_MC from a button inside a loaded swf. Do I need to add an event to the button and then have a listener on the root timeline which would turn INFO_MC visible when it hears that the button has been clicked?
Ive got my dancing fruit sorted, however when I save the file as an animated gif and put it in my application the gif has the stage background. If it wasnt animated I could edit the back ground in photo shop, but I dont seem to be able to with the animated file. Is there anyway I can just have my dancing fruit with out the stage?
View 3 Replieshow to make an invisible rectangle on stage that could be clicked for example
View 0 Repliesi have three layers on frame 1 of a swf.in all the three layers i have a different movie clips. my question is that is it possible to show only one movie clip when the swf loads initially ..? i mean when the swf loads initially , i need to hide tow movie clips and show only one..?
View 4 RepliesI want to make 5 out of 10 movieclips invisible.
I know this works for each movie :
item1._visible = false;
item2._visible = false;
etc
But whats the correct syntax to do it in the loop. This seems to clear all 10 movieclips.
Code:
for (var y = 0; y<5; y++) {
["item"+(y)]_visible = false;
}
I'm running my head against a wall here and I'm not sure how to tackle this problem. Background I'm making some sort of movie player with subtitles overlayed on it. I'm using the root timeline for my movie timeline because this greatly increases development speed. The subtitles are created with the texttool, and I make them dynamic textboxes because I need to reference them in AS3. I cannot wrap them into a movieclip because they need to be in sync with the root timeline
The user should be able to enable or disable (effectively showing or hiding) the subtitles. The way I did this is by adding an event listener that listens to Event.Enter_Frame on the root timeline and a global boolean to indicate whether subs should be shown. In the enter frame event listener I search for the textfield by root.getChildByName (the name is the same each time) and show or hide the textfield accordingly.
[Code]...
I want a movie clip to be visible for 3 seconds then invisible then visible again after 3 seconds.
View 4 RepliesI have a component called "liveTEXT" that I purchased that allows for the client to edit certain text sections to be edited by them on the front end of the site. Right there in the site. The problem I am having is that if I have this liveTEXT on say frame 100, and I go to frame 101, the text is still their overlayed over the content of that page. The text is called with this actionscript in frame 1:
[Code]....
I know this sounds stupid, but I've worked like all the time with Flash 2004 and Flash MX. Now I got CS3, and I want to do the following. I made a MP3 player, but I want to make a 'play' icon visible when the music plays and the 'pause' icon visible when it's paused. Therefor the 'play' icon needs to be invisible,
[Code...
How can I make the Scrollbar on my datagrid invisible?
dg.verticalScrollBar.visible = false; Does not work
Also how do I scroll to a specific Index on my datagrid?
I have a map of states state when a particular state is clicked on, the fla centers on and zooms to that state. When you click on a state a unique ID is pulled from an xml. Using this ID, I can then call all the counties that are part of this state through the county's xml which is also loaded on my stage.or example if I click on Arizona, it zooms and I get a trace of all the instance names of the counties within Arizona.
//call all instance names of Arizona counties
cldcnfips=(cntXml.Records.Record.(STATE_FIPS==cldstfips).afips.children());
trace(cldcnfips);
[code]......
Have a number of images that need to be made visible and removed. Is there a way to do so rather then a list like this?
x18.visible=true;
x19.visible=true;
x20.visible=true;[code].....
I'm using Adobe FLEX 4.5.1 for Mobile.I have a List that displays some images:
<s:List id="imageList" initialize="init()" verticalScrollPolicy="off" itemRenderer="skins.CustomIconItemRenderer" width="100" height="32" verticalCenter="0" horizontalCenter="0">
[code]......