ActionScript 2.0 :: Scripting Visibility Instead Of Alpha?

Apr 16, 2006

I'm developing an intro for a site, its 10 seconds long and has streaming sound in the background...I streamed it, because it has an image flash onto the screen in unison with a drumbeat.

I want to get the file size as low as possible, because they are not looking for a loader in the beginning. [URL].. I'm using Alpha's to fade the images in and out, and I know alpha %'s can kill file size.

I understand there is a _visibility function that can be applied, can you help me out on the syntax for calling it?

View 9 Replies


Similar Posts:


ActionScript 3.0 :: Combine Alpha And Visibility?

Oct 5, 2011

I have this website with a white fade in / fade out menu. I'm trying to get the menu to be a little more visible.  Because the  menu is in white font, and the images it pops over occasionally have a white background, this creates a bit of a problem.

I created a large movie clip that fits the stage width and height. I'm calling it 'bg'.  The idea is when one rolls over the 'projects' menu, the bg movieclip fades in to dim the whole file except for the menu. I'm setting the alpha of bg to 0 intially, so that it can fade in using TweenLite when the projects mc is rolled over, and fade out when projects is rolled off.  I would just do this all using alpha if I could, but here's the problem:  in order for the screening to work over the entire file, it has to also work over my externally loaded swf and it's gallery buttons.  When the bg mc fades in and tints everything, it gets infront of the buttons and you cannot access them. So... I need to combine the alpha fade thing with turning the bg visible on and off. Is there anyway to do this both at the same time?  Right now I either get nice fades, and the visibility not doing anything, or nice fade ins of the bg, and then an abrupt change when visibilty goes to nothing on roll over. [code]...

View 1 Replies

ActionScript 2.0 :: Setting Alpha/visibility Of Multiple Movieclips?

Apr 3, 2011

What I am trying to do I think is pretty simple.

Consider this code:

ActionScript Code:
var imageContainter:String;
var fileName:String;

[Code]....

This code appears to be working. I'm dynamically creating a bunch of movieclips that each contain an image. The also code stacks each clip on top of each other.

I'd like to be able to now set the alpha or visibility of all of those movieclips to 0 or false, except for the first one. I have other code that will set specific movieclips to display based on mouseEvents.

How do I refer to all of them? And should I be using arrays as well?

View 7 Replies

ActionScript 2.0 :: String / Variable - Get The Visibility Button On The First Swf To Affect The Visibility For The Column On The Second Swf

Jul 12, 2010

I have created a timeline with visibility button against each column. The timeline.swf is loaded into two empty movieclips to create a two-screen operation. Everything works fine except, I cannot for the life of me get the visibility button on the first swf to affect the visibility for the column on the second swf.

[Code]...

View 5 Replies

ActionScript 3.0 :: Setting The Alpha Of MovieClip With Objects Changes The Alpha Separately For Each Object

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

ActionScript 3.0 :: Curious Tip: Flipping Sprite.alpha=0 To Alpha=1 Back And Forth With No Logic?

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

ActionScript 2.0 :: 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?

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

Set Alpha For Whole Stage Down But Have 1 Mc Full Alpha?

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

Bug Makes Scripting Impossible?

May 6, 2009

This is sooo anoying! I can't type anything properly! The longer a line gets, the further the blinking line thing intersects with what you typed, and punctuation obstructs the text

View 3 Replies

Way To Do Blur Animation In Scripting

Oct 26, 2009

How to make an object or pic in a webpage slowly blur when mouse overed ?

View 21 Replies

ActionScript 2.0 :: Scripting The Physics Of A Toy Top?

May 7, 2004

I'm trying to create a simple top game. Except, the movement of toy tops isn't so simple.I've been able to get the top to trace out squashed loocking spirals. However, the motion isn't random and there's no object detection. I was thinking that some variation of a bouncing ball script might work. However, the movement would have to be confined to the appearance of a perspective plane (so that it looks like it is spinning on something flat)

View 11 Replies

ActionScript 2.0 :: Editor To Use For Scripting In It?

Nov 26, 2006

I was wondering if there is a good editor I could use for scripting in actionscript 3. I dont want to use flash 9 alpha or flex builder 2. Are there any other ones just for actionscript that yall can recommend?

View 14 Replies

ActionScript 2.0 :: Scripting 3D In Flash?

Jul 28, 2007

