Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








How To Generate A Shadow


Hello,

I want to create a ball that drops and hits a flat surface, and was wondering if anyone knew of some good tutorials to show an animating shadow that reflects the movement and positioning of the ball as it drops.

Thanks!




FlashKit > Flash Help > Flash General Help
Posted on: 05-26-2004, 11:03 AM


View Complete Forum Thread with Replies

Sponsored Links:

[CS3] Shadow Filter/Png Shadow And Css Opacity Problem In IE 7.0
I have a swf that's nested in a div that has an opacity factor of 0.9. The problem apperas in internet explorer, the shadows that i have inside the swf are dispalyed as black, with no transparency.. i supose it's a rendering problem.
Do you have any ideea on how could it be fixed?

View Replies !    View Related
Shadow
How can I make a shadow on an object in a nice way?

View Replies !    View Related
Shadow Help
is here a way i can make a circular object move acording to how close in the y axis the mouse is....then the further away the mouse is the shape movse back??????

View Replies !    View Related
HELP WITH SHADOW....*Look*
Hey,

I am completly stumped on how to do somthing on an intro im working on..
I need to create a shadow on the groud that moves with the timing of the moon and i am COMPLETLY stumped on how to go about doing this...

Here is the movie so you can see what it is so far..
http://www.krissosa.com/clients/moonlight/

Please i need some serious help!!!!!!!!!!!!

Thanks,
Kris

View Replies !    View Related
Shadow
How do I add shadow to an object in Flash?

View Replies !    View Related
Shadow
ok me again with me imported images and that...
basically ive got images imported in, and i have the jpegs, as basically a product, with a grey background and a shadow that ive put in on photoshop, now the background of my movie is the same shade of grey, so it looks like the shadow is in the background as it were, but it looks very bad, i want some kind of grid behind it or a gradient fill, but this is not possible as i have a shadow on my images, and i have to have the shadows,
Is there a way to make shadows in flash, where you get a gradual falloff,
could you just create an instance of an image, and just change the colour/ brightness/ tint/alpha, i dunno!
Any ideas people
lee

View Replies !    View Related
Where Does This Shadow Come From?
I've downloaded the fla file from the following location, and I was wondering if someone could point out where the shadow is originating from, in this file. Hopefully, you understand what I am asking.

http://www.ffiles.com/flash/animatio...lower_788.html

View Replies !    View Related
Inner Shadow
Hi Guys,

Here is a photo gallery that loads images via xml.
All works fine, accept for the dynamic inner shadow functions on the loaded (xml) images - onRollOver, OnPress and OnRollOut.
A trace(); showed that the functions were being reached. And The inner shadow function works when on its own in a movie.
But it doesn't work with the loaded (xml) images.

Anyone got an idea what's wrong here?

Here's my code..


Code:
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success) {
//portfolioTag = this.firstChild;
numimages = this.firstChild.childNodes.length;
//create opening image from XML (main)
this.picHolder = this.firstChild.childNodes[0];
this.is_it_original = this.picHolder.attributes.main;
loaderFade.loader.loadMovie(this.is_it_original);
bannerHolder.textBanner.title_txt.text = this.firstChild.childNodes[0].attributes.title;
bannerHolder.play();
loaderFade.play();
//center text field
bannerHolder.textBanner.title_txt.autoSize = "center";
//create thumbnail menu for XML(thmb)
spacing = 123;
for (i=0; i<numimages; i++) {
this.picHolder = this.firstChild.childNodes[i];
this.thumbHolder = thumbnails.createEmptyMovieClip("thumbnail"+i, i);
this.thumbHolder._x = i*spacing;
this.thumbLoader = this.thumbHolder.createEmptyMovieClip("thumbnail_image", 0);
this.thumbLoader.loadMovie(this.picHolder.attributes.thmb);
this.thumbHolder.title = this.picHolder.attributes.title;
this.thumbHolder.main = this.picHolder.attributes.main;
//apply a inner shadow filter to thumbHolder
var myFilter = new flash.filters.DropShadowFilter();
this.thumbHolder.onRollOver = function() {
myFilter.inner = true;
myFilter.angle = 45;
myFilter.distance = 10;
myFilter.blurX = 10;
myFilter.blurY = 10;
myFilter.alpha = .5;
this.thumbHolder.filters = [myFilter];
};
this.thumbHolder.onPress = function() {
myFilter.alpha = .8;
myClip.filters = [myFilter];
};
this.thumbHolder.onRollOut = function() {
myFilter.inner = true;
myFilter.angle = 0;
myFilter.distance = 0;
myFilter.blurX = 0;
myFilter.blurY = 0;
myFilter.alpha = 0;
this.thumbHolder.filters = [myFilter];
};
//onRelease the selected main picture is loaded
this.thumbHolder.onRelease = function() {
if (is_it_original != this.main) {
loaderFade.loader.loadMovie(this.main);
loaderFade.play();
bannerHolder.textBanner.title_txt.text = this.title;
bannerHolder.play();
is_it_original = this.main;
}
};
}
};
myPhoto.load("xml/photogallery.xml");

