Be a Supporter!

Post questions here.

  • 712 Views
  • 25 Replies
New Topic Respond to this Topic
Tool-Of-The-System
Tool-Of-The-System
  • Member since: Jun. 25, 2001
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Post questions here. 2002-11-30 21:14:38 Reply

Hello... yeh, you see what the topic sez.

For those of you know dunno who I am, maybe checking out my work will refresh your memory. If it doesn't, then I'm just another flash maker who knows a lot.

Just a small warning that I do not know how to do EVERYTHING in flash. I just know a lot. So please post your questions here (Hopefully they won't be super, complex, impossible to get thru your head questions.) and I'll see if I can answer your problems.

PhantomStudRoller
PhantomStudRoller
  • Member since: Dec. 27, 2001
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to Post questions here. 2002-11-30 21:21:00 Reply

maybe u can help me! ok im trying to simulate and attractive force, like gravity, between to object, like planets. i got this code but i cant find out wuts wrong with it and y it isnt working properly

Movieclip.prototype.distance=function(moviec){
if(typeof(moviec) == "string"){
moviec=eval(moviec)
}
var temp=new Object()
temp.distx=moviec._x-this._x
temp.disty=moviec._y-this._y
temp.distance=Math.sqrt((temp.distx*temp.distx)+(temp.disty*temp.disty))
if (temp.distx>0) {
temp.directionx=1;
}
else {
temp.directionx=-1;
}
if (temp.disty>0) {
temp.directiony=1;
}
else {
temp.directiony=-1;
}
return temp
}

cOwChu
cOwChu
  • Member since: Jul. 16, 2002
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Post questions here. 2002-11-30 21:21:30 Reply

how do i put music on my flash show?

Tool-Of-The-System
Tool-Of-The-System
  • Member since: Jun. 25, 2001
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to Post questions here. 2002-11-30 21:52:10 Reply

At 11/30/02 09:21 PM, PhantomStudRoller wrote: maybe u can help me! ok im trying to simulate and attractive force, like gravity, between to object, like planets. i got this code but i cant find out wuts wrong with it and y it isnt working properly

Whoa, that's a lot of scripting, I'm not really sure about this kinda stuff, but I'm thinking at the end where it says return temp You don't have parentheses surrounding temp So it should be return (temp);

At 11/30/02 09:21 PM, cOwChu wrote: how do i put music on my flash show?

To put music in your flash movies, goto File -> Import and select the music you want in your movie. Select the frame you want the music to play on and then select the sound (or music) in the frame property menu. You can set it to Event, Start, Stop, or Stream. My suggestion is using Start if it's music, because if you hit that frame again on Event... you'll be having the sound playing 2 times at once, and that gets real annoying. Somewhere it should say Loops... in the box, just enter 99999 or any other larger number to keep your music playing.

Tool-Of-The-System
Tool-Of-The-System
  • Member since: Jun. 25, 2001
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to Post questions here. 2002-11-30 21:54:24 Reply

At 11/30/02 09:52 PM, somedudeTMB wrote: You don't have parentheses surrounding temp So it should be return (temp);

My bad... it's You should have parentheses surrounding temp.

kickass8227
kickass8227
  • Member since: Nov. 28, 2002
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to Post questions here. 2002-11-30 23:52:02 Reply

hey i was just wondering...how do u make a scrolling background, and how do u make a person look like hes walking, i know how to make a person move but i do u just move the legs to look like hes walking??

Intrepid-Dusk
Intrepid-Dusk
  • Member since: Aug. 31, 2002
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Post questions here. 2002-12-01 01:10:15 Reply

This is a toughie, not sure if you'll know. But how do you only reveal a certain area of a layer, or even a movie clip? Take, for example, the x-ray glasses game http://www.newgrounds.com/portal/view.php?id=2318 . How does that work? Thanks, whether you can help or not.

Tool-Of-The-System
Tool-Of-The-System
  • Member since: Jun. 25, 2001
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to Post questions here. 2002-12-01 03:58:13 Reply

At 11/30/02 11:52 PM, kickass8227 wrote: hey i was just wondering...how do u make a scrolling background

Yep, you pretty much put in an animation of him lookin like he's walking. Anyways, for the scrolling background when a character walks, here's the script (make sure the background is a movieclip and add this to the actionscript):
onClipEvent(enterFrame){
if(_root.character._x > 200){
this._x -= 10
_root.character._x -= 10
}
if(_root.character._x < 100){
this._x += 10
_root.character._x += 10
}
}

At 12/1/02 1:10 AM, Intrepid_Dusk wrote:

:This is a toughie, not sure if you'll know. But how do you only reveal a certain area of a layer, or even a movie clip?

Oh, its another I dont know much about except pretty much the commands. I spent a lot of time trying to figure this out, until I found the setMask() command. You really don't have to mask anything. Just make 3 movie clips: The X-Ray glasses which see thru shit, the scene not being seen with the x-ray glasses and the scene being seen with the x-ray glasses. Now for the X-ray glasses, all you have to put in the actionscript is this:

OnClipEvent(load){
_root.XrayScene.setMask(this);
}

The XrayScene is the instance name of the scene being seen with the X-ray glasses. Be sure to put both these scripts I told you about onto the movie clip, not onto the frames. 2 more customers served :P

Tool-Of-The-System
Tool-Of-The-System
  • Member since: Jun. 25, 2001
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to Post questions here. 2002-12-01 04:06:53 Reply

And just a lil tip that if you're not happy trying to figure out what Im talking about when I say "sticking actionscript on your movie clip" you can always make a new layer in your movie clips and put the actionscript in, but instead... you'll have to switch a few things like:

onClipEvent(enterFrame){ ---> this.onEnterFrame = function(){

onClipEvent(load){ ---> this.onLoad = function(){

kickass8227
kickass8227
  • Member since: Nov. 28, 2002
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to Post questions here. 2002-12-01 04:19:41 Reply

hey i made a movie and i tried to submit it, it says it has to end in (.swf) and it doesnt end in that, how do i get it to end it that?

Bocom0Gravity
Bocom0Gravity
  • Member since: Apr. 28, 2002
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to Post questions here. 2002-12-01 13:50:40 Reply

just take "Test Movie" and TADAA...

You have made a .swf!

Fargate
Fargate
  • Member since: Oct. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Post questions here. 2002-12-01 14:44:07 Reply

At 12/1/02 04:19 AM, kickass8227 wrote: hey i made a movie and i tried to submit it, it says it has to end in (.swf) and it doesnt end in that, how do i get it to end it that?

Very Simple. You need to go File > Export Movie. It will export your movie to your desired location, e.g. your desktop, as a .swf.

Fargate
Fargate
  • Member since: Oct. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Post questions here. 2002-12-01 14:47:41 Reply

HELP!!!!!!!! Arg this is so frustrating. I can't get onion skinning to work in Flash 5. It shows it as having the onion skin on, but I see no effect in my movie. This is driving me nuts!!! Someone please reply to this.

Tool-Of-The-System
Tool-Of-The-System
  • Member since: Jun. 25, 2001
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to Post questions here. 2002-12-01 18:20:58 Reply

Onion skinning?

kickass8227
kickass8227
  • Member since: Nov. 28, 2002
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to Post questions here. 2002-12-01 19:10:00 Reply

ok thanx man

site4op
site4op
  • Member since: Nov. 24, 2002
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to Post questions here. 2002-12-01 20:09:03 Reply

Does Jeebus exist?

Popularity: Ranked # 174 out of 96,793 users with profiles!
Voting Power: +2.32%

Rank: Police Sergeant
--------------------------------------------------------------------------- -----
BLAMS: Involved in the termination of 342 crappy entries.
SAVES: Assisted in the protection of 70 quality entries.

BBS Posts: 30 in total (4.556 per day)

RuthlessBastard
RuthlessBastard
  • Member since: Mar. 1, 2001
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to Post questions here. 2002-12-01 20:16:29 Reply

hey...never got my question answered yet but how do you make an object "solid" using collision detection?
what i mean is like make a wall not be able to be walked through,or a table,so on..thanks for the help

SER02
SER02
  • Member since: Sep. 17, 2002
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Post questions here. 2002-12-01 20:21:01 Reply

How can i get my topic on the front page?

Post questions here.

SER02
SER02
  • Member since: Sep. 17, 2002
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Post questions here. 2002-12-01 20:24:26 Reply

Say i dont have a printer button how could i get a screen shot anyway?

Post questions here.

Fargate
Fargate
  • Member since: Oct. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Post questions here. 2002-12-01 20:32:18 Reply

Can anyone help me? I need to know how to say make a character do a certain action, say fire his gun. How do I do that!!!!

Intrepid-Dusk
Intrepid-Dusk
  • Member since: Aug. 31, 2002
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Post questions here. 2002-12-02 22:20:13 Reply

Hmmm, I'm sure that your mask solution works, but I can't seem to get it functioning myself. The error I've made is probably small and trifling. Could I ask a somewhat large favor? Since this is a simple problem, could you whip up this simple 3-object flash and send it to me at intrepid_dusk@hotmail.com ? I'd be very greatful, and could pay you back in flash work, if you cared for that.

format
format
  • Member since: Mar. 14, 2001
  • Offline.
Forum Stats
Member
Level 42
Blank Slate
Response to Post questions here. 2002-12-02 22:38:47 Reply

At 12/1/02 02:47 PM, Fargate wrote: HELP!!!!!!!! Arg this is so frustrating. I can't get onion skinning to work in Flash 5. It shows it as having the onion skin on, but I see no effect in my movie. This is driving me nuts!!! Someone please reply to this.

onion skins wont work when you export.


you don't know if i'm joking or not

Mr-Y
Mr-Y
  • Member since: Apr. 28, 2000
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to Post questions here. 2002-12-02 23:56:19 Reply

At 12/1/02 08:32 PM, Fargate wrote: Can anyone help me? I need to know how to say make a character do a certain action, say fire his gun. How do I do that!!!!

Make a button with the actionscript to do something after the guy fires his gun, like set a button to have the action of directing the user to a different frame, if the user presses space, or clicks on a target.

Jeffshaw
Jeffshaw
  • Member since: Oct. 7, 2002
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to Post questions here. 2002-12-03 00:30:54 Reply

At 11/30/02 09:14 PM, somedudeTMB wrote: Hello... yeh, you see what the topic sez.

For those of you know dunno who I am, maybe checking out my work will refresh your memory. If it doesn't, then I'm just another flash maker who knows a lot.

Just a small warning that I do not know how to do EVERYTHING in flash. I just know a lot. So please post your questions here (Hopefully they won't be super, complex, impossible to get thru your head questions.) and I'll see if I can answer your problems.

I wana make a flash movie but dunno where to begin and wondered if you knew where to start, it seems you do, i would like to make a movie about one of my stories but have gotten flash 5 but am overwhelmed, thanks, jeff

shogar
shogar
  • Member since: Sep. 10, 2000
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
Response to Post questions here. 2002-12-03 00:34:05 Reply

Hmmm.. It's amazing. The flash code looks a bit like C. Cool.

stasis42412345
stasis42412345
  • Member since: Nov. 26, 2002
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Response to Post questions here. 2002-12-03 00:52:50 Reply

could you let me know how to speed up my site?
http://www2.bc.edu/~tangmo/aw/finalcontent.swf
ive fiddled with the framerate, and that doesnt help. i could send you the swf file on aim. my name is stasi424.

please!