New Flash/Spoiler/Tab BBCode Tags

Posted by DesertFox on Aug. 29, 2010, 3:19 p.m.

[[blk]flash width=400 height=400]http://64digits.com/users/DesertFox/boom.swf[[blk]/flash]

does this

[flash width=400 height=400]http://64digits.com/users/DesertFox/boom.swf[/flash]

Click and hold to build power, release to make it explode, space to restore image.

Also spoiler alert!

Spoiler tags!

[[blk]hide=TITLE HERE]SOMETHING TO HIDE[[blk]/hide]

Also, you can use 'show' instead of 'hide' to have it open by default!

Any other tags you guys want/need?

Edit: Also added a [[blk]tab] tab. Useful in layouts.

Like for this:

for loop()
{
[tab]more code;
}

Comments

Mordi 14 years, 3 months ago

That's pretty neat!

firestormx 14 years, 3 months ago

That's cool, but flash is kind of scary.

PY 14 years, 3 months ago

s/security risk/would take effort to implement/

DesertFox 14 years, 3 months ago

Flash is more of a security risk in the same way that user javascript is - however, since we are a game-dev site and flash is a highly popular web-game item, I thought I'd implement the tags.

If need be, we can add a "flashtag permission".

mazimadu 14 years, 3 months ago

Testing.

[flash width=400 height=400]http://64digits.com/users/mazimadu/artofblam.swf[/flash]

Mordi 14 years, 3 months ago

Cyrus reminds us all why there wasn't a flash-tag there before.

Ferret 14 years, 3 months ago

That is freaking awesome. However I think that we should restrict it's usage a bit. Maybe only in blog content or game submissions? No comments means no spamming or annoying loops.

DesertFox 14 years, 3 months ago

@Ferret - blog/game only actually sounds effective

Ferret 14 years, 3 months ago

:D

sirxemic 14 years, 3 months ago

Actually we need a show/hide button before flash elements or something.