Macromedia Flash MX 2004 - Inputing Images

GIDustin

Emperor
Joined
Nov 11, 2001
Messages
1,392
Location
Spearfish, SD
What i want done is this:

I want to make a flash file where there is an image on the frame somewhere, but that image is a file that is inputted into the flash file. The javascript I will be using will look like this:

Code:
function ChangeImage(NewImage){
window.document.tooltip.SetVariable("ImageURL", NewImage);
}

What I will be using it for is the MTG Mod. I will have a page listing all the units in the mod, and when you put your mouse over one, a tooltip will appear that has the name of the unit, the stats, the card image, and the unit image.

You can see a crude example of what I have so far at the link below:

http://www.civ3files.com/Flash/Flash-02.html

When you look at that page, you can see how the name of the unit is input into the flash via javascript. I want the image URL to be run the same way.

- GIDustin
 
No one? Hmmm. Guess I get to do it the old fasion HTML way.

- GIDustin
 
Top Bottom