Action Script in MX 2004
- Started
- Last post
- 19 Responses
- CyBrainX
I really need help, or at least to vent. I have been trying to use MX 2004 to update my site and am convinced that since I can't use normal mode to put in lines of code, that I have to learn how to program all over again.
This is like a different language, SERIOUSLY. I'm a designer/animator who doesn't want to get insane over Action Script, but I fear the worst. It makes me feel like I'm being left behind by Macromedia.
I can't even put together a simple button command with a keyUp mouse event (so I don't have to hear my music while testing).
Any tips?
Please don't tell me I suck and should learn to program like a pro. I've always had a love/hate relationship with Flash, but I don't want to feel like my day is over.
- CyBrainX0
alright, Let me narrow my bitching to a simple example.
Is there anything wrong with this:
on (keyPress ("s"))
music = "off";
stopAllSounds();
}I'm getting this error: "**Error** Symbol=player clip, layer=top and bottom, frame=1:Line 5: Key code identifier expected
on (keyPress ("s"))"and I tried this also:
on (keyPress (83))
- fixate0
2004 mx flash doesn't have normal mode actionscript... dang...
that is annoying.. especially for day to day non-flash designers.
on the other hand it is a good way to force people to learn basic actionscript of by heart.
- cinder0
And why can't you use normal mode?
MX 2004 doesn't remove the ability to code with the standard non-typing mode.
- unfittoprint0
The sooner the better. Believe me, not dealing with Normal mode will make you really grasp the potential of AS. And that will have consequences in the sites you'll design.
- CyBrainX0
I have to disagree, Unfittoprint. If I were a programmer, I would agree 100%, but I am not and I would suck if I tried. I have no ego about this. It is beyond me. I want easy pieces of code to work with, my way. They took away years of basic skills I developed. I feel like my legs were amputated.
- rh0
No one's had luck with the behaviors palette?
It personally worries me because it encourages scattered code throughout the movie.
- FUZCO0
do you have an open "{".....
on(keyPress("s")){
music = "off";
stopAllSounds();
}
- mrbee28280
fuzco answered your problem. you need brackets for the event
on (keyPress "s") {
trace("you're getting behind")
}I feel for designers who don't want to code, but on the same token I think we must all learn things we don't want to from time to time. I personally code a ton now and started like you. But youcan still use the coe list on the left and double click everything to drop in you code. I just did your code in 2 secs with 2 double clicks. We just have to grow.
- enobrev0
AND, even though you don't get teh lil form at the bottom, the code hints actaully work correctly now.
- mrbee28280
true dat....
- jh0
I think CyBrainX is right. . . although I can make my way through most code life is getting tougher. It's hard when you work for yourself and you can't spend weeks re-learning the stuff you alreadythough you knew just because Macromedia have changed the way the software functions.
Software is becoming too complicated ~ so that it becomes harder to be an "all rounder" and yet impossible to survive as a specialist.
- mrdobolina0
so, even for simple button actions, you have to do it by hand?
- dstlb0
I feel the same, trying to code stuff in MX 2004 the way I did in Flash 5 is frying my head, but that's cos I never learnt to write code from scratch, I just went down the easy route of nicking code from Flashkit and modifying it when necessary.
Going through the tutorials has helped a bit and I'm going to get a decent Flash book and go through it to learn how to use Flash properly. It's a pain in the ass but I can see that it should be worth the effort in the end, hopefully.
Maybe Adobe killed Livemotion off too early? Looks like there's a gap in the market for a simple Flash-like program.
- mrdobolina0
Im going to have to check this out.
- mrdobolina0
anyone think they could screenshot how the new way looks? preferably on a pc.
- jh0
i think it's only on the Professional version of MX 2004 not the "standard" version.
- FUZCO0
i am learning by making up small projects and trying to complete them.
It is slow and takes time, plus I don't have anyone around that knows flash at all. But I love to learn and play with that prog
- mrdobolina0
fuzco, not everyone has time to do that...
- FUZCO0
I completely understand...
I work a fulltime gig and do freelance on the side. And try to have a life...But I still try to find time in between jobs and late at night to work on learning something new, drawing and or painting...developing in some fashion.