[Laszlo-checkins] r13586 - openlaszlo/trunk/examples/animation

hqm@openlaszlo.org hqm at openlaszlo.org
Thu Apr 2 08:57:54 PDT 2009


Author: hqm
Date: 2009-04-02 08:57:53 -0700 (Thu, 02 Apr 2009)
New Revision: 13586

Modified:
   openlaszlo/trunk/examples/animation/animation.lzx
Log:
Change 20090402-hqm-c by hqm at badtzmaru.home on 2009-04-02 11:55:27 EDT
    in /Users/hqm/openlaszlo/trunk7
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: put back embedded Helvetica font in animation example

New Features:

Bugs Fixed:

Technical Reviewer: amuntz
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

I thought that Flash had magically gotten the ability to set the opacity of
native fonts, but that seems to only be in Flash 10. 
    
Tests:

fading the opacity of the window also fades the font opacity



Modified: openlaszlo/trunk/examples/animation/animation.lzx
===================================================================
--- openlaszlo/trunk/examples/animation/animation.lzx	2009-04-02 15:54:11 UTC (rev 13585)
+++ openlaszlo/trunk/examples/animation/animation.lzx	2009-04-02 15:57:53 UTC (rev 13586)
@@ -12,6 +12,8 @@
 <!--=======================================================================-->
 
 <canvas width="800" height="300" bgcolor="#EAEAEA">
+    <!-- [2006-9-25 jgrandy] (LPP-2755) commented out <splash/> -->
+    <font src="helmetr.ttf" name="Helvetica" />
 
     <!-- BUTTONS FOR OPERATING ON THE WINDOW -->
     <view  name="wd_buttons">
@@ -44,9 +46,9 @@
     <!-- THE WINDOW -->
     <window title="My Window" name="childWindow" x="30" y="30"
         width="265" height="160" resizable="true" opacity="0"
-        closeable="true" bgcolor="#ccc" oninit="this.open();">
+        closeable="true" bgcolor="#ccc" oninit="this.open();" font="Helvetica">
 
-         <menubar width="100%" placement="menubar" >
+         <menubar width="100%" placement="menubar" font="Helvetica">
              <menu text="File" width="180">
                 <menuitem text="New" />
                 <menuitem text="open..."/>



More information about the Laszlo-checkins mailing list