some files are not displayed

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default some files are not displayed

    I have a swf which it receives it's content from xml files.
    It displayes jpg's and mp3's by getting their paths from xmls.
    (also I must note that these jpegs and mp3s are uploaded from an asp.net form)

    My problem is some jpgs are not being displayed & some mp3s are not played at
    macintoshs.
    I've tested with almost all mac browsers and flash plug-ins. It's all same.
    While some files are being displayed some do not.
    I see blank the area where the jpgs should be shown.

    Has anybody faced this issue?
    What can be the reason and any recommendations on how to fix this?

    arvin8 Guest

  2. Similar Questions and Discussions

    1. How come the images are not getting displayed in ie?
      Hi, In my application i have a page where the thumbnails representing the videos uploaded into the site should be displayed.These imgaes are...
    2. Draft not displayed
      When I select 'Edit this page' I just get a horizontal red line with two icons at the left end, which do not respond when I click on them. I have...
    3. getting ?????? displayed
      i am trying to display japanese from database utf 8 on the output page but no luck ...
    4. Columns are displayed twice
      I have two datagrids .... after handling the click event in one datagrid ..... using its data i query the database and get the data for the second...
    5. Pictures displayed in PHP
      Sorry for the cross post if that offends you. First playing with PHP & MySQL. I want to create a 2 column table. Picture on one side and...
  3. #2

    Default Re: some files are not displayed

    What Flash player version are you using?
    What Flash IDE are you using?

    For JPegs you have the progressive download not supported until the Flash 8
    player.

    Are the jpegs and mp3s loaded via Actionscript? Perhaps you have a coding
    issue such as improperly arranged methods that are declared at run time such
    as the MovieClip.onLoad that result in randomly not firing due to load
    occuring before the method is assigned.

    Not a Mac expert, but again be sure you know your player versions and see if
    there are some issues with the Plug-in version you are using.

    --
    Lon Hosford
    [url]www.lonhosford.com[/url]
    Flash, Actionscript and Flash Media Server examples:
    [url]http://flashexamples.hosfordusa.com[/url]
    May many happy bits flow your way!
    "arvin8" <webforumsuser@macromedia.com> wrote in message
    news:ed5gju$d6j$1@forums.macromedia.com...
    >I have a swf which it receives it's content from xml files.
    > It displayes jpg's and mp3's by getting their paths from xmls.
    > (also I must note that these jpegs and mp3s are uploaded from an asp.net
    > form)
    >
    > My problem is some jpgs are not being displayed & some mp3s are not played
    > at
    > macintoshs.
    > I've tested with almost all mac browsers and flash plug-ins. It's all
    > same.
    > While some files are being displayed some do not.
    > I see blank the area where the jpgs should be shown.
    >
    > Has anybody faced this issue?
    > What can be the reason and any recommendations on how to fix this?
    >

    Motion Maker Guest

  4. #3

    Default Re: some files are not displayed

    Flash Player 8 and Actionscript 2 is used.

    the code for showing the jpgs is in a .as file and being included inside the
    main swf externally.
    I'm attaching the code.

    var $xmlurl:XML = new XML();
    $xmlurl.ignoreWhite = true;
    $xmlurl.onLoad = urldata;
    $xmlurl.load("mainxml.xml");

    $currentmovie = this;

    var $xmldata:XML = new XML();
    $xmldata.ignoreWhite = true;
    $xmldata.onLoad = processdata;

    $mainurl = "";

    function urldata(success)
    {
    if(success == true)
    {
    $mainurl = this.childNodes[0].childNodes[1].childNodes[0].nodeValue;
    $xmldata.load($mainurl);
    trace($mainurl);
    }
    }


    function processdata(success)
    {
    if(success == true)
    {
    for($count = 0;$count < $xmldata.childNodes[0].childNodes.length;$count++)
    {
    duplicateMovieClip(maindata,"mainData_" + $count,parseInt($count)+100);
    setProperty("mainData_" + $count,_y,$count * 180);
    $currentmovie["mainData_" + $count].maintitle =
    $xmldata.childNodes[0].childNodes[$count].childNodes[0].childNodes[0].nodeValue;
    // + " - " +
    $currentmovie["mainData_" + $count].othertext =
    $xmldata.childNodes[0].childNodes[$count].childNodes[1].childNodes[0].nodeValue;
    if($xmldata.childNodes[0].childNodes[$count].childNodes[2].nodeName ==
    "album_img")
    {
    $nodestart = 3;
    $currentmovie["mainData_" +
    $count].showgraph.loadMovie("../dosyalar/albumler/" +
    $xmldata.childNodes[0].childNodes[$count].childNodes[2].childNodes[0].nodeValue)
    ;
    }
    else
    {
    $nodestart = 2;
    }
    $x_data_x = "";
    for($count_1 =$nodestart;$count_1 <
    $xmldata.childNodes[0].childNodes[$count].childNodes.length;$count_1++)
    {
    $x_data_x = $x_data_x +
    $xmldata.childNodes[0].childNodes[$count].childNodes[$count_1].childNodes[0].chi
    ldNodes[0].nodeValue + "\n";
    }
    //$currentmovie["mainData_" + $count].othertext =$x_data_x ;
    } // end of teh for loop
    maindata._visible=false;
    } // end of the if condition
    }

    arvin8 Guest

  5. #4

    Default Re: some files are not displayed

    I could not see in the AS code where the jpegs and mp3s are being loaded.
    However I am not sure that the AS code would make a difference between Mac
    and not.


    I would suggest the Flash or Actionscript forum and pose the question there
    as "Some jpegs and mp3s not playing on Mac" and see what more help you get
    as this forum members are more tuned to database integration topics and so
    you might get less takers to help.


    --
    Lon Hosford
    [url]www.lonhosford.com[/url]
    Flash, Actionscript and Flash Media Server examples:
    [url]http://flashexamples.hosfordusa.com[/url]
    May many happy bits flow your way!
    "arvin8" <webforumsuser@macromedia.com> wrote in message
    news:ed6nfo$p1o$1@forums.macromedia.com...
    > Flash Player 8 and Actionscript 2 is used.
    >
    > the code for showing the jpgs is in a .as file and being included inside
    > the
    > main swf externally.
    > I'm attaching the code.
    >
    > var $xmlurl:XML = new XML();
    > $xmlurl.ignoreWhite = true;
    > $xmlurl.onLoad = urldata;
    > $xmlurl.load("mainxml.xml");
    >
    > $currentmovie = this;
    >
    > var $xmldata:XML = new XML();
    > $xmldata.ignoreWhite = true;
    > $xmldata.onLoad = processdata;
    >
    > $mainurl = "";
    >
    > function urldata(success)
    > {
    > if(success == true)
    > {
    > $mainurl = this.childNodes[0].childNodes[1].childNodes[0].nodeValue;
    > $xmldata.load($mainurl);
    > trace($mainurl);
    > }
    > }
    >
    >
    > function processdata(success)
    > {
    > if(success == true)
    > {
    > for($count = 0;$count <
    > $xmldata.childNodes[0].childNodes.length;$count++)
    > {
    > duplicateMovieClip(maindata,"mainData_" + $count,parseInt($count)+100);
    > setProperty("mainData_" + $count,_y,$count * 180);
    > $currentmovie["mainData_" + $count].maintitle =
    > $xmldata.childNodes[0].childNodes[$count].childNodes[0].childNodes[0].nodeValue;
    > // + " - " +
    > $currentmovie["mainData_" + $count].othertext =
    > $xmldata.childNodes[0].childNodes[$count].childNodes[1].childNodes[0].nodeValue;
    > if($xmldata.childNodes[0].childNodes[$count].childNodes[2].nodeName ==
    > "album_img")
    > {
    > $nodestart = 3;
    > $currentmovie["mainData_" +
    > $count].showgraph.loadMovie("../dosyalar/albumler/" +
    > $xmldata.childNodes[0].childNodes[$count].childNodes[2].childNodes[0].nodeValue)
    > ;
    > }
    > else
    > {
    > $nodestart = 2;
    > }
    > $x_data_x = "";
    > for($count_1 =$nodestart;$count_1 <
    > $xmldata.childNodes[0].childNodes[$count].childNodes.length;$count_1++)
    > {
    > $x_data_x = $x_data_x +
    > $xmldata.childNodes[0].childNodes[$count].childNodes[$count_1].childNodes[0].chi
    > ldNodes[0].nodeValue + "\n";
    > }
    > //$currentmovie["mainData_" + $count].othertext =$x_data_x ;
    > } // end of teh for loop
    > maindata._visible=false;
    > } // end of the if condition
    > }
    >

    Motion Maker Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139