|
-
Uses MX 2004 Pro
 Originally Posted by tdellaringa
var wb:Button
This kind of looks like a symbol in Ruby. Are you simply saying that the Button you are using is shoved into the var wb? Is Button a keyword (noticing in caps)...
In a way, yes. var tells Flash that a new variable is being created and that it will be a path for a Button (which as you guessed, is a keyword in flash). I used "wb" in this case, as an abreviation for which button. You could just as easily use:
...but I've read that it's in good programming practice to define the variable itself and what's it going to be used for, so I've been making it a point to do so lately.
As for the form, I don't really know. I've never had to deal with making a form in Flash, and have only done a very basic one in HTML once before. I always try to keep as much code as possible in once place to make things easier to edit and keep track of. So if it's possible to do so, I personally would make the entire form in Flash. But this isn't to say it would be the easiest or best possible plan. Again, I'm really only a novice when it comes to programming.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|