Is there a way to show a .swf file inside of a fancy image frame in a post?
swf file in post using fancy image
(9 posts)
(2 voices)
-
Posted 1 year ago #
-
Hello jkdubb,
Are you wanting to put a frame around your swf file or are you wanting to display your swf inside prettyPhoto when you click on one of your fancy images?
We have some frame shortcodes that you might be interested in, http://themes.mysitemyway.com/awake/shortcodes/style-shortcodes/
And you can find the syntax for opening them up in prettyPhoto here, http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
Posted 1 year ago # -
I just want to put a frame around the swf file. I tried pasting a link into a fancy box shortcode but that just puts a box around the text. If there is a way to embed the swf and still get the box around it that would be great.
Posted 1 year ago # -
You can try adding "framed" to it's class. If possible then send us a link to your page so we can take a closer look.
Posted 1 year ago # -
I'm not sure what you mean by add "framed" to it's class.
here is a link to the page where I have the flash file.
I am currently using Kimili Flash Embed to embed the swf into the post. I would just really like it if I could get the fancy box frame around it if possible.
Posted 1 year ago # -
If your embedding the object yourself then you can try surrounding it with this,
<div class = 'framed'> your object code goes here </div>If the plugin is inserting the object directly then it would be best to contact the plugin author.
Posted 1 year ago # -
It's getting closer. :) It now has a fancy box around it. The box is the full width of the screen though. Is there any way to set the size so it is just around the swf.
current code:
[fancy_box]
<div class="framed">[kml_flashembed publishmethod="static" fversion="9.0.0" movie="http://s3.envato.com/files/1623848/preview.swf" width="590" height="350" targetclass="flashmovie"]<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
[/kml_flashembed]
</div>
[/fancy_box]Thanks again. You guys ares great.
Posted 1 year ago # -
Try setting a style on your div like so,
<div class = 'framed' width = '300px; position: relative; margin-left: 100px;'> </div>And then play around with the values until it looks right for you jkdubb. The plugin shortcode is inserting a paragraph with a text align center so that is why it is taking up the whole area.
Posted 1 year ago # -
No luck. Thanks for the help. Maybe a future feature could be a dedicated .swf shortcode that would put a frame around the .swf like the other image options.
Thanks again
Posted 1 year ago #
Reply
You must log in to post.













