ActionScript 3.0 :: Send Movie Clip To Blur Instead Of GotoAndPlay?
Oct 19, 2009How can I sent my movie clip to blur instead of gotoAndPlay?
Code:
shirt.gotoAndPlay(2);
How can I sent my movie clip to blur instead of gotoAndPlay?
Code:
shirt.gotoAndPlay(2);
There is a bad gap in my knowledge with Event Dispatch and Event architecture, and this problem proves it. I've been getting nowhere on this problem for two days, I've posted everything to my Flash site. Go here, please: [URL] Click on "Flash Banners" The two thumbnails represent two different classes. Each class is identical. Both are "extends Movie Clip" classes. Tweeners of various types control the hover and click methods. URL Loaders load the thumnails which I then wrap in MC's and make them buttonMode = true, etc. Hover and click to load the Banners on the thumbnails.
I can't send an event from the Eagle movie clip or the T2D movie clip to tell the other to fade out. Both Banner classes are instantiated through a separate Base class. I'm sure this has to be an Event Dispatch from one MC to another and that it can't be done by the Base class. how I can send an Event or Event Dispatch and what the code structure is so one movie clip can in one class can tell the other movie clip in the other class to disappear while it's neighbour is playing. I'm happy to post code or explain / clarify anything that's not clear.
In Flash CS3, when I resize a movie clip symbol that has the blur filter applied to it, the amount of blur changes.
View 1 Replieshow to apply a rotational motion blur to a movie clip using the Tween Class and Blur Filter? I have found info on bluring an animation this way, but only via the x or the y axis, not the rotaion.
View 1 RepliesIs there any code that basically says, if root frame = 2 then do this.. I basically need my movie clip to blur when the main scene hits certain frames. The movie clip pans around though with script thats why i cant just add a blurred image to a layer in the main scene.
View 6 RepliesBasically trying to set a gotoAndPlay event on a movie clip (onPress / onRelease)
I've tried laying an invisible button over the top of the movie clip which did work, but disabled the movie clip from playing on rollover.
I found the following code on a Adobe forum, but don't really understand it.
myMovieClip.onPress = function () {
trace ("onPress called");
};
I have some sendAndLoad code which works good. Instead of outputting something to a text box I'd like to go to a different place in my movie. I've got quite a few embedded movie clips and the path is the following:
pages_all -> action sc copy 12 -> action content copy 13. Within the pages_all movie clip I'd like to go to frame number 13. How can I use the gotoAndPlay function to go to another movie clip.
I did try the following:
this._parent.gotoAndPlay(13)
[fmx]
related files: 7MB .FLA File
Okay...
At the _root I have an instance using an empty clip named mainPageEmptyClip. Inside of that, are various other movies.
Now, at the _root there is a menu which, when clicked, should access one of the layers within the empty clip's content.
The problem here is that I can't discern what the target would be to actually access the clip. The action worked fine before I implemented the empty clip, but now it won't work any longer.
I've tried using the target tool built into FlashMX, but it doesn't list any of the instances withing mainPageEmptyClip - that's as far as it goes. I've tried entering in what would seem to be the path, based on the instance names of subordinate movies, but it does me no good - I'm continually given the error of Target Not Found.
These are the two options I've tried....
_root.mainPageEmptyClip.gotoAndPlay(351);
_root.mainPageEmptyClip.webLayer.gotoAndPlay(156);
in the end of a frame of a movie clip, can i have some kind of action script that makes that movie clip stop, and then play a frame in a scene?
this is what i have-
stop;
gotoAndPlay("Scene 2", 60)
it works, but instead of going to frame 60 of scene 2, it just goes to frame 60 of the movie clip that's still in scene 1.
I've got a 'simple' problem with some actionscript and movie clips. I have a 1 frame movie with 2 Layers. On Layer 1 I have a movie clip called green1_mc. In this movie clip I have another called green2_mc. This animation is 120 frames long, with a stop(); on frame 59. On Layer 2 of the main timeline I have another movie clip called green_back. This is my button. I've put the following code on the clip.
[Code]...
I've been scouring the internet for the past hour or so in search of how to do this. It's very simple, but every example seem to want me to bring a loaded movie clip, or trace mouse position. I don't need that! Basically I have a button that when clicked comes to the front (using behaviours), moves to a new position, scales and then I want every other button behind it to blur. Obviously I want them to blur gradually to keep the flow going. Here's my current code so you can see where its going:
[Code]...
I have a class controlling all my targets, I want to play a death scene for each target when they get shot. My targets involve several nested movie clips, I want to put the death scene on the second level of my targets nested clipsWhat code do I use to tell flash to go to the second level in my targets and play there?Here is my class code in it's entirety. I have highlighted the part thats currently playing my targets.
package {import flash.display.MovieClip;import flash.events.Event;import flash.events.MouseEvent;import flash.media.Sound;
public class SquaresClass extends MovieClip {function SquaresClass()
[code].....
I need to make it so when the movie clip that is in frame 1 of scene 1 is done it plays frame 2 of my scene 1. How do I do this Im making a cartoon where a characters mouth which is the movie clip which is moving and when it is done moving i want it to go to and plays frame 2 on scene one. Its to late to do everything on the timeline, and I cant just copy the movie clip, i could but I want to just be able to do this go to and play on scene one from the movie clip instead of doing all my work all over again
View 3 RepliesMy movie clip doesn't respond to gotoAndPlay(1) command at all. Here is the situation: The Main.fla has a movie clip instance "Mov1" and the following AS3 code in the first timeframe:
function LoadSWF(Mov:Object, swf:String ):void {
fl_Loader = new Loader();
fl_Loader.load(new URLRequest(swf));[code]......
Once it's loaded it plays once (there is a stop(); at the end).So far so good but... the following code in the button script doesn't trigger any action at all:
Mov1.gotoAndPlay(1);
Any other code in that button works fine, so the button itself works ok.
I need to make it so when the movie clip that is in frame 1 of scene 1 is done it plays frame 2 of my scene 1. How do I do this , PLEASE HELP ME!!! Im making a cartoon where a characters mouth which is the movie clip which is moving and when it is done moving i want it to go to and plays frame 2 on scene one. Its to late to do everything on the timeline, and I cant just copy the movie clip, i could but I want to just be able to do this go to and play on scene one from the movie clip instead of doing all my work all over again.
View 3 RepliesI have a ten-frame Flash doc. Seven of these frames have movie clips. What I want to do is be able to have a user navigate to another frame in the main timeline by clicking a button at the end of each movieclip.
I'm using this code:
on(release){
gotoAndPlay("Scene 1",6);
}
[Code]....
And I"m not getting errors but it's not working when I launch the movie.
I want to do something like gotoAndPlay(frame label) for a movie clip with the instance name content. I am using an array for my buttons placing multiple instances of the button mc on the stage. When I add content.gotoAndPlay I get an access of undefined property error. If I add it inside the parenthesis I get an expecting identifier before my frame label name error.
[Code]....
is there anyway to have a button play frames 5-10 on a movie clip inside the current frame, as well as skipping to...lets say...frame 10 of the scene?
i want to create a site where buttons go to different pages, but those pages have animations in and out.so if someone is in one page, and clicks a button to go to another, that page plays the "out" animation while the other page plays the "in" animation.
I want to link a button in my main timeline to a label- frame in a movie clip. The movie clip is called "Adetail" and the label is "on01"... I type in the following script
[Code]...
I'm trying to create a "motion blur" effect on a movie clip that contains a child clip/ sprite whose child clips/ sprite contain bitmap data using this function
[Code]....
If there is a movie clip over another one i want the first one to go back, but I don't know how to do it when the project is running.
View 1 RepliesHow to swap depths of one movie clip with another, but what I need is to click on a movie clip and have that clip be sent to the back, or lowest level. Basically I will have four movieclips, what I want is to click on one clip and make that clip the background so the other three will play on top of it.
View 2 RepliesI have a button embedded in a movie clip and need to to send to an email address... for some reason it does not work...
Actionscript Code:
var emailLink:URLRequest = new URLRequest("mailto:addspace@completelylegal.tv");this.add_MC.youradd_but.addEventListener(Mo
[code].....
I have a MC called Robot. It is animated with keyframes so that my robot appears to walk. There is an Action on frame 8 that says, "gotoAndPlay(1)".When the user pushes the arrow keys, I want to MC to move in the direction of the press arrow. I also want the MC to start playing at keyframe 9 so it plays the walking animation.
This all works but with one small problem. If the arrow key is held down, the "gotoAndPlay(9)" stops the animation from playing, instead showing only the graphic that is on the 9nth keyframe.
Code:
// initialize arrow variables
var leftArrow:Boolean = false;
var rightArrow:Boolean = false;[code]....
Is there a way to call a function once and play the MC frames until the arrow key is not pressed? I think the problem I am having is that if the key is held down, the EventListener keeps running and starting the MC in the same frame instead of allowing the MC to play as I want it to.
I have a movie clip which, when closed, should send you to a specific frame on the main timeline... I have used frame labels on the main timeline... Here is a bit of my code so far:
[Code]...
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 RepliesI�m making a movie with various movieclips on stage. At times it may be necessary to inform the user of something, and to do this I�d like to blur the background. Is there a way to blur all the objects on a stage?
I realise I could store all the movies in a single movie clip and blur that, but for other reasons I�d prefer not to do this.
I have a bunch of frame labels, and randomly choose one for the animation to bounce to. When all of this is on the main timeline it works fine, but I had to move it into a movieclip and I'm having trouble targeting those labels, it'll tell me the scene isn't found. How do I reference a frame label within a clip? Syntax?
Current non-working code:
ActionScript Code:
var frame:Number = randRange();
var strFrame:String = String("frame"+frame);
gotoAndPlay(strFrame, "main");
I need to access a clip named holder_mc on the main timeline, and a frame label within holder_mc.
I've come across several AS3 movies using what looks like a special kind of blending glow or blur effect. As I'm relatively new to AS3 I haven't come up with a similar effect. The effect looks like the one used here: [URL]
View 9 RepliesI have a file that i am trying to add a blur filter to. it is at the very end of the movie. It shows up in the FLA but when I publish the movie the blur isn't there. Here is the fla file and swf I'm getting [URL]
View 3 Replies