Home  | Login  | Register  | Help  | Play 

RE: Flash Q&A thread 2 ** checked everyday

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A thread 2 ** checked everyday
Page 19 of 24«<1718192021>»
Forum Login
Message << Older Topic   Newer Topic >>
6/9/2006 23:55:10   
lil boi blue
Member

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.
AQ DF  Post #: 451
6/10/2006 3:14:27   
imdark
Member

same with me
but i call it lazyman syndrom
AQ  Post #: 452
6/10/2006 6:53:59   
VampireHSS
Member

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?
AQ DF MQ  Post #: 453
6/10/2006 13:33:33   
lil boi blue
Member

lol, it is missing, the AS, hold on thanks for pointing that out rofl
AQ DF  Post #: 454
6/10/2006 16:05:47   
ericabo123
Member

I noticed that a few months back, so I pmed zoltan cuz u werent online and he gave me the script lol.
Post #: 455
6/10/2006 16:06:18   
Eddie
Member

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
AQ  Post #: 456
6/10/2006 16:22:21   
lil boi blue
Member

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

< Message edited by lil boi blue -- 6/10/2006 16:26:22 >
AQ DF  Post #: 457
6/10/2006 18:43:42   
mathus the seconth
Member

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

< Message edited by mathus the seconth -- 6/10/2006 18:49:03 >


_____________________________

AQ  Post #: 458
6/10/2006 19:10:12   
lil boi blue
Member

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.
AQ DF  Post #: 459
6/10/2006 21:32:27   
somebody621
Member

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.
Post #: 460
6/10/2006 22:23:27   
lil boi blue
Member

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
AQ DF  Post #: 461
6/11/2006 10:05:57   
imdark
Member

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
AQ  Post #: 462
6/11/2006 15:41:33   
Manofthetrees
Helpful!


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

< Message edited by Manofthetrees -- 6/11/2006 15:45:12 >


_____________________________

AQ DF MQ AQW  Post #: 463
6/11/2006 17:23:01   
lil boi blue
Member

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
AQ DF  Post #: 464
6/11/2006 17:49:39   
Manofthetrees
Helpful!


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)

< Message edited by Manofthetrees -- 6/11/2006 17:54:48 >
AQ DF MQ AQW  Post #: 465
6/11/2006 18:04:05   
lil boi blue
Member

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
AQ DF  Post #: 466
6/11/2006 20:38:35   
flsg
Member

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)?

_____________________________

My flash gallery
my game thread

flsg, proud old member of AQ(still playing :O)
AQ  Post #: 467
6/12/2006 7:03:04   
imdark
Member

do you mean you call the function inside itself?
cold you show me the code?
AQ  Post #: 468
6/12/2006 14:58:09   
somebody621
Member

It really depends on the situation. What are you using it for?
Post #: 469
6/12/2006 17:17:31   
flsg
Member

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..........
}
AQ  Post #: 470
6/12/2006 19:29:38   
somebody621
Member

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?
Post #: 471
6/13/2006 11:50:45   
imdark
Member

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
AQ  Post #: 472
6/13/2006 15:33:59   
somebody621
Member

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?

< Message edited by somebody621 -- 6/13/2006 16:15:20 >
Post #: 473
6/13/2006 18:40:33   
flsg
Member

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()

< Message edited by flsg -- 6/13/2006 18:41:37 >
AQ  Post #: 474
6/14/2006 1:37:10   
mathus the seconth
Member


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.



_____________________________

AQ  Post #: 475
Page:   <<   < prev  17 18 [19] 20 21   next >   >>
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A thread 2 ** checked everyday
Page 19 of 24«<1718192021>»
Jump to:






Icon Legend
New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts




Forum Content Copyright © 2018 Artix Entertainment, LLC.

"AdventureQuest", "DragonFable", "MechQuest", "EpicDuel", "BattleOn.com", "AdventureQuest Worlds", "Artix Entertainment"
and all game character names are either trademarks or registered trademarks of Artix Entertainment, LLC. All rights are reserved.
PRIVACY POLICY


Forum Software © ASPPlayground.NET Advanced Edition