Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(i = 0; i < info_xml.childNodes[6].childNodes.length; i++) {
- trace(mc_content.videobar_mc.video_generell_mc._alpha);
- flv = info_xml.childNodes[6].childNodes[i].attributes.path;
- mc_content.videobar_mc.video_generell_mc.onPress = function() {
- show_video_card(info_xml, flv, mc_content.video_mc);
- }
- } else {
- delete mc_content.videobar_mc.video_generell_mc.onPress
- mc_content.videobar_mc.video_generell_mc._alpha = 0;
- }
- if(info_xml.childNodes[6].childNodes[i].attributes.icon == 'traktor') {
- trace(mc_content.videobar_mc.video_traktor_mc);
- mc_content.videobar_mc.video_traktor_mc._alpha = 100;
- flv = info_xml.childNodes[6].childNodes[i].attributes.path;
- mc_content.videobar_mc.video_traktor_mc.onPress = function() {
- show_video_card(info_xml, flv, mc_content.video_mc);
- }
- } else {
- delete mc_content.videobar_mc.video_traktor_mc.onPress
- mc_content.videobar_mc.video_traktor_mc._alpha = 0;
- }
- if(info_xml.childNodes[6].childNodes[i].attributes.icon == 'skordare') {
- trace(mc_content.videobar_mc.video_skordare_mc);
- mc_content.videobar_mc.video_skordare_mc._alpha = 100;
- flv = info_xml.childNodes[6].childNodes[i].attributes.path;
- mc_content.videobar_mc.video_skordare_mc.onPress = function() {
- show_video_card(info_xml, flv, mc_content.video_mc);
- }
- } else {
- delete mc_content.videobar_mc.video_skordare_mc.onPress
- mc_content.videobar_mc.video_skordare_mc._alpha = 0;
- }
- if(info_xml.childNodes[6].childNodes[i].attributes.icon == 'hjullastare') {
- trace(mc_content.videobar_mc.video_hjullastare_mc);
- mc_content.videobar_mc.video_hjullastare_mc._alpha = 100;
- flv = info_xml.childNodes[6].childNodes[i].attributes.path;
- mc_content.videobar_mc.video_hjullastare_mc.onPress = function() {
- show_video_card(info_xml, flv, mc_content.video_mc);
- }
- } else {
- delete mc_content.videobar_mc.video_hjullastare_mc.onPress
- mc_content.videobar_mc.video_hjullastare_mc._alpha = 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement