Hi,

just an update of the dynamic castlib problem.


I have set up a file to swap a castlib in shockwave. This is done by
clicking a button click for cast Cast one ' or click for cast Cast two'
which does the following:

button to preloadnetthing aURL

go to the next frame, which loops until the NetDone(NetID)

then sets castlib("xxx").filename to aURL (basically swapping one product
for another)


Looking at it through a 56k modem, after clicking either of the buttons, the
preload happens (NetDone is written to the screen as 0 but as soon as the
preload is done it changes to 1) but the image on screen still displays the
member from the old cast, even after the castlib.filename is changed.


However,

If I *then* click on one of the buttons again (click for cast Cast one or
Cast two) to rerun the preload, the image changes/castlib is swapped. The
castlib does not need preloading again, as it was originally preloaded, but
this time around , setting the castlib.filename works.

Looking at the same page through a fast line (ADSL)... everything works fine
first time round. The new castlib is loaded and the image updated.

It seems that on slow/normal connections, although the NetDone is true, the
media is still not ready to be swapped.

I created a test (http://www.ianmmj.plus.com/index.html) and would
appreciate if anyone can shed any light on why this might happen. If you are
on a fast connection, you may not see the problem I am.


Is there some other property I should be checking to make sure that the
castlib file is ready *after* the netdone command? I thought about
mediaready but am informed that that is not a property of castlibs.


I could get around this I think by just looping the
preloadnething/castlib.filename command twice for each cast to be loaded but
that seems a bit botchy.

Any help appreciated. Suppose its just as well I have a slow connection
where I'm developing at the min as I would never have noticed this prob! :)




Regards,

IanMJ



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to