View previous topic :: View next topic |
Author |
Message |
[¤!¤]Fela Kuti
Joined: 25 Mar 2004 Posts: 23 Location: [¤!¤]Nigerija
|
Posted: 28.02.2007 22:25 Post subject: Kako pokrenuti download? |
|
|
caos svima,
da li je moguce downloadovati fajl sa flash stranice?? znaci stavim .mp3 ili .pdf i na klik korisnik to sebi skine sebi u komp a da se ne koristi getURL funkciju???
hvala²! |
_________________ [¤!¤]Victim of Life |
|
Back to top |
|
|
djankey
Joined: 22 Nov 2006 Posts: 128 Location: zg
|
Posted: 28.02.2007 23:46 Post subject: |
|
|
Probaj sa ovim:
import flash.net.FileReference;
var downloadFile= "file.mp3";
var fileRef:FileReference = new FileReference();
fileRef.download(downloadFile);
Testiraj swf online...
http://www.blog.lessrain.com/?p=205 |
|
|
Back to top |
|
|
[¤!¤]Fela Kuti
Joined: 25 Mar 2004 Posts: 23 Location: [¤!¤]Nigerija
|
Posted: 01.03.2007 14:40 Post subject: |
|
|
hvala, hvala ...odoh da probam
|
_________________ [¤!¤]Victim of Life |
|
Back to top |
|
|
Skyward
Joined: 27 Aug 2006 Posts: 174 Location: Mamlazoland
|
Posted: 01.03.2007 19:46 Post subject: |
|
|
hm, malo previše koda, mislim da je jednostavinije sa getURL - om,
kaj ne? |
_________________ NBR member - join us at www.thegamebooks.com
www.gamestats.sail.hr - F.E.A.R stats |
|
Back to top |
|
|
|