Advertisement
Guest User

Untitled

a guest
Jul 19th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for(i = 0; i < info_xml.childNodes[6].childNodes.length; i++) {
  2.            
  3.                        
  4.                 trace(mc_content.videobar_mc.video_generell_mc._alpha);
  5.                
  6.                 flv = info_xml.childNodes[6].childNodes[i].attributes.path;
  7.                
  8.                 mc_content.videobar_mc.video_generell_mc.onPress = function() {
  9.                     show_video_card(info_xml, flv, mc_content.video_mc);
  10.                 }
  11.                
  12.             } else {
  13.                 delete mc_content.videobar_mc.video_generell_mc.onPress
  14.                 mc_content.videobar_mc.video_generell_mc._alpha = 0;
  15.             }
  16.            
  17.             if(info_xml.childNodes[6].childNodes[i].attributes.icon == 'traktor') {
  18.                
  19.                 trace(mc_content.videobar_mc.video_traktor_mc);
  20.                
  21.                 mc_content.videobar_mc.video_traktor_mc._alpha = 100;                  
  22.                 flv = info_xml.childNodes[6].childNodes[i].attributes.path;
  23.                
  24.                 mc_content.videobar_mc.video_traktor_mc.onPress = function() {
  25.                     show_video_card(info_xml, flv, mc_content.video_mc);
  26.                 }
  27.                
  28.             } else {
  29.                 delete mc_content.videobar_mc.video_traktor_mc.onPress
  30.                 mc_content.videobar_mc.video_traktor_mc._alpha = 0;
  31.             }
  32.            
  33.             if(info_xml.childNodes[6].childNodes[i].attributes.icon == 'skordare') {
  34.                
  35.                 trace(mc_content.videobar_mc.video_skordare_mc);
  36.                
  37.                 mc_content.videobar_mc.video_skordare_mc._alpha = 100;                 
  38.                 flv = info_xml.childNodes[6].childNodes[i].attributes.path;
  39.                
  40.                 mc_content.videobar_mc.video_skordare_mc.onPress = function() {
  41.                     show_video_card(info_xml, flv, mc_content.video_mc);
  42.                 }
  43.                
  44.             } else {
  45.                 delete mc_content.videobar_mc.video_skordare_mc.onPress
  46.                 mc_content.videobar_mc.video_skordare_mc._alpha = 0;
  47.             }
  48.            
  49.             if(info_xml.childNodes[6].childNodes[i].attributes.icon == 'hjullastare') {
  50.                
  51.                 trace(mc_content.videobar_mc.video_hjullastare_mc);
  52.                
  53.                 mc_content.videobar_mc.video_hjullastare_mc._alpha = 100;                  
  54.                 flv = info_xml.childNodes[6].childNodes[i].attributes.path;
  55.                
  56.                 mc_content.videobar_mc.video_hjullastare_mc.onPress = function() {
  57.                     show_video_card(info_xml, flv, mc_content.video_mc);
  58.                 }
  59.                
  60.             } else {
  61.                 delete mc_content.videobar_mc.video_hjullastare_mc.onPress
  62.                 mc_content.videobar_mc.video_hjullastare_mc._alpha = 0;
  63.             }
  64.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement