I was close...I was unfamiliar with the $each functionality in core.
solution:
$each(this.options.FlashVars, function(value, key){
dv += key + ": " + value;
});
On Oct 21, 1:12 pm, TomWA007 <[EMAIL PROTECTED]> wrote:
> I want to pass in an option that is a collection of name/value
> pairs.Then I want to loop through that and retrieve both name and
> value.
>
> example.
>
> FlashVars: {"movieName":"somemovie.flv","anotherVar":"avalue"}
>
> Later in the class I want to loop through this.options.FlashVars for
> each name and value.
>
> My initial thought was something like
> this.options.FlashVars.each(function(a)
>
> Thanks for any help.