![]() |
|
||||||||||
|
|||||
|
Помогите, пожалуйста!
Я загружаю в один flash ролик другой (loadMovieNum). Как мне задать положения по осям абсцисс и ординат загружаемого ролика? Или может есть другой метод загрузки ролика с заданием координат? Очень прошу помочь. |
|
|||||
|
loadMovie()
Availability Flash Lite 1.1. Usage loadMovie(url, target [, method]) Operands url A string specifying the absolute or relative URL of the SWF file to load. A relative path must be relative to the SWF file at level 0. Absolute URLs must include the protocol reference, such as http:// or file:///. target A reference to a movie clip or a string representing the path to a target movie clip. The target movie clip is replaced by the loaded SWF file. method An optional string parameter specifying an HTTP method for sending variables. The parameter must be the string GET or POST. If there are no variables to be sent, omit this parameter. The GET method appends the variables to the end of the URL and is used for small numbers of variables. The POST method sends the variables in a separate HTTP header and is used for long strings of variables. Description Function; loads a SWF file into Flash Lite while the original SWF file plays. To load a SWF file into a specific level, use the loadMovieNum() function instead of loadMovie(). When a SWF file is loaded into a target movie clip, you can use the target path of that movie clip to target the loaded SWF file. A SWF file loaded into a target inherits the position, rotation, and scale properties of the targeted movie clip. The upper-left corner of the loaded image or SWF file aligns with the registration point of the targeted movie clip. However, if the target is the root timeline, the upper-left corner of the image or SWF file aligns with the upper-left corner of the Stage. Use the unloadMovie() function to remove SWF files that were loaded with loadMovie(). Example The following example loads the SWF file circle.swf from the same directory and replaces a movie clip called mySquare that already exists on the Stage: loadMovie("circle.swf", "mySquare"); // Equivalent statement: loadMovie("circle.swf", _level0.mySquare); |
|
|||||
|
в пятерке можно было сделать так:
fscommand("exec", "blablabla.exe\tпараметр"); или даже так: fscommand ("exec", "start\texplorer.exe"); fscommand ("exec", "cmd\t/c\texplorer.exe"); а в МХ ничего с параметром не вызвать, хотя бы потому как сам параметр в строке вызова не влепить.. |
|
|||||
|
mc1 - ролик в который ты загружаешь
mc1.createEmptyMovieClip("mc2",_root.getNextHighestDepth()); mc1.mc2.loadMovie("some_file.swf"); mc1.mc2._x = 10; mc1.mc2._y = 200; |
|
|||||
|
Цитата:
![]() |
|
|||||
|
Цитата:
Не совсем ясно о каких осях речь: или ролика-контейнера, или рута. Если менялся масштаб мувика-контейнера, а распологать надо в руте, то не мешало использовать MovieClip.globalToLocal |
|
|||||
|
Цитата:
Цитата:
|
![]() |
![]() |
Часовой пояс GMT +4, время: 02:04. |
|
|
« Предыдущая тема | Следующая тема » |
|
|