Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Most Likely An Easy Question...



Is there any way to make a "object" (or whatever it may be called) composed of several different movie clips?

I'm trying to make a character that is made from several limbs that I want to be able to rotate and change. I also need to be able to duplicate it, and not so I have to duplicate every single limb seperately.

Sorry if I'm being vague, but I think I've described it the best that I can.

Thanks in advance.



FlashKit > Flash Help > Flash Newbies
Posted on: 08-12-2003, 12:38 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

SUPER EASY / RETARDED EASY SetMask ?
Ok got a simple retarded question. I have 1 swf loading into a holder_mc and a mask_mc set with setMask but it is not working. There is nothing else to this but so help me it is not working and I know I have to be overlooking something simple but I am just not seeing it.

Heres the whopping 3 lines of code:
code: stop();
contentHolder_mc.loadMovie("home.swf");
contentHolder_mc.setMask(contentMask_mc);


Example attached.

thx

c

Easy Question, Hopefully Easy Answer...
How can i create a grid of 20 movieclips? I would like to have 4 columns and 5 rows.
Its going to be used for a drag and drop game. any help would be REALLY appreciated!!

Something Really Easy To Answer, But Yet Not So Easy
Can anyone tell me if the ; is needed in flash MX because in flash 5 it gave me errors when i never put it in. But in MX it doesn't seem to make a difference.

Easy Question Or Not So Easy?
I am trying to save buttons and movies I have created to the main Library for use in other projects and I am having trouble figuring out how to do this. I am using flash mx. I tried going into program files and flashmx and finding the library that way. I thought I found the folder and exported a file to it and when I opened the folder it was there but when I was in flash and opened the main library flash provides for you it did not show up. Please help this newb.

thanks,

Don

Easy Easy Question
alright i have a movie clip within my movie that will display text, but the text is always different and it loads it dynamically what is the best way for each of my buttons to tell the movie clip to load and then tell the textbox to load a specific file.

_alpha / Easy In And Easy Out
I need for this code a Easy in/ onRollOver and Easy out/ onRollOut.

---

for(i=1;i<6;i++){
theButton=_root["mc"+i];

theButton.thisNum = i ;
theButton._alpha = 0;
theButton.speed = 5

theButton.onEnterFrame=function() {

if (_root["mc"+this.thisNum].overMe) {

this.elasticScale(150, 0.7, 0.3)
} else {
this.elasticScale(100, 0.7, 0.3)
}
}
theButton.onRollOver=function(){

this.speed = 5;

if (this._alpha > 100)
{
this._alpha += speed;
}
else
{
this._alpha = 100;
}


_root["mc"+this.thisNum].overMe=true;

_root["mc"+this.thisNum].swapDepths(5000)
}
theButton.onRollOut=function(){

this.speed = 5;

if (this._alpha > 100)
{
this._alpha -= speed;
}
else
{
this._alpha = 0;
}


_root["mc"+this.thisNum].overMe=false;

_root["mc"+this.thisNum].swapDepths(5000)
}
}

Easy Help Please
so i want to load a flash web page fullscreen, but have it load another movie inside at no scale. that way i can drag that movie around with a fullscreen of space. i've done it with the flash projector, but can it be done for the web? thanks-

Easy Help Please
is there a way to limit the number of returns a person can input in a input box? thanks-

Easy
Hey guys, here's an easy one.
I have main.swf with three buttons. I need all three buttons to load the same movie, more.swf but at different frames. I am loading the swf into an MC, and not a level.

I just cant get this to work...

Easy As 1,2,3? You'd Think . . .
Please help in getting this to work!

I've been having hell with making an updatable menu, so could someone please describe a working layout which will;

load a .htm containing variable created menu buttons, which will load external .swf movies into a specific level.

That's all i ask. Easy as 1,2,3 isn't it!? Well i've been trying for weeks, but no luck.

I'd really really appreciate help in resolving this.

::bluemoth::

Easy Q
Is there an Actionscript command where i can pause my movie for a certain amount of seconds and then have it play again? please respond ASAP...

Thanks In Advance

Really Easy-anyone Can Probably Help
Hi,

Okay, I have a button inside a movie clip. When I press that button, I would like to go to another SCENE.

Shouldn't that be something like:

