Re[4]: [Flashcoders] why are my class property's strong typing being ignored?

2006-11-16 Thread R�kos Attila

RR  // nope, no error
RR settings.settings_id = settingsBranch.firstChild.firstChild.nodeValue;

Are you sure that variable settings is typed as Settings?

___
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: Re[4]: [Flashcoders] why are my class property's strong typing being ignored?

2006-11-16 Thread Rich Rodecker

plus if i try to assign a string literal i do get an error.

On 11/16/06, Rich Rodecker [EMAIL PROTECTED] wrote:


yuyp, in the superclass, so its an inherited property

var settings:Settings;

On 11/16/06, Rákos Attila  [EMAIL PROTECTED] wrote:


 RR  // nope, no error
 RR settings.settings_id =
 settingsBranch.firstChild.firstChild.nodeValue;

 Are you sure that variable settings is typed as Settings?

 ___
 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[4]: [Flashcoders] why are my class property's strong typing being ignored?

2006-11-16 Thread R�kos Attila

Well, looking again into your earlier posts I noticed this line:

RR var settingsBranch = app_xml.firstChild.firstChild;

You didn't set the type of settingsBranch to XMLNode, so any further
reference to the properties of the object it refers to, will not carry
type information. Was this line present in your last try?

___
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: Re[4]: [Flashcoders] why are my class property's strong typing being ignored?

2006-11-16 Thread Rich Rodecker

there you go, you are correct, i missed strong typing that variable.  thanks
again!

On 11/16/06, Rákos Attila [EMAIL PROTECTED] wrote:



Well, looking again into your earlier posts I noticed this line:

RR var settingsBranch = app_xml.firstChild.firstChild;

You didn't set the type of settingsBranch to XMLNode, so any further
reference to the properties of the object it refers to, will not carry
type information. Was this line present in your last try?

___
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