RE: Flash Q&A thread 2 ** checked everyday (Full Version)

All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy



Message


lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (6/9/2006 23:55:10)

somebody, there are all kinds of flash mojo disfunction syndromes, lol. i have the one where i know i wanna draw something, i have the idea, its been written/drawn, but im just too lazy to do it.




imdark -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 3:14:27)

same with me
but i call it lazyman syndrom




VampireHSS -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 6:53:59)

quote:

how do i make objects move and the touch of my arrow keys<^V>?

1)open a flash document
2)on layer 1 make a circle (hold down shift when making it to keep it a perfectly round circle)
3)with the freetransform tool select the whole circle
4)now right click on the selected circle and convert it to a symbol, in the white typing space type 'test' and make it a movieclip
5)go to the properties tab on the bottom of the screen and open it
6)with the circle clip selected, type in the instance space 'test'
7)make a new layer on top of layer 1 and select frame 1
8)in the actionscript tab type this



EXPLAINATION FOR CHANGE= this is one problem i had when testing this out, was figuring out how to do different ones with different names, on that first line of script: test.onEnterFrame = function() {, when you use a different clip or name you change test to whatever you named your clip


Isn't anything missing here?




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 13:33:33)

lol, it is missing, the AS, hold on thanks for pointing that out rofl




ericabo123 -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 16:05:47)

I noticed that a few months back, so I pmed zoltan cuz u werent online and he gave me the script lol.




Eddie -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 16:06:18)

GOT DEATH?LOL?HI?CRY?GOODBYE?YOU?ME?EVERYONE?

LOl im getting Flash 8 Pro.My friend bought ther disk and when hes gets a chance il install it[:D]




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 16:22:21)

quote:

onClipEvent (load) {moveSpeed = 20;}

onClipEvent (enterFrame) {if (Key.isDown(Key.RIGHT))
{this._x += moveSpeed;}
else if (Key.isDown(Key.UP)) {this._y -= moveSpeed;}
else if (Key.isDown(Key.DOWN)) {this._y += moveSpeed;}
else if (Key.isDown(Key.LEFT)) {this._x += moveSpeed;}}

there is the code, i took off the rotations because they get annoying but that is the basic

you apply that code into the movie clip which you wish to move




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 18:43:42)

Man... im out of ideas, I lost my flash mojo, graphics mojo, and actionscript mojo. please, someone! HIT ME WITH INSPIRATION!!!
*lil boi blue hits me with computer, I faint and lose conscionsness...Several hours later... I wake up and see somebody621 and flsg talking to lil boi blue*

lil boi blue says: But he said to hit him with flash inspiration, so since flash is in the computer I fig-

somebody621 cuts in: He's AWAKE! Now to hit LBB with inspiration!

*flsg hides in closet*

*much noise and mayhem*

narrarator: So plese, give mathus inspiration!

(c) mathus the seconth entertainment




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 19:10:12)

you need a deadline, something where someone says "hey man, if you dont make an armidillo with a rocket launcher in 4 days i will get you banned!" or something like that.




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 21:32:27)

Animate the sequence you just wrote... lol. I've finally started to put together my ideas and started writing some code. For what, I won't say, but you'll see sooner or later.




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (6/10/2006 22:23:27)

ok, you know what is fun, think of crazy scenarios,
animal + clothes + weapon
armidillo + cowboy clothes + rocket launcher
bear + ballerina clothes + knife
cat + business suit + violin case (machine gun)

crazy ironic oxymoronish opposites
priest having a margerita
artix punching an angel
a mouse afraid of an elephant
femanists groups getting what they want

mathius, make the cat
somebody, make the armidillo

i've already made a chicken with an egg launcher AND box armor for sneevils. if you wanna see them, you'll have to post in my thread lol. or i'll get the cat out here




imdark -> RE: Flash Q&A thread 2 ** checked everyday (6/11/2006 10:05:57)

how about this
a kong fu street fighter super hero cat
i call him "the black cat"
i am thinking of making him for a friend
" we dont get our respact cas the white cat keeps on stealing our toys"
his idea ut i maid it a bit cooler




Manofthetrees -> RE: Flash Q&A thread 2 ** checked everyday (6/11/2006 15:41:33)

how do i make a rotating animation?

and also, how do i get something to explode after a motion tween? (i already know how to do both seperately)

if u can, plz pm me the answer




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (6/11/2006 17:23:01)