View Replies !    View Related
Hi About Shadow
i wanted to create a shadow for an object then when i resized the object i need also the shadow to be reduced with it and what are the different ways to give shadow please help.

View Replies !    View Related
Shadow
This is gonna sound really stupid but ill really will appreciate your help...
the thing is that im trying to add a drop shodow effet to a image but the drop shodow effect i get on the insert effect time line effects looks really simple.. just like a gray copy of mi image on the back... is there any way to eddit it like blured it or something?

thnx

View Replies !    View Related
Shadow
I once read a tutorial on how to make shadows on images quite easily where you make a copy of the outline, and shift it to one side, then paint inbetween the copy and the orignal outline using a darker colour. If you keep the coppied outline highlighted the whole time, it can easily be deleted after you have finished and you end up with a darker shade on one side of the object.

Now ive not done it for a bit, but im new to Flash 8 and im sure its acting a bit different. When you keep the outline highlighted and move the copy to one side, when deleting it after you have finished, it automatically cuts out the image from behind. Im sure this wasn't the case when I used MX because I know I used to be ok with this and had no problems. I tried to use seperate layers for the copy, but it doesnt work either. So im either missing something obvious, or something has changed.

Any help would be appreciated.

Thanks

RR

View Replies !    View Related
Drop Shadow?
Hey there,

How do you give something a drop shadow in flash MX???

Thanks for any help!!

View Replies !    View Related
Shadow Effect
Does anyone know how to create a shodow effect for an object as if the sun is passing over it.
Any help would be great.

View Replies !    View Related
Shadow Effect
Does any know how to create a shadow effect for an object as i the sun is passing over head. Any help would be great.

View Replies !    View Related
Shadow Effect
Hi,

in most of the flash animations ive seen, buildings and thing produce a kind of shadow...

does flash do this or the user?

thanks

View Replies !    View Related
Drop Shadow?
Is there a simple way to create a drop shadow in flash? I can't find one and when I bring something in from fireworks it makes it a bitmap. Someone please help!

View Replies !    View Related
Animating A Shadow?
hi there!

can anyone help me with that:

i have this simple idea of animating a box on a background. the box should seem to be floating, therefore i'd like to add a shadow beneath the box (how can i achieve that?). i want the box itself to be scaled - including the shadow beneath it of course. can anyone tell me how to do that (in first place how to make the shadow of course, because a simple imported file made with photoshop can't be scaled without being blurry).

see the attached jpeg for how it should look like!

thanks to you guys,
cheers,
rene

View Replies !    View Related
Blending A Shadow
Hi

I would like to put a small shadow behind my nav buttons just like http://www.logoyes.com but i can't work out how to do it, is this an image imported or is it drawn in falsh i can't seem to tell how they've blended it so well.

Regards

jon

View Replies !    View Related
Drop Shadow
Can you make a drop shadow effect in flash? or do you have to make it in photoshop and bring it in?

Thanks!

View Replies !    View Related
PS Like Drop Shadow
Hi
How can I create A Photo Shop like drop shadow in Flash MX.
Thank you for any suggestions.

View Replies !    View Related
PS Like Drop Shadow
Hi
How can I create A Photo Shop like drop shadow in Flash MX.
Thank you for any suggestions.

View Replies !    View Related
Shadow Effect
Hello,

Can someone please tell me, how these flashy new websites have a shadow effect around the main background box??
Here are some examples:

http://www.design-insights.com
http://www.jake.co.za/core.htm
http://www.twinphotographie.com

Many thanks,

Bob.

View Replies !    View Related
How To Make Inner Shadow?
Hello all,

Is there a way to make an INNER drop shadow inside a square to give the illusion of depth? I am using Flash MX and can't seem to get anything to look decent.

Thanks for any help here.

View Replies !    View Related
Drop Shadow
Hi
How do I put a drop shadow behind my flash site? Is it done in the html page? Do I need to use a jpg or is there a vector way that will give a nice gradient?
Thanks

View Replies !    View Related
[CS3] AS Drop Shadow
Hi is there anyway i can apply a drop shadow to text in a DTF?
I know its possible normally but i need a scroll and dont think that works.

Many Thanks

View Replies !    View Related
[CS3] Shadow Effect Help
http://www.truthaboutsmart.co.uk/

