PDA

View Full Version : How to create vB Code FLASH????



kvk007
Mon 11th Mar '02, 12:17am
Hi all! I want to make people post FLASH on my site, but it's nto working the vb code i made!!

vB Code tag: flash
vB Code replacement: <embed width="{option}", height="{option}" src="{param}">

vB Code example: http://omanserv.com/flash/sig/OS.swf

Use {option} ?: Yes

Any help!?

DirectPixel
Mon 11th Mar '02, 12:32am
I believe it's {param} ?

...I suck at this stuff.:D

kvk007
Mon 11th Mar '02, 12:37am
it doesn't work :(

Flogge
Mon 11th Mar '02, 8:43am
perhaps this works:


Originally posted by adrianmak
vB Code tag
----------------
swf


vB Code replacement
----------------------------
<embed src={option} width=400 height=300 type=application/x-shockwave-flash></embed>


vB Code example
----------------------



Use {option} ?
---------------------
yes

quotet from this thread:
http://www.vbulletin.com/forum/showthread.php?s=&threadid=24595

kvk007
Mon 11th Mar '02, 10:17am
Thanks Flogge! It worked, BUT one problem. People now will have ONLY one standard of height and width for flash.. How can i let them choose thier width and hieght??

ja5es
Mon 11th Mar '02, 12:43pm
Well, despite my lack of Flash experience, I think you should just get rid of the width=400 height=300 part of the actual HTML replacement thingy... :)

DirectPixel
Mon 11th Mar '02, 1:11pm
...does the custom BB code support more than 2 variables? If it does, then you can have the user specify the width and height, with maybe some error checking so it doesn't become too big.:p

PsykoTaz
Mon 11th Mar '02, 5:00pm
<embed src={option} type=application/x-shockwave-flash {param}></embed>

example : width="300" height="250"

and voila !

<embed src={option} type=application/x-shockwave-flash {param}></embed>

you can also specify
quality="high" or low etc...

and you can add
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"

just before the {param} to let IE ask for flash plugin if not present

DirectPixel
Mon 11th Mar '02, 5:01pm
WoW!:)

Good job!