ActionScript 2.0 :: [FMX] Make A Radial Mask?
Mar 24, 2004how to mask in a circle?To try to clarify: If you had a clock face with the minute hand at 12, as the minute hand sweeps round it reveals a picture.[URL]
View 8 Replieshow to mask in a circle?To try to clarify: If you had a clock face with the minute hand at 12, as the minute hand sweeps round it reveals a picture.[URL]
View 8 RepliesDoes anyone know how to mask in a circle? To try to clarify: If you had a clock face with the minute hand at 12, as the minute hand sweeps round it reveals a picture. Here is an example of what I'm looking to do (the orange logo at the top)[URL]
View 8 RepliesI have a circle mask over a photo. I'm trying to get it so the edges fade out to black. Currently, it just is a solid white circle. It's a movie clip and has a radial blur and is motion tweened. The alpha channel on the radial blur is 100% on the first point and 0% on the last. Can a spotlight with radial blur/fade be done without adding code or actionscript?
I've attached a photo of what I have now along with what the movieclip I'm using.
I'm on CS5, but can only use AS2, if actionscript is necessary.
I need to make a radial animation tween like a pie chart. I want it to start as a full pie and as the animation plays the pie gets smaller. It seems simple but I think I have to use actionscript to accomplish. Though I have no idea of how? I guess it has to do with a lot of math and using the actionscript drawing api.
View 1 RepliesThere are two objects on the stage and I find the distance between them. Using tan and atan i need to find the angle at which one object has to move in to reach the other. Heres what I have[code]...
View 1 RepliesSo it has been posed to me to create a Radial Gradient Blur on a still frame of a video. I wanted to ask the community how they would go about doing this after posing my own solution.
Here is the concept solution to me:
1. Create a bitmap from the still frame
2. Create a gradient filled shape with alpha from 0-100, center out.
3. Apply a blur filter to the bitmap made from the video still
4. Set the bitmaps mask to the gradient filled shape
5. Position and overlay the newly created/masked image over the video itself to generate the gradient blur effect.
EDIT: Here is a link to a good example for what I am trying to achieve. I know it can be done.
I'm trying to create a cooldown effect similar to those used by most MMORPGs for skills or spells. Like in wow, your skills become faded out when used. And they gradually become visible again in a radial manner. Anyone have an idea of how to create this effect in flash?
View 2 RepliesI'd like to add text precentage to the radial preloader below. I know a conventional preloader uses this script to show the text % loaded:
[Code]...
I'm coding a game where I have a skill that has around 2 minutes of cooldown, so I'd like to have a neat cooldown animation like the one in World of Warcraft. But instead of getting an artist to draw one, and me having to put it on A LOT of frames, I was wondering, how it can be done by using AS3? The cooldown is a square kinda like rotating to a full shape.
View 2 RepliesI made a blind effect but when i play this effect it show the white strip on the clip which look's very bad. Is it possible to make the mask transparent so the background look same only the text is hidden omn which the effect is implemented.All of this thing are done in action script.
View 3 RepliesI have a graphic symbol of a circle that has a radial gradient fill of yellow to red. All I want to do is have it change from yellow to red to red to yellow. I tried the advanced color settings but that doesnt quite do what I want. With the color settings.. it changes the complete tint of the object. I want it to look like it is tweening the gradient not the object. So if the object had a yellow center with a red outer edge I want it to chenge to a red center with a yellow outer edge. How do I accomplish this?
View 1 RepliesI've been trying to learn just now how to dynamically create a radial gradient in a circle. All the pages that I can find use the command 'beginGradientFill', but when I use it I get the following messages:
Warning: 1060: Migration issue: The method beginGradientFill is no longer supported. For more information, see the Graphics class..
and
TypeError: Error #1006: beginGradientFill is not a function.
Unfortunately I can't seem to find the replacement, or any other pages that describe an alternative to that function. What is the way to do a radial gradient now?
What I want to achieve is this. I want a picture of a car that is dry as the background. On top of that a picture of the same car, but wet. I then want an image of a chamois that the user can click on and use to "remove" the water off the car, by "erasing" the picture off the top layer. Is this something that is achieveable.[code]...
View 2 RepliesHow to make a mask with a drop shadow? Ive seen it on websites so know it is possible can't seem to find anything online .
View 1 RepliesI'm trying to make a preloader with a mask effect.
preloader.zip
I need the animation to follow the path the right way - from point 1 to point 2. Of course this is wrong now because the mask effect isnt well done.
I'm trying to make a preloader with a mask effect.
preloader.zip
I need the animation to follow the path the right way - from point 1 to point 2. Of course this is wrong now because the mask effect isnt well done.
In my program i need it to display an image along with some facts at the click of a radial button.I have it set up now where it displays the image with a radial button and loads a new one if i click a new button but it keeps the same fact text instead of changing it.have the text in a if else statement:
if (imageArray[0]) { facts_txt.text = "Inner Planet" + "
" + "Name Meaning: Messenger." + "
" + "Name Origins: Mercury is named after the Roman God of Trade." + "[code]....
Indeed, i would like to inrease the RGB values of my radial gradient of my shape every 1 or 3 frames. I did it manually, but its very long. So i would like to know if anyone can help me to make it with code, it's will be most efficient and fast. I've already created my shape with a radial gradient. Now i would like just to increase the RGB values of my radial gradient.[code]
View 2 RepliesYou know when you "liquify" something in Photoshop, and then you have all these different options to push parts of the picture around. Is there any way to make a region that will basically "re-liquify" every frame, no matter what is underneath of it?
Do I need to clarify myself?
http:[url].....make a mask scroll (I have a vertincal only one inside)?
View 3 RepliesI know how to mask in Flash and also how to make a video for Blur on AS3. Filter Blur
[Code]...
Is there anyone out there who knows how to make mask transitions and slide pages like those in [url]...? what about XML menu[number 3] there?
View 2 Repliesim going crazy with the simple matherfather task. i want to make a mask and applay it to a picture but i need to do it in actionsript. so what i do is create all necessery objs. at stage, acces them in class. set movie's clip mask and it's working but not the way i want. i want to have empty hole inside of mask which is a movie clip. that is not possible until i make a empty hole connected to the edge of mask with empty space. only then its showin the empty hole (and the connecting empty space aswell and) [URL]
View 3 Repliesis there anyone out there who knows how to make mask transitions and slide pages like those in [URL]? what about XML menu[number 3] there?
View 2 Repliesi know how to make an animated mask to have an image on top of another to have them transition as the mask passes thru..but this time instead of animating the mask i was wondering how to make the mask be sort of a brush on the tip of the mouse pointer.
View 3 RepliesMaking a Movieclip which is set as mask clickable and respond to MouseEvents
The structure of your layers that I have on stage looks like this[code]...
Here is my code:
[Code]...
I have many layers in the main stage. on frame 20, I have this code drawing a curve between two countries in "Lines" layer . I have another layer right above this layer called "mask" in which in frame 20, I make a rectangle and until frame thirty, I move the rectangle with tween. I right clicked on the mask layer and set mask. Hoping that by masking the layer below it, I can make the curve being draw real time. But it is not working.
make the rollover upscaling downscaling or whatever u call it maybe mask...bla bla is so smooth ...how??? AS or tweening? [URL]
View 8 RepliesI 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]...
what i am doing is to make something along the lines of the "scriptable mask" tutorial Inigo was kind enough to put up.My idea is to have a large mask behind the whole of my flash site, this masks a colour image with a black & white one (nothing tricky). The image I am using is actually 5 separate images combined, and each is a pic of certain parts of the site.I also have a very basic set of buttons along the bottom... each corresponding to each section.
All I want is to set it up so that when I mouse over the buttons, the _x of the mask moves to correspond with the correct image... really very basic... or so I thought .If anything it should be easier to do than what is in Inigo's tut (where he uses the _x of the mouse to move the mask)... i just cant seem to get it to work with a nice easing effect (its easy to get the mask to simply snap to each coordinate, but I need it to smoothly move).