[macruby-changes] [321] MacRuby/trunk/sample-macruby/HotCocoa/movie_view.rb

source_changes at macosforge.org source_changes at macosforge.org
Mon Jul 7 19:22:47 PDT 2008


Revision: 321
          http://trac.macosforge.org/projects/ruby/changeset/321
Author:   rich at infoether.com
Date:     2008-07-07 19:22:47 -0700 (Mon, 07 Jul 2008)
Log Message:
-----------
refer to a remote movie

Modified Paths:
--------------
    MacRuby/trunk/sample-macruby/HotCocoa/movie_view.rb

Modified: MacRuby/trunk/sample-macruby/HotCocoa/movie_view.rb
===================================================================
--- MacRuby/trunk/sample-macruby/HotCocoa/movie_view.rb	2008-07-08 01:51:11 UTC (rev 320)
+++ MacRuby/trunk/sample-macruby/HotCocoa/movie_view.rb	2008-07-08 02:22:47 UTC (rev 321)
@@ -12,7 +12,7 @@
 application do |app|
   window :frame => [100, 100, 500, 500], :title => "HotCocoa!" do |win|
     mview = movie_view :frame => [10, 10, 480, 480], 
-                       :movie => movie(:file => "table_view.mov"),
+                       :movie => movie(:url => "http://www.infoether.com/~rich/hotcocoa.mov"),
                        :controller_buttons => [:back, :volume],
                        :fill_color => color(:name => :black)
     win << mview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080707/a2c9d058/attachment.html 


More information about the macruby-changes mailing list