Hi Steve,

It is just a way of naming variables. The Adobe docs say this about it:

"Variable names can only contain letters, numbers, and dollar signs ($). Do not begin variable names with numbers. Variables must be unique and they are case-sensitive in Flash Player 7 and later. "

If you look further in his code you see he also uses it for the comments:
_data.gd$comments
_data.gd$comments.gd$feedLink
_data.gd$comments.gd$feedLink.countHint

Hope this helps you,

Sid

On May 5, 2009, at 10:42 AM, Stephen Matthews wrote:

Hi, I am working with Martin Legris's great Youtube API class and wondered what this was
( _data.gd$rating )
What does the dollar symbol do?
Here is a link to the particular class-
http://as3-youtube-data-api.googlecode.com/svn/trunk/ca/newcommerce/youtube/data/VideoData.as
This is the getter-
public function get rating():RatingData
{
                        return new RatingData(_data.gd$rating);
}

PS I looked at Adobe's online help but could not find a reference to it.
Thanks Steve
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Sidney de Koning - be a geek, in rockstar style!
Flash / AIR Developer @ www.funky-monkey.nl
Technical Writer @ www.insideria.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to