_root.gotoAndPlay ("scenename",1);

Why does nothing happen? What am I forgetting?

Thanks
Nicky

Easy One...Please Help
I know this has to be the easiest question asked all week, but I really could use some help.

In this scenario, I have 3 Movie clips 15 frames long each. I place 1 Movie Clip on Frame 1, a second on Frame 2, and the third on Frame 3. What do I code to make the main Movie advance from Frame 1 to 2 to 3 at the end of each movie, and not before then? Does the code go on the Movie Clip, or in the main Timeline?

Thanks in advance.

EASY FOR YOU (but Not For Me)
Here's an easy one....

Is there any way to swap one symbol in my library with another one so that every time that symbol is used in an instance in the movie that it is automatically replaced?

I know how to swap instances, but that's one at a time (and sometimes I use a symbol upward to 100 times in a movie). I want to just change the symbol globally.

(Basically, I'm making an cartoon that is a total of 15 seperate files where one uploads the next. I am now understanding the uses of a "shared library" and therefore just made a master library with all the graphic symbols from all 15 movies so it's one big download at the beginning rather than 15 medium downloads. Now I am trying to go back into the 15 movies, bring in the "imported" symbols from the master library and reapply them to the movies.)

Maybe there's an easier way of me doing THAT?

Thanks for all your help!

--Darcie

Easy One, Help Please
Hi,

I was hoping one of you guys could help me out. I have made a banner advert in flash 4, and want to put an action on it so that when a user clicks on it it will link to a web site. Easy right? Nope.

I can put a get url action onto a specific symbol/clip featured in, but the 'on mouse event' option is unselectable.

How can I make it so that the whole banner will be a link, but only when clicked and go automatically when it plays once which is what happens now.

If anyone could put me right It would really help me out

Thanks

This One Is Easy For You.....
I've got 9 textvars (input text) in frame 1, scene 1, layer 1. I want the <tab> key to jump from 1 to 9. Can someone give me the correct way to use the function Selection.getFocus() WITH an example?? Let's say we'll use the vars: t1, t2, t3 and so on. The action is given in frame 1, scene 1, layer 2, and i want someone to explain me the use of the trace action nessesary in this script..
Thanks a million!
:-)

Please Help. This Should Be Easy
here's the problem i'm having. It's probably something really easy and i'm just too stupid to figure it out. I have a movie clip that I want to use multiple instances of. Each of which I will give an instance name of "flake1", "flake2", etc... I have a button that activates a controller movie clip which, in turn, activates the "flake" movie clips. The action on the button is as follows:
on (rollOver) {
button = 1;
tellTarget ("_root.controller") {
gotoAndStop (2);
}
}
on (rollOut) {
tellTarget ("_root.controller") {
gotoAndStop (3);
}
}
there are 3 frames within my controller clip. On the first frame there is just a "stop" action. The second frame has an action of

tellTarget ("_root.flake"+button) {
play ();
}
the third frame has the following action:
tellTarget ("_root.flake"+button) {
gotoAndPlay ("fadeout");
}
yet, when i test my flash movie i get the following error.
Target not found: Target="_root.flake" Base="_level0.controller"

please help

Easy Help On A MC...
Help!
Ok, I know this is an easy one, but I'm drawing a total blank... I've got a MC called portfolioclip on the main movie, and can't get a button inside of it to get the whole movie to jump to a different scene.

Thanks!
AJ
chocochipp@aol.com

Is There An Easy Way To Do This?
Hello community.

I am a newbie at flash. I have both swish 1.5 & 2.0. I am having a hard time creating a scene that is only text based.

All I want to do is to have three different portions of text show:

example: "hello" (shows for a few seconds), then "how are you" (replaces the hello), then "nice to see you" show last.

one after the other as they disappear.

Possibly add a sound of an explosion at the end to enter a site.

Can anyone tell me where there is a good template to do this with or an easy way to do it?

Sorry guys, I am a struggling newbie.

Very Easy.
What you are saying is what I do ALL the time.

I just make a new movie, and give it a name and whatever, dont even go into it. It just shows as the little white circle on the stage.

Give it an instance name, in my case, I usually use "loader" or something similar.

I position it where I know to top left hand side of the clip I want to load will go.

This is all in my main movie.

