ActionScript 2.0 :: Controlling 'Blur' From Within A Class?
Feb 12, 2006
I am trying to control 'blur' from within a movieclip's class. But I don't know why it doesn't do so. I can do everything from within that class (control textfield's caption names,etc) but I just can't blur it , using the BlurFilter class. Here is my short code. Is there any problem in doing this from a class? I tried the code on the movieclip directly without using classes and it worked..
Code:
import flash.filters.BlurFilter;
dynamic class txtField{
var xTip:Number = 0.3
[code]....
View 1 Replies
Similar Posts:
Jan 28, 2010
i made a slider that can control the blur of an image but now i just need to have two sliders. one can blur faster the other blur slower just like coarse and fine Focus of a microscope.
View 0 Replies
Mar 7, 2007
[code]It works when the code is placed right on the timeline of the MC in question.However when i use the exact same code in an external "effects" class file, it does not work.
View 5 Replies
Mar 5, 2010
So I'm using PixelFume's Active Blur class to recreate the effect, though somewhat simpler so I rewrote some of it and it seem screwed up to me. I have it on the first frame of an .swf that gets loaded into and container clip in the main .swf via loadMovie. It does what I want it to do, but everytime you load the page it comes up slower and slower. If you click the button to load it like 15 times, it's pretty much 1fps.
The code is as below:
Code:
import flash.filters.BlurFilter;
import flash.display.BitmapData;
import flash.geom.Point;
var bottom = bg.getDepth();
this.createEmptyMovieClip("bgBlur", bottom+1);
[Code] .....
View 2 Replies
Jun 21, 2011
I am looking for some help on a specific effect. I was pretty good in the old days in flash but I have fallen behind badly and the new action script and such is making my head spin a bit. The effect I am looking to do is like the FETblur,first one on the page, [URL]...
View 1 Replies
Aug 30, 2009
I have a class the extends a movie clip with some dynamic content in it.I need 15 instances of this class so i created a for loop for that.Im using the same variable name but im just initializing it again and again.
var thumb:MovieClip = new ThumbClass();
addChild(thumb)
my probem is that i need to find a way to control them after i created them.
[code]....
View 3 Replies
Mar 9, 2009
I have a main ButtonClassTest class that extends the MovieClip class. Then I have a ButtonTest9 class that extends this ButtonClassTest and a ButtonTest9.fla.It works fine (click, rollover, etc) when I link a movieclip in the library of my ButtonTest9.fla to ButtonTest9 and place instances of this mc on stage (button1_mc and button2_mc). However, I'm not being able to control anything about the instances themselves, like, setting button1_mc.alpha = .5 in my ButtonTest9 class.I tried a whole bunch of things, like Stage., this., putting it into functions, not linking the mc in the library and using new ButtonTest9 instead.
View 2 Replies
Jan 9, 2011
i have two movieclips on stage, one load as a class an mc with animation, the other load a button...how can i send the message, comunicate both clases to let the button start the animation?
View 4 Replies
Apr 7, 2009
Is it possible to start and stop a sound file from a separate class? In the first class, "House", I have called the MP3 using the following:
[Code]....
View 1 Replies
Oct 12, 2009
so here is the thing: I have a movie clip with 12 frames (lets call him MC), each frame shows a symbol. I want to create a class that control the MC instances, (lets call that controlClass) the controlClass will have function to change the frames of the MC instance and some other stuff. last thing I tried is that you give the constructor of the controlClass the instance name of the MC and tried to do that for example: stage. + MCInstanceName + . gotoAndPlay(2); that's what I'm trying to accomplish, at least.
View 4 Replies
Mar 3, 2011
Let's say that I've a button object (instance of Flip) and a coin object (instance of Coin) on the stage. The coin object has two frames: one showing Heads and one for Tails.
MyCoin class is as following:
package
{
import flash.display.MovieClip;
public class Coin extends MovieClip
[Code]....
Problem: How do I reach the coin object on the screen via onMouseClick function? Let's say that the object on the stage has instance name of myCoin. I suppose that had I not done this with an external class and simply used actions from the frame I could just use the instance name as a variable. I couldn't figure to do the same it in an external class. Do I first create the object which is already on the stage?
View 1 Replies
Apr 7, 2009
Is it possible to start and stop a sound file from a separate class?In the first class, "House", I have called the MP3 using the following:
Code:
public var mySoundReq:URLRequest = new URLRequest("tune.mp3");
public var mySound:Sound = new Sound();
[code]......
View 1 Replies
Mar 4, 2010
I have a gallery, which loads up all its images from an XML file. So the XML gets loaded, when loaded it calls a function urlLoaded. That in turn puts uses a Thumbnail class for each image in the XML, which then gets placed in an array, so the array can be iterated through to establish X and Y pos of each image when added to the mc Photocontainer.
PHP Code:
var urlRequest:URLRequest = new URLRequest("pics.xml");
var urlLoader:URLLoader = new URLLoader();
var xml:XML;
[Code]......
I'm passing the parameter 'i' through to the tracel function as this traces when each image has finished loading. I have a preloader in the main timeline I want to control. Say there are 20 images, how do I use the info in the tracel function to control that preloader? Would it be best to pass into the Thumbnail class the xmlList.length(), so the number of total images and then from the tracel function add and control a preloader, so when image 10 is complete the tracel function would make a slider its added to stage go to half way.
View 1 Replies
Feb 4, 2012
I have a compiled swf File (lets call it "cat.swf") that is loaded via the Loader Class of my Main movie. The cat appears without problems. But inside cat.swf there are two movieclips defined (lets call em "head" and "body"), and I have ye to find a way to get control of these from my Main movie.
When I check for numChildren of the loader Object it only gives me back one (an unnamed instance), if I cast that as a Movieclip to check for deeper children it continues all the way down like a tower of turtles.
View 1 Replies
Feb 20, 2009
Is there a way to control the number of bounce when using Bounce.easeIn ?
View 2 Replies
Jun 25, 2009
I tried to take similar code from this same forum, but I was either getting an error 1118 or an 1009 (null object reference).
Basically I have a series of movie clip instances on the stage with instance names of:
number_1
number_2
number_3
[Code]....
I tried but I kept getting an error...I think I am a little confused as to how to make it work properly.
View 4 Replies
Feb 2, 2011
I have this following class attached to some of my buttons to simply control the roll over and out states, as well as the click event. But i want to use the same class on my buttons but would like to control a movieclip outside of the button somewhere else on the stage etc.
put simply: Clicking my button 'moveLeft' will move a movieclip left let say:
[Code]...
View 2 Replies
Jan 12, 2009
I've searched every possible actionscript forum for this and i cant seem to find it. How can i create an "area" of blur which blurs everything beneath it?Like some kind of masked blur effekt?
View 0 Replies
Aug 19, 2011
I'm trying to do this as a bit of a transition. It's always the same movieclip.I just want to give it a duration, actually the same duration as something else I have going on, so I can reuse the variable "fadeDuration"Then I just want to set the maximum blur amount.I have no idea how to go about this. I found two things online, but one looked to be using a plugin, and the other was missing all class definitions and probably asuming you knew which parts were declared at other spots.
View 1 Replies
Sep 3, 2009
I have a short TEXT that I turned into a symbol, it is a MovieClip on the stage. I applied a preset motion of blur fly in to it and it does fly in but does not blur. I tried to use the motion editor to increase a blur to 255 but even when I add it on the initial keyframe, there is NO blur.
View 10 Replies
Oct 26, 2009
How to make an object or pic in a webpage slowly blur when mouse overed ?
View 21 Replies
Jul 15, 2009
How to show blur effect in SVG. i have to draw a line with blur effect and then convert it to SVG. i know to convert in a line SVG but i sont know how to show blur effect
View 1 Replies
Apr 19, 2010
Is it possible to blur the edges of a movieClip, and only the edges? If I use the blur filter, It blurs the entire image, not just the edges.
Basically, I have a flv file within a movieClip, and I need the edges of the video to look feathered.
View 5 Replies
May 14, 2010
I'm not that great with Actionscript 3.0, so naturally I have an hurdle to leap.
I using the 3D Carousel from flashcomponents.net and I need to figure out how to get the images blur when they are not the front focal on the Carousel. I tried an onRelease (which works to un-blur it), but I didn't know what else to pair it with so when I click on another object it blurs and goes to the back. I don't want it to blur when I roll off, only when another object is clicked.
View 1 Replies
Mar 18, 2011
I have text that I would like to come in to the stage from the side, but I would like it to be a horizontal blur like it is fast, then unblur to a sharp text. Is this something that I can do in all within Flash?
View 1 Replies
Oct 21, 2010
I have just made a flash animation with various amazing effect. Now i have a question: How to Make Blur Effect in Flash
View 1 Replies
Jul 23, 2010
How to blur 3d object? (Papervision 3d) And save created new object as new 3d model? (can help in sky/clouds generation)Like in 2d picture I've turn rectangel intu some blury structure
View 3 Replies
May 3, 2008
How do make links blur once you rollover the one you want? Example: [URL] (You see how once you rollover a cellphone the others just blur and shrink?)
View 2 Replies
Mar 19, 2009
i've created a movieclip that i'm applying a simple blur filter to and in Flash when i play the timeline it runs with no problems although when i publish the movie the blur doesn't display - i've run out of ideas about why this could be! I've looked online and can't find any suggestions either - does anyone know what i'm doing wrong?
View 1 Replies
May 8, 2009
I have created a video for my flash application, convert it into a flv file.Now, I have imported it into flash in a layer, then I have created a new layer where I would yo place a mask with gaussia blur. You ca see example in the pic.I draw a mask into flash, converted it into a movieclip and assign to it a gaussian blur from the filter panel. But when I send the fla in execution (Ctrl+Enter), the video appear through the mask, but this one have not gaussian blur filter applied.
View 2 Replies