EngoTom
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2010
03:05 PM
ComponentReference typo
Can Roku please update this doc so it's current.
Page 60
AddScaledGraphic() is not a valid method.
It looks to be AddGraphic() with the 2nd param.
Page 60
AddScaledGraphic() is not a valid method.
It looks to be AddGraphic() with the 2nd param.
4 REPLIES 4

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2010
01:00 PM
Re: ComponentReference typo
As documented in the v.2.6 SDK component reference, AddScaledGraphic() is valid only firmware v2.6 or later.... What do you find is incorrect about the doc?
--Kevin
--Kevin
auzy
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2010
11:00 AM
Re: ComponentReference typo
I agree with the OP:
addgraphic(string, string) works, while addscaledgraphic(string,string) throws a an error like this:
Documentation looks to be wrong in both 2.6 and 2.7 versions. The former method with 2 parameters is not listed in the doc, while the latter method does not work.
addgraphic(string, string) works, while addscaledgraphic(string,string) throws a an error like this:
/tmp/plugin/FGAAAAJgXh4J/pkg:/source/regScreen.brs(320): runtime error f4: Member function not found in BrightScript Component or interface.
Documentation looks to be wrong in both 2.6 and 2.7 versions. The former method with 2 parameters is not listed in the doc, while the latter method does not work.
auzy
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2010
11:00 AM
Re: ComponentReference typo
btw, I'm running FW 2.7

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2010
02:21 PM
Re: ComponentReference typo
EngoTom is correct, the documentation is in error. There is no AddScaledGraphic method, but AddGraphic can be used with either one or two parameters. If called with two parameters, it behaves as documented for AddScaledGraphic.
--Mark
--Mark