If the file can be accessed you can use SWFObject to display it (it returns
a swf file).
can you provide a real link to this example
but if you look at this example using uploadify the flash file has a suffix
of .swf and its the serverside script that has .ashx suffix (this suggests
you might be accessing the flash file incorrectly) note I am not suggesting
that you try this code - its not swfoject : - just an example that uses
flash with ashx (also bear in mind that I don't first had have much exp of
asp and microsoft stuff - I might be wrong)
$('#fileUpload').uploadify({
'uploader': '/_layouts/js/uploadify/uploadify.swf',
'script': '/_layouts/other/Upload.ashx',
'cancelImg': '/_layouts/js/uploadify/cancel.png',
'auto': true,
'onError': function(event, queueID, fileObj, errorObj) {
alert('error');
},
'onComplete': function(event, queueID, fileObj, response, data) {
alert('complete');
}
});
- S
On 12 April 2010 17:18, Eric R <[email protected]> wrote:
> Hello,
> I am trying to use the SWFObject (....) method and my system
> will automatically append an ashx. extension to the file. Further the
> system will not allow you to access the file unless you append the
> ashx extension. I have tried using SWFObject("http://www.mysite.com/
> files/flash.swf.ashx", ...) and have it create the flash object?
>
> --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.