Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Expected response for javascript:top.location+"__flashplgin_unique__"

0 views
Skip to first unread message

mugdha...@gmail.com

unread,
Apr 18, 2008, 6:57:23 PM4/18/08
to
Hi,

I am building this small application to play flash files. I am able to
play the file, but when there is a request from the flash plugin using
get_urlnotify -- javascript:top.location+"__flashplgin_unique__"

I am not aware of the expected response for this. The problem that I
am facing is that none of the other get_urlnotify responses is
acknowledged. Here is the procedure that I am following to respond
back to any get_urlnotify request.

Say there is a call for url "test.xml". I return the call with the
response as no error at that time. Then I create a new stream with the
mimetype as "text/xml". Call writeReady and then Write. The number
returned by write is '-1', which means (according to the
documentation) that I can destroy the stream now. So I destroy the
stream and call urlnotify with the notifyData provided by the plugin
earlier. I still can't see the content of the file in flash.

Please guide me if I am doing something wrong here. I suspect that I
am not sending the right response for the first request.

Thanks in advance
Mugdha

0 new messages