Professional :: One Movie Clip Follows Another
Aug 3, 2011I have the below code that drags around 3 movie clips indipendatly on the stage. When I move mc1 I want a new movie clip (mc7) to move with it.
CS5 AS3
[Code].....
I have the below code that drags around 3 movie clips indipendatly on the stage. When I move mc1 I want a new movie clip (mc7) to move with it.
CS5 AS3
[Code].....
I created a movie clip which plays ok. But when it ends there is a slight jump, if you will, when it goes back to frame 1 to begin playing again. Does anyone know how to make the transition unnoticeable from the last frame of a movie clip to the first frame of a movie clip?
View 4 RepliesCS3 Flash - Complete newbie to Flash and I'm trying to change an existing flash piece.It consists of 4 different text statements that appear on a Black background - the first appears and stays on-screen for 10 secs, then it starts to blur and fade away in about a sec, and then the next statement appears, etc, etc., and the whole lot loops.The 4 statements appear as Video Clips (Symbols?) in the library.I need to add a new statement, which means there will be 5 statements. I duplicated one of the library items and renamed it, which seems to have worked fine... but I cannot then work out how I insert that video clip into the Timeline and still have the same visual effects and timing as the existing ones? I can insert a blank frame, but then I can only drop the new video clip text onto that one frame.I've tried copying and pasting a whole set of frames, and then go in and change the text. Which I thought had worked, but then discovered that it also changed the original frames.... now understand that's because they are just instances and any change will affect the master Video Clip!
So can anyone advise if I can insert my newly added and renamed video clip into the timeframe and create the same effect as the others?Please keep any advice as idiot-proof as possible as this is my first venture into Flash... not finding it as intuitive as I hoped, spent 6hrs to date just trying trial and error without any real success.
I am making a web site in flash in which I have multiple movie clips.I have mc_buttonMenu on the main timeline.Inside of mc_buttonMenu, I have 3 buttons that are all button symbols.From the main timeline, I have a movie clip called mc_allPages.In this movie clip, I have a few layers.I have the content layer.This layer controls how my pages display.I have another layer called labels.I labeled frames 1 to 10 as 'home' and layers 11 to 20 as 'contactUs'.I have another layer in mc_allPages called actions.I put a stop(); on frame 10 and frame 20 on this layer.I want to be able to control the movie clip mc_allPages from within the movie clip mc_buttonMenu.I put some action script in various places, but it never worked.I tried this action script:
_root.btn_home.onPress()
{
Gotoandplay("home");[code]...........
I tried placing that code on the main timeline, inside mc_allPages, inside mc_buttonMenu and split up into both buttons appropriately for btn_home and btn_contactUs.Sometimes the animation would stop on frame 10 and sometimes it would just play through to frame 20 and ignore the stop(); I put on frame 10 inside the mc_allPages movie clip.However, whenever I pressed the button ( btn_contactUs ), it never went to the frame labeled "contactUs" in the allPages movie clip.
I'm making a room escape game and I've run into a problem. When an item gets added to the inventory, I'd like the user to be able to click on the item to affect another object (e.g. clicking screwdriver hides screws and displays other image) however when I add the code to the item, if the item is clicked and it's nowhere near the object it affects, the image pops up and it looks really stupid.
So what I'd like to be able to do, possibly using if and else statements or whatever's easiest, is to only have the inventory item be clickable if the movie clip of the object is affects is visible on the stage.
I'm trying to create a movie clip on my my main timeline that has a movie clip button within it that pops up a box in the middle of the site that contains text and links. On Frame 1 I have the Up state, frame 2 the roll over state, and frame 3 my Down State (where Box appears).
[Code]...
The problem is that on the main time line, the button is clickable but doesnt do anything
I am creating a Movie Clip player interface. You can click on a thumbnail and load an external SWF. At the end of that movie clip, I would like to load another SWF, it's just a logo animation filler that plays until the next thumbnail is clicked.
I am using this script:var myLoader:Loader = new Loader(); addChild(myLoader); var url:URLRequest = new URLRequest("swfs/movie00.swf"); myLoader.load(url);
But it loads the new movie right on top of the old one.How do I get it unload the first one?
I have made a number of Flash banners and I save them and everything is good but when I open them, some of the movie clips have reverted to a previous state. So I need to resize and redo thsoe movieclips. I make one banner and then save as new file and resize it. It is really annoying.. I am on P.C. and have all the current updates installed.
View 5 RepliesI have an ActionScript 2.0 project with a very simple timeline Alpha Tween ("Classic tween" in CS4) of a movie clip. I need to reposition the movie clip dynamically when the movie is launched, before the Tween is executed (as in "x_mc._x = 100;").
I found out that after changing the clip position the Alpha Tween as well as the Alpha final value are totally ingored. The clip is shown in the updated position but remains throughout in the Alpha setting of the first keyframe (even when it reaches the last keyframe which has a different Alpha setting). I verified that the Tween itself is executed by placing Trace statements at both keyframes. If I remove the repositioning statement, the Alpha Tween works fine (but of course in the original position which is wrong)
I have an existing movie clip on the stage and i want to load a .swf into it. How?
View 9 RepliesI created a movie clip that has an image on every frame. I'd like to create a scroll bar for simple and easy veiwing of the images. But I don't want a typical scroll like a UIscroll component, because I don't want the images to flow together. I just want to jump from image to image.
Does anyone have some code or ideas for this?
I am building an interactive website as my final project for my Webmastering class and need to know one thing. First I'll give you my setup. I have four Movie Clips in four seperate layers on my main timeline. I want to export one of those Movie Clips as an avi file. When I use export>movie, it exports the main timeline. I figured it would do that. So then I opened up the Movie Clip that I want to export and tried the same thing again. No luck. how to remedy this situation. I have five days to do this and have spent about four days of my life working on this if you add up all the hours that I have spent working on this.
View 2 RepliesI have a blue oval button. In the button timeline, I created a seperate layer and placed the movie in the roll over frame. When I rollover the button, the movie plays, showing the button coming off the page (3D) with a shadow.
I now want to show the button going back into place when I roll off the button, but I am not sure how to do this in the button timeline?
I am new to flash, and I've never done animation before, so I'm a little confused on how to make a symbol movie clip, freeze and then keep moving.
Do I need to do it frame by frame?
I made a character walk from off the stage to the center by using a motion tween and it appears to be moving because I edited the symbol to make the legs move. But now I don't know how to make the legs stop when the character reaches the end of the motion tween. Is it even possible?
On the stage of a flash app I have several movieclips that keep repeating. Now I need a movieclip that doesn't repeat. It should play once, and then keep its last state on stage. I can't find out how to stop this movieclip from repeating.
View 3 RepliesJust wanted to find out what the best practice is. Say I have created all the common components of my webpage, which will be the same across all pages e.g. header, footer, navbar etc. Each of these are there own individual movieclip. The only part of each webpage which changes will be the center content. Should I select all the common components movieclips, and create one movieclip out of them all? Is this common practice or should I keep them separate?
View 2 RepliesI wonder how can i find the place or the target of a movie clip i working in.So, i have a movie clip on frame 50 of the root flash;=> On that movie clip 'player' i have a mediaDisplay with an instance name 'video' and in the some movie clip i have another mc 'play'so, how can i access to instance video from mc play.
var = '../.video'
and
var = _root.video.player.video ;
[code]....
I am new to animating in flash and have come up against something I don't understand.I made a small 15 frame animation.I drew each of the 15 frames by hand.The animation will loop. that is if you play frames 1 to 15 and then jump back to 1 it seemlessly transitions back and can begin again.I want to convert these 15 frames into one element that I can add many times to the time line.Is there a way to do this?
I tried converting to a movieclip symbol but it only brought in one frameIf it only brings in one frame, what is the point of it being a movie clip?What is the best practice to make a self contained unit of these 15 frames so that I can reuse them?
I've been reading about this issue on the forums today, but I still don't understand what i'm doing wrong here:var theMC:String = "mcMenuItem1";var myX=[theMC];trace("myX = "+myX);myX.gotoAndStop(2);From what I've read, this should cast theMC string into a movie clip that exists on the stage, but I still get the error:TypeError: Error #1006: gotoAndStop is not a function.What am I doing wrong here? Or what is it that I've missed?
View 4 RepliesI have built a movie clip on my main flash file that I am loading separate swfs into. On the separate swfs I have a close button, but do not know what action script to attach to it to make the movie clip go away? I want these to go away every time you hit the close button on the separate Flash swfs loading into the main movie clip.
View 1 RepliesI am currently working on flash 8 tool.I wanted to know how to add control to a movie clip ,as in, how to play animations of an SWF file if the mouse is clicked anywhere on the movie clip
View 1 RepliesI just created a new site that hasnt launched yet. The scene is a city scape with water beneathe. In the water I want to have a fish that bobs up and down slightly on mouseover. I have the movie created
I know I have to make a button and i just copied the initial stage of the movie and converted that into a button.
What Im trying to create is called a tell target.
I am trying to build a game just for fun and i found something interesting that i really don't know how to do, so any help that you can give me is going to be useful, this is what i need to do, i have a movie clip and i want to subtract another one from just like THIS i can detect the contact but i don't know how to do that.
View 8 Repliesi have another totally newbie question here, sorry everyone, In one of my frames i would like to have a button that opens up a movie clip, but i would like it to do this on a mouse-over action instead of a click, i have tried using the onRollover action, but i can't get it to work, it's got to be a daft mistake i am making but i have spent ages trying to figure it out, and once again i am stumped.
View 3 RepliesI've created a frame by frame in the first layer of the timeline and in the second layer (above the first) another one with a keyframe in wich I've inserted another movieclip with some alpha tween (a kind of slideshow).
[Code]...
The problem is that when i test/publish the project, the frame by frame layer playes but the slideshow does not play at all, unless i extend in the main timeline with the F6 shortcut. If anyone has an ideea what is wrong please help me. Ty.
I'm working on an AS2 website that uses some alpha gradient masks in its header's looping animation. If I put this animation on the main timeline my masks work perfectly [setMask()], but, because the header needs to be a movieclip, my masks don't work at all.
It doesn't matter whether I tick the cacheAsBitmap property in the properties panel or I set it to true with AS for both the mask and masked mc's. I even tried with both, ticking and AS at the same time, but as long as my masks are inside the header mc, they're not working.
How can I copy a movie clip from one .fla to another .fla file?
View 2 RepliesCan anyone explain what are advantages/disadvantages to put the button inside the movie clip vs. to put a button instance directly on the main timeline? My final goal is to have plenty of animation going on inside the button stages.
View 4 RepliesI'm having trouble with buttons i placed inside the movie clip....whenever i place functions the rollover state of the button doesn't work anymore....i'm having trouble thinking where to place functions or methods.....i know programming in java and to be frank i'm having trouble with learning actionscript because the books i read don't say where to place the functions they write.Here's a link to my flash file [URL]
View 10 RepliesSince I animated the movie clip(mc), I no longer see each MC and there are multiple of them. How do I select one MC and drill down to modify some animation?
View 5 Replies