Helpful Information
 
 
Category: Flash
javascript in Flash

Hello! I was trying to use the lightbox tutorial on a flash buttons.
How can I write this script [<a href="images/image-1.jpg" rel="lightbox[roadtrip]">] in getURL("?????")

Thanks:confused:

Just like that :)

Be careful with relative URLs though, all files called for in that way MUST be in the same directory as the HTML that calls them NOT the swf..



on(release){
getURL("'/images/image-1.jpg' rel='lightbox[roadtrip]'");
}


Use absolute URLs when you can, they work a tad better :D

Just like that :)

Be careful with relative URLs though, all files called for in that way MUST be in the same directory as the HTML that calls them NOT the swf..



on(release){
getURL("'/images/image-1.jpg' rel='lightbox[roadtrip]'");
}


Use absolute URLs when you can, they work a tad better :D

Is there a way to use the above get url to specify a group as well. Per the lightbox info, you can group images with the [roadtrip] example.. how does that translate into the geturl for multiple images?

Hmmm. Don't know rightly, never used the lightbox. I will have a look at its coding and see if I can figure out anything.










privacy (GDPR)