Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 33 Next »

Finally, let's put all the examples we've seen previously in the tutorial together, to create a typical Scene Graph scene component.

Example Application: VideoBannerBug.zip

And here's the entire XML file that plays a video, has several animations, and handles various events. There's nothing here that hasn't been covered previously in the tutorial. We've added line numbers to help locate specific sections of the file:

Video Channel Component XML Example

Let's go over this by line number, and go back and look at each section of the Scene Graph XML Tutorial, Scene Graph XML Guide, and/or Scene Graph Reference where we saw how the XML was defined. 

Line 1: DTD Declaration

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 3-183: component Element Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 5-81: script Element Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 7-21: init() Function Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 23-35: setVideo() Video Parameters Function Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 37-69: onKeyEvent() Function Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 71-79: changetext() Banner Text Change Function Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 83-88: Video Node Definition

Tutorial: Video Markup
Guide: TBD
Reference: Video

TBD

Lines 90-156: Banner/Bug Group Node Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 93-111: Banner Rectangle Node Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 99-110: Banner Animation Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 113-134: Banner Text Label Node Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 121-133: Banner Text Animation Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 136-155: Channel Bug Poster Node Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 142-154: Channel Bug Animation Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 158-150: warningRectangle Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 165-173: warningLabel Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

Lines 176-181: Timer Node Definition

Tutorial: TBD
Guide: TBD
Reference: TBD

TBD

 

TBD whole page, but also need to modify and complete the actual example TBD.  We should also change the name of the zip file.  Sounds like a bug (wink) TBD hey the whole thing is probably going to change! TBD

 

 

 

  • No labels