There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming gpu hard drive hardware hdmi internet laptop malware memory monitor motherboard music network obp operating system printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
rather simple flash question?

Reply  
Thread Tools
RHY-07's Avatar
Junior Member with 20 posts.
 
Join Date: May 2007
Experience: intermediate - advanced.. at some things
23-Jun-2009, 10:49 PM #1
Question rather simple flash question?
before i start, sorry if this is in the wrong place, i couldnt quite decide where it went...

hey, im just starting out messing around with flash and AS3 so bear with me.

i started messing round making a mini program which has a character moving left, right, up and down around the screen, the character is controlled by the keyboard. i got that working with tut's and using uni resources.

i want to make it so the character turns and does a lil walking animation depending on the way he's travelling, i found plenty of tutorials which used the 'gotoAndPlay' function in the movieclip, but i tried a bunch of stuff and couldnt get it working, i also had a longggg mess around with the AS files using various bits of info from other websites... no luck.

ive included the files (really small) as an attachment, i dont suppose someone could have a quick look and point me in the right direction? thanks in advance


people will probably realise this, but so as not to leave any info out, click the big blue circle to spawn the character if you test the movie thanks again!
Attached Files
File Type: zip prog.zip (93.8 KB, 8 views)
-Fabez-'s Avatar
Senior Member with 1,943 posts.
 
Join Date: Jul 2008
Location: Earth
Experience: General
24-Jun-2009, 11:16 AM #2
After testing your .Swf, it appears you are using a sprite as your character, do you have any other sprites of your character in different positions, so you can create the walking effect ? As well as using gotoAndPlay & gotoAndStop, you can also use the stop & play command's to achieve the effect.
__________________
Like coding, want help with coding or want to learn coding ? Then the Coders Group is for you
Reply

Tags
as3, flash, game, gotoandplay

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:10 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.