Hi,

first of all, thank you very much for this module and for your efforts.
I have a small problem, i have install swf tool and i am able to print my flash using the
print swf('intro.swf', array('height'=>163, 'width'=>555, 'align'=>middle));
so far so good.
I want this flash to be a link for a page. how can i do this is?
it must be real simple but i was not able to find it.

thank you very much

Comments

krunar’s picture

can someone plz give me a tip?
it can be this difficult but i can not find it out and i am stuck with this

justafish’s picture

which player are you using?

krunar’s picture

erm...not sure what you mean.
in swf tools settings i have select
on Embedding Settings --> Embed Flash Directly, don't use JavaScript replacement.
On generic players i havent select anything.
To be honest i had some hard time finding a HOW TO.
so actually i have only install the module and put the link
print swf('intro.swf', array('height'=>163, 'width'=>555, 'align'=>middle));
in a page
Thanks for helping

dman’s picture

If what you are wanting is for clicking inside a flash movie to go somewhere/do something, then that's the job of the swf file itself. If you think about it, flash movies/games/swf take control of all mouse actions once you are inside them. The browser (HTML with hrefs) no longer has any influence.

There's probably a nifty trick you can try with a transparent div overlay to capture the mouse (this is a clever idea) but you are better to just make your SWF have an action button when you create it.

To you have the rights to the SWF or not?

krunar’s picture

erm...not
i think i will contact the guy responcible for the flash to put a link inside.

thank you very much

krunar’s picture

Status: Active » Closed (fixed)