dreamweaver swap image behavior for flash flv files

Posted on 2009-02-16
Last Modified: 2012-05-06
Dreamweaver has a nice swap image feature for images (jpg, png, etc)

It allows clicking on thumbnails of an image so that the full size of the image appears in an placeholder on the page.   Using onmousedown the image in the placeholder is replaced with the full size image represented by the thumbnail.

i'd like to do the same with flash FLV files...   clicking on a TN image of an FLV brings up that TN's associated FLV file for playing.

When you use DW swap image behavior it does not see FLV (CSS ID'd) files ...  it sees only IMG Id'd files.

It's as if there should be a swap FLV file behavior.

Does DW CS4 have this capability without having to write Javascript code?
Question by:bborner
    LVL 9

    Expert Comment

    Currently, it's not possible to swap a video for an image, and vice versa...

    Look for some other interactive style that's easy to implement and nice to look at.

    Like, some changes in your Flash player; like videos embedded from Youtube in external sites do not play automatically, but show a large PLAY button in the middle.

    Similar way, you can show some thumbnail, text, or simple animation on the first screen of Flash,
    and if someone clicks that, let your player start loading/playing that FLV.


    Author Comment

    Thanks Kronie,

    However in one of the video tutorials they show just that arrangement.   There are thumbs on the right sidebar of videos and there is a larger placeholder in the maincontent ...  suggesting that you click on the thumb to get the video to play in the placeholder ....

    it is almost identical to their images swap tutorial (images of surfers and ocean etc) ...  however this one has videos.   problem is the screens shown are not part of a tutorial to show how to use it but part of a tutorial that discusses another topic.

    LVL 9

    Accepted Solution

    That must have been achieved through some different approach rather than swap-image style.

    These thumbnails on the site actually serves as links, and when clicked, they show/loads that specific video in placeholder area.

    Using some iframes, or ajax will help you create that thing.
    Like while viewing a video on YouTube, you see related videos as thumbnails on the left side,
    and if you click any, it starts playing.

    But I guess replacing an image with a Video on mouse-over is something we haven't heard much.


    Expert Comment

    @ bborner,

    I subcrbe to, do you know the tutorials name that teaches swaping videos


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now