PDA

View Full Version : Loading Jpgs via URL into a Flash Dynamically?



Owning Sindel
May 24th, 2002, 07:06 PM
I would like to have a flash movie load a picture as the background image of a symbol or otherwise be viewable. The picture would be referenced via a URL on another site. Is this possible?

Example. Anyone who runs the movie would see a text field. putting in a URL ending in '.jpg' would make another object show the pic from that URL.

I've been desperately searching for the answer.

psyferpsyfer@yahoo.com

I am not Jubba
May 24th, 2002, 07:13 PM
if you are using Flash 5, then no. Yo uwould have to import that JPG into Flash as a seperat SWF and use LoadMovie...

If you are using Flash MX I beleive you can use loadMovie as the JPG file...

Owning Sindel
May 24th, 2002, 09:29 PM
I am using Flash MX. You're saying I can load a jpg as a movie? DO you have a resource I could look at to pull this off?

I am not Jubba
May 25th, 2002, 02:04 AM
http://pub40.ezboard.com/fkirupafrm8.showMessage?topicID=3332.topic

ilyaslamasse
May 25th, 2002, 08:57 AM
I love you guys... A quoi ça sert que je me décarcasse ?
www.kirupa.com/developer/...Flash%20MX (http://www.kirupa.com/developer/mx/loading.asp#Loading%20movies%20into%20target:%20Fl ash%20MX)

pom 0]

I am not Jubba
May 25th, 2002, 09:21 AM
Dammit Pom speak english! I forgot you had that tutorial. Good boi, keep them coming! :p

ilyaslamasse
May 25th, 2002, 10:44 AM
D'you have MX yet ??

pom 0]

Owning Sindel
May 25th, 2002, 10:57 AM
This is a great tutorial. The only step seemingly missing is how to specify a URL instead of a filename. This URL will be in a different domain. This will allow a user to dynamically load a picture of herself when pulling up her profile.

www.roushi.net
login
username: psyferpsyfer@yahoo.com
password: test

...to see what I'm talking about. Each company and user has a picture specified in a field as a URL. This URL would pull up the picture in the picture field.

upuaut8
May 30th, 2002, 12:03 AM
Any new thoughts on this question? I'm interested in the ability for MX to dynamicaly load things.