Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Links in Flash via PHP?

Status
Not open for further replies.

TigerGirl7

Programmer
Joined
Apr 8, 2003
Messages
152
Location
US
hello

a friend of mine wants to create a newsroom on his flash web site that i made for him. he is currently able to create html press releases via a php admin that someone else created for him.

we want to display the dates and titles of the press releases in the flash website. clicking on a title will launch an html popup containing the news story. how is it possible to control the dates and titles using the php admin and have it display in the flash?

I know how to create text in movie clips using an external txt file. I don't know how to make them links. The other problem is that titles would need to list in chronological order from most recent on down. I guess this would require something that pushes titles down as new ones are published.

Any suggestions? I'm not a programmer...

cheers,
;) jen
 
Just make the text file be an HTML chunk with the appropriate tags. Whenever a new message is added push off the oldest one.
In terms of PHP there's no difference to writing a text file. Read about the file functions.
The rest, how to make the text be HTML links, is a question for the HTML forum. But it's easy, just look at the basic anchor tag structure.
Code:
<a href="blah">Link text</a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top