Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
dinamicki kreiran xml i preloading

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 28.11.2006 02:20    Post subject: dinamicki kreiran xml i preloading Add user to your forum ignore list Reply with quote

Imam problema sa preloadanjem xmla.
getBytesTotal() mi vraca 0 sve dok ga ne ucita kompletnog. Uspio sam na netu pronaci da se radi o problemu kada nemam 'pravi' xml vec php dinamicki generiran xml kojem fali linija u headeru koja prica o sizeu...

jel netko zna konkretno kako ta linija koda treba izgledati?

unaprijed fala
cheers
Back to top
View user's profile Send private message Visit poster's website Twitter profile
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 28.11.2006 03:16    Post subject: Add user to your forum ignore list Reply with quote

neznam da li ovo rjesava stvar, nisam siguran
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002869.html

Code:

header("Content-Length: ".filesize($dateiname));
header("Location: ".$dateiname);


vidjet cu s programerom


ima upita na stotine, topica na kirupi i slicno, al nema bas rjesenja. damn.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
carr



Joined: 13 Nov 2003
Posts: 1397
Location: Karlovac

PostPosted: 28.11.2006 05:03    Post subject: Add user to your forum ignore list Reply with quote

poanta ti je u ovom content-lengthu.

daj probaj prvo ucitati staticki XML (dakle ne ovaj kojeg generiras PHPom) pa vidi da li ti onda preloader kenja (cist da budes siguran u cemu je problem).

ako ti sa statickim radi, 90% da je stvar u content-lengthu, za svaki slucaj mozes pogledati headere od statickog XMLa i vidjeti sta ti fali u dinamickom.

_________________
Bolje biti malo lud, nego malo pametan.
Back to top
View user's profile Send private message Visit poster's website
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 28.11.2006 11:37    Post subject: Add user to your forum ignore list Reply with quote

ma inace staticni xml ima samo
Code:
<?xml version="1.0" encoding="iso-8859-1"?>

ali ocito mu nekako i salje size, nema to definirano u headeru.....
Back to top
View user's profile Send private message Visit poster's website Twitter profile
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 28.11.2006 12:04    Post subject: Add user to your forum ignore list Reply with quote

Duke, headere koje ti posalje server, ne ono sto pise u xml datoteci : )

Znaci otovori url na kojem se nalazi (ili generira) xml, i sa web developer ekstenzijom recimo kliknes Information -> View Response Headers (pri dnu dole)

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 28.11.2006 12:17    Post subject: Add user to your forum ignore list Reply with quote

skuzio sam to malo kada sam isao gledati, te su svi pricali o nekim headerima a ja ih nikako nisam mogao dobiti.... nisam znao di se gledaju, tnx zit :)

evo, razlika izmedju dva xmla je definitivno u tome sto generirano xmlu fali linija
Code:
Content-Length: 9348


pa nadam se da ce brzo proradit.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 28.11.2006 12:27    Post subject: Add user to your forum ignore list Reply with quote

blackduke wrote:
pa nadam se da ce brzo proradit.

i mi se nadamo Smile
btw, sto si bolji s programerom, to ce brze proraditi Wink

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
carr



Joined: 13 Nov 2003
Posts: 1397
Location: Karlovac

PostPosted: 29.11.2006 00:28    Post subject: Add user to your forum ignore list Reply with quote

zytzagoo wrote:
btw, sto si bolji s programerom, to ce brze proraditi Wink

tako je, svi uvijek budite dobri prema programerima!

_________________
Bolje biti malo lud, nego malo pametan.
Back to top
View user's profile Send private message Visit poster's website
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 29.11.2006 00:55    Post subject: Add user to your forum ignore list Reply with quote

programer je moj najbolji prijatelj :)
i obratno
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 29.11.2006 14:07    Post subject: Add user to your forum ignore list Reply with quote

obrat ne vrijedi Smile hehe
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group