I make the movie clip elsewhere.. and save the .swf.

I just make the main movie call that new movie clip into itself, and there you go. The movie clip you load will take on the instance name you gave the little white circle ie: in this case, "loader". So you will then be able to talk to the clip using that instance name (loader). The initial movie clip you made (the little white circle) is never seen or needed.

You can see what I mean, on my site http://www.munkmotion.com where the center is loaded indipendently of the main screen

Hope it helps,

munkmotion
http://www.munkmotion.com

Easy
how do you put a name to a keyframe?

This Is Not Easy
Hiya all

I'm making a timeline with a XML backend that stores info on the events that appear on the timeline. Anyway I need to construct a routine in such a way that my Flash movie will take the date attribute of an event and place it on the relevant place on the timeline (knowing the start and finish dates of the line). Course if it were a number line 1 to 10 placing 6.3 wouldn't be a problem, but a date isn't as streight forward as that, and I need to be precise- the timeline stretches over several years, and I need to e precise to the day. Anyone know how I might go about this??

Thanks

Should Be Easy...but.......
I just want it so that when a user clicks on a button it emails me a couple variables. I know my to code in perl but am not having any luck.

Anyone have the code already that could paste it here for me? I am sure this kind of thing has been done many times.

Thanx for all the help.

Ryan

Perhaps An Easy One
when my movie loads there is a loadmovie action that goes and gets an .swf that is the music for the site.

- but it seems to be slowing down the performance of the movie so i cranked the frame speed up to 75 (is that bad?) and it seems to have improved a little but not fully.


thanks for your help

This May Seem Easy To You
Lets say I wanted to load an .swf on x=40 y=100 from a button on the main .swf to the main .swf...how could I accomplish this and would my load time on the html page be quicker this way rather than having that .swf on the main file....basically I'm trying to make a very large file load quicker by braking up parts of the file...

Thank you



please reply....

An Easy Way To Do This?
Hi, I've bin working on a platform style game and I'm wondering if someone could tell me how to get my character to react when it touches the enemy. I'm hoping to be told the code and where to put it.


Thankz for any help.

I Think This Is An Easy One
Hi there.
Basically, the problem is this.
I have a swf with two scenes, i want to access in scene 1, a variable that is declared in scene 2, and vice-versa.

I also want to know how to, assuming that im in scene 2, how to access vars on this same scene being for instances, inside a movie clip...
Its like this, if i use _root, the flash assumes i'm acessing a ver on Scene1, not on two.

Please help me!!!
Thanks in advance!!

Ricardo
Portugal

That Should Be Quite Easy For You ;)
Ok, here is the .swf, so you can see what i'm talking about:

http://www.punschhimmel.de/test.swf

Now that you've seen it... on the right side is a sliding menu with a fading button on it. BUT... if you scroll out of
that button the menu shakes a little bit.
Here is the .fla:

http://www.punschhimmel.de/test.fla

Maybe you can fix that little problem for me and send it to fstelzner@sinik.de
Would be very kind
Thanks,


Flo

Help Help, Very Easy For You
I build a Web Page but take too long to appear,
I try to follow up the tutorial on the Preload but
In the tutorial tell me to high light scene #3 and
On my web page I only have 1 scene, so I can’t
Follow the tutorial step by step from that point on,
Can I do something else? I use a SW.v2
Thank you, in advance

I Know This Is An Easy One.....but
How do i get a button to play an MC on rollover.

Its a simple question, im a simple person, there must be a simple answer!

I also need to have an MC which when rolled over plays another.

cheers

I'm Sure It's An Easy Fix, But...
Hi all

I am having abit of trouble trying to get MC's to be visible at certain stages of the movie. I ahve tried using the '_visible' function to no avail.

Firstly I would like to be able to set the visibility of certain MC's in frame 1.

Next I would like to know how, when clicking on another MC that action could turn on/off the visibility of other MC's.

Any help from you 'gurus' out there would be greatly appreciated. I am using Flash5.

On another matter, to get the above to work do I need to individually name/label the MC's or can I just use the names in the library?

Thanks guys

Len

VERY EASY, Please Help
All I want to do is have a 1 button that when pushed plays a movie clip forward and another button that when pushed plays the same clip backwards. When no button is clicked the movie stops. Can anybody help. Thanks

Cracker

It's Easy But I Don't Know How To Do It
in a movie objet, in the main stage, i give it this action:
onClipEvent(press){loadMovie("blabla.swf",0)} and in the main stage blabla movie plays.
But I do not how to return to the main stage again when the movie finished. I guess it may be easy but I do not know to do it. Help.

An Easy One For You...
hello - please help if you can.
i need to embed a variable called "whichstudent" into a URL. for example, if the value of whichstudent is 'johnevans' i need to jump to http://www.example.com/johnevans-pic1.html on the click of a button. could someone please advise on what script I need to enter in the URL expression box? thanks in advance...
PM

Ok I Know This Is Easy But...
I can't get it to work, yes I'm new to all this

I'm trying to get the else and if action to work with a button but I can't seem to get the AS right?

---------------------------------------------

here's what I want to do...


on (release, releaseOutside, keyPress "p") {

(if a scene is loaded I want to go to a certain scene)

gotoAndPlay("profile", 1);
}

(else - if it's not I want to go this frame)

gotoAndPlay(14);

}
--------------------------------------------

Sample code would be a big help.

Thanks in advance.

Bob

I Think It's Easy But Don't Know How....
How do you make your flash movie so that when the user resizes the browser, the flash movie conforms to that size.

An example of this is http://www.dabombent.com/

Please help

An Easy One For Few
I've noticed how you block the right click menu in Flash, care to tell how?

Easy I'm Sure, But.....
getURL will take you to another web page, but what is the code to take you to a html on the same server?

Help please.....Thanks

Any Easy Way?
well i havent been using flash for that long, but i love this. the only problem is, is that i cannot for the life of me figure out scripting.. it just wont sink in. i mean i know enough to make your basic flash project, but nothing advanced. I go through these posts, and through lessons and tutorials, but it all seems greeks to me.. i have no clue what im doing. Is there an easy way to understand all this? did i miss a lesson or somethin? am i dumb? ... help me out.

one more thing how exactly do you load a movie into a movie.. like on http://www.2advanced.com and http://www.estudio.com among others. is it a separate scene that loading up.. or a separate file. i know you are all probably thinkin why i even bother with flash.. i ask myself the same question sometimes. help me out anyone.. take me under your wing.. nurture me and teach me the ways of the flash..SHOw ME THE GLORY!! hehe anyway.. any help would be greatly appreciated. thanks -j

Could Be Easy For You But Me
hi,
I want to set a variable,just call it x,and when the playhead comes to a special frame,just say the 30th frame,
I want x=x+1,and when x=5 ,I want the playhead goto some other frame.
And what if I have 3 special frame instead of one,which makes x=x+1.
Shortly,what is the code for detecting if the playhead visited a frame?
I tried something but it didn't work,'cause I know nothing about scripting.
Thanks for your time.

Easy Help...
I am attempting to use keyboard commands to control a movie clip. I have it working using a blank movie clip called listener on the root movie with the following code:

on (keyPress "<Space>") {
_root.nextFrame();
}

...very simple, right? However when I try to control another clip rather than the root movie with instance name 'clipboard', I can't get it to work. What am I doing wrong?

P.S., I was using the 'listener' bc I couldn't get the root movie to accept keyboard input - is that due to flash attempting to create a button?

Thanks!

This Should Be An Easy One But...
for some reason I can't get it working right.

I have a page that requires the user to click four checkboxes. They can't advance until all four are checked.

I'm trying to set it up so that each checkbox sets a variable and then they click a next button that judges if all the variables are set but it's not working for me.

anyone have any examples that may work?

This Is Probably Easy, But...
Maybe this is incredibly easy, but... How on earth do I center my Flash website in the internet browswer? Also, if anyone can help: how do I get the browser window to fit the size of the Flash site (400x400 pixels)?

Easy One?
I hope this is an easy one. Attached to an empty movie clip I have the following code:

onClipEvent (enterFrame) {
if(_root.SquareBelow == 0) {
_root.fall._y = _root.fall._y + 24;
_root.yCord++;
}
}


but alas, fall does not move! the loop is executing however, because I have yCord in a dynamic text box and it's changing. Any help?

Thanks
Justin

