Search…

X3 Photo Gallery Support Forums

Search…
 
Shadow3D
Topic Author
Posts: 16
Joined: 05 Jan 2008, 00:15

Calling an Image Directly from Inside Flash

05 Jan 2008, 00:36

How would Link to an image directly in Flash

Below is how it is done in HTML:
http://domain.com/gallery/?directimage= ... /image.jpg

How would i do the same thing in flash?

loadMovie (imagevue.swf .... )

can someone fill in the rest?

Thanks
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

05 Jan 2008, 01:45

Do you mean when loading imagevue into another flash file and at the same time have it point towards a specific image? If so, something like this:
Code
loadMovie("imagevue.swf?directimage=folder1/folder2/name.jpg", mc);
 
Shadow3D
Topic Author
Posts: 16
Joined: 05 Jan 2008, 00:15

07 Jan 2008, 16:19

mjau-mjau wrote:Do you mean when loading imagevue into another flash file and at the same time have it point towards a specific image? If so, something like this:
Code
loadMovie("imagevue.swf?directimage=folder1/folder2/name.jpg", mc);
Alright, how would i add: ?globalpath=gallery/ into that
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

07 Jan 2008, 23:17

Shadow3D wrote:Alright, how would i add: ?globalpath=gallery/ into that
Code
loadMovie("imagevue.swf?directimage=folder1/folder2/name.jpg&globalpath=gallery/", mc);
... by using the '&' symbol to add additional parameters
 
Shadow3D
Topic Author
Posts: 16
Joined: 05 Jan 2008, 00:15

15 Jan 2008, 16:24

mjau-mjau wrote:
Shadow3D wrote:Alright, how would i add: ?globalpath=gallery/ into that
Code
loadMovie("imagevue.swf?directimage=folder1/folder2/name.jpg&globalpath=gallery/", mc);
... by using the '&' symbol to add additional parameters
alright, in the testing phase on this site, everything was working fine using this. it loads in one of the defualt photos.

loadMovieNum (gallery/imagevue.swf?directimage=xxx&globalpath=gallery/, 7);

HTML Link - http://djhere.com/gallery/?directimage=xxx

but now when i actully put in the real image locations, it is not working, it load the gallery and then freezes before the image loads

loadMovieNum (gallery/imagevue.swf?directimage=Special%20Events/XMAS%20Moonstone%2012-13-2007/tn_022.jpg&globalpath=gallery/, 7);

HTML Link - http://djhere.com/gallery/?directimage= ... tn_022.jpg


The site i am trying to get this to work on is, http://www.DJHere.com

Any Ideals?

PHP 5 is installed on my servers (not sure if that makes a difference)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

15 Jan 2008, 22:52

What I don't understand, in your link you have: http://djhere.com/gallery/?directimage= ... tn_022.jpg which means you are looking for a picture here:
http://djhere.com/gallery/Special%20Eve ... tn_022.jpg which does not exist.

Furthermore, even if the image did exist, why are you linking to a file called "tn_022.jpg"? The "tn_" prefix is meant for thumbnails and is also meant to be excluded in the imagevue image list.
 
Shadow3D
Topic Author
Posts: 16
Joined: 05 Jan 2008, 00:15

15 Jan 2008, 23:48

mjau-mjau wrote:What I don't understand, in your link you have: http://djhere.com/gallery/?directimage= ... tn_022.jpg which means you are looking for a picture here:
http://djhere.com/gallery/Special%20Eve ... tn_022.jpg which does not exist.

Furthermore, even if the image did exist, why are you linking to a file called "tn_022.jpg"? The "tn_" prefix is meant for thumbnails and is also meant to be excluded in the imagevue image list.
Thanks for catching that, what happened was i made an ASP Script that pulls out the tn_ files from the gallery randomly and creates and XML file that the random image flash movieClip loads on the front page, i forgot to make it to take out the tn_ in the link.

I have a had a pretty bad headache the last few days, probally why i didn't notice it.

--------

Alright i removed the tn_ | and it is still not working for me

http://djhere.com/gallery/?directimage= ... do/102.JPG

This is the Direct HTML Link to the Picture on the server
http://djhere.com/gallery/content/Speci ... 07/102.JPG

still just freezes on me.

It freezes when loaded through flash also.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

16 Jan 2008, 11:08

In those two links you are giving me two different photo links.

The link to the photo you gave me: http://djhere.com/gallery/content/Speci ... 07/102.JPG To link to that photo through the gallery:
http://djhere.com/gallery/?directimage= ... 07/102.JPG
(It works check it out)

The gallery link you gave me http://djhere.com/gallery/?directimage= ... do/102.JPG does not work because it expects to look for a photo here: http://djhere.com/gallery/Special%20Eve ... do/102.JPG
Photo is not there
 
Shadow3D
Topic Author
Posts: 16
Joined: 05 Jan 2008, 00:15

16 Jan 2008, 14:18

mjau-mjau wrote:In those two links you are giving me two different photo links.

The link to the photo you gave me: http://djhere.com/gallery/content/Speci ... 07/102.JPG To link to that photo through the gallery:
http://djhere.com/gallery/?directimage= ... 07/102.JPG
(It works check it out)

The gallery link you gave me http://djhere.com/gallery/?directimage= ... do/102.JPG does not work because it expects to look for a photo here: http://djhere.com/gallery/Special%20Eve ... do/102.JPG
Photo is not there
that worked great load the gallery up pops an image up.

only one thing, the image it pops up in flash is the First Image in the folder and not the image that it is linking to.

which actully is fine with me, it take the user to the correct event that the picture is associated with.

but i am just currious if it is another error made on my part, or if that is just what happens

you can check for yourself on http://www.DJhere.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

16 Jan 2008, 22:07

Not sure why you say it's the first image. In the link I gave, it is image number 6 in the gallery - http://djhere.com/gallery/?directimage= ... 07/102.JPG

I tried to load your page, but it just stops at "loading.." - Perhaps it's my internet connection.
 
Shadow3D
Topic Author
Posts: 16
Joined: 05 Jan 2008, 00:15

17 Jan 2008, 17:31

mjau-mjau wrote:Not sure why you say it's the first image. In the link I gave, it is image number 6 in the gallery - http://djhere.com/gallery/?directimage= ... 07/102.JPG

I tried to load your page, but it just stops at "loading.." - Perhaps it's my internet connection.
yeah the link you gave me works Perfect.

i was talking about when i try to load the image in flash using loadMovie()
if you ever happen to get http://www.DJhere.com to load you will see what i am talking about (just click on one of the 6 random images at the bottom of the opening page).

Like i said though how it is, is great.
I was just curious to why it is doing this.

Tim

Thank You for all your assistance!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

18 Jan 2008, 00:00

hard to say ... it should be working. Perhaps you can repeat the exact code from your master flash?

Great party photos, looks like a fun place!