I'm going to have a bunch of questions as I progress through the tutorial.http:[url]....At the bottom of the page, sen writes this:Finally the function to make it all happen.This will base camera movement off of the arrow keys and use

clip._x += Math.cos(angle)*radius;
clip._y += Math.sin(angle)*radius;However in his code he writes this:cameraView.x += Math.sin(cameraView.rotation)*movement;
cameraView.z += Math.cos(cameraView.rotation)*movement;what happens is he switches the sin and cos methods from what he said. However, for displaying all the "figures" those far and including this example, cos was used for "x" and sin was used for "y" like so:
var x = Math.cos(angle)*this.radius;
var z = Math.sin(angle)*this.radius;

View 2 Replies

ActionScript 3.0 :: Scripting Language In Flash?

Dec 2, 2009

I'm using Flash CS3 with Actionscript 3, and I need to have a scripting language that the user can use. If they could type in their own actionscript and have it evaluated, that would be perfect. Another scripting language such as Lua would be fine too. I looked into lua alchemy, but it seems poorly supported so I'd rather not use that. The Eval command from actionscript 2 isn't available in as3, and some of the things I've heard indicate that it's functionality is pretty limited, although I've never used it before.

View 1 Replies

Flash5 :: Changing Scripting In Existing Fla?

Nov 15, 2010

I have a sample fla file, but I can't find where to edit the scripting in it. Basically there are 2 buttons, each one going to a different URL. I can't figure out where to change the URLs they go to. I've looked literally everywhere in flash.

View 1 Replies

ActionScript 3.0 :: Scripting Allow To Draw After Runtime?

Sep 9, 2009

Am I correct in nesting packages as attached?I thought this scripting would allow me to actually draw after runtime?
 
[code]...

View 9 Replies

Scripting A Specific Menu Animation?

Nov 29, 2009

I have the animation performing ok in the file, but I am having trouble getting the movie clip to play on mouseover. could really use some advice on this.  I've been through a number of tutorials, but cannot get this file to play nice.On mouseover, the menu should animate down (play the clip).  This brings up another question, however How do I get the menu to receed (animate up) when the cursor leaves the button region?

View 2 Replies

Professional :: Changing Scripting In Existing Fla?

Nov 15, 2010

I have a sample fla file, but I can't find where to edit the scripting in it. Basically there are 2 buttons, each one going to a different URL. I can't figure out where to change the URLs they go to. I've looked literally everywhere in flash.

View 1 Replies

ActionScript 3.0 :: Regards To External Class Scripting

Mar 12, 2012

For my Flash class, my professor is making us create a four room "adventure game" created entirely in an external class with ActionScript. I know how to get things set up,

View 1 Replies

Scripting :: Recording From User Mic W/o Using Flash

Aug 11, 2010

Is there a way to not to use flash as a platform for mic recording based script?

View 1 Replies

Flash :: AS3 Cross-scripting Between 2 SWFs?

Aug 13, 2010

I have a movie with a document class (Main.as) wich load 2 SWF:

private var mainContainer:Sprite = new Sprite();
addChild(mainContainer);
var loaderx:Loader = new Loader();[code]....

Now I need to access some var/objects in PhotoLoader from PhotoViewer but anytime I compile PhotoViewer the compiler complains:

trace(root.loaderx.dbFields);

1119: Access of possibly undefined property loaderx through a reference with
static type flash.display:DisplayObject.

Notice I need communication between the 2 loaded SWFs, not from the movie that loaded them

View 1 Replies

ActionScript 2.0 :: Scripting For Image Effects?

Jun 23, 2004

can anyone point me in the direction of a script that loads as such on this website: url...

-go to "collection"
-click on the image and see how the images are broken into long rectangles that then builds itself up to form the complete image.

how is this done?where can i find the script if it is at all?

View 3 Replies

ActionScript 2.0 :: Scripting A MovieClip To Act Like A Button?

May 2, 2006

I have a Flash sitethat I am buiding, and I have all the buttons set up as movieClips so that they can have a more extensive rollover state. I have each page of the site separated into separate scenes. I am just trying to script the movieClips to gotoAndPlay (scene, frame); here is the code I am using:

on (release) {
trace("FAQ");
gotoAndPlay("FAQ","start");
}

"FAQ" being the scene name, and "start" being the frame label. I am just tracing the onRelease to make sure it is getting the right info. It is.

View 6 Replies

ActionScript 2.0 :: Scripting The Preloader For Levels?

Apr 29, 2003