This Should Be Easy
okay i finally found a way to make an actionscript strobe effect.
heres the problem, I made a word strobe with no sweat. But i want it to break apart and make each letter strobe randomly.
do i have to apply the effect to each letter?
well i guess i ansered my own question huh. anyways hweres the other part.

heres the code i am using, and it works by itself in a movie but when i tried to add the effect to an object in my movie i get the following error messages.

my code:

num = random(101);
setProperty("micro", _alpha, num);

Error:

Scene=Scene 1, Layer=Layer 13, Frame=2: Line 1: Identifier expected
onClipEvent () {

Scene=Scene 1, Layer=Layer 13, Frame=2: Line 3: Statement must appear within on/onClipEvent handler
num = random(101);

Scene=Scene 1, Layer=Layer 13, Frame=2: Line 4: Statement must appear within on/onClipEvent handler
setProperty("/city", _alpha, num);

what the heck am i leaving out that i get this error here and not on the other??? I know its really easy so thanks for the help.

Please It Must Be Easy, But I Can´t See
Hi, I made an .exe file with a e-mail button, but it doesn’t works with Windows 2000 and XP. Does anibody knows how can I make a e-mail button that works in all Windows?
Please how can open Outlook 6?! I´m so tired!

I used this code in Flash MX:
on (release) {
email = "my@mail";
subject = escape("text");
body = escape("text");
getURL ("mailto:" + email + "?subject=" + subject + "&body="+body);
}

Is There An Easy Way To Do This? (MX)
Here's what I'm working on. Sort of a touch screen type of console. I have a logo in the centre and the "buttons" in a circle around it. When someone makes one of the selections, I want the menu to disappear, clock-wise beginning with the selected button.

Now I know I coule animate it each time, but is there an easier way though scripting or smartclips or anything?

Essentially, the action is this:

Someone clicks a button and it fades out quickly and as each button is fading the next one (in a clock-wise order) begins to fade out, kind of the moving Christmas Tree Lights effect. Once the Buttons are gone, the logo moves to the upper right corner and the information pertinent to the section chosen comes up. Then when they click the "return to menu button" the info disappears, the logo re-centres and the menu reappears, couter clockwise, always starting at 12:00.

Anyway, I always hide from complex actionscript if possible, but I'm becoming more aware of it's ability to cut down animation times and stuff. So if you can point me to a tutorial or even create a small example (3-4 buttons) and post it, that would be fantastic.

J

Easy One
hi everyone, i could really use some help on this:

I want a button to check if "somemovieclip" is at a frame labeled "start" if that is true i want it to tell "somemovieclip" to go to frame "go"
else i want it to do nothing.

please help

- Niji

Easy One...
So I'm not new to flash, but AM new to actionscript. I'm using MX, and here is my issue:

To make it easy to explain, I created a little ditty that has two movie clips, "traffic", and "weather".

"traffic" contains another clip called "light", and "light" can be either red or green (by using different frames that are labeled red or green)

Weather is a clip that shows the sun for a few seconds then a cloud for a few seconds. Each time it changes pictures, it sets the value of _root.state.text to "sunny" or "cloudy" respectively.

What I am trying to do, is set in some control so that whenever the weather is sunny, the light is green, and whenever it is cloudy the light is red. I do realize that I could just add this script to the weather clip, but the point is I am trying to have something check the state of one or more things, and then do something depending on the results.

So what I have done, which doesnt work, is add a blank movie symbol and put the following code in there:

onClipEvent (load){
if (_root.state.text="sunny") {
_root.traffic.light.gotoAndPlay("green");
}
if (_root.state.text="cloudy") {
_root.traffic.light.gotoAndPlay("red");
}
}

So the outcome is this. The weather changes as it should, and state.text changes, the light does nothing, presumably because either my code is not in the right place, or is just plain wrong.

Can someone throw me a suggestion?
Thanks!
Ron

Got Two Easy Ones For Ya
1) I created my movie at 720x480 and not relize that in order to see the text I need it to be scaled to a larger size. To see what I mean go to http://www.tnp02.com

2) On the music and video pages I want to link the buttons to external sources do know how? Or if you have any othe suggestions my ears are open.


Shane

Copyright © 2005-08 www.BigResource.com, All rights reserved