Welcome to Gaia! :: I need some Flash cs4 help | Forum

Register FaceBook Login Login

 

 
GST

Welcome to Gaia's forums, where millions of members gather to discuss random stuff, make new friends,
complain about life, argue about nothing, laugh at dumb pictures, discuss serious issues and/or curse like sailors.

Lurking is creepy. Quit skulking in the shadows and join the conversation!

Register to reply

Advertisement
Tags: need  some  flash  help 
Share:  
forum:43, topic:55933319
So for class im doing a portfolio style website sorta thing.

I need to have movie clips of other work I have done.

So the plan is as follows-
the main character of my portfolio is a bunny.
In the movie clip watching scene the bunny is sitting on the ground and when you click him hes gonna bust out a remote and and the click it will switch to the next movie clip.

So i tried making a button with the bunny and on the click it busts out the remote but it dont work right. it just keeps scrolling through my symbols. SO that is my first problem. It should work just fine and I dont get why its not.

I know im gonna have to add action script. So that way flash knows what im telling it to do... only Im just learning and Im not sure what the code should be and i cant find it on a tutorial. Though im sure its out there... I need more of a step by step, for what Im doing. I have a hard time addapting a project from a tutorial to my own. but i haven't found any that are like for exactly what im doing. Ill find one and ill be all excited like WHOO this ones gonna be good.... and its NOTHING like its description XD

here are some screen shots, to get an idea.



 
     
 
Which Actionscript version?

The bunny busting out the remote animation should be in its own movieclip symbol. Then split up the timeline into your different animation parts, say 10-30 is busting out the remote, 35-40 is clicking a button, etc. Give each starting frame a label and of course, stop(); s

You'd then add script which listens for the click event, when it does, target the movieclip and play the specific frame label.

Bit rushed, but I must sleep. :]

Edit: I see you put everything on the root timeline, bad!

Unless you're making simple buttons such as rollovers, I wouldn't advise creating button symbols, especially if you're going to animate then. Instead, use movieclips, they are a lot more powerful. For the click area, just add a transparent fill on the top-most layer. Mask if needed.

For your content, it'd be a empty movieclip which acts as a container, this can load other movieclips in from the library or external SWF files. You will need to use Actionscript, working with gotos and frame jumping are bad beginner habits; not forgetting to mention, extremely static!
     
Im using action script 3

I figured out my bunny with the remote. As for putting all my content on the timeline like that ... that is how my teacher told us to do it XD The class i took before this class we used scenes for everything. BUT its always best to do as your teacher says if you want a good grade 3nodding

anyways, I was able to find some code for a preloader type thing.

thanks for the input!
 
     
 
InSoMnIaTiC sMoKeR
Im using action script 3

I figured out my bunny with the remote. As for putting all my content on the timeline like that ... that is how my teacher told us to do it XD The class i took before this class we used scenes for everything. BUT its always best to do as your teacher says if you want a good grade 3nodding

anyways, I was able to find some code for a preloader type thing.

thanks for the input!

Both are bad practices, certainly beginner friendly but when doing more complex tasks, it will be a huge pain. Word of advice from someone in the industry for a long time :p
     

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

We will be phasing out support for your browser soon.

Please upgrade to one of these more modern browsers.