You havn't made "servidor" global

[EMAIL PROTECTED]

 

 global figuraID, figura

on exitFrame me -- first frame script

 figuraID = preloadNetThing(servidor&"/imagens/"&figura&".jpg")

end

>From: "Fabricio G. Bissoli" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: preLoadNetThing problem
>Date: Mon, 26 Feb 2001 22:12:28 -0300
>
>Hi,
>
>I have a strange problem in a Shockwave movie: I am using the
>preLoadNetThing and importFileInto commands to get a JPG file from the
>Internet.
>
>Into Director and in a projector, this works fine. The problem is in a
>Shockwave movie...
>
>I'm using the scripts:
>
>global figuraID, figura
>on exitFrame me -- first frame script
> figuraID = preloadNetThing(servidor&"/imagens/"&figura&".jpg")
>end
>
>global figuraID
>on exitFrame me -- second frame script
> if netDone(figuraID) = False then
> go the frame
> end if
>end
>
>global figuraID, figura, listaFiguras, exercicio, servidor
>on exitFrame me -- third frame script
> if netError(figuraID) <> "OK" then
> alert "Algum erro ocorreu enquanto a figura "&figura&" era carregada."
> go 1
> else
> importFileInto member (figura+300), (servidor&"/imagens/"&figura&".jpg")
> updateStage
> end if
>end
>
>Any idea?
>
>Thanks in advance
>Fabricio Guedes Bissoli
>Phasis Multimidia
>
>55 32 3218-5343
>55 32 9103-7978
>
>
>[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!]
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

[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