On the above website, and on various others i've seen, there is a really nice shadowed paper/background effect.

Has anyone got any tips on how to do this effectively and to a high standard like in the above flash site?

I've tried it with glow/drop shadow, etc but it is no way near as nice.

Thanks in advance for your tips.

View Replies !    View Related
All-around Shadow For Text?
Hi!

I am looking for a way to display an all-around shadow behind dynamic text. I obviously tried displaying a copy of the text, in black and slightly shifted, behind the original text, but I don't like the result. I am really looking for something like a black border around each individual letter. Anyu idea how I can achive that?

Thanks for your ideas.

View Replies !    View Related
PopUp With Shadow
Hello,

how do I display main window in shadow (disabled) while I have popup (movieclip) shown?

What I want is to disable the main window when I have popup shown.
Should I set somekind of a transparent field in popup so that it covers the whole screen (flash window) or is there feature for this?

Excuse me, I'm new at this.

Thank you.

View Replies !    View Related
Reflected Shadow In AS3
I am trying to make a reflected shadow of a movie clip in AS3. I don't know how to do it. I basically have an object that I want a realistic shadow applied to.

Any ideas would be great.

View Replies !    View Related
I Need Some Help With A Button And It`s Shadow
Hello ! I`m trying to move a shadow behind the last button that was clicked.
I`m using the _x of the button to know where the shadow should move.
I have some problems with this cause if i say at the button "this._y - 5" .. the shodow goes to the top of the movie -5 .. i don`t want that

You can find my flash file at http://www.geocities.com/wwwluckyro/well.zip

