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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where Flash file goes?

Status
Not open for further replies.

bingzl

Programmer
Mar 5, 2004
6
US
Hello everyone,

I'm running into some problems when i tried to post my flash file and wondering if someone over here could give me some help.

I want to use a Perl-Cgi script (setting in cgi-bin) to load my flash file. First, I left the flash file in the htdocs directory and the Perl script couldn't find the flash file. So, I moved the flash file into the cgi-bin directory, then web server treated the flash file as an executable script and tried to run it. of course, that didn't work out either.
So, my question is that is the flash file can only be loaded by a html file??? or is there something that i did wrong?

print $query->br(), "\n",
$query->start_center(), "\n",
$query->start_object({ -classid => 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
-codebase => ' -width => '600',
-height => '500',
-id => 'mscavi_flash_regional_manager',
-align => 'middle' }), "\n";

print("<param name=\"allowScriptAccess\" value=\"sameDomain\">\n");
print("<param name=\"movie\" value=\"../htdocs/mscavi_flash_regional_manager.swf\">\n");
print("<param name=\"quality\" value=\"high\">\n");
print("<param name=\"bgcolor\" value=\"#ffffff\">\n");

print $query->embed({ -src => '../htdocs/mscavi_flash_regional_manager.swf',
-quality => 'high',
-border => '#FFFFFF',
-width => '600',
-height => '500',
-name => 'mscavi_flash_regional_manager',
-align => 'middle',
-allowScriptAccess => 'sameDomain',
-type => 'application/x-shockwave-flash',
-pluginspage => ' }), "\n",
$query->end_object(), "\n",
$query->end_center(), "\n";

Thank you,

Bing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top