PDA

View Full Version : Very Very Basic Question


Icewind
01-01-2003, 10:21 AM
Okay I know that I am going to look like an idiot but I need to know. Where do I type in the code? I have no clue. Do I do it in notepad like html or is there somewhere special?

Also can I do it with Swish? Or do I need to use Flash 5?

Any help is appreciated.

Thank you.

xxlm
01-01-2003, 10:37 AM
Hmmm. Did you look the help a bit?
It explain where to put the code I think.
;)

But the more readable is pot put all your code in the main timeline. So add a layer "action" (as anyone named it) and put your code here. eg for a button instead of clicking on it and then put the code
on(release) {
}
click on your layer action frame 1 (eg) and add the code
MyButton.onRelease = function () {
}

(myButton is the path and name of your button which can be an MC too (got the button properties))
then you'll see all the code for all the movie.
;)

But see the help
;)

xxlm
01-01-2003, 10:38 AM
Oh! To make the actionscript window appears, simply F2.
;)

Icewind
01-01-2003, 11:05 AM
Thank you very much!

xxlm
01-01-2003, 06:32 PM
Want to thx me much.
So plz come on sign up my guestbook. This can help me for the futur...
Thx to YOU!

bembino
01-01-2003, 06:54 PM
for a button instead of clicking on it and then put the code
on(release) {
}
click on your layer action frame 1 (eg) and add the code
MyButton.onRelease = function () {
}

They said they're using Flash 5, so they can't use MX syntax. They will have to apply their code directly to their buttons if they are using buttons, or directly on their movieclips if they want to use clipEvents. Otherwise code goes in frames.