[Laszlo-dev] For Review: Change 20090119-maxcarlson-U Summary: Update mediadevice for swf9

Sarah Allen sarah at ultrasaurus.com
Mon Jan 19 19:28:32 PST 2009


well, the properties are fine (thanks for the lovely comments!),  
although I'm not sure what these have to do with the layout not  
working...

My guess is that this is also wrong on line 204:
                 if (lz.mediadevice.allowed != devallowed) {
                      
lz.mediadevice.prototype._updateAllAllowedStatic(devallowed);

or can you call a method on a prototype, but you can't access  
properties like that?

note: there is a bug related to this...
LPP-7572   	 updateAllAllowed seems to have gotten lost (I think it  
was defined in media device)

Is there an open bug that getCameraNames is not implemented for swf9?

Thanks for your attention to this.  I'm learning a lot!

Sarah

On Jan 19, 2009, at 7:03 PM, Max Carlson wrote:

> Change 20090119-maxcarlson-U by maxcarlson at Bank.lan on 2009-01-19  
> 18:50:33 PST
>    in /Users/maxcarlson/openlaszlo/trunk-clean
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Update mediadevice for swf9
>
> Bugs Fixed: LPP-7649 - videoview is not participating in  
> simplelayout in swf9
>
> Technical Reviewer: sallen
> QA Reviewer: hminsky
>
> Details: Note that I had to use the debug player to catch the  
> runtime exceptions that were causing these to fail!
>
> test-camera.lzx - Add code to check for invalid camera list before  
> dereferencing it...
>
> mediadevice.lzx - Update class to use static properties instead of  
> prototypes.
>
> Tests: See LPP-7649.
>
> Files:
> M      test/video/test-camera.lzx
> M      lps/components/extensions/av/mediadevice.lzx
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090119-maxcarlson-U.tar



More information about the Laszlo-dev mailing list