Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

PHP/Ming Generated Flash Movies for SL

Lucid Vindaloo
VR Tech
Join date: 25 Jun 2004
Posts: 18
01-02-2006 16:51
I've recently been running some tests in PHP generating Flash movies using the Ming extension. So far I've only put together some preliminary examples but it should be enough to get anyone else started who might be interested in working on something similar. Right now the program only displays a single line of text and serves only as an example that its a working system.

Here are link you would run from your SL Media Texture setting instead of a movie file:
Just add your own string after ?text=
http://www.vrtechnologies.org/php/swftext.php?text= Hello World ;)

And to have a look at the php code used to generate the movie:
[url=]http://www.vrtechnologies.org/php/swftext.txt[/url]

I plan to add more useful functions to this as soon as I have a chance to and would enjoy hearing anyone elses input as to how this may be put to use.
:rolleyes:
_____________________
Lucid Vindaloo
"The same thing we do everynight Pinky..." :P
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Discussion Thread
01-03-2006 06:43
/54/ee/80576/1.html
_____________________
i've got nothing. ;)
Lucid Vindaloo
VR Tech
Join date: 25 Jun 2004
Posts: 18
New Test Revision
01-03-2006 15:43
Changed the code some so now you can display text to 5 seperate lines.
Load this example URL into a browser or into your SL Media Texture Settings.

http://www.vr5.org/php/swftext.php?t1=Hello&t2=World&t3=Line Three&t4=Line Four&t5=Line Five

This is the main link,
http://www.vr5.org/php/swftext.php
Followed by a question mark and then the arguments,
t1 through t5 are all valid arguments in any combination seperated by an ampersand.

So this to is valid:
http://www.vr5.org/php/swftext.php?t1=Hello&t5=World
and would put "Hello" on line 1 and "World" on line 5


Ming is of course capable of much more than displaying text such as picture, sound and animation but I'm still working out the basics.

Please feel free to IM in-world or on the forums if you need any help or have any questions. :)
_____________________
Lucid Vindaloo
"The same thing we do everynight Pinky..." :P