After you download it. DON`T open it! It will be corrupted. Change the name of "well.zip" to "well.fla" .. then it will work

Hope you can help me,
Lucky
my email: wwwluckyro @ yahoo . com

View Replies !    View Related
Shadow For Hot Air Balloon
I have created a basic hot air balloon using the following as on a balloon mc.


ActionScript Code:
onClipEvent(load)
{
    // create movement speed
    _root.speed = 200;
   
    // create random size to scale to
    _root.randscale = Math.Round((Math.random()*100)+100);
    //trace(_root.randscale);
   
    //create a random x and y target
    _root.targetx = Math.random()*400;
    _root.targety = Math.random()*300;
   
    trace("targetx" + _root.targetx)
    trace("targety" + _root.targety)
   
    //work out difference between startpos and endpos and divide by speed
    _root.xdiff = (_root.targetx - this._x)/_root.speed;
    _root.ydiff = (_root.targety - this._y)/_root.speed;
}

onClipEvent(enterFrame)
{
    //if baloon has scaled(taken off)
    if((Math.round(this._xscale) == _root.randscale)&&(Math.round(this._yscale) == _root.randscale))
    {
    // move step by step
    this._x += _root.xdiff;
    this._y += _root.ydiff;
    }
    else
    {
    //move upwards and across but slower
    this._x += (_root.xdiff/2);
    this._y += (_root.ydiff/2);
   
    //scale up frame by frame
    this._xscale += 1;
    this._yscale += 1;
    _root.balloon_mc.shadow_mc._xscale -= 0.5;
    _root.balloon_mc.shadow_mc._yscale -= 0.5;
    }
}

I have also created a shadow_mc within the balloon_mc that i want to follow the balloon creating the illusion of a shadow. What i'm not sure how to do is place the shadow_mc at the correct offset so that it trails behind the balloon whatever direction it is travelling in.

Any ideas?

Thanks.

View Replies !    View Related
Drop Shadow
When I apply a drop shadow or blur or glow etc to an image, when the clip is played, it plays really SLOW. Why is that? Is there a way to speed it up? And I do mean slow compared to how it was before.

View Replies !    View Related
AS Drop Shadow
I created a drop shadow in my movie via AS, but don't understand how to adjust its thickness, alpha, etc.
Here is what I have so far:

import flash.filters.DropShadowFilter;
var dropShadow:DropShadowFilter = new DropShadowFilter();
var filtersArray:Array = new Array(dropShadow);
myImage.filters = filtersArray;

How do I adjust the strenght of the filter?

Thanks a lot for any help!

View Replies !    View Related
Soft Shadow
Does anyone know a trick in how to create a soft shadow say round a box in flash, rather than a hard looking one??

any ideas!

cheers

postatomic

View Replies !    View Related
Drop Shadow
A newbie question here regarding text drop shadows. Is there a quick simple way of achieving drop shadows without breaking the text apart?

Also, I'm finding that some of the text I've typed into a menu I'm working on comes out very blurry while other words typed with the same pixel font are very clear. Any ideas why this happens and how to remedy it?

Many thanks!

View Replies !    View Related
Drop Shadow?
can anyone instruct me how to put a drop shadow on a web page please?
I want the main page to seem as though it's away from the background.

any help greatly appreciated as always !

Mike....

View Replies !    View Related
Giving A Box A Shadow...
Like this one has: http://www.chillskatemag.com/

It's probably the most simplest thing in the world, and yet I can't figure it out and can't find any sort of tutorial related to it.

Something tells me I have to draw with the paintbrush, but when I do the brush isn't soft enough.

Anyone care to help a lil stupid n00b?

View Replies !    View Related
Shadow In Flash?
Is there anyway to make really good shadow in flash?

Regards
Lunkan

View Replies !    View Related
Most Simple Box Shadow
I've seen tutorials here for other kinds of shadows, but I can't find the one to create the simple shadow for boxes (meaning text boxes, etc.), like the ones on this page (the menu at the top). Sorry if this is the thousandth time it's been asked (search didn't come up with it either). Could someone walk me through it or at least point me to the right page... thanks.

View Replies !    View Related
Shadow Filter
ok how can you do this, for example let say that I want to use the Shadow filter in Flash 8 in my whole SWF .... so in the first frame I got this .


Code:
import flash.filters.*;
var ds:DropShadowFilter = new DropShadowFilter(0,90,0x000000,1,10,10,1,3,false,false,false);
middleCube.filters = [ds];
and what happend here is that I just can use this when the code and the MC (middleCube) are in the same frame ... so if i have this movie clip called "middleCube" in another frame or inside another MC how can use the same Var [ds] without repeating the all the above (import falsh.filters.*; .... etc ) in the other parts of my movie as well ?
there is anyway to do this.

thanks.

View Replies !    View Related
Drop Shadow With As
Hi , is there a way to create dropshadow using laco or mctween ?

View Replies !    View Related
Text Shadow
How to write text with shadow at down. I can make it in photoshop but I want to make it in flash. See the attached file for example.

View Replies !    View Related
Drop Shadow
I would like someone's help applying a drop shadow to a display object. I have several books and the Help to look at for direction but I am still unable to get it right. A nice simple block of code would be greatly appreciated.

Call the display object "thing." It's placed on the stage thus:

Code:
var thing:Loader = new Loader();
addChild(thing);
thing.load(new URLRequest(filename));
...where filename is "thing.swf". Hopefully that's enough information. Let me know if I need to give you more.

Thanks!

View Replies !    View Related
Dynamic Shadow
Okay, so I keep bumping in to challenges with my litte game.

On the scene there is now a movieclip that is now being rotated around. This movieclip is shaped like a rectangle. And at the bottom of the screen is a shadow (also a movieclip) that moves left and right, always staying aligned to the rectangle shaped movieclip.

This is pretty easy just by keeping both their xspeeds the same.

But the shadow's width should also vary depending on the rectangle's angle/rotation, being the shortest when the rectangle movieclip i standing upright. Can I get the value of the rectangle's angle and adjust the shadow's width accordingly, or what would be the best take on this?

View Replies !    View Related
Drop Down Shadow
Em just wondring how make them drop down shadow effect in Flash like this one here http://www.kirkimages.com/Site/kirkimages.html

View Replies !    View Related
Shadow Efect
I´m making a mask effect to some pictures.
How do I make a drop shadow effect to the outline of the mask? No just a transparent shadow, but a blured shadow.

thanks any comments

View Replies !    View Related
Drop Shadow
A newbie question here regarding text drop shadows. Is there a quick simple way of achieving drop shadows without breaking the text apart?

Also, I'm finding that some of the text I've typed into a menu I'm working on comes out very blurry while other words typed with the same pixel font are very clear. Any ideas why this happens and how to remedy it?

Many thanks!

View Replies !    View Related
Giving A Box A Shadow...
Like this one has: http://www.chillskatemag.com/

It's probably the most simplest thing in the world, and yet I can't figure it out and can't find any sort of tutorial related to it.

Something tells me I have to draw with the paintbrush, but when I do the brush isn't soft enough.

Anyone care to help a lil stupid n00b?

View Replies !    View Related
Shadow In Flash?
Is there anyway to make really good shadow in flash?

Regards
Lunkan

View Replies !    View Related
Most Simple Box Shadow
I've seen tutorials here for other kinds of shadows, but I can't find the one to create the simple shadow for boxes (meaning text boxes, etc.), like the ones on this page (the menu at the top). Sorry if this is the thousandth time it's been asked (search didn't come up with it either). Could someone walk me through it or at least point me to the right page... thanks.

View Replies !    View Related
Add Shadow Through Actionscript ?
is there such a thing as adding a shadow to an object by using actionscript???

onMouseOver for exemple...

how???

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved