Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
thahip #1
Referencing what is in a movieclip
Hi,
I am calling an image from a server to be displayed in flash using php, mySQL.
If the image is in part of a browsing gallery where there are eight images on
screen all in movieclips how do I get it so when a movieclip is clicked it
recognises what image it contains and then goes to another frame where it can
have just that one image?
thanks
Gavin
thahip Guest
-
Referencing web service
Hi I have just uploaded my first web service to a remote host. So I am very new to this. I am now trying to reference the ws by putting the ws... -
referencing scenes
Hi Can anyone tell me how to reference a scene from another scene If you just want the next scene its: nextScene(); but what if you want to target... -
scrollpane referencing
How do you reference a movie located inside a scrollpane. Since the movie in the scrollpane is from an external file, I am having difficulties... -
Picture referencing???
Hi All Can I embed a picture in a form and then reference that picture from other forms?? I do not want to have a seperate picture in the folder... -
a movieclip to control another movieclip???
Well, try to trace the _x coordinate or print it onto screen so you can see what it is. What is pc_move? If you want to move the clip, you must... -
BorosAdam #2
Re: Referencing what is in a movieclip
you may put a variable in each mc containing the name, id, or path to the
image. afterwards as the user clicks the mc you can get from that variable wich
image to load. i hope it's clear. :) something like:
// let's say you have an array called imageArray containing filesystem paths
to the images
for (i=0; i<imageArray.length; i++){
//here you create the mc for the image, position it and load the image into
it. let's say you are naming these mcs like: image1, image2, and so on and they
all are in a mc called thumbnails
current = thumbnails["image"+i]
current.imagePath = imageArray[i];
//now you have the path to the image in every mc, so you can refer to it if
the user clicks, like:
current.onRelease = function(){
imageToLoad = this.imagePath;
gotoAndPlay("bigsize");
}
}
BorosAdam Guest



Reply With Quote

