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.
colonelblueAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CyanBlueCommented:
Let me ask you a question...  Can you open up a link(image, I guess) to the lightbox you are using with the JavaScript???  

If you can, you can simply use ExternalInterface.call("jsFunc", "arg"); from Flash to invoke that JS function which is all you need to do what you need to do...

CyanBlue
0
colonelblueAuthor Commented:
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.
0
CyanBlueCommented:
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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

colonelblueAuthor Commented:
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.
0
CyanBlueCommented:
See if AXPDF has some sort of functionality to change the link to wrap into a custom JS call then you can use it to invoke the JS after modifying it...  Otherwise, I don't think you can...

CyanBlue
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
colonelblueAuthor Commented:
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.
0
CyanBlueCommented:
Sounds good...  ;)

CyanBlue
0
colonelblueAuthor Commented:
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.
0
colonelblueAuthor Commented:
You are always so nice CyanBlue. Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.