ActionScript 2.0 :: Set Up So CLR_homeMC Will Be Visible And Alpha?
Apr 16, 2004
set this up so CLR_homeMC will be visible and alpha 100 in the beginning? Right now if I just add showClip(CLR_homeMC); it works but there is an alpha fade in. I don't want it to fade in for the first one.
Code:
var step = 3;
var oldClip;
function fadeOut() {
with (this) {
[Code]...
View 6 Replies
Similar Posts:
May 3, 2003
I have this graphic symbol in Flash, let's call it 'graphic1'. Above the graphic, there is a button, 'button1'. Now I need some code, so when you move your mouse OVER 'button1', the alpha of 'graphic1' is set lower (so it becomes less visible).
View 3 Replies
Sep 10, 2010
I have a startDrag function set up on a loader and mask that when the mouse is down on the loader it drags, when not it doesn't. There is also 2 buttons that control whether mask1 or mask2 is used. What i would like however is when the mouse is down - the area of the loader outside of the mask is visible but only by about 10/20% alpha, that way the user can see where all the image is while dragging. Is this possible? Full code can be seen below and i have attached the zip with the .fla file:
[Code]...
View 2 Replies
May 19, 2008
if I have various items on stage that I want to appear later, is it better to set .visible to false than setting the alpha to zero? For instance, there is an object that I want to fade in from alpha zero to 100%...when the object is invisible, should I just leave it at alpha zero, or should I set the visibility to false to help with performance. Does it make a difference? Would it further help performance if I removed the object using removeChild when I'm done with it?
View 5 Replies
Sep 28, 2011
My question is: Set parentSprite.visible = false will make all children in parentSprite all invisible, right? And is there any way to just make parentSprite itself invisible without effecting it's children?
View 2 Replies
Aug 8, 2010
I want to click on an object and make it appear and disappear. As the object is rectangular, I figured putting a white button the same size on a white background on a layer underneath the object would do this, but I can't seem to make it happen.I'm a complete novice, frustrated as I've been trying to achieve this all day and I'm sure it should be pretty simple, but could you give me the idiots guide. I know how to name an instance, make an object, script in actions on a separate layer. I would like to draw the button myself and give it an instance rather than drag it off the button component (as I can't work out how to make the component button white, change its size etc.!)
View 5 Replies
Apr 1, 2009
Code:
my_Dyn_Txt1._visible = false
cb1.onRelease=function()[code]....
When the checkbox (cb1) is clicked the "my_Dyn_Txt1" is visible. The problem I'm having is - when I move forwad and back in my frames the checkboxes which were clicked are not visible due to
Code:
my_Dyn_Txt1._visible = false
How can I make ("my_Dyn_Txt1"), a clicked checkbox STAY VISIBLE even after I move forwad and back in my FLA frames?
View 11 Replies
Oct 23, 2010
[URL] i want the object to fade out but in the object there's a lot of overlapping pictures and each becomes half transparent. how to make the movieclip to change the alpha as it was without objects?
[Code]....
View 2 Replies
Dec 15, 2011
just spotted this curious trick. If you want to flip something to go invisible on a click, and then reappear on another click (etc etc), try this:
create the sprite, setting alpha to either to 1 OR -1
mySprite.alpha=1; //OR
mySprite.aplha=-1;
[code]....
View 9 Replies
Jun 27, 2003
using AS, on loading a movie a solid shape is there with alpha at 100% then over a period of 5 secs its alpha is reduced to 0.
i'm new to this......please help if you want to if you don't have a good weekend but think of me struggling onwards and upwards...
View 14 Replies
Mar 4, 2010
I want to make a little thing pop up when I put press a button... Would the best way to do this by doing a - movieclipname._visible = true/false
View 3 Replies
Sep 7, 2010
Okay, this should be relatively easy but I'm running into errors. My main character is visible in the beginning of the game (where the main menu is) and because I coded it so that all of the enemies don't spawn unless the main character is visible, the enemies spawn too. As a result, if you stay at the main menu for long enough, the score continues to go up, the health goes down when enemies attack, etc.
View 1 Replies
Mar 30, 2011
when the video reaches 1 minute, a button appears. is there a way to hide the button again if the user uses the seek bar to go back to the 30 second (or any time before 1 minute) point?
View 2 Replies
Aug 2, 2011
I want to do aplpha = .5 for the whole app, but then have a MC display at full alpha, is there any way to do this?
View 6 Replies
Feb 26, 2005
As far as I know theres in no way to cahnge the alpha of a dynamic text box. I put one in a movie clip and when i try to change the alpha of it everything else in it changes its alpha but the not the DT box. Could someone plz verify for me that u can't change alpha and help me find a component that allows alpha control with a dynamic text box. thx in advance.
View 5 Replies
Nov 4, 2010
I am unable to visualize the audio waveform in my flash timeline. I need to synchronize audio voiceover work and this is impossible to do without being able to see the timeline.
I am using CS4.....in previous versions I was able to see the waveform but no go for this version.....
View 1 Replies
Oct 6, 2009
I had a question if there is a way to set the stage as not visible? Meaning the .swf stage is transperent and takes the properties of the bg image of the bg of the page its laid on? I'm trying to steer away from just using flash for the site and using a mixture of flash elements in a css site but I can't seem to get the stage to be transparent.
View 1 Replies
May 3, 2010
I have six movie clips positioned across the stage and a following row of six movie clips below it. All of them move up the stage and are activated with a separate key press and it works ok first time. The following times going up the stage, the fifth and sixth movie clips are not visible on the first row, but are on the second row. The following code is what I am using for each clip - just repeated and named accordingly.
Code:
addEventListener(Event.ENTER_FRAME, leftbubbleMove);
function leftbubbleMove(e:Event):void {
if (leftbubble_mc.y > - 150) {
trace(leftbubble_mc.y);
leftbubble_mc.y -=2;
[Code] .....
View 1 Replies
Aug 1, 2010
obj_mc.visible = false; not working on mac, work good on pc.
View 3 Replies
Sep 20, 2010
I have my preloader which seems to be working correctly, however it only becomes visible as around 80%. So the page is blank up until then, then after that the loading bar is finishing and then goes to the rest of the site.
View 11 Replies
Jan 22, 2009
I have a dynamic text field. I have added a font object in the library, and selected that embedded font for my text field. I am using the font size I embedded. I also opened the Embed window & selected the characters I want.
When I do all of this, the text does not display in the text field. If I select DON'T embed from the embed window, then my text shows up, although, not in the right font.
View 2 Replies
Apr 12, 2010
My movie is 500 by 200 px. However i am loading display object much larger than that and have just a portion of them show. How do i programatically get the visible dimesions? root.stage.width gives me the extended value.
for the sake of good programing practices i dont want to hardcore the values.
View 1 Replies
Jul 27, 2007
I've been doing some simple text fades by keyframing the alpha values. Everything is fine on the stage, but when I publish it I can see a slightly translucent bounding box around the text. It's even visible on text I haven't animated. I've done fades before, but never ran into this problem. [URL]
View 14 Replies
Dec 18, 2010
I am close to finishing my animation and for starters one scene is lagging a lot and the artwork is visible outside of the stage dimensions. is this normal?
View 1 Replies
Jul 6, 2003
i have 10 buttons (b1,...,b10) and want to set their default visible property to false. I want only 1 of those mcs (pick by random) to be visible. How i do that?
View 7 Replies
Feb 13, 2009
This code is placed in several text boxes in my 10th frame and when I go to the 15th frame and come back to the 10th frame the selected checkboxes are not visible. how to keep my_Dyn_Txt1 visible unless it's unchecked. But at the start I need my_Dyn_Txt1 not to be visible as in the code. After the checkbox is selected I should be able to move to any frame (front and back) while my_Dyn_Txt1 is still visible unless it's unchecked by the user.
Code:
my_Dyn_Txt1._visible = false
cb1.onRelease=function()
{ if(this._currentframe==1)
[code]....
View 3 Replies
Nov 15, 2011
I have a SWF with a few buttons. The text on the buttons does not show up, as if the alpha is set to zero. This only seems to happen with certain versions of IE in combination with certain versions of Windows.This is a SWF that someone else created. It is placed on the page with Javascript. I do not have the option of recreating this at this point.
View 2 Replies
Oct 15, 2007
I created a UIScrollBar and linked it to a dynamic textfield. It works OK, but if I publish it and view it in the generated HTML file
(with flash player 9) it is not visible. If I view it in the standalone flash player it is fine.
View 7 Replies
Mar 3, 2009
What is the best way to keep a sub menu visible? The way I have it coding, is onRollOver the menu button, the sub menu is displayed. I want the submenu to disappear onRollOut of the entire menu... how would you do this?
View 2 Replies
May 19, 2009
I created a button in one movie. I nested a second movie that is the same size as the first movie. In the second movie I can successfully hide an object in the first movie with an object in the second movie. However, I can't prevent a button in the first movie from being shown in the second movie.
View 1 Replies