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
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