PDA

View Full Version : Using Flash Buttons


12-16-2000, 01:47 PM
Ok, I changed the templates to use my .swf file as a button.
but when im trying to press it, it is not replacing the varible: $forumid (No forum specified. If you followed a valid link, please notify the webmaster) , How can i change that?

this is the link i set for the button:
newthread.php?action=newthread&forumid=$forumid

[Edited by Scaramanga_gold on 12-16-2000 at 10:59 AM]

12-16-2000, 02:24 PM
yes, and no. the link is built into the .swf file, at compile time. you can use flash generator to create a swf file dynamically with the link embedded though, if you're really into using the flash button. check out http://www.flashkit.com

12-16-2000, 02:40 PM
Ok, anyway can someone tell me how to allow to use SWF code on signatures, all the people i asked so far didnt answerd (is it some kind of a programmers secret?) Ill be very thankful if you do.

12-16-2000, 04:58 PM
Ratorasniki,
I Downloaded Generator 2 for flash 5.
what should i do now (I have no clue)?
please?

12-16-2000, 08:52 PM
first, codes:

add these to your Custom BB Codes list

{flash} is replaced by (embed src=
{/flash} is replaced by (/embed)

then use {flash}http://www.site.com/yourflash.swf HIGHT=x WIDTH=x BGCOLOR=x {/flash}

note: ( and ) = < and >, while { and } = [ and ]

you can also use the other flash params but im not going to go into that.

as for the buttons, it'd be easier for you (and your server admin, since he'd have to install extensions last i checked) to export your flash animations to seperate animated gif files, and then use a simple RollOver javascript to do your buttons. it would end up looking basically the same, and you'd save yourself a huge headache playing with generator. still, though im pretty sure there are tutorials that come with it you could read if you were bent on using flash buttons.

12-17-2000, 02:31 AM
I used these commands on the TW forum and they work perfectly. :)

12-17-2000, 03:50 AM
thanks. I think i will not use flash buttons after all.
I knew how to use embed, the problem with it that the user can place: video, audio and others instead of the flash file.

[Edited by Scaramanga_gold on 12-17-2000 at 06:23 AM]