Re: [PHP] Help with inserting Flash into MySQL database
Hi Mitja, If I understand this right, the SWF file has to be a SWF file. To make it work like you want, you need a script that - writes the SWF from the db to a SWF file on the server, - returns HTML with object/embed tags and the path to the SWF file. Timo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help with inserting Flash into MySQL database
I don't thin I understand that... :) Can you give me an example. Or if I understand correctly, I have to use "interface", a .swf file (caled with tags) and this .swf file have to get information (data form database) throught .php file...? -- Lp, Mitja "Mike Krisher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Right, but you need to insert your code block in a way that it is > executed and then returns the name of a swf to load. Right now you are > loading the client side object/embed tags that then calls another PHP > file that returns the name or value of your SWF. You need to combine > the two files and return the value of the SWF on the first parse so > the filepath is there once the object/embed tags are rendered on the > client side. > > I hope that makes sense, > -- Mike > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help with inserting Flash into MySQL database
Right, but you need to insert your code block in a way that it is executed and then returns the name of a swf to load. Right now you are loading the client side object/embed tags that then calls another PHP file that returns the name or value of your SWF. You need to combine the two files and return the value of the SWF on the first parse so the filepath is there once the object/embed tags are rendered on the client side. I hope that makes sense, -- Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help with inserting Flash into MySQL database
Yes, but I'm reading .swf file from database That is why a used: header("Content-Disposition: inline; filename=" . $arraySomething['something_name'] ); You see, I thought that filename = ... told the name of the file... But I don't now if it does ... probably not ... but how can I solve this. I cant give .swf extension, becaose I'm reading the content of file from database... -- Regards, Mitja "Mike Krisher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Your embed source and object movie value needs to be a file path to a > swf. Your values are currently set to something.php, needs to be > something.swf. > > hope that helps, > -- Mike > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help with inserting Flash into MySQL database
No, it doesn't work... If I right-click on movie a contex menu opens, and there is an option "Movie not loaded" (which is disabled)... I think there is something wrong with printing .swf out of the database, but I cant figure out what... -- Regards, Mitja - "Paul Colcutt" <[EMAIL PROTECTED]> wrote in message news:a05111b03b99ac67c5fb7@[195.82.121.80]... > Hi Mitja, > > You need to specify the dimensions with the 'width' and 'height' attributes > of the tag and tell the movie to start playing with: > > > For NS put WIDTH="xxx" HEIGHT="xxx" PLAY="true" in the tag. > > HTH > > Paul > > At 7:54 pm +0200 3/9/02, Mitja Stepan wrote: > > > >I know that I must use HTML like this: > >-- > > >codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c a > >b#version=6,0,29,0" align="middle"> > > > > > > >pluginspage="http://www.macromedia.com/go/getflashplayer"; align="middle" > >type="application/x-shockwave-flash"> > > > >-- > > > >It prints out Flash but the size is not correct, and it si blank (white)... > >Anyone knows where the problem could be ? > > > >Thanks > > > >-- > >Regards, > >Mitja > > > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > === > Paul Colcutt > http://www.paulcolcutt.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help with inserting Flash into MySQL database
Your embed source and object movie value needs to be a file path to a swf. Your values are currently set to something.php, needs to be something.swf. hope that helps, -- Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help with inserting Flash into MySQL database
Hi Mitja, You need to specify the dimensions with the 'width' and 'height' attributes of the tag and tell the movie to start playing with: For NS put WIDTH="xxx" HEIGHT="xxx" PLAY="true" in the tag. HTH Paul At 7:54 pm +0200 3/9/02, Mitja Stepan wrote: > >I know that I must use HTML like this: >-- >codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca >b#version=6,0,29,0" align="middle"> > > > pluginspage="http://www.macromedia.com/go/getflashplayer"; align="middle" >type="application/x-shockwave-flash"> > >-- > >It prints out Flash but the size is not correct, and it si blank (white)... >Anyone knows where the problem could be ? > >Thanks > >-- >Regards, >Mitja > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- === Paul Colcutt http://www.paulcolcutt.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php