anyone help with embedding a flash banner?

I have a flash banner that Im trying to embed in a html box. 

just cant seem to get it to work though, am not sure what I need to change...!

 

Using 7.0.5

 

I have all the flash files in a 'bin' folder which I have put into 'administration' folder.

Reason i put it here is after I add the embed code, dolphin seems to automatically be adding the 'administration' directory in the embed path!?

 

So, in the bin folder is the following

 

folder - images

folder - xml

.DS_Store

index.html

preview.swf

swfobject.js

 

Am I supposed to be pointing at the index file or the preview file in the embed code?

 

These are 2 codes Ive been trying, neither is displaying correct for me!

 

<p>

<object width="950" height="250" data="/administration/bin/preview.swf" type="application/x-shockwave-flash">

<param name="data" value="/administration/bin/preview.swf" />

<param name="src" value="/administration/bin/preview.swf" />

</object>

</p>

 

 

 

and then

 

 

<p>

<object width="950" height="300" data="/administration/administration/bin/index.html" type="application/x-shockwave-flash">

<param name="data" value="administration/bin/index.html" />

<param name="src" value="/administration/administration/bin/index.html" />

</object>

</p>

 

notice the double 'administration' directory. This seems to be happening with Dolphin whenever I open the html editor and save it, it adds another!???

Quote · 27 May 2011

You can place that in a directory outside the administration folder and add the code to the HTML block. This will work. I think there is some problem with your files.

----
Quote · 27 May 2011

i have tried that. Problem is, as soon as a save the html code, Dolphin seems to be automatically adding the 'administration' path!??

Quote · 27 May 2011

Im still having problems with this. 

Anyone help with some embed code for it???

 

Best I can get is a blank box embeded.

The 'administration' path is still being added automatically by Dolphin...

 

I am able to view the index.html on its own, which shows me how the banner should look, but cant get it to view in html block.

Should I be pointing to the index.html, or the preview.swf to display???

 

Any help greatly appreciated!

Quote · 15 Jun 2011

I'd recommend injecting your embed code via phpmyadmin instead of through the page builder.

 

Search the sys_page_compose table for your created html box and add it there. This will prevent the editor from "fixing" or altering what you're trying to to in any way

Skype: shawn.nelson
Quote · 15 Jun 2011

thanks. Still not sure do I point the embed code towards the index.html or preview.swf file?!

Quote · 15 Jun 2011

 

thanks. Still not sure do I point the embed code towards the index.html or preview.swf file?!

 Try looking at this too..

http://www.boonex.com/forums/topic/Replace-site-logo-with-Flash-banner-.htm

Shnelson is correct on this look here.. http://www.boonex.com/unity/forums/#topic/Page-Builder-Big-Bug.htm

and this too http://www.boonex.com/forums/topic/iframe-not-work-in-new-page.htm

http://www.boonex.com/forums/?action=goto&my_threads=1#topic/website-stripping-from-HTML-block.htm

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Jun 2011

Here is what is working for me, I injected this into my HTML block through the builder using the HTML icon (which is hit or miss most of the time). Avoid using built in embed option so it doesn't throw in a relative path to your admin dir,  I would highly recommend doing it through phpmyadmin like I mentioned previously so your code is not altered:

<p>
<object id="preview" width="700" height="300" data="/promo/preview.swf" type="application/x-shockwave-flash">
<param name="data" value="/promo/preview.swf" />
<param name="name" value="preview" />
<param name="align" value="middle" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<param name="wmode" value="opaque" />
<param name="src" value="/promo/preview.swf" />
</object>
</p>

 

In my situation, my preview.swf file exists within www.sitename.com/promo/preview.swf

Replace /promo/preview.swf with the location of your flash object. I'd also recommend pulling it out of your administration directory, you don't want your general users going into that directory for security reasons.

Skype: shawn.nelson
Quote · 15 Jun 2011

Use the embed code generator -

SWF-embed-code-generator.swf · 55K · 108 downloads
Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 15 Jun 2011

tried the adjusted code from shnelson but get same results, just black box. 

Not sure how to use the embed code generator...

Quote · 15 Jun 2011

 

tried the adjusted code from shnelson but get same results, just black box. 

Not sure how to use the embed code generator...

 

Can you paste back the code, exactly as you have it in the design box? I'd like to take a look again..

 

Also, if you could provide the embed code they use in the index.html file (maybe just paste everything they have within the html <body> tags) - maybe we're missing an important parameter (ie xml location might be called out)?

Skype: shawn.nelson
Quote · 15 Jun 2011

this is a flash banner in an HTML block on a page..

inserted via the database, any other way and your code is changed..

http://www.duvallocals.info/page/flashbanners

clicking on the banner takes you to whatever page you want.. this one is to home page..

this is the code inserted into the database

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="468" height="60">

<param name="movie" value="flash/flashvortex.swf" />

<param name="quality" value="best" />

<param name="menu" value="true" />

<param name="allowScriptAccess" value="sameDomain" />

<embed src="flash/flashvortex.swf" quality="best" menu="true" width="468" height="60" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="sameDomain">

</embed>

</object>

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Jun 2011

Think going via database will have to be the way forward.

Had a quick look but not sure exactly what I need to do.

Can anyone give a walk through?

 

Thanks - Tim

Quote · 15 Jun 2011

 

Think going via database will have to be the way forward.

Had a quick look but not sure exactly what I need to do.

Can anyone give a walk through?

 

Thanks - Tim

 If you don't want to add extra modules and or manually change the code.

  1. Create HTML block on desired page for flash banner or iframe
  2. Insert your page code (and I suggest when creating this block you insert your Language "key" i.e. "_flash_banner, _iframe")
  3. Open your phpmyadmin from you cPanel
  4. Open your Dolphin MySQL database
  5. Open and edit sys_page_compose
  6. navigate to the last page of list with the ">>" button
  7. find the caption  "_flash_banner, _iframe" listed for the index page or the page you inserted the games or iframe code to, should be last on your list..
  8. re paste the flash code, iframes code into the "Content" field
  9. and click "Go"
  10. clean your cache

Dolphin strips out important code when inserting scripts..

this is taken from http://www.boonex.com/unity/forums/?action=goto&my_threads=1#topic/How-Do-I-Add-Facebook-Fans-Box--2010-12-14.htm

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Jun 2011

Bah! Newt beat me too it, but I'll post it anyways. Here's a link to a vid tutorial:

http://d7tuts.com/m/articles/view/Using-phpMyAdmin-to-Modify-Page-Blocks

Skype: shawn.nelson
Quote · 15 Jun 2011

thanks everyone, will give it a go and post results!

Quote · 16 Jun 2011

 

Bah! Newt beat me too it, but I'll post it anyways. Here's a link to a vid tutorial:

http://d7tuts.com/m/articles/view/Using-phpMyAdmin-to-Modify-Page-Blocks

 Excellent tut!!

Newbies, this is a great video and explanation.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 16 Jun 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.