|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hey Gang!
I am modifying ezhomepg.pl http://www.inet-images.com/manny. I want to put a .swf file in place of a generic logo. I can get the flash file to play ok by this syntax: print "<center><embed src=\"$logo\" alt=\"$logoalt\" border=0></center><p>\n"; where $logo = "$imageurl/Numbers.swf"; My problem is how do you specify embed src attributes in perl? Any ideas? Thanks guys. I am a total novice at this but paying my dues. |
|
#2
|
|||
|
|||
|
Not too sure if Perl can do includes, but if it can, publish the html for the swf, then cut and paste the <embed> and <param> tags to a text file and save this as *.inc. In perl, include this file into your html output inplace of the <img> tag. Works for me in .asp and .php, and is one of my standard tricks!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > embedding flash files into cgi generated html documents |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|