Dynamic html links in flash

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
lynchpin
Forum Commoner
Posts: 60
Joined: Mon Jul 21, 2008 1:31 pm

Dynamic html links in flash

Post by lynchpin »

Hello guys,

I was just wondering if it is at all possible to place dynamic html links in a flash file. At the moment I have a flash file that runs an animation of scrolling images and slogans on the site. I now want to replace those slogans with dynamically generated vacancies.

Any ideas on how this can be achieved would be really appreciated.

Thanks.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Dynamic html links in flash

Post by josh »

No such thing as a flash table. Call getURL just like any other URL, use string concatenation to build the URLs
lynchpin
Forum Commoner
Posts: 60
Joined: Mon Jul 21, 2008 1:31 pm

Re: Dynamic html links in flash

Post by lynchpin »

I am not sure I understand what you mean jshpro2, I've never used the getURL function, I know this might sound stupid, but is it an action script command I can use in flash.

I know how to get the url's and cocatenate them with html and php, but displaying them in a flash movie is my headache.

Thanks for the reply though.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Dynamic html links in flash

Post by josh »

Yes you bind functions to events, so you could click an object on the stage and directly place on( click ) handlers, or you could use anonymous functions to bind to the click event, and then just call the getURL command which is the equivalent of clikcing an HTML link almost.
Post Reply