Professional :: Join 2 Different Movie Clips So That They Can Move Together?
Aug 14, 2010How can I join 2 different movie clips (Panle_mc, Text_mc) so that they can move together if I move one clip?
View 5 RepliesHow can I join 2 different movie clips (Panle_mc, Text_mc) so that they can move together if I move one clip?
View 5 RepliesI'm having some troubles with an animation I'm working on. I messed up some the timing in some parts where there needs to be audio, and I don't want to go to the very back of the timeline and make all my frame sequences fit the audio that way. I want to select all the clips from one point on, drag them back until the audio fits, and then go to the next part the audio doest fit and do the same. Unfortunately, I've spent at least 20-30 minutes googling and trying different things in Flash that haven't worked.How can I select all the clips on the timeline before a certain point so that I can drag them all back a few seconds? (Without having to shift click all my clips, obviously).
View 1 Replieshave two sets of movie clips. I'm communicating to these movie clips with another program via binary sockets. For the first set of movie clips: when it recieves its instance name, and a second number (InstanceName+#) from the socket, the named movie clip will jump to the frame corresponding with that number. for ex: if the incoming data from the socket is (mc7+3), then movieclip 7 will jump to frame 3.
For the second set of movie clips: when it recieves its instance name, and a second number (InstanceName+#) from the socket, the named movie clip will move location across the screen, by the y coordinate moving to the # given by the socket...thats a little confusing. for ex: if the incoming data from the socket is (mc4+500), then movieclip 4 will move so that it's y coordinate is at 500.
Here is my code:
Code:
var socketBuffer:String = "";
s.addEventListener(ProgressEvent.SOCKET_DATA, onDATA);
function onDATA(e:ProgressEvent):void{
[Code]....
i got rid of some errors. the first part is working where the movie clips jump to the frame they are told to so no errors there. but when i try to move the movie clips in reference to the FADER array, (along the y axis) nothing happens. (look at bold part of code)
theres also another method i'm willing to approach but i'm not sure how to go about it. rahter than using the FADER array, I would rewrite the code for each individual movie clip, so that it says "if incomign data names a movie clip and gives a number, change the named movie clip's y coordinate to the incoming number"
I just finished animating something, but I don't like how large it is, and I want to resize it. However when I select the objects to move them, it only selects the current key frame that I'm on for those objects, so moving it only affects that keyframe. How can I select all of my keyframes so I can make them all uniform?
View 7 RepliesI am trying to move attached movie clips, but I've come across a problem. This is the code inside the movie clip that's attached:
ActionScript Code:
function moveFrom(which){
for (i=which;i<20;i++){
[code]....
I want to define functions to move a movie clip around the stage, my code works when i define it STRAIGHT to the movie, but when i define it as functions it doesn't.
my code put straight on the movie is:
onClipEvent (load) {
this._x = 0
this._y = 0
[Code]....
get something to work. What I'm trying to achieve is this: there's a slideshow that automatically changes pictures every 10 secs (I've used a kirupa tutorial to achieve this). The pictures are loaded from an xml file, which also contains captions for the pictures. What I would like to do is to have the caption fade in and slightly move to the left with each picture change. E.g. picture 1 is displayed, caption 1 fades in, moves to the left and stays there; picture 2 is displayed, caption 2 fades in, moves to the left and stays there, and so on.
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
delay = 10000;
[Code].....
Using the easing transitions I simply move the _y of several movie clips. It is ok but their starting positions are always from the top of my stage, even if I fix their positions at the bottom.
View 2 RepliesI am having a movie clip playing on a loop on the ON frame of a button , and something else on the OVER frame, and everytime i move my mouse to the button it resets the movie clips thats playing. heres my file:
[URL]
We are a group of beginners flash developers, and we are making a first game, but we are working in a part each one. So we need to know how we can join the differents files .fla that we are making in only one file .fla is it possible
View 2 RepliesI need to delivery a proyect on friday and I need to join several swf files. I create buttons like for example ENTER when I click on it I place the function
[Code]...
and it works itload the new file but I can see the other file so what to do is to delete, erase or anything to not see the previews swf i will have back and foward buttons
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'd like to control a movie clips current frame by another movie clips action script.I realise the following controls the outside (root) frame time line:
on(release){
_root.gotoAndStop(1);
}
but I'm not sure how to apply that to my other movie clip. I'm guessing it would be something like this:
on(release){
_*movie_clip_name*.gotoAndStop(1);
}
I'm working with a few .flv movie clips in my timeline based flash file. I've imported and embedded the files into movieclip symbols. My file is now sluggish and close to 10mgb.What's the best way to optimize the videos so my .fla and final .swf are as small as possible?
View 5 RepliesI have 6 movie clip symbols on my timeline and each movie clip symbol has a short animation contained within itself. When I bring it to the timeline, they all animate simultaneously. I want them play sequentially but when I play them in on different layers in different keyframes it doesn't work.
View 5 Replieshow to use arrays. Specifically, I'm trying to use an array to control a set of movie clips ("box1" - "box8") contained within a parent movie clip ("boxes"). I've looked at the help pages and tried to apply what I learnt to my situation. Below is my code, but I'm not sure if I'm completely missing the mark. There seems to be a problem with how I'm trying to address the elements of the array in my if/else statement.
[Code].....
I'm trying to learn how to use arrays. Specifically, I'm trying to use an array to control a set of movie clips ("box1" - "box8") contained within a parent movie clip ("boxes").I've looked at the pages and tried to apply what I learnt to my situation. Below is my code, but I'm not sure if I'm completely missing the mark. There seems to be a problem with how I'm trying to address the elements of the array in my if/else statement.(I'm using AS2 in CS3.)
var mouseListener:Object = new Object();var scale:Number;var scaleBig:Number = 200;var scaleSmall:Number = 100;
var boxArray:Array = [boxes.box1, boxes.box2, boxes.box3, boxes.box4, boxes.box5,
[code].....
If I create a 2000 frame Movie Clip and then drag it onto the stage of my main scene... shouldn't it work/play through it's entirety from within one frame of the main scene timeline? IOW I'm having to make the layer on the scene stage that i drag the movie clip onto 2000 frames long in order to see the nested 2000 frame movie clip play.Seems like in the past I could get Movie Clips to play and loop and what not from the main scene/stage without doing this.
View 12 RepliesIf I have SWF's that I am using for UI elements in a game, and in these SWF's there are layers with Movie Clips and these clips have only one frame in them - do I need to explicitly put a stop() in there for optimal performance?
I'm curious if these movie clips sit there and loop with only one frame and in the end hurt the game's overal FPS
I'm working on my own personal website for my graphic design work and I'm using flash for the intro movie, which you can either skip or after an elapsed time, sends you directly to the home page. On that intro movie (which ill call animatedface_mc) i've put two other movie clips with the eyes blinking (left and right). The eyes would be constantly blinking, as this page is open. That one is working. Off to the side are buttons of names of famous celebrities and once clicked it adds movie clips to the main animatedface_mc. For example if i clicked on the monroe_mc, it adds that famous Marilyn Monroe mole (using either mask or opacity, depending on the facial feature) on the animatedface_mc. If I clicked on tyson_mc, it adds his face tattoo. I've used the following code for this:
[Code]...
I want to have 3 movie clips inside another container movie clip (the 3 will serve as buttons). When I scroll over one button, I want it to expand at the same time, pushing the other movie clip up or down, depending on where the user scrolls. If i have the three buttons that are each 100px tall for example, and the container mc is say 500. when the user scrolls on the middle button, I would like it to "grow" to 300px, while pushing the 100px button above it to the limit of the container. when the user scrolls to the top button, it would grow to 300px, the middle would shrink back to 100px, and all the buttons would still fit in the container mc.
View 1 RepliesThere are 9 movie clips in each square (object) and the color in each movie clip can be changed by mouse click. However, if I want to magnify one of the squares by clicking on that, then I can click on each movie clips to change the color. How can I do it?? Can I create another movie clip and cover the square for clicking to magnify?
View 5 RepliesWhat is the difference between the two symbols: graphic and movie clips? They both contain frames..?
View 4 RepliesI just had my first flash lesson a couple of days ago, but decided to venture myself into trying to build a navigation tool bar with movie clips grouped together. My intention is that once the mouse rolls over one particular movie clip, another movie clip fades in under it (my version of a "drop down" menu). Just so it happens, the movie clip that fades in, is also comprised of particular movie clips with their own behaviors (roll over tween effects).
I can make each individual movie clip behave as it should, but I cannot get them to work once they are pieced together. I'm attaching a link that contains the file I'm talking about (submenu), in the hopes that one of you good Samaritans would take a look at it and tell me where I went wrong.[URL]..
I just read that adobe flash put a limitation on movie clip size to 2700 px widht or lenght...
Is that true ?
Apparently, this decision (if true) was made to limit movie clip size and time to load....
Since Flash cannot keep formating, I am building "text documents" in Adobe InDesign, then export it in .swf...
Some of my .swf are longer than 2700 px.....
So, if the limitation is true, is there a way to bypass that limitation.... ?
I have 3 movie clips (Header_mc, Logo_mc, Introduction_mc) which all comes animating on stage at one time. Which looks all mess. What I would like is.
1)Logo.mc (Instance Name:Logo) comes on stage first after 5 Seconds
2)Header_mc (Instance Name:Header) should come second ater 5 Seconds
3)Introduction_mc (Instance Name: Introduction) should come at last
and I would like to do it all by using Actionscript 3.0 instead using Timeline in movieclip itself.
I have an online banner with a 15 second time limit. There is a looping movie clip within the banner, and I need a way to stop that movieclip after 15 seconds.
View 4 RepliesSo ive set up some buttons into a movie clip, but i want to get them performing actions in a movie clip that is within another clip.For example, the code below is what I have attached to one of my buttons. The Movieclip 2photosMC2 is inside a DIFFERENT movie clip to the ones where the buttons are stored. How can I script so that the button actions activate the correct clip?
on(release){
photosMC.gotoAndPlay("img 02");
}
[code].....
If i have created an animation in 'scene 1' on flas, and i really want this animation to be in a movie clip, is there any way i can transport the contents of scene 1 to a movie clip held within scene 1? (the animation only has one layer)
View 1 RepliesI have a project with a bunch of movie clips. Each movie clip has it's own animation. The problem is I can't see the movie clips on the stage, I have to test the movie. Live preview is checked, but greyed out. Is there anyway to live preview working on main stage?
View 2 Replies