Quetzal
06-24-2008, 03:48 PM
Hello
I have six scrollable images and when clicked the thumbnail becomes a larger image accompanied, in theory, by relevant text to describe it.
The problem I have is that the text which accompanies each larger image (there is no text for the thumbnails) is the same text.
If you can imagine visiting an art gallery only to find that each and every painting has the same description attached to it, whether a seascape, bowl of fruit, or self-portrait!
The text is not part of the image; rather the image slides in to a 'frame' which the text is part of.
It has been suggested that I use an xml file to list, for each image, the thumbnail, larger image and text, storing the three strings into an array or into 3 arrays. This would enable me to associate each thumb, larger image and text.
To be honest, that is far above my level, and I am unsure how my present Portfolio could be made to accommodate an xml file/array/dynamic text box. But I'm all ears!
This is the Action Script I have at the moment:
Movie Clip (1)
on (rollOver) { this.gotoAndPlay(2); } on (release) { if (_root.scrollN>-2) { _root.scrollN-- } }
Movie Clip (2)
for (i=2;i<7;i++) { duplicateMovieClip("1",i,this.getNextHighestDepth( )); this[i]._y=this[i-1]._y+121; this[i]._name=i; }
To give you a better idea, please visit this link, select Portfolio, and then one of the thumbnails.
http://stevehigham59.7host.com/9Test/9Test.html
Many thanks.
Steve
I have six scrollable images and when clicked the thumbnail becomes a larger image accompanied, in theory, by relevant text to describe it.
The problem I have is that the text which accompanies each larger image (there is no text for the thumbnails) is the same text.
If you can imagine visiting an art gallery only to find that each and every painting has the same description attached to it, whether a seascape, bowl of fruit, or self-portrait!
The text is not part of the image; rather the image slides in to a 'frame' which the text is part of.
It has been suggested that I use an xml file to list, for each image, the thumbnail, larger image and text, storing the three strings into an array or into 3 arrays. This would enable me to associate each thumb, larger image and text.
To be honest, that is far above my level, and I am unsure how my present Portfolio could be made to accommodate an xml file/array/dynamic text box. But I'm all ears!
This is the Action Script I have at the moment:
Movie Clip (1)
on (rollOver) { this.gotoAndPlay(2); } on (release) { if (_root.scrollN>-2) { _root.scrollN-- } }
Movie Clip (2)
for (i=2;i<7;i++) { duplicateMovieClip("1",i,this.getNextHighestDepth( )); this[i]._y=this[i-1]._y+121; this[i]._name=i; }
To give you a better idea, please visit this link, select Portfolio, and then one of the thumbnails.
http://stevehigham59.7host.com/9Test/9Test.html
Many thanks.
Steve