Shop Mobile More   DeviantArt is currently in read-only mode for system maintenance
NOTE: THIS IS FOR ACTIONSCRIPT 3.0!
You can change this in File->Publish Settings


Feel free to ask me questions, correct grammar or pick a fight! : )
Add a Comment:
 
:iconhipilolo:
Hipilolo Featured By Owner Apr 18, 2013  Hobbyist General Artist
Sorry for asking again XD but i have a problem. I can't Type: { and that's really annoing :( do you maybe know what the problem is? i can't find an answer anywhere!
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Apr 18, 2013
That's weird :\
'alt gr' + '7' does nothing? It's nowhere else on your keyboard?
Reply
:iconhipilolo:
Hipilolo Featured By Owner Apr 18, 2013  Hobbyist General Artist
No it is nowhere else on my keyboard :(
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Apr 18, 2013
Are you using windows? Try this: [link]
alt 125 and alt 123 should give you the curly brackets, fn before alt if you haven't got a num pad. That's a lot of buttonpressing though..
Reply
:iconhipilolo:
Hipilolo Featured By Owner Apr 18, 2013  Hobbyist General Artist
I made it work now :) something was wrong with my keyboard.. Thanks for the help! :D
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Apr 18, 2013
No problem, good luck with the programming! : )
Reply
:iconhipilolo:
Hipilolo Featured By Owner Apr 18, 2013  Hobbyist General Artist
Thank you so much! :)
Reply
:iconfefferfox:
Fefferfox Featured By Owner Aug 5, 2012  Student General Artist
((Hi!!! I've come to bother ya again!!!! x3 ))
do you know a place where i could download flash for free???
thx!
~feffer
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Aug 5, 2012
You can download the free-version from adobe.com, it lasts for 30 days I think
Reply
:iconfefferfox:
Fefferfox Featured By Owner Aug 6, 2012  Student General Artist
thank you (again!! XD) :3
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Aug 6, 2012
no problem ; )
Reply
:iconpenlink:
Penlink Featured By Owner Jul 2, 2012  Student Filmographer
This was a helpful tutorial that you made man. I still can't believe that I made a little moving guy in about an hour with flash. ^_^
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Jul 3, 2012
Thanks, and congrats! : D
Reply
:iconpinkypies:
pinkypies Featured By Owner May 18, 2012  Hobbyist
Do you write the same for Flash Professional 8? BTW great tutorial! :D
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner May 19, 2012
Thanks!
But I thiiink Flash Professional 8 is so old it uses Actionscript 2, not 3 (That's the name of the script languages).
So you'll have to either upgrade to Flash CS3 or newer, OR use a tutorial for Actionscript 2.
Reply
:iconxdarkripperx:
XdarkripperX Featured By Owner Jan 28, 2012  Hobbyist Traditional Artist
great thnx for doing this dude!!
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Jan 28, 2012
No problem : D
Reply
:iconramib:
Ramib Featured By Owner Jan 15, 2012
thanks a bunch, everything is so clear!

I had a problem with the braces and even if I fixed it flash kept telling me that I was missing one. I rage quitted thinking I would never touch flash again and then I realised I had to save it before testing it again >_<

mine walks up and down too lol :P now i'm going to see if by pressing a secret key I can make something weird appear from the library. (??)

also I swear I didn't know bob was a nickname for robert.
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Jan 18, 2012
Nice, I'm glad to be of help : D
Reply
:iconwolflessnight:
Wolflessnight Featured By Owner Nov 6, 2011  Hobbyist Artisan Crafter
Thank you for the tutorial!
I came up with a problem, though, which is that I simply don't know how to run the script or "play" my game. I followed all of your steps until the end and even checked if there are any syntax-errors I could have accidentally made. But there are none.
Could you tell me a different way to open the game expect for pressing CTRL and ENTER? When doing this nothing happens, even though I have both the .fla and the .as file open. I know it's a kind of embarrassing question but after searching the internet for a solution, I think asking you directly for help would be easier.
Thanks!
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Nov 6, 2011
Weird! Ctrl+Enter is the shortcut for going to Control->Test->Test Movie, so you can use that instead.
Ctrl+Enter is a lot faster though! Maybe you can go to Edit->Keyboard Shortcuts and assign a new shortcut for it.. Though I couldn't find it when I looked there :S
Reply
:iconwolflessnight:
Wolflessnight Featured By Owner Nov 6, 2011  Hobbyist Artisan Crafter
Thank you! Now it works.
But I can only see my character sticking at the same spot and running without me clicking anything.
And I can't control the character either.
I guess I'm just too dumb for this. :_: (Sorry for bothering you.)
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Nov 6, 2011
Don't give up! D:
Did you get any errors? If not, Flash probably doesn't run through your .as-file.

To check if Flash even tries to read the code, try writing
trace("writesomething");
in the RobertCode(or what you called it) function! When the game runs, your message should appear in a window.

If it doesn't, Flash doesn't read your .as-file and it should be easy to fix:
Make sure both files are saved in the same folder.
Also make sure the name of the class and main function in the .as-file is the same as the name of the class in the Properties-panel in the .fla-file.
All names are case-sensitive, so beware of small and big letters.

You can do it! : D
Reply
:iconwolflessnight:
Wolflessnight Featured By Owner Nov 13, 2011  Hobbyist Artisan Crafter
So finally I figured out what has caused the problem:
The class name in the .fla should be the same as the .as script file name - I didn't quite get that. Also I had to name the script file before putting in its name in the .fla document class field (or else it won't work o-o).

Now that it's working I came across another "problem" (sorry for bothering you again ;_;).
When I change the direction of my character (I press left left left and then press right), it doesn't turn around on the same spot I pressed "right" but it suddenly jumps further. And this looks weird.
How do I tell it to turn around on (nearly) the same spot?
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Nov 13, 2011
Ah, ok! I'm glad you worked it out : D

In your .fla, enter your characters symbol. You'll see a small black cross somewhere. That's 0x,0y. (Should've mentioned this in the tutorial) When you turn directions, everything in the symbol will flip horizontally over this cross.
Simply move your character left or right to place it over the cross. : )
Reply
:iconwolflessnight:
Wolflessnight Featured By Owner Nov 14, 2011  Hobbyist Artisan Crafter
Thank you! Now I'm happy. :3 <3
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Nov 14, 2011
^^
Reply
:iconwolflessnight:
Wolflessnight Featured By Owner Nov 6, 2011  Hobbyist Artisan Crafter
*and not finding a solution in the internet (without that it sounds confusing)
Reply
:iconmumblingrain:
mumblingRain Featured By Owner Oct 27, 2011  Hobbyist General Artist
:iconchallangeacceptedplz:
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 28, 2011
You can do it!
Reply
:iconart-muse:
Art-Muse Featured By Owner Oct 27, 2011  Professional Digital Artist
"...or pick a fight!" CHALLENGE ACCEPTED MISTER
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 28, 2011
My arch nemesis.. I thought you might show up! >: o
Reply
:iconart-muse:
Art-Muse Featured By Owner Oct 28, 2011  Professional Digital Artist
*couch*
This day has been foretold many eons ago, by shaven oriental monks. Prepare yourself!

*raises weapon*
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 28, 2011
xD *couch*
*watches tv*
Reply
:iconart-muse:
Art-Muse Featured By Owner Oct 28, 2011  Professional Digital Artist
Raawr!
*takes a nose dive into some concrete*
nnyaaaa!
*throws melee weapon, slashes with rifle*

D:<
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 28, 2011
8D *eats popcorn*
Reply
:iconart-muse:
Art-Muse Featured By Owner Oct 29, 2011  Professional Digital Artist
D: I just want to be loved!
*hugs nearby hat rack*
>:O filthy swines! Give me back my freedom!
*Charges at a toaster iron*

D:
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 29, 2011
XD Priceless!
*applauds*
Reply
(1 Reply)
:iconmiradox:
Miradox Featured By Owner Oct 27, 2011  Student General Artist
thanks for the hardcore tutorial! :iconloveloveplz:
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 28, 2011
You're welcome : )
Reply
:iconburmalloo:
burmalloo Featured By Owner Oct 27, 2011  Student Digital Artist
hmmm, i must get flash!! then this will be helpful xD
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 27, 2011
Haha^^ Well, You can download the trial version for free, but I don't know how long it lasts.
Reply
:iconkthxplz:
kthxplz Featured By Owner Oct 27, 2011  Professional Filmographer
Awesome resource that I'm sure lots of people will learn something from!

Amusingly, nose-walker guy stays wherever you walk him to, if you get to the final step, make him walk outside the box, then go back to previous steps. Having him stand off to the side looks like he's sadly observing his own creation. xD
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 27, 2011
Thanks^^
And wow, I didn't think anyone would have fun walking him around! Nice xD
Reply
:iconkthxplz:
kthxplz Featured By Owner Oct 28, 2011  Professional Filmographer
I featured this in my journal just now, just to help spread its usefulness. x] [link]
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 28, 2011
Thanks! ^^
Reply
:iconmikomikisomi:
MikomiKisomi Featured By Owner Oct 27, 2011  Student Digital Artist
Wow, this is really helpful! Thank you for making this!
Reply
:iconkittyninjafish:
kittyninjafish Featured By Owner Oct 27, 2011
Thanks, I'm glad to be of help : )
Reply
Add a Comment:
 




Details

Submitted on
October 27, 2011
Image Size
344 KB
Resolution
800×525
Link
Thumb
Embed

Stats

Views
1,267
Favourites
90 (who?)
Comments
43
Downloads
18