[ vojkan @ 20.12.2007. 14:32 ] @
Kako da napravim preloader u kome cu pozvati da se ucitava jedan drugi .SWF file? :-) |
[ vojkan @ 20.12.2007. 14:32 ] @
[ djan key @ 20.12.2007. 14:49 ] @
[ vojkan @ 20.12.2007. 15:11 ] @
daj nesto na nasem ili nemackom :-)
[ vojkan @ 20.12.2007. 22:18 ] @
Kako da sredim ovde da se automatski ucitava film1.sfw bez onPress?
Code: // image 1 loads the beach image using startPreload image1_btn.onPress = function(){ startPreload("load/film1.swf"); } // image 2 loads the building image using startPreload image2_btn.onPress = function(){ startPreload("load/film2.swf"); } // this function begins preloading a swf url function startPreload(url){ // assign the url to the preloader // it will load it internally preloader_mc.url = url; // set destination movie clip for loaded content preloader_mc.target = content_mc; // begin the transition by playing frame 2 preloader_mc.gotoAndPlay(2); } [ gordon_beneth @ 20.12.2007. 23:10 ] @
Samo startPreload("load/film1.swf") umesto
image1_btn.onPress = function(){ startPreload("load/film1.swf"); } [ vojkan @ 22.12.2007. 13:49 ] @
ovako?
// image 1 loads the beach image using startPreload startPreload("film1.swf")){ startPreload("film1.swf"); } // this function begins preloading a swf url function startPreload(url){ // assign the url to the preloader // it will load it internally preloader_mc.url = url; // set destination movie clip for loaded content preloader_mc.target = content_mc; // begin the transition by playing frame 2 preloader_mc.gotoAndPlay(2); } [ gordon_beneth @ 22.12.2007. 17:27 ] @
Ovako
Code: startPreload("load/film1.swf"); // image 2 loads the building image using startPreload image2_btn.onPress = function(){ startPreload("load/film2.swf"); } // this function begins preloading a swf url function startPreload(url){ // assign the url to the preloader // it will load it internally preloader_mc.url = url; // set destination movie clip for loaded content preloader_mc.target = content_mc; // begin the transition by playing frame 2 preloader_mc.gotoAndPlay(2); } Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|