Hello all, Macromedia now runs on Actionscript 2.0 as you all know, and it's as simple as the fact that I think it is hard to use and I don't like it! How do I make Macromedia Flash MX 2004 Professional run on Actionscript 1.0!? Macromedia said it was possible in one of their training videos.... Thank you *Jesse
file > publish settings -Edwin [quoted text, click to view] "Jesse Carmack" <webforumsuser@macromedia.com> wrote in message news:bvj45h$emc$1@forums.macromedia.com... > Hello all, > > Macromedia now runs on Actionscript 2.0 as you all know, and it's as simple as the fact that I think it is hard to use and I don't like it! > > How do I make Macromedia Flash MX 2004 Professional run on Actionscript 1.0!? > > Macromedia said it was possible in one of their training videos.... > > Thank you > *Jesse > >
I still can write in Actionscript 1.0, it still has its new setup.
Sorry, what I meant to say was: Flash MX 2004 Professional still does not except Actionscript 1.0 commands. Like...Clicking on a button I've created and opening up my actions panel and writing "play" doesn't work like it used to in the Actionscript 1.0 versions.
BTW: AS2 is no harder than AS1 really .. its just got a couple of extra language features that you don't have to sue if you don't want to. Everything that was in AS1 is in AS2 as well. There area couple of catches if you want to continue to create 'classes' using the more syntactically cumbersome way from Flash MX .. but if you're writing your own classes in script, you'll probably appreciate having AS2 anyway. Also note, if you publish for FP7, regardless of if you choose AS1 or AS2, your script will have to be correct wrt case .. so mc.GotoAndPlay() won't work (must be mc.gotoAndPlay()) etc. If you publish to FP6, then its not case sensitive.
[quoted text, click to view] > I still can write in Actionscript 1.0, it still has its new setup.
what does that mean?
That's nothing to do with AS1. That's to do with the way the user interface in Flash works for MX 2004 vs MX. The script is still the same .. it would just be the say of getting it onto the button that is different.
Ok...Then is there anyway to change it back? I really dislike how it acts now. Simple tasks that I use I can't use anymore...I mean...Blegh!
From what you've said, I assume that you mean that you miss the "simple" action scripting mode that Flash MX offered. Flash MX 2004 only offers "expert" mode, which makes action csripting more difficult to code since you have to type it all in manually instead of just setting the paramaters in "simple" mode. If that's the case, I agree with you. I could script thing twice as fast with the simple mode in MX.
You're exactly right. That's what I want... And it's really strange...In 5, and MX I tryed to learn Actionscript and I learned a bit of it so I started using expert mode in MX...It accepted all the commands I gave...Like "play();" put onto a button...Now it doesn't work. Thanks, *Jesse
I'm surprised your old scripts aren't working for you in 2004. I've worked on a project of mine half in MX and half in MX 2004, and all the scripting that was done in MX worked fine in MX 2004. Maybe you should post one of the commands (the whole thing) that you're using so someone can double check it for you. I'm young, so I'm not the best at actionscripting myself, but I'd love to help anyway I can.
Ok, well...I'm twelve years old - And I was scripting a little back there but I quit when I came to a gigatic problem in my script that I couldn't figure out how to fix because the OUTPUT feature is a little annoying...But anyways... Ok, when trying to make a Play button (That's right, as simple as that) in Flash 5, or MX I was able to just click on the button, open up the actions panel, and add "play();" or, in Movie controls, in Simple mode, I could just click on "Play"... But now...Macromedia Flash MX 2004 Professional doesn't accept the command "Play();" when I click on a button and add it...It says "Command must appear within handler"...And I'm not sure how to fix that...I tried adding "this.play();" but that didn't work...Or even "root_.this.play();"...Nothing works...And I just want it so I can simply put in "PLAY" on a movie. I know there is that "Behavior" tab that I can use...But I want it to be nice and easy, and even then...The Behavior tab never works. Right now I am thinking to just go back to Macromedia Flash MX...I mean...I really dislike the 2004 edition...For the lack of new content that I use...Nothing has really changed since last time for what I do. Thank you, *Jesse
Hopefully this will help to solve your problem... click on the button in which you wish to place your play action and type the following into the actions window: this.onRelease = function(){ _root.name_of_mc.play(); } change "name_of_mc" to whatever movie clip you wish to target trigger the play action. or try: this.onRelease = function(){ _parent.play(); } If neither of these work, they should at least give you a good idea of how to get the button functioning properly. - Quentin --------------------- Quentin Fountain - interactive design director
If what Medai Pimp says doesn't work, then try: on (release) { gotoAndPlay(); } put the action right on a button
SubGum is actually correct. The code I gave would actually work best as a function directly from the timeline replacing "this" with the name of your button instance or if you're using a movie clip instance as opposed to a button intance it would work as is within an onClipEvent handler. If you would like more help or some sample code to look at, I'd be glad to help out as much as possible. You can email me at qfountain@omegadawn.com --------------------- Quentin Fountain - interactive design director
Don't see what you're looking for? Try a search.
|