mesaglam / mad-components

Automatically exported from code.google.com/p/mad-components
0 stars 0 forks source link

MadComponents + StageVideo example problem #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy and pasted and saved code from 
http://madskool.wordpress.com/2012/03/01/madcomponents-stagevideo-stagewebview-s
tagetext-extendedmadness-callouts/ in file MadVideo.as
2. In Flash CS6 , added following to action script
   import MadVideo;
    new MadVideo(this);

What is the expected output? What do you see instead?
<PATH> MadVideo.as, Line 31 1086: Syntax error: expecting semicolon before id.

What version of the product are you using? On what operating system?
ExtendedMadnessLib0_2_0b.swc + Flash CS6

Please provide any additional information below.
I was trying to learn mad-components by goign through tutorials.I ran 
successfully MadHelloWorld.as example. But StageVideo exampel is giving me 
syntax error.
Belwo is the code where I get error but doesnt make sense ...

        protected static const LAYOUT:XML =

                <label id="label">Stage Video Demo</label>

                <button id="button">start</button>
            ;

Original issue reported on code.google.com by malik.fa...@gmail.com on 13 Nov 2013 at 10:28

GoogleCodeExporter commented 9 years ago
Wordpress seems to have corrupted the XML I pasted in.  It should read:- 

<rows heights="20,100%,30">
                <label id="label" alignH="centre">Stage Video Demo</label>
                <image id="placeHolder"/>
                <button id="button" width="280" alignH="centre">start</button>
            </rows>;

Original comment by brutf...@gmail.com on 13 Nov 2013 at 2:30

GoogleCodeExporter commented 9 years ago
Thank you.

Original comment by malik.fa...@gmail.com on 14 Nov 2013 at 10:42