swf file in post using fancy image

resolved (9 posts) (2 voices)

  1. jkdubb
    Member

    Is there a way to show a .swf file inside of a fancy image frame in a post?

    Posted 1 year ago #
  2. Elliott
    Support

    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 #
  3. jkdubb
    Member

    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 #
  4. Elliott
    Support

    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 #
  5. jkdubb
    Member

    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.

    http://jkdubb.com/?p=20

    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 #
  6. Elliott
    Support

    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 #
  7. jkdubb
    Member

    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 #
  8. Elliott
    Support

    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 #
  9. jkdubb
    Member

    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.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme