Dragontrap's avatar
Basic Flash Comic Tutorial
By Dragontrap   |   Watch
428 166 19K (1 Today)
Published: April 5, 2009
© 2009 - 2019 Dragontrap
I figured I would share what I learned with everyone else, since I know there are others out there that also are beginners like myself.

If there are any problems (or if you know a better solution/shortcut to make things go quicker, please let me know!)





frame stop command: stop();

easter egg/replay button: Keypress can be up, down, or left (if there is no next button, you can use right. Likewise you can set next to any one of those if you want)

on (press) {
_root.gotoAndPlay(number);
}
on(keypress"<direction>"){_root.gotoAndPlay(number); }

previous button command:

on (press) {prevFrame(); }

on(keypress"<left>"){prevFrame(); }

(You can also use the _root.gotoAndPlay() command here)

next button command:

on (press) {
nextFrame();
}
on(keypress"<right>"){nextFrame(); }

Webpage:

on(release){
getURL("insert url here", "_blank");
}



Edit:

Something else I learned after I made this - If you fill in things like buttons and what not, they become completely clickable instead of having just the outline being clickable
Image size
640x480px 97.81 KB
anonymous's avatar
Join the community to add your comment. Already a deviant? Sign In
Comments (155)
AdriantheNinja's avatar
SO HELPFUL THANK YOU SO MUCH XD
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
Welcome!
Reply  ·  
iCheddart's avatar
iCheddart|Hobbyist Digital Artist
this is the best thing ever in the history of ever. So helpful thank you SO SO SO SO SO SOO MUCH
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
You're very welcome :3
Reply  ·  
moizzzproductions's avatar
help! all buttons i make stopped working out of nothing and i don't know what i did wrong! it used to work --
Reply  ·  
AromaLadyEmlee's avatar
AromaLadyEmlee|Student Filmographer
This was so helpful! Thank you! It's simple that even noobs like me can understand! :D
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
Thank you!
Reply  ·  
ennielin's avatar
ennielin|Hobbyist Artist
:iconilavplz: I love you so much <3
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
Thank you! I need to do an updated version of this when I can get my hands on flash again
Reply  ·  
kanamexX's avatar
this tutorials was awsome, but im stuck on the button, the button wont work for me. i've been trying to figure it out what i did wrong there. i use the

on (release) {
gotoAndPlay(#);
}
it always pop out saying i had an error, (i just dont get what i'm doing that is wrong, and i really want to use flash)
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
You need to have an actual number in place of the # for it to work
Reply  ·  
kanamexX's avatar
Yeah, I did put the number too, and turn out I still have an error. I tried it on both macromedia 8 and flash, still it wouldn't work.
:(
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
I'll have to see if I can dig up my version of flash and see if I can figure out what the issue is (sorry that I didn't get back to you right away!).

Let me know EXACTLY what you are putting into flash so I can see if I can replicate it (or screencap the issue for me)
Reply  ·  
May-I-Tutchem's avatar
May-I-Tutchem|Professional General Artist
how do you GET a flash animator?
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
You mean the program or someone to animate for you XD ?

But no, seriously, there are two ways of going about getting Adobe Flash:

1) Legally - Buy the program from adobe or at least download the trial version and then pay for the full version

2) Illegally - Torrents or other means of pirating the software (which is not suggested by any means, because doing so means you are aware of the fact you are stealing from a big corporation, and it can get you into hot water if you are caught).
Reply  ·  
May-I-Tutchem's avatar
May-I-Tutchem|Professional General Artist
i wouldn't do it illegally XD well i THINK i found another way so dont worry about it XD
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
Well, so long as you found a workable solution, then it's all good (and no one ever admits to do something illegally, except politicians, and they get away with it 98% of the time)
Reply  ·  
DaleksDontEatWaffles's avatar
DaleksDontEatWaffles|Student General Artist
Does it have to be on a Windows or PC computer? All I have are Macs, which are awesome, but I want to know if I can do this on a Mac...
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
As long as you can run Adobe Flash on Mac, you'll be fine ^^
Reply  ·  
DaleksDontEatWaffles's avatar
DaleksDontEatWaffles|Student General Artist
:la:
Reply  ·  
Jessyfield's avatar
Jessyfield|Professional Digital Artist
hey man that's really nice, but could you give me one little help? on the line that says

on(keypress"<left>"){prevFrame(); }

or the

on(keypress"<right>"){nextFrame(); }

I keep getting this error:


Scene=Scene 1, layer=Layer 2, frame=1, Line 2 ',' expected


what does that " ',' expected " means?
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
Not exactly sure, you may have to play with the coding to see if it fixes itself
Reply  ·  
Jessyfield's avatar
Jessyfield|Professional Digital Artist
I see.. never got this error before, I'll see what I can do with it, thanks (:
Reply  ·  
Dragontrap's avatar
Dragontrap|Professional General Artist
Sure, sorry I wasn't much help in figuring this out (and once I can get my hands on flash again, I plan on doing an updated tutorial)
Reply  ·  
anonymous's avatar
Join the community to add your comment. Already a deviant? Sign In
©2019 DeviantArt
All Rights reserved