colonelblue
asked on
Is there a way to force links from a swf to open into a lightbox window?
I have a swf file that has a list of links on them. What I would like to do is have some code in the html file that has the aforementioned swf and have its links open into a lightbox instead of just a new browser. Is this possible?
I'm hoping it's code that can be added to the html container itself and not the links in the flash file.
Thanks in advance.
I'm hoping it's code that can be added to the html container itself and not the links in the flash file.
Thanks in advance.
ASKER
Hello CyanBlue,
I suppose I should elaborate more.
I am using an app to convert a pdf into flash which works pretty well.
It's quite generic. ( AXPDF PDF TO SWF ).
It creates a swf file with the PDF converted and an html container.
However any link just opens into a "plain" new browser window.
Since I canot go in and manipulate the code in the swf file, I was wondering if there was a way to add code in the html that would force any link from that page ( including links from the swf ) to open into a lightbox instead of just a plain browser. Even change the size of the new window would be a step towards.
Thanks in advance.
I suppose I should elaborate more.
I am using an app to convert a pdf into flash which works pretty well.
It's quite generic. ( AXPDF PDF TO SWF ).
It creates a swf file with the PDF converted and an html container.
However any link just opens into a "plain" new browser window.
Since I canot go in and manipulate the code in the swf file, I was wondering if there was a way to add code in the html that would force any link from that page ( including links from the swf ) to open into a lightbox instead of just a plain browser. Even change the size of the new window would be a step towards.
Thanks in advance.
So, you are clicking on one of the links from the SWF generated from the PDF which you'd like to trap into the lightbox rather than the new window??? (AXPDF looks good but abit pricey...)
I'd say that is not possible since that link will be a HTTP call which opens up a new window which you cannot trap/convert to a JS call... That's my 2 cents...
CyanBlue
I'd say that is not possible since that link will be a HTTP call which opens up a new window which you cannot trap/convert to a JS call... That's my 2 cents...
CyanBlue
ASKER
That's correct. :)
Yes it's about $400 and works quite well. But I have seen others which is not as easy to use which can embed videos within the converted PDF. Perhaps AXPDF can do it too, I am not sure, I haven't tried to convert a PDF with a movie in it it yet.
Yes it's about $400 and works quite well. But I have seen others which is not as easy to use which can embed videos within the converted PDF. Perhaps AXPDF can do it too, I am not sure, I haven't tried to convert a PDF with a movie in it it yet.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'll check and see and post here. I will also try to add a video and see if that converts along as well.
Thank you CyanBlue.
Thank you CyanBlue.
Sounds good... ;)
CyanBlue
CyanBlue
ASKER
No such luck.
AXPDF works well but can't embed a video in it.
Some others might but not as simple to use as AXPDF.
Thanks again.
AXPDF works well but can't embed a video in it.
Some others might but not as simple to use as AXPDF.
Thanks again.
ASKER
You are always so nice CyanBlue. Thanks!
If you can, you can simply use ExternalInterface.call("js
CyanBlue