i am using the external preloader that downloads the external swfs into levels. I manaaged to make the external preloader work.Now, I am working on displaying the progress of the preloader bar. However the preloader bar do not show its progress. The preloader bar just stay there as visible. However the progress is not seen. The preloader bar is supposed to show the increasing length of the bar as it downloads the bytes.I am wondering where it goes wrong with my codes.

LoadMovie - (Level 0)
First frame of actions layer
loadMovNum("external1.swf",1)
stop();

Frame frame of loaderMC layer No actions at all. But the loader as MC will be placed on loaderMC layer.This is the script of the loader.

First frame
stop ();
Second Frame
Empty

[code]....

As you can see that I have been working so hard on this preloader issue and my attempts to create the preloader that works with downloading external swfs are not successful.

View 2 Replies

ActionScript 2.0 :: Scripting A Snowflake Mask?

Nov 20, 2007

How could I modify this code to keep the flakes from falling within 12px on all four sides plus a 22 radius on the corners. I could just load the swf into a master file to accomplish this but it's gonna be such a simple piece I was hoping there could be a way to just use code to do it. Also, this AS only works as 1.0 and Flash Player 6. Any clue how to upgrade it?

Code:
// snowflakes
amount = 100;

[code].....

View 5 Replies

ActionScript 2.0 :: Scripting Symbols To Appear And Disappear?

Apr 3, 2008

have code to set up a situation where you can say when symbol "A" is clicked symbol "C" will show up at these coordinates. And that when symbol "B" is clicked that symbol "C" goes away and symbol "D" appears. I have multiple labels set up in the file and would like for the symbols that appear to stay when moving from label to label,

View 6 Replies

ActionScript 2.0 :: CS3 - Add A Swf Or Movie Into Xml Scripting Without Touching Fla File

Jul 22, 2010

I have just received a xml and flash CS3 file from another client They would like me to add some animation in here How do I add a Swf or movie into xml scripting without touching my fla file Also I can't seem to edit the fla file to add a holder as when I test my movie (make it a swf file) it's all jumbled. I'm not sure who created this so I can't ask the designer.

View 5 Replies

ActionScript 3.0 :: Understanding A Basic Scripting Concept

Jan 16, 2010

I'm currently reading the book Learning ActionScript 3.0 and have dificulties understanding some programing basics due to my total lack of prior programing knowledge.For example now I'm looking at this script from the book that traces a list of all display objects on the stage and their children:[code]I understand everything except one thing. When there is an object with children (DisplayObjectContainer), the function traces the object but doesn't proceed and calls itself starting all over again this time analyzing the first child of the object. And if the child also have children itself the list will branch out until there is an object without children.What I don't understand is how the function at this point knows how to return to the last parent object and continue to analyzes  its other children if any.For example when the function analyzes the stage of a scene with the following content how does the function know to continue analyzing child0. To me, looking at the code, I would expect the function to exit after listing [object StaticText]. I have hard time understanding what makes the function go back to largeContainer and continues with its child0 and so on.[code]This all what the book says regarding this which is not enough for me to understand this process:the function calls itself again. passing in the object currentlybeing inspected. This concept is called recursion. A function calling itself mayseem redundant, but it can be very useful. In this case, each time the functionis called, it receives a new display object to analyze, so the function reportsthe contents of that specific display object. The result is a complete walkthroughof all display objects, no matter how many children each may have.

View 5 Replies

ActionScript 1/2 :: Email Without Server Side Scripting?

Feb 21, 2010

My client's webside does not have any server side scripting support. Is it possible to send email without server side scripting and email programs? Can HTML's emailto send emails from flash?

View 4 Replies

ActionScript 3.0 :: Cross-scripting And Type-casting?

Jul 5, 2010

I wrote a post a week ago but it seems no one is able to help or I didn't explain my problem well enough, so here I go again.I want to load an external SWF, get an object reference from it and add it to the PV3D scene of my main class. The problem is even though the types have the same names, they are not recognized as the same type.
 
---------------------------------pv3Dviewer--------------------------- -----------
package {
import org.papervision3d.objects.primitives.Sphere;
public class pv3Dviewer extends Sprite {

[code]....
 
When pv3Dviewer is run, it traces "no". If I try to assign shereRemote without type casting i get this error:TypeError: Error #1034: Type Coercion failed: cannot convert org.papervision3d.objects.primitives::Sphere@59930b1 to org.papervision3d.objects.primitives.Sphere.

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved