View Full Version : Flash buttons
Faisca
10-16-2007, 10:24 PM
Hey, first and foremost, how come the name in this forum is not called adobe flash??
Well, I have the stupidest question. I'm intermediate with flash, and total beginner with AS. The thing is, I cannot add actions to the button anymore... does that mean that in CS3 AS is a lot more complicated? I can't just say:
on (release) {
gotoAndPlay("scene1", 1);
}
??
If anyone knows, I would appreciate the help!
Thanks so much!
Natalia
Allen_Edwards
10-17-2007, 03:03 PM
Try to type that same code using script assist and that will help you narrow down the problem. You may also want to make sure that the button is viewed as so through out the whole scene.
TORCH511
10-17-2007, 04:53 PM
I'm intermediate with flash, and total beginner with AS
I did not realize that was possible:
yes, ActionScript (now version 3) has changed rather dramatically in CS3, there are lots of articles written on AS3... Here's one that explains buttons (http://www.communitymx.com/blog/index.cfm?newsid=863)
You can change the settings so that it reverts back to AS1 or 2, however I kind of like the change due to the similarities to other scripting languages.
Faisca
10-19-2007, 05:11 PM
Thnx for the help. I will look at that article and see if I can find what I'm looking for. I didn't think to use the old code with the new script assist, so I will see what that gives me:)
Well, Torch, I know the interface, the tools, and I know how to use that. I know the timeline, how it works, frames... and so on. I can create an animation w/o AS (I know, I know, it's a lot better to do it with AS), but I'm not a programmer, but a graphic designer, so I find it difficult to get all that new information in my lil brain:P
Thank u both:)
N.
TORCH511
10-20-2007, 10:21 AM
Only giving you a hard time...
There are two elements to Flash; being able to draw, and then adding in interactivity. One element is akin to graphic arts, the other more towards programming and its like oil and water, the two often do not mix. I can hold my own scripting Flash especially now with ActionScript3 since it is a bit more like DHTML/Javascript, but that comes after YEARS of hard effort. I, like many Graphics professionals, have a block when it comes to programming. For as much effort as I have put into leaning such disciplines I should be light years beyond where I am now.
So I understood your statement, just wanted to poke a little fun at the contradition in terms it presented.
Faisca
10-22-2007, 11:47 AM
Ah, no problem;)
I knew it wasn't personal. And you are dead right on the programming... I tried taking C++ at university to have some background and be able to learn AS easier, but... ahh! I don't have the patience, I don't think, for complex programming, which sort of annoys me, cos I used to be very good with math back in high school. I guess it takes practice and patience. I just need to figure out my order of priorities... I do love interactivity and getting things to work... so I will eventually figure it out... hehehe;)
Thanks for the feedback and the help!
I'll keep you posted on my trip to learning AS 3.0:P
N
TORCH511
10-22-2007, 04:15 PM
What is really odd is that my dad is an applications programmer. VB and C++, mostly database applications, custom corporate stuff. You would think that SOME of that would rub off on me.
Nope
I understand the syntax, I understand the medodology of object orientated programming, I understand the use of variables, data, how it is manipulated and formated. I understand loops, conditionals, queries and all kinds of other operands... but if you ask me to put it together - BLANK. You can give me a printout of an application made in C++ and I will tell you what it does and how. I just don't get it how to do that. Nor really do I have the frive and motivation to do it.
I do well with web based formatting and scripting (it isn't really programming) but that is as far as I will go and at this point, I am OK with that.
Good luck and have fun.
Faisca
10-23-2007, 04:05 PM
That's the key: having fun;)
Thnx again,
N.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.