@Brett.

All you need to do is to get the string of the URL and pass that in the
embedSWF() as the 1st param.

There is no need for mime type changes etc (especially if it is already
successfully serving static swf locations)

You could even alert out the value of the string before calling the
emebedSWF() method for a sanity check. Other than that, I would suggest you
get yourself a http debugger like Service Capture or Charles. You will be
able to see all the request/responses for the page (the Firefox extension
firebug (net panel) and fiddler (for IE) are some free options in terms of
viewing traffic too).

Can you supply a link to your page?


Aran



On Tue, May 4, 2010 at 3:13 PM, Brett Labistour <[email protected]> wrote:

> First off, thanks for your reply. The file is not stored in the database,
> only the file location is stored in the DB just as you described you have
> done so before. For some reason I cannot get this to work with the CS3
> stored behavior; though I am able to successfully create the dynamic like to
> the file location. Embedding the SWF into the page has been eluding me so I
> thought that SWFobject would solve my problem. I have had a lot of
> experience in creating dynamic pages with images and text copy but never had
> to load SWF dynamically before so this is new to me.
> I do believe the MIME type is correct as I can load a page with the SWF
> successfully when is is not dynamic, as soon as I select the source of the
> file as a database location the movie fails to load; frustrating!
>
> Any direction you can give me is much appreciated.
>
> Thanks again.
> Brett
>
> On May 3, 2010, at 3:00 PM, Sam Sherlock wrote:
>
> the file content of your swf is stored in a db?
>
> as a general maxim for weather such things work with swfobject is can you
> get it to work with plain object/embed?
> somethings are limitations of flash authoring/publishing not of swfobject
> primarily - swfobject makes publishing flash much easier.
>
> I have not done this myself (serving swf content from db; I have
> on occasion stored the file location of the swf in the db ) - if you view
> the put the location of you swf into a browser with flash enabled can you
> see the swf? are you setting the correct mime type and headers
>
> hth - S
>
>
>
>
> On 3 May 2010 21:53, Brett <[email protected]> wrote:
>
>> Hi All,
>> I have a page that needs to be able to load an SWF file which source
>> is defined by a database. I have never had to dynamically define an
>> SWF file and was hoping this group could point me in the right
>> direction.  I am using Dreamweaver CS3, the page in coded in .net. In
>> short, I am trying to use the SWFObject dynamically.
>> Thanks
>>
>> --
>> 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.
>
>
>
> Brett Labistour
> [email protected]
> 310.923.5372
>
>
>
>
>
>
>  --
> 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.

Reply via email to