PDA

View Full Version : FLash XML


cain5
04-09-2001, 02:53 AM
OK..here is the scenerio.

I have a HTML page set up with 4 different FLash movies inserted into separate table cells:

TOC.swf - Empty Movie Clip (mcModule) with Dynamic Text(dtModule)

Content.swf - Empty Movie Clip (mcContent)
Audio.swf - Empty Movie Clip (mcAudio)
Video.swf - Empty Movie Clip (mcVideo)


I want to build the TOC.swf Dynamically based on the Module Tag Title attribute.

When I click on each Module name in the TOC.swf, I want to load the respective attributes into each respective SWFs. I also want to create a next and previous icon in the TOC.swf that moves up and down the tree....Module1...Screen1..Screen2...etc.

I have layed out the course in XML:

<?xml version="1.0"?>
<Section Title="Section 1">
<Module Title="Module 1" Audio="module_1_1_a.swf" Video="module_1_1_v.swf" Content="module_1_1_c.swf">
<Screen Title="Screen 1-1" Audio="screen_1_1_1_a.swf" Video="screen_1_1_1_v.swf" Content="screen_1_1_1_c.swf"></Screen>
<Screen Title="Screen 1-2" Audio="screen_1_1_2_a.swf" Video="screen_1_1_2_v.swf" Content="screen_1_1_2_c.swf"></Screen>
<Screen Title="Screen 1-3" Audio="screen_1_1_3_a.swf" Video="screen_1_1_3_v.swf" Content="screen_1_1_3_c.swf"></Screen>
<Screen Title="Screen 1-4" Audio="screen_1_1_4_a.swf" Video="screen_1_1_4_v.swf" Content="screen_1_1_4_c.swf"></Screen>
<Screen Title="Screen 1-5" Audio="screen_1_1_5_a.swf" Video="screen_1_1_5_v.swf" Content="screen_1_1_5_c.swf"></Screen>
<Screen Title="Screen 1-6" Audio="screen_1_1_6_a.swf" Video="screen_1_1_6_v.swf" Content="screen_1_1_6_c.swf"></Screen>
<Screen Title="Screen 1-7" Audio="screen_1_1_7_a.swf" Video="screen_1_1_7_v.swf" Content="screen_1_1_7_c.swf"></Screen>
<Screen Title="Screen 1-8" Audio="screen_1_1_8_a.swf" Video="screen_1_1_8_v.swf" Content="screen_1_1_8_c.swf"></Screen>
<Screen Title="Screen 1-9" Audio="screen_1_1_9_a.swf" Video="screen_1_1_9_v.swf" Content="screen_1_1_9_c.swf"></Screen>
<Screen Title="Screen 1-10" Audio="screen_1_1_10_a.swf" Video="screen_1_1_10_v.swf" Content="screen_1_1_10_c.swf"></Screen>
<Screen Title="Screen 1-11" Audio="screen_1_1_11_a.swf" Video="screen_1_1_11_v.swf" Content="screen_1_1_11_c.swf"></Screen>
<Screen Title="Screen 1-12" Audio="screen_1_1_12_a.swf" Video="screen_1_1_12_v.swf" Content="screen_1_1_12_c.swf"></Screen>
</Module>
<Module Title="Module 2" Audio="module_1_2_a.swf" Video="module_1_2_v.swf" Content="module_1_2_c.swf">
<Screen Title="Screen 2-1" Audio="screen_1_2_1_a.swf" Video="screen_1_2_1_v.swf" Content="screen_1_2_1_c.swf"></Screen>
<Screen Title="Screen 2-2" Audio="screen_1_2_2_a.swf" Video="screen_1_2_2_v.swf" Content="screen_1_2_2_c.swf"></Screen>
<Screen Title="Screen 2-3" Audio="screen_1_2_3_a.swf" Video="screen_1_2_3_v.swf" Content="screen_1_2_3_c.swf"></Screen>
<Screen Title="Screen 2-4" Audio="screen_1_2_4_a.swf" Video="screen_1_2_4_v.swf" Content="screen_1_2_4_c.swf"></Screen>
<Screen Title="Screen 2-5" Audio="screen_1_2_5_a.swf" Video="screen_1_2_5_v.swf" Content="screen_1_2_5_c.swf"></Screen>
<Screen Title="Screen 2-6" Audio="screen_1_2_6_a.swf" Video="screen_1_2_6_v.swf" Content="screen_1_2_6_c.swf"></Screen>
<Screen Title="Screen 2-7" Audio="screen_1_2_7_a.swf" Video="screen_1_2_7_v.swf" Content="screen_1_2_7_c.swf"></Screen>
<Screen Title="Screen 2-8" Audio="screen_1_2_8_a.swf" Video="screen_1_2_8_v.swf" Content="screen_1_2_8_c.swf"></Screen>
<Screen Title="Screen 2-9" Audio="screen_1_2_9_a.swf" Video="screen_1_2_9_v.swf" Content="screen_1_2_9_c.swf"></Screen>
<Screen Title="Screen 2-10" Audio="screen_1_2_10_a.swf" Video="screen_1_2_10_v.swf" Content="screen_1_2_10_c.swf"></Screen>
<Screen Title="Screen 2-11" Audio="screen_1_2_11_a.swf" Video="screen_1_2_11_v.swf" Content="screen_1_2_11_c.swf"></Screen>
<Screen Title="Screen 2-12" Audio="screen_1_2_12_a.swf" Video="screen_1_2_12_v.swf" Content="screen_1_2_12_c.swf"></Screen>
<Screen Title="Screen 2-13" Audio="screen_1_2_13_a.swf" Video="screen_1_2_13_v.swf" Content="screen_1_2_13_c.swf"></Screen>
<Screen Title="Screen 2-14" Audio="screen_1_2_14_a.swf" Video="screen_1_2_14_v.swf" Content="screen_1_2_14_c.swf"></Screen>
</Module>
<Module Title="Module 3" Audio="module_1_2_a.swf" Video="module_1_2_v.swf" Content="module_1_2_c.swf">
<Screen Title="Screen 3-1" Audio="screen_1_3_1_a.swf" Video="screen_1_3_1_v.swf" Content="screen_1_3_1_c.swf"></Screen>
<Screen Title="Screen 3-2" Audio="screen_1_3_2_a.swf" Video="screen_1_3_2_v.swf" Content="screen_1_3_2_c.swf"></Screen>
<Screen Title="Screen 3-3" Audio="screen_1_3_3_a.swf" Video="screen_1_3_3_v.swf" Content="screen_1_3_3_c.swf"></Screen>
<Screen Title="Screen 3-4" Audio="screen_1_3_4_a.swf" Video="screen_1_3_4_v.swf" Content="screen_1_3_4_c.swf"></Screen>
<Screen Title="Screen 3-5" Audio="screen_1_3_5_a.swf" Video="screen_1_3_5_v.swf" Content="screen_1_3_5_c.swf"></Screen>
<Screen Title="Screen 3-6" Audio="screen_1_3_6_a.swf" Video="screen_1_3_6_v.swf" Content="screen_1_3_6_c.swf"></Screen>
<Screen Title="Screen 3-7" Audio="screen_1_3_7_a.swf" Video="screen_1_3_7_v.swf" Content="screen_1_3_7_c.swf"></Screen>
</Module>
</Section>


I tried editing the moreover tutorial from FlashKit....but no luck.

Any suggestions?

If not..have you seen any other tutorials other than the Moveover one ?


Thanks!