PDA

View Full Version : Simple question=)


Robert
10-12-2002, 09:11 AM
ok lol i was looking at tutorial 4 and downloaded the source file
but i have no clue how i look at all the coding in that file
i like went trough everysingle little thing in the action popup thingy
im using flash mx and im a total noob=/
please help me figure it out thx=)

sqWear

Ricod
10-12-2002, 05:02 PM
Gee, thats a lot ... you better break it down.

Do you already know and understand the previous 3 ? Cuz this isn't a 'we'll teach you Flash board' ... that's what the tutorials are for ;)

The board is more for individual problems. But what don't you understand about the coding ? How to view it ? Or what it means ? Viewing you already did right ? (its in the Action panel) (I don't have MX, but I'm pretty sure there's still an Action panel)

What I do when dissecting someone elses .fla :
I view the first bit of code I see (usually on the first frame) and whenever it points towards something else, I'll find that.

For instance there's a piece of cod on the first frame going like :
// blah blah blah
_root.myMc._x = 100;

I will find the mc "myMc" on the main timeline and see what it does or represent. If there's any code there, I check what it says and try to figure out why ... ofcourse if I'm not familair with the actual function / method I look it up in the F1 help. For instance, you see :
if (someVariable == someValue) {
doThis();
}else{
doThat();
}
Now let's say I have no idea what all this means, I just start with looking up 'if' in the F1 help file and then read through 'else' . Although the F1 is a bit unfriendly towards people who didn't study IT or sumthing similar (I had no idea what an 'expression' was, and sometimes I still think I don't), but that's something you can ask just here ! :) Good luck ! (phew, my wrist hurts. Where's a masseuse when you need one ?)