/ Forside / Teknologi / Multimedie & design / Flash / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Flash
#NavnPoint
bentjuul 4251
molokyle 1978
Klaudi 1488
jhvp 1265
pallenoc 1160
katekismus 1020
Fnollerpi.. 790
slander 510
Dr.Disco 500
10  Flash77 500
flashquestion pictures from the net in a s~
Fra : Jurgen


Dato : 28-09-02 12:55

hi all...


Is it possible to use only an url to put a picture on your scene.
for example http://www.wetterspion.de/c03.gif
I want that picture in my scene... without copy and past... because the
picture constantly changes.

thanks a lot



 
 
Mikkel Schultz (28-09-2002)
Kommentar
Fra : Mikkel Schultz


Dato : 28-09-02 23:03

"Jurgen" <jurgen.francois@pandora.be> wrote in message
news:BMgl9.135722$8o4.20227@afrodite.telenet-ops.be...
> Is it possible to use only an url to put a picture on your scene.
> for example http://www.wetterspion.de/c03.gif
> I want that picture in my scene... without copy and past... because the
> picture constantly changes.

Try to put this in the action for the specified frame:
(the idea behind the script is to create an empty movieClip, load a picture
into the clip and then place the clip on af specified location on the scene)

this.createEmptyMovieClip("placePicHere", 1);
this.placePicHere.loadMovie("http://www.cnn.com/2001/SHOWBIZ/books/02/26/mic
rosoft.books/story.gates.jpg");
setProperty(placePicHere, _x, "100");
setProperty(placePicHere, _y, "200");


OBS: I don't think it's possible to import gif files into Flash during
runtime... Sad but true..?!?! Correct me if I'm wrong..

/Mikkel




Jurgen (29-09-2002)
Kommentar
Fra : Jurgen


Dato : 29-09-02 14:06

tnx...

can i get this picture then in my library
oh btw why doens't it work for gif's

"Mikkel Schultz" <mikkel_NO_SPAM@cs.auc.dk> wrote in message
news:an58t9$sb1$1@sunsite.dk...
> "Jurgen" <jurgen.francois@pandora.be> wrote in message
> news:BMgl9.135722$8o4.20227@afrodite.telenet-ops.be...
> > Is it possible to use only an url to put a picture on your scene.
> > for example http://www.wetterspion.de/c03.gif
> > I want that picture in my scene... without copy and past... because the
> > picture constantly changes.
>
> Try to put this in the action for the specified frame:
> (the idea behind the script is to create an empty movieClip, load a
picture
> into the clip and then place the clip on af specified location on the
scene)
>
> this.createEmptyMovieClip("placePicHere", 1);
>
this.placePicHere.loadMovie("http://www.cnn.com/2001/SHOWBIZ/books/02/26/mic
> rosoft.books/story.gates.jpg");
> setProperty(placePicHere, _x, "100");
> setProperty(placePicHere, _y, "200");
>
>
> OBS: I don't think it's possible to import gif files into Flash during
> runtime... Sad but true..?!?! Correct me if I'm wrong..
>
> /Mikkel
>
>
>



Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408925
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste