# Flash - Wordpress - Lightbox 2

**URL:** https://forum.kirupa.com/t/flash-wordpress-lightbox-2/306668
**Category:** flash
**Created:** [March 19, 2010, 3:07pm UTC](https://forum.kirupa.com/t/flash-wordpress-lightbox-2/306668 "2010-03-19T15:07:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fuggedaboutit](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@fuggedaboutit](https://forum.kirupa.com/u/fuggedaboutit)
#### Post date: [March 19, 2010, 3:07pm UTC](https://forum.kirupa.com/t/flash-wordpress-lightbox-2/306668/1 "2010-03-19T15:07:36Z")

</div>

Flash CS3  
AS2

Ok i’ve designed a strip of thumbnails in flash to go in a Wordpress site i’m working on, which when clicked need to open up images and videos using Lightbox 2. (Lightbox is already setup and working.)

The problem is that i’m importing the links for each of the thumbnail buttons from a .txt file which works like this:

Flash:

```auto
getURL(_root.link1, "_blank");

```

Text file:

```auto
link1=http://www.website.com/image1.jpg

```

This at present just opens the image in a new window, how can i make this work with Lightbox? I had look at this: [http://www.bram.us/projects/flashlightboxinjector](http://www.bram.us/projects/flashlightboxinjector) but not sure if it does what i need and can’t figure out how to work it anyway

Thanks in advance!
