Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MadComponents + StageVideo example problem #50

Open
GoogleCodeExporter opened this issue Sep 15, 2015 · 2 comments
Open

MadComponents + StageVideo example problem #50

GoogleCodeExporter opened this issue Sep 15, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

Thank you.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant