View Full Version : Lightbox from a Flash -- 'tis possible?
qngotron
12-06-2008, 11:13 PM
Hi, I was wondering if it were possible to have the Lightbox emerge from a link in flash movie. So far I am able to do '_blank' new windows for image links in my Flash movie (which is on a website), but it would be way more awesome if it could be Lightboxed instead! Just so you know, I tried adding the rel="lightbox" into the script, but that doesn't do anything.
Please let me know how, if it's possible.
Thanks,
qngotron
Medyman
12-07-2008, 01:31 AM
Yes, it's possible. Search the Flash forum and you'll see numerous threads of people asking the same question that should have been solved (I know I've helped tens of people with this myself).
I have a demo of it here (complete with .fla source) at www.visualbinary.net/files/tutorials/lightbox/flash/as2/. Note that I use Lightbox++ (http://www.codefidelity.com/blog/?page_id=7) in that demo.
mehmetalibende
11-26-2009, 10:44 PM
Yes, it's possible. Search the Flash forum and you'll see numerous threads of people asking the same question that should have been solved (I know I've helped tens of people with this myself).
I have a demo of it here (complete with .fla source) at www.visualbinary.net/files/tutorials/lightbox/flash/as2/. Note that I use Lightbox++ (http://www.codefidelity.com/blog/?page_id=7) in that demo.
medyman,
I just read your thread and decided to ask you a question to try my chance. Your demo looks like what I am looking for. The only difference is that I am getting the thumbnails info from an xml file. Do you know how can I use lightbox? I mean I would like to put something into the xml file to call lightbox bout don't know how. Below is a quote from my xml file. Where will I put the rel tag? Thanks in advance.
<thumbnails>
<thumbnail>
<filename>1.jpg</filename>
<title>Item No. 1 (192 color art)</title>
<description>The Color Art - simple and effective flash website with animated colorful backgrounds</description>
<url> images/1.jpg</url>
<target>_self</target>
<rel>lightbox[roadtrip]</rel>
</thumbnail>
<thumbnail>
<filename>2.jpg</filename>
<title>Item No. 2 (191 mini orange)</title>
<description>Mini Orange is a simple flash template with beautiful photo transition effects, AS3</description>
<url>images/2.jpg</url>
<target>_parent</target>
</thumbnail>
</thumbnails>
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.