lol, sorry dude, i dont pm answers, because if others have the same question then they see my answer right here. but anyways, for single frame animations you have to make the object into a movie clip (highlight object + F8= symbol). then double click the movie clip and it will bring you to a seperate timeline with other objects a faint grey indicating they cannot be edited. from there put a key frame on frame 11 and selct the whole object rotating it clockwise 180 degrees(holding down shift for perfect objects), then make a keyframe on frame 22 and rotate it 180 degrees clockwize to original position, the test movie




Manofthetrees -> RE: Flash Q&A thread 2 ** checked everyday (6/11/2006 17:49:39)

thank u!
where do u see the movie clip i need to double click?

but what about the other question?

(with the exploding and tween)




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (6/11/2006 18:04:05)

oops, lol, you press F8, then you press the bubble for movie clip.

then you double click the object you made a movie clip bam your done.

alright here is scenerio: you make a layer tweened. now what the?!?! you cant edit the picture! lol.

ok, now you double click the picture to edit it, but wait?!?! now it appears like that in ALL the frames!!

so if you make frames 1-10 tweened, then you want the pic to be edited for frame 11. simple, select frame 11 clear it, remove motion tween. go to frame 10, double click the object, highlight the whole object and copy it.

go back to frame 11 and paste it, now you can edit the pic there into anything..

PS: for explosions, i usually just make them frame by frame, but there are weird Action Scripting ways to do it




flsg -> RE: Flash Q&A thread 2 ** checked everyday (6/11/2006 20:38:35)

hi guys, I'm back!!!
I have a question: if I use the return value of a function more than one time in a function, is it better to store it in a variable(local variables get deleted after the function anyway)?




imdark -> RE: Flash Q&A thread 2 ** checked everyday (6/12/2006 7:03:04)

do you mean you call the function inside itself?
cold you show me the code?




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (6/12/2006 14:58:09)

It really depends on the situation. What are you using it for?




flsg -> RE: Flash Q&A thread 2 ** checked everyday (6/12/2006 17:17:31)

imdark:
function myFunc1():Number{
    return 11+1
}
function myFunc2():Void{
    if(myFunc()==12){
         //....
    }else if(myFunc==13){
        //....
    }else if..........
}

is it better to use:
function myFunc2():Void{
    var returnVar=myFunc()
    if(returnVar==12){
         //....
    }else if(returnVar==13){
        //....
    }else if..........
}




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (6/12/2006 19:29:38)

It's really all your opinion. The only difference it makes is that *supposedly* it runs a wee bit faster. Also, it saves some typing. But then again, what do I know?




imdark -> RE: Flash Q&A thread 2 ** checked everyday (6/13/2006 11:50:45)

i love to work with variables
becase thay give you an anther layer of code to work with
and than you can call the function out the main function and not change the ver
but if you do want change the main function by changing the smell one you shold not save it a ver
its all about youre choise and youre work




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (6/13/2006 15:33:59)

This is probably a really stupid question, but is it possible to tell which key is being pressed ( like a, y, etc. ) from the key code without using if, if else, if else, etc.?
Arrays maybe?




flsg -> RE: Flash Q&A thread 2 ** checked everyday (6/13/2006 18:40:33)

imdark: thanks, didn't think of that([&:])
somebody621: no, not yet, I think, it's not stupid since I'm searching for a flexible method too
the only way I know is put everything in an Array, then use Key.getAscii()




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (6/14/2006 1:37:10)


quote:

ORIGINAL: lil boi blue

ok, you know what is fun, think of crazy scenarios,
animal + clothes + weapon
armidillo + cowboy clothes + rocket launcher
bear + ballerina clothes + knife
cat + business suit + violin case (machine gun)

crazy ironic oxymoronish opposites
priest having a margerita
artix punching an angel
a mouse afraid of an elephant
femanists groups getting what they want

mathius, make the cat
somebody, make the armidillo

i've already made a chicken with an egg launcher AND box armor for sneevils. if you wanna see them, you'll have to post in my thread lol. or i'll get the cat out here


blue, ur crazy

quote:

ORIGINAL: somebody621

This is probably a really stupid question, but is it possible to tell which key is being pressed ( like a, y, etc. ) from the key code without using if, if else, if else, etc.?
Arrays maybe?


as a matter of fact there is one but its not that fle- wait aww man flsg, you always get my post first!

well like flsg said, put everything in an array then use Key.getAscii().


FLSG, and SOMEBODY621.......... PoP QuIz!!! try to make this:

circumeter

this is pretty basic math.





Page: <<   < prev  17 18 [19] 20 21   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.1570129