ActionScript 2.0 :: Unable To Set Alpha On Movie?
Jan 31, 2008
I have a box (type movieclip) on the stage, its named box_mc.It starts on the left and moves to the right via a timeline tween.I want the box_mc to have an alpha of 0 at the start and an alpha of 100 at the end. The alpha of 100 will (ultimately) be assigned via LoadVar.So, basically I need to set the alpha variable of the stage item before the movie starts playing via Loadvars.
View 2 Replies
Similar Posts:
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 3, 2010
Why is it that now if I've got an alpha 0 movie clip on a layer and set the layer to outline, I can't see the movie clip? Outline mode used to ignore alpha!
View 1 Replies
Mar 17, 2010
have trouble with the Alpha slider (Color Effect>Alpha) not going all the way to 0% or 100%? A lot of the time, I can only get up to 99% or down to 1%, even if I manually enter values into the textbox accompanying the slider. Some of the time, it will not even take a manual entry in the textbox. For example, if the slider is set at 65%, I can enter 0%, and it will just go right back to 65%.
View 10 Replies
Oct 13, 2011
I work with Flash Pro allmost 11 hours per day and every while i get a error which messes up everything. Approximetly i get this after about 2-3 hours withevery project.After i get this error there is no chance to test movies afterwards.I see a fast flash of the loader window but it dissapears so fast i cant even really see if it is loader.
View 1 Replies
May 9, 2011
Use line or pancil tool in Flash CS 5.0 or 5.5.Choose pure black color #000000 and zero alpha.Try to draw line on the tage.
result : stage is empty
View 2 Replies
Mar 19, 2010
I was using CS3 and Flash 8 (macromedia).I am working on a file that was created in maybe flash cs3 or perhaps flash 8, from another developer.It shows tweens on the time line.The developer created fade tweens, with names like "Transform 1" etc.The fades are on symbols (the developer converted jpegs to a symbols)from 100 percent to 0 percent alpha.I can see the fade go from 100 to 0, but I am unable to see the "alpha" properties when I select the symbol or the tween in the timeline.The tween is displayed in the timeline as a line with an arrowhead at the keyframe when the visibility goes to zero.I do not seem to be able to see the properties for the tween, i.e. 100 in keyframe 1, to 0 in keyframe 20.No information shows in the CS4 "Motion Editor".
I created a tween in a layer that I added, and it seems that CS4 no longer show the lines with arrowheads, but uses a different color for the tween range.And I get the motion properties in the "Motion Editor".I am sure it is pilot error here.Since I just installed CS4, etc.How can I view tween properties, like alpha on a symbol created in an earlier version of Flash?
View 2 Replies
Apr 19, 2010
I want to reduce the alpha of a movie clip when mouse is rollOver the movie , the alpha will be continuously reducing over frames, i dont want to use tween.
[Code]...
i this code when i rollOver the mouse on a movie clip, it shows the alpha reducing over time , and at roll out alpha increases over time. but if i rollOver and rollOut in fractions of seconds , it flickers (like 60-100 instead of from the current alpha lvl), So i am looking for some code that can help me in fixing this problem.
View 1 Replies
Apr 6, 2010
The thing should work like this: theres a movie clip in frame 10 of the timeline with two buttons inside, by clicking one of them the movie should jump to frame 15 and take the alpha of two Mc there (they are inside a different movie clip) to 0. This is what ie been trying (code on the button, btw):
on (release) {
McScene2.lettuce._alpha = 0;
McScene2.pumpkin._alpha = 0;
[code].....
View 9 Replies
Apr 6, 2004
I'm having trouble getting my movieclips to have trails that fade behind it. I'm having the dupilcate movieclips delete themselves once their alpha reaches a certain point. what's wrong with my code? I'm pretty sure it has something to do with the counters. You can view my fla here: [URL]
View 5 Replies
Apr 6, 2004
I'm having trouble getting my movieclips to have trails that fade behind it. I'm having the dupilcate movieclips delete themselves once their alpha reaches a certain point.
View 5 Replies
Oct 22, 2002
I have one line that is going down 500 pixels with the instance called 'vertical'. I also have a line set next to it with aplha = 0. When the vertical line going down reaches 300 pixels, I want the line which is set to 0 to set the alpha = 100. The code I am trying does not work.. Here is what I am putting in
onClipEvent (enterFrame) {
if (vertical._height = 300) {
this._alpha = 100}
}
Seems simple enough, but the line becomes 100% alpha from the very beginning of the movie. Do I have to do anything with _root or what?
View 4 Replies
Jan 7, 2010
I know how to change the alpha of one movie clip at a time on rollover, rollout, and release. But I'm a bit stuck trying to figure out how I would change the alpha of multiple movie clips, when one is clicked. It's for a simple photo gallery and I want all the thumbnails to darken once one has been clicked & the image is loading. I can't just fake it by having a somewhat transparent black movie clip appear over everything, because I need the alpha of each thumbnail to be able to change again once people roll over a new thumbnail.(a section of my code is included for reference but there are like 30 thumbnails so I didn't include it all, the code is the same for everything)
Code:
thumb_001.onRollOver = over;
thumb_001.onPress = down;
thumb_001.onRollOut = out;
thumb_001.onRelease () {
[code]....
View 2 Replies
Apr 6, 2010
I'm new to action script and was wondering how to change the alpha of a movieclip from 0 to 100% gradually or instantly when the mouse is moved ( like the navigation bar on a media player) when the mouse is still i want the alpha to be at 0, i am totally new to actionscript but am familiar with code syntax.
View 2 Replies
Feb 17, 2009
I have a button and when this button is clicked, I want it to make a box which is a movie clip to ease alpha out.
newsButton.onRelease = function() {
gotoAndPlay("News");
};
View 2 Replies
May 15, 2009
how to increase the alpha of a movie clip when you rollover a button.
View 1 Replies
Feb 28, 2007
would like to know the AS code for getting a movieclip object to move to a specific x,y position on stage and change its alpha at the same time... would be nice if the movement was done with a nice tweening also.
View 3 Replies
Mar 1, 2008
When a movie clip is clicked on, another movie clip will fade out.The problem is that the clip that needs to fade out just disapears in a second, is there a way to controll the speed.I read a lot of info about this for complicated setups, is there a simple fix for this.I was hoping I could just do this designR_mc._alpha = 0/4;But that does not work.HERE IS THE CODE
design_mc.onRelease = function()
{ designR_mc._alpha =0;
}
[code].....
View 4 Replies
Sep 10, 2009
I have created a website on the time line. There is actionscipt contolling which frame to play via a button. Within this button is a movieclip with a fade in using alpha on its own timeline with a stop(); at the end.The problem is I only want it to play when you first see it from moving to that page from the main timeline. Currently if i move over the button it plays the movie again which i dont want to happen. I do however want to retain the over states etc for the button.
View 2 Replies
Mar 20, 2010
How can i change movie clips apha property slowly one by one in for each loop? I can't undestand what's wrong((( From XML data i create for each loop, where my MC creates. But i can't chang their alpha property slowly. When i'm trying
Code:
mc.addEventListener(Event.ENTER_FRAME, alphaShow)
function alphaShow(e:Event):void{
e.target.alpha += mcAlphaPlus;
[code]....
View 4 Replies
Mar 1, 2005
I can't seem to access the alpha property of a movie clip. I can change it's y x position but not the alpha....
This works great: loader2.lettercontainer.letter_mc1._y=50;
But this doesn't do anything: loader2.lettercontainer.letter_mc1._alpha=50;
The movieclip "letter_mc1" contains a createTextField with one letter in it. I'm completely lost why this isn't working....
View 7 Replies
Sep 20, 2009
I have just added a simple motion ( rotating word in additional frame ) the thing is that is comes to a point when it vanishes from the movie completely.The motion is not corrupted and I can see all the rotation when put "show redrawn regions " only. What's wrong ?.
View 2 Replies
Jul 1, 2011
I am doing an interactive display for school and it includes 2 games and 5 movies.I have it all set up the way I want it, but I have a HUGE problem, my movies will not play!! I am using 2 different codes, one for the games and one for the movies, they are below:
Games Code: loadMovie("filename.swf" , 1);
Movie Code: container.loadMovie("filename.swf");
The movie code has worked before, but for some reason it is not working now! If ya'll have a different code for uploading .swf games and movies ! These are all being uploaded and I am navigating them through by buttons and those seem to work great! Another thing, I have it set at 2 fps but some things get cut out because it goes too fast, but if I slow it down anymore the games won't work.
View 1 Replies
Jul 23, 2009
Yesterday I made a nice little flash movie (a picture slideshow) and today I've looked a a few tutorials explaining how to add my new flash image. To keep it easy I made a single page, using Dreamweaver, just to display this one movie. Everytime I ruin in in dreamweaver (F12) nothing appears. Similarly, anytime I look in the properties and press play my flash image disappears.
Code:
<!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">
<head>
[code]....
View 6 Replies
Oct 11, 2010
I have an issue that I need to pause my movie but its complicated to me because my movie contains an external swf files loaded into it and that swf files have many deep levels(childs) which all played one by one in my current movieclip. In simple words you can say I need a universal pause/play script that pauses all the animations on the screen and then play the same when press it again.
View 1 Replies
Jul 15, 2010
I have 2 identical ASP.NET applications, one running on Windows Server 2003 with IIS6 and another running on Windows Server 2008 with IIS7.
The one on IIS6 runs perfectly, but on IIS7 I'm unable to seek while playing my video. They are both using the exact same HTTP-handler for streaming.
I'm using the JW player for Flash (v. 5.2) and Sorenson Squeeze 6 for converting the videos from .mpg to flv. The FLV stream-handler is very (but not completely) similar to the one on this site
The one on IIS6: demo.orbicon.dk/wgv
The one on IIS7: kloakkort.nk-forsyning.dk/webgrafvideo/?filename=15050
View 1 Replies
Aug 9, 2009
For some reason I am no longer able to select any of the movie clips I have in my 1-Frame game. I've tried all the different mouse tools, and none have worked. Flash seems to think that they have all become part of the background. The biggest problem is not being able to put more symbols in the game
View 2 Replies
Dec 31, 2009
I just recently finished the snowflake tutorial and made a very nice movie with some minor tweaks of my own into the coding, and I'm very new to flash (this being the first many experiences with it). I want to create a movie that I can make full screen without the task bar at the top (maybe in windows movie viewer or quicktime), but there is no option to play the movie, only to test. When I export the movie into an AVI files, nothing happens.
View 3 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