Welcome to Geeklog, Anonymous Wednesday, December 11 2024 @ 05:36 am EST
Geeklog Forums
How to add Flash to blocks!!
NoiselesioN
Rating: easy
Putting Flash in your blocks is easily achieved in both Normal and PHP Blocks! I know you\'re anxious to get into it, but please read these few paragraphs first.
The method you use to call a Flash animation into a block will depend on how comfortable you are with editing configuration files for your website. If you\'re not one to go messing around with code that could potentially \"break\" your site, then you\'ll want to use the method for Normal blocks.
Also, if you don\'t know how to add blocks at this point, you\'re jumping in ahead of yourself. A lot of frustration can be avoided if you take the time to get to know your Geeklog, so go do that now, and I\'ll wait here for you.
You may use the sample animation below for testing purposes only. If you\'d like to use it as part of your layout, that\'s cool, but please do it on your own server, thanks! Download if for you own use here. (1k zip file)
OK, one final note as you get started. There is no need to remove any characters from the code below! You CAN cut and paste it into your favorite text editor!! Now, go on...tweak it...mess with it...and let everyone have a look!
Use this method to call Flash into a PHP Block.
function phpblock_flash()
{
global $_CONF;
$retval .= \'
-------------------------
NOTE: Add the above code to your lib-custom.php file, located in /YourGeeklogDirectory/system/ and use phpblock_flash for the \"Block Function\" on your Block Editor page.
-------------------------
Use this method to call Flash into a NORMAL Block.
-------------------------
NOTE: The above code will go into the \"Block Content\" box on your Block Editor page. Be sure to set the \"Block Type\" to Normal on that same page.
-------------------------
As you can see, there are many parameters that allow you much control over the animation. There are more as well. For more information, look up activeX controls in any search engine...someone must have done a tutorial.
I\'ve tested all of the presented code myself, but a posting with this much text formatting makes it easy to make mistakes! Please let me know if you find any!
peace, noise
History doesn't repeat itself...that's our job.
Hamrick
There has to be a < at the beginning of the object classid
drshakagee
Yes I am mental.
NoiselesioN
sorry about the inconvenience.
Noise
History doesn't repeat itself...that's our job.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content