1
每個應用程序的MediaElements對象數量限制是多少? 我想添加約50個MediaElements,所有單詞或短語的簡短錄音。 我可以加10,他們會玩OK。如果我嘗試添加更多,我不會有任何構建錯誤,但他們不會玩,只是沉默。我正在用模擬器進行測試。每 下面的例子中所添加的對象:WP7 MediaElements數量限制
two = new MediaElement();
two.AutoPlay = false;
two.Source = new Uri("Sounds/two.mp3", UriKind.Relative);
two.Volume = volume;
two.MediaEnded += new RoutedEventHandler(Sound_MediaEnded);
LayoutRoot.Children.Add(two);
two.Visibility = Visibility.Collapsed;
任何想法,我打什麼限制或問題?
感謝...