SimplePortal

Customization => Blocks and Modifications => Block Requests => Topic started by: jb3398 on December 23, 2008, 05:55:05 PM

Title: Flash Page Block
Post by: jb3398 on December 23, 2008, 05:55:05 PM
A block that allows you to embedded code for web pages created in flash. In addition a feature that allows you to configure the dimensions of the box.
Title: Re: Flash Page Block
Post by: [SiNaN] on January 01, 2009, 09:45:51 AM
HTML block does not help you?
Title: Re: Flash Page Block
Post by: jb3398 on January 01, 2009, 11:59:11 AM
for html website it's perfect but when i plug in flash pages the flash content doesnt display correctly.
Title: Re: Flash Page Block
Post by: [SiNaN] on January 02, 2009, 12:06:53 PM
What code you use to embed flash in your block?
Title: Re: Flash Page Block
Post by: jb3398 on January 10, 2009, 09:16:33 AM
I just copy the source code and copy & paste

What code you use to embed flash in your block?
Title: Re: Flash Page Block
Post by: oops on January 21, 2009, 04:34:08 AM
I think I've been trying to do something similar...

I've been trying to get code for embedded flash games to work in a block but so far no go ...

the code can be found  HERE  (http://monster-truck-rally.freeonlinegames.com/) at free online games dot com
Title: Re: Flash Page Block
Post by: [SiNaN] on January 21, 2009, 07:17:41 AM
HTML codes will fit in the HTML block without any problems. Try your codes in a regular HTML page; if it works on that page, it should work in that block too.
Title: Re: Flash Page Block
Post by: oops on January 23, 2009, 09:18:40 PM
thanks Blue Dream

I gave it another go with some different code and it works great ... must have been something about the code i was trying to use.

One issue I have noticed is that not all the flash games have volume control.

It would be nice to have some sort of mute button avail for a block like this.

I did some searches for a way to have the blocks load collapsed by default with no success ...

With other blocks being used on the portal page, having it load with multiple flash games makes the page too long and the sounds are enough to drive someone mad..

is there a way to remedy this that I have yet to find?
Title: Re: Flash Page Block
Post by: [SiNaN] on February 02, 2009, 07:42:09 AM
For sound, that's flash; SP can't do anything for them.

For auto play;

If it's 'object' tag:

Code: [Select]
<param name="autoplay" value="false">
If it's 'embed' tag:

Code: [Select]
autoplay="false"
parameter would prevent it playing automatically.
Title: Re: Flash Page Block
Post by: sawz on February 13, 2009, 10:18:57 AM
i'm also trying to embed a flash banner with no joy.


<object width="550" height="68">
<param name="movie" value="/banner.swf">
<embed src="/banner.swf" width="550" height="68">
</embed>
</object>

am i even doing this right?
Title: Re: Flash Page Block
Post by: Smoky Blue on February 18, 2009, 04:53:48 AM
looks right, but if you are having problems check where you placed your image, make sure the path is right..

hmm i figured you knew this already saws..  :tasty:
Title: Re: Flash Page Block
Post by: sawz on February 18, 2009, 08:34:47 PM
hmm i figured you knew this already saws..  :tasty:
i thought so too.

it works fine on an html page and even a php page.
but not in an html block or a php block, i tried to include it.
Title: Re: Flash Page Block
Post by: Smoky Blue on February 18, 2009, 09:42:47 PM
might just be a kink somewhere  :0
SimplePortal 2.3.8 © 2008-2024, SimplePortal