Portfolio

i looked at this portfolio tutorial:
http://www.kirupa.com/web/xml/examples/portfolio.htm
as u can see if u press on thumb theres wil be a bigger image.

what i want is that when u press on the bigger picture u go to a url in a blank screen.

the big image is loaded into a movieclip called image_mc, so its not a textfield

here is the action script in flash:

[color=blue]var thumb_spacing = 40;[/color]
[color=blue]// load variables object to handle loading of text
var description_lv = new LoadVars();
description_lv.onData = function(raw_text){
description_txt.text = raw_text;
}[/color]
[color=blue]function GeneratePortfolio(portfolio_xml){
var portfolioPictures = portfolio_xml.firstChild.childNodes;
for (var i = 0; i < portfolioPictures.length; i++){
var currentPicture = portfolioPictures*;

var currentThumb_mc = menu_mc.createEmptyMovieClip(“thumbnail_mc”+i,i);
currentThumb_mc._x = i * thumb_spacing;

currentThumb_mc.createEmptyMovieClip(“thumb_container”,0);
currentThumb_mc.thumb_container.loadMovie(currentPicture.attributes.thumb);

currentThumb_mc.title = currentPicture.attributes.title;
currentThumb_mc.image = currentPicture.attributes.image;
currentThumb_mc.description = currentPicture.attributes.description;

currentThumb_mc.onRollOver = currentThumb_mc.onDragOver = function(){
info_txt.text = this.title;
}
currentThumb_mc.onRollOut = currentThumb_mc.onDragOut = function(){
info_txt.text = “”;
}
currentThumb_mc.onRelease = function(){
image_mc.loadMovie(this.image);
description_lv.load(this.description);
}
}
}[/color]
[color=blue]// xml object for xml content (defines sources for selections)
var portfolio_xml = new XML();
portfolio_xml.ignoreWhite = true;
portfolio_xml.onLoad = function(success){
if (success) GeneratePortfolio(this);
else trace(“Error loading XML file”); // no success? trace error (wont be seen on web)
}
// load
portfolio_xml.load(“dsign.xml”);

[/color]

[color=black]and here is the xml code:[/color]

[color=red]<?xml version=“1.0” ?>
<portfolio>
<picture title = “Tiny Disk”
thumb = “portfolio_images/thumbs/tinydisk.jpg”
description = “portfolio_text/tinydisk.txt”
image = “portfolio_images/tinydisk.jpg” />

<picture title = “Plug”
thumb = “portfolio_images/thumbs/plug.jpg”
description = “portfolio_text/plug.txt”
image = “portfolio_images/plug.jpg” />

<picture title = “Disk Collection”
thumb = “portfolio_images/thumbs/diskcollection.jpg”
description = “portfolio_text/diskcollection.txt”
image = “portfolio_images/diskcollection.jpg” />
</portfolio>[/color]

i hope everybody understand what i want…and i hope its possible to make
hope someone can help me :slight_smile:

greetings robbin-hoodz