Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Kako da sredim Preloader?

[es] :: Flash :: Kako da sredim Preloader?

[ Pregleda: 503 | Odgovora: 6 ]

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

vojkan

Član broj: 10743
Poruke: 105
80.238.236.*



Profil

icon Kako da sredim Preloader?20.12.2007. u 14:32

Kako da napravim preloader u kome cu pozvati da se ucitava jedan drugi .SWF file? :-)
20.12.2007. u 14:32 

djan key
Zagreb

Član broj: 156157
Poruke: 20
*.xnet.hr.

Sajt: www.as-flash.com


Profil

icon Re: Kako da sredim Preloader?20.12.2007. u 14:49
http://www.senocular.com/flash/tutorials/preloading/
Freelance Flash developer >> http://www.as-flash.com
20.12.2007. u 14:49 

vojkan

Član broj: 10743
Poruke: 105
80.238.236.*



Profil

icon Re: Kako da sredim Preloader?20.12.2007. u 15:11
daj nesto na nasem ili nemackom :-)
20.12.2007. u 15:11 

vojkan

Član broj: 10743
Poruke: 105
80.238.236.*



Profil

icon Re: Kako da sredim Preloader?20.12.2007. u 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);
}
20.12.2007. u 22:18 

gordon_beneth
BGD

Član broj: 104526
Poruke: 167
*.adsl-1.sezampro.yu.



Profil

icon Re: Kako da sredim Preloader?20.12.2007. u 23:10
Samo startPreload("load/film1.swf") umesto
image1_btn.onPress = function(){
startPreload("load/film1.swf");
}
/(bb|[^b]{2})/
20.12.2007. u 23:10 

vojkan

Član broj: 10743
Poruke: 105
80.238.236.*



Profil

icon Re: Kako da sredim Preloader?22.12.2007. u 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);
}
22.12.2007. u 13:49 

gordon_beneth
BGD

Član broj: 104526
Poruke: 167
*.adsl-3.sezampro.yu.



Profil

icon Re: Kako da sredim Preloader?22.12.2007. u 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);
}

/(bb|[^b]{2})/
22.12.2007. u 17:27 

[es] :: Flash :: Kako da sredim Preloader?

[ Pregleda: 503 | Odgovora: 6 ]

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.