Re: [Flashcoders] Intro to OOP using ActionScript

2007-08-21 Thread chris duke
I see it as something of a Math class (my degree is in math so bear with
me). People aren't just going to be thrown into Calculus before at least
learning algebra. There is some argument that teaching calculus sooner could
be beneficial (i'm in that camp but theres a whole different set of issues
there), but at the same time its hard to imagine learning calculus without
at least having some concept of what infinite means. Same would go for OOP
- you couldn't learn it without first knowing what function means. Sure
you could teach it during the class, but why not get all of that out of the
way along with other simpler concepts in a foundations class before actually
brining OOP into the picture. Much the same way you are taught how to
compute area, and limits, before being thrown into derivatives and
integrals.

-CD

On 8/21/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:

 most college programming courses have prerequisites right?

 personally i know many programmers who don't have a background in
 programming who jumped right into oop...just looking at the code i can
 tell
 what they understand about programming let alone oop...


 my 0.02 pieces of lint

 p
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q:Watch vs listener/broadcaster

2007-08-11 Thread chris duke
I have used watch in the past to check for when a Boolean swaps between true
and false and use that to trigger functions to make things
visible/invisible. It allowed for a way to link a variable that changes
(Number, Boolean, String) to a function without implementing a full
listener.

On 8/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi
 I'm aware of watch, but have never really used it.
 I was wondering if perhaps I am missing out on a really useful tool.

 Can someone  give me an example of when it would make sense to use watch
 instead of setting up a listener broadcaster?

 [e] jbach at bitstream.ca
 [c] 416.668.0034
 [w] www.bitstream.ca
 
 ...all improvisation is life in search of a style.
  - Bruce Mau,'LifeStyle'
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Setting symbolBackgroundColor for CheckBox

2007-07-23 Thread chris duke

Trying to setup a CheckBox component to show red/green when its checked
correctly/incorrectly and I am having trouble setting the
symbolBackgroundColor style to make it show red or green.

If i understand the steps I'm taking are:

Drag CheckBox onto stage and name it cb1.
Goto File-import external library - find the sampleTheme and drag the
CheckBoxAssets library into my library
Set CheckBoxAssets to export in first frame
In the first frame of my FLA I put: cb1.setStyle(symbolBackgroundColor,
0xFF);

However when i test the movie it shows up as just a regular checkbox with no
change in color. What am i doing wrong here or am i missing something?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com