In D8 / SW8 using the full URL is a bad thing. Use a relative path
instead and it will work. On a local disk it's the other way around
so check for the "http://" in the moviePath.

example:

if the moviePath starts "http://" then
   servidorNueve = "."
else
   servidorNueve = servidor
end if

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


Hope that helps...


----- Original Message ----- 
From: Fabricio G. Bissoli <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 2:12 AM
Subject: <lingo-l> preLoadNetThing problem


> 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!]
> 
> 


[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!]

  • <lin... mark bourke
    • &l... Fabricio G. Bissoli
      • Guran Alfven, Industriinformation AB, +46 31 690490, +46 515 81090

Reply via email to