Gradient or Mask stage background?

FLASH

    Next

  • 1. Free Screensaver Tool / Plugin
    Anybody? I dont really want to buy any more software... just looking for a way to create a screensaver without any "Unlicensed" or "Shareware" banners... this has got to be easier that this...!!
  • 2. Breaking movies into sub-clips
    I'm trying to develop a project where I break a movie into pieces and interrupt each piece with a short "quiz." I'm having trouble with either of the two ways I've thought of how to accomplish this: 1. Import the original AVI file into Flash, then identify the correct keyframes to stop and jump to the quiz. The problem with this is that the included Sorenson Spark utility is too low-quality. I upgraded Sorenson, but that only generates compiled files, which leads me to: 2. Use the LoadMovie function. However, I can't seem to find any events that trigger when a movie ends, and without that, I can't insert the quiz properly, nor can I run the entire movie through without stopping. Any suggestions on addressing either of these would be appreciated. Right now I'm focused on solving the problem from the second solution set (breaking the movie clips into smaller pieces), but either would help! I'm using Flash MX.
  • 3. gradient mesh to flash, transparency problems
    Hi there - I have created a peice of clothing in Illustrator that looks 3D because of the gradient meshes I'm using. The artwork is intended to be used in a Flash application online - specifically the Flash app will allow the user to change colors on the outfit itself - like a simple paint tool. The only way I can think of to let Flash change the colors of say, the sleeves, is to put a red sleeve shape on a layer beneath the gradient mesh sleeve and then simply change the color of that red shape. Ideally the gradient mesh would basically just be shadows and a lot of transparency overlaying the color that I want to show through. From what I can tell, the gradient mesh isn't allowing transparency - has to have white. If that's the case, the only way to let a color show through in Flash is to change the transparecy of the artwork - (Flash won't let me do a multiply effect or anything like that). Changing the transparency doesn't seem to do the trick very well because either the shadows are too lite or the colors are very pale looking when they start to show through. Any suggestions? Thanks! G

Gradient or Mask stage background?

Postby lparisek » Thu, 12 Mar 2009 22:02:59 GMT

Hello all,

 I was wondering if there is a way to apply a gradient or mask to the stage 
background. Essentially making part of the flash movie transparent to the 
content / page behind it. I am relatively new to Flash and I am using CS4 with 
AS3.

 Thanx
 Les


Re: Gradient or Mask stage background?

Postby David Stiller » Thu, 12 Mar 2009 22:13:21 GMT

Les,


    This isn't possible directly, but the workaround is easy.  Create a new 
layer and drag it to the bottom of whatever layers you may already have in 
the Timeline panel.  Doing so puts your new layer beneath all other content. 
In the new layer, use the Rectangle tool to draw a rectangle to the same 
dimensions as the Stage.  Use the Free Transform tool or the Align panel to 
get your rectangle to the exact dimensions.  Use the Color panel to give the 
rectangle a gradient fill.


    Aha.  Then you'll have to use something called WMODE in the HTML itself. 
This *does* work in most browsers nowadays, but it's potentially buggy in 
some cases.  You can read details on this page:

     http://www.**--****.com/ 


David Stiller
Co-author, ActionScript 3.0 Quick Reference Guide
 http://www.**--****.com/ 
"Luck is the residue of good design." 



Re: Gradient or Mask stage background?

Postby lparisek » Fri, 13 Mar 2009 05:25:16 GMT

That was exactly what I needed.

Thanx
Les

Similar Threads:

1.Gradient Mask using JPEG as mask

Hi there. I am trying to find a way to use loaded greyscale JPEGs to form 
gradient masks in Flash. Basically I want to be able to create an opacity mask 
just like you do in Illustrator or Photoshop, where it's the darkness of each 
pixel that determines opacity, rather than the alpha value. 

 It seems that in Flash the only way to create a gradient mask is to use a mask 
that has varying alpha values. I suppose that means I could use PNG files to 
form my mask instead, but I really need to be able to do it with JPEGs.

 Perhaps there is a BitmapData filter that can convert shades of grey to 
degrees of alpha?

 Thanks :)

 Lara.

2.Putting gradient mask movieclip inside a scrollpane makes mask and maskee vanish

Hello all, I hope someone can help with this!:

I have got an SWF which preloads a dynamic JPG, waits until the JPG has
completely loaded, then reveals the JPG using a gradient mask:

this.image_holder.cacheAsBitmap = true;
this.mask_clip.cacheAsBitmap = true;
this.image_holder.setMask(this.mask_clip);
this.mask_clip.gotoAndPlay("on");

This works, until I use the SWF as the content in a scrollpane, or load it
into a UI Scrollbar-controlled HTML textfield as the source for an <IMG>
tag.

If I do this, the gradient mask does not show at all.  The masked clip
flickers or vanishes altogether until i click somewhere inside the
scrollpane, scroll the content, or the dynamic mask is removed.

Has anyone experienced this?  I'm still using version 6 components, but I
get the same problems if I use version 8 components.

If anyone can help please let me know!

Thanks,

Gareth Jones




3.how to apply gradient color to stage BG

How do you apply a gradient color BG to the stage in FLASH 8 Prof? I've made a 
dark blue to light blue gradient in the color mixer, tried to use the paint 
bucket but it won't work...what do I do?

 Thanks
 KB

4.can you make gradient masks?

i want to make a mask in gradient to slowly reveal stuff 

is it possible ? if yes how and if no , any better ideas ?

5.GRADIENT MASK

I am trying to make a gradient mask in Flash 8. Is this possible?

Thanks,

smiller

6. need help with gradient mask over XML images

7. gradient opacity mask

8. Gradient mask?



Return to FLASH

 

Who is online

Users browsing this forum: No registered users and 49 guest