
17.03.2006, 03:02
|
|
|
Banned
Регистрация: Dec 2003
Сообщений: 3,925
|
Цитата:
|
Сообщение от PIRIS
изучи allowDomain
|
Изучаем:
Цитата:
allowDomain (security.allowDomain method)
public static allowDomain(domain1:String) : Void
Lets SWF files and HTML files in the identified domains access objects and variables in the SWF file that contains the allowDomain() call.
If two SWF files are served from the same domain -- for example, http://mysite.com/movieA.swf and http://mysite.com/movieB.swf -- then movieA.swf can examine and modify variables, objects, properties, methods, and so on in movieB.swf, and movieB.swf can do the same for movieA.swf. This is called cross-movie scripting or simply cross-scripting.
If two SWF files are served from different domains -- for example, http://mysite.com/movieA.swf and http://othersite.com/movieB.swf -- then, by default, Flash Player does not allow movieA.swf to script movieB.swf, nor movieB.swf to script movieA.swf. A SWF file gives SWF files from other domains permission to script it by calling System.security.allowDomain(). This is called cross-domain scripting. By calling System.security.allowDomain("mysite.com"), movieB.swf gives movieA.swf permission to script movieB.swf.
|
И ни слова -- про обычную загрузку данных. Это к слову. При 8м плеере я бы советовал посмотреть, под сетевой сэндбокс ( Publish Settings > Access Network Only ) ли происходит публикация.
|