שאלה על SoundMixer.computeSpectrum (למי שמבין ב-Security בפלאש)
היי,
בניתי אפליקציה קטנה בפלאש שמנגת סרטון מיוטוב ומציגה את ה-Waveform של האודיו ע"י שימוש בפונקציה SoundMixer.computeSpectrum.
כשאני מריץ על המחשב שלי - הכל עובד מעולה.
כשאני מריץ על השרת (באתר שלי) אני מקבל את השגיאה הבאה:
SecurityError: Error #2122: Security sandbox violation: SoundMixer.computeSpectrum: http://******.swf cannot access http://v3.lscache7.c.youtube.com/videoplayback..... A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
at flash.media::SoundMixer$/computeSpectrum()