Playing different flash movies with Javascript

I've been researching this on the web to no avail so I figured I would post.
I am developing a homepage similar to http://www.extractable.com/
I have several different areas of text, which when you hover over them, I would like a different flash movie to play.  I have created this using pictures (example of one piece of the code is below), but want to increase the flashyness with, well, flash
      if (obj.id =="txtHolderPrograms")
      document.getElementById("imgLargePicture").style.filter="blendTrans(duration=.5)";
      document.getElementById("imgLargePicture").filters.blendTrans(duration=.5).Apply();
      document.getElementById("imgLargePicture").src = "PMDO.png";
      document.getElementById("imgLargePicture").filters.blendTrans(duration=.5).Play();
      document.getElementById("imgLargePictureHREF").href = "XXXXXXXXXXXX";
I have a div where I want the different movies to play in.  What is the best way to get the different flash files?  Keep in mind that extractable site is doing just about exactly what I want to do.
Any help would be greatly appreciated!

I can't tell how you have things set up between the title of your posting and what you say to explain the problem.  What are you calling pages?  How do the pageselate to the 2 flash file in the doc you mention?

Similar Messages

  • DW CS4: How to play a Flash Movie in a NEW window after clicking a link or a button on a page?

    Hi, using Adobe Dreamweaver CS4, I would like to have a link or a button on a webpage that when clicked will play a Flash Movie in a new window.
    Using the 'Insert Panel' > Media: FLV I managed to insert the .flv file on the page, but the movie plays 'in line' instead of in a new window. So far I can't find any 'Properties' or settings to change this behaviour. E.g. like Target _blank for opening e.g. a .pdf in a new Window.
    > Please help.
    Thank you!

    Try using one of the popular javascript methods for this. I use shadowbox and you can find examples, info and a download here: http://www.shadowbox-js.com

  • Resize and hide a movie with JavaScript Fonctions

    Hello,
    I've read your topic about JavaScript Scripting Guide for QuickTime and I want to know if there is a solution for to rezise and to hide movie with JavaScript fonctions.
    Thank in advance

    It is very strange, most users who have focus on JS try to do everything with it, whereas lot of simple actions can easily be done with advanced/shared actions. I will only go to JS when it is not possible with advanced/shared actions.
    You are lucky, I was just restarting to work on an advanced training for next week when your question showed up.

  • Does anyone know if the Apple HDMI adaptor can play iTunes purchased movies with the latest IOS

    Does anyone know if the Apple HDMI adaptor can play iTunes purchased movies with the latest IOS. I only want to play my downloaded movie on a TV where there is no internet for Apple to unlock it and play via my AppleTV. The reviews I am reading are very mixed !

    Does anyone know if the Apple HDMI adaptor can play iTunes purchased movies with the latest IOS. I only want to play my downloaded movie on a TV where there is no internet for Apple to unlock it and play via my AppleTV. The reviews I am reading are very mixed !

  • How to play a mp4 movie with DTS audio?

    Hello,
    I try to play a mp4 movie with DTS audio on the z1 player but i dont get any sound...I also have downloaded the app mx player, but this also wont play the dts audio. Any suggestions?
    Thanks,
    Edy

    http://forum.xda-developers.com/showthread.php?t=1831111
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Flash movies with play button don't work

    I have the 'simple' problem that everytime I see a "play" button on a web page with flash content, clicking on it won't start the movie.  However, e.g. YouTube movies work fine. So it seems it's just movies that do not start automatically after clicking on a link.
    Also, checking the flash player e.g. at the Adobe site (http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html), tells me in a flash box I have the latest flash player installed, and I see the  flash movie 'flash player is running on your system' with the red ball rolling in it.
    I have the same problem for both google Chrome and for IE.
    I still have an old Dell Inspiron 6000 notebook with Win XP (latest updates) and ATI mobility Radeon X300 graphics chip, for which I also installed the latest available drivers.
    Experimenting with Flash Player settings was unsuccessful so far (e.g. no hardware acceleration, clearing all internet data in the Flash Player global settings tool).
    My desktop (also with Win XP and with the same browsers and Flash Players/Flash Plugins installed works fine...).
    I also know that it worked at an earlier time with this NB...
    I managed to run the movie with a Linux Live CD but that is not what I want to do every time...
    Any idea is highly appreciated.....

    Hi BalusC, i have saved the datamodel (a ArrayList) in SessionBean. It can't be null. The rows of table display correct. I don't understand, why functions buttons with ObjectArrayDataProvider, but not with ObjectListDataProvider?
    I found a page with same problem: http://forum.java.sun.com/thread.jspa?threadID=549675&tstart=30

  • Controlling captivate movie with JavaScript

    Hi,
    I am trying to use Flash methods to control a captivate movie
    using procedures documented in the support center article:
    http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03. html
    I am using the following code in a JavaScript:
    var movie = window.document.Captivate1;
    movie.StopPlay();
    Captivate1 is the object ID assigned by Captivate when it
    generates the HTML file. The movie does not respond to the command.
    I have created my own Flash movie and the StopPlay command
    works with it.
    Thanks in advance for any help anybody can provide!

    Captivate SWFs don't respond like other Flash movies. You can
    use similar techniques, but must use some specific, legacy "control
    variables" that are hanging around since the RoboDemo days:
    To pause a movie, use rdcmndPause = 1;
    A good place to find more details is here:
    http://www.raisingaimee.co.uk/index.php?option=com_content&task=view&id=27&Itemid=29

  • RAM usage by Adobe Flash Player spikes when playing online flash games with 3D graphics

    Hi. I have recently noticed a spike in RAM usage by my flash player plug-in whenever I play online flash games that use a 3D graphics engine (for example, Farmville 2 and Chefville by Zynga). Apart from the numerous times I receive an error message that the plug-in has failed, my RAM usage goes above 70% from the regular 40% with the plug-in consuming more than 1Gb. I have experienced the problem with the updated version of Adobe Flash Player on the newest releases of Firefox, Chrome and RockMelt. This spike in usage usually leads to a crash of my GPU (ATI Mobility Rabeon 4650 - 2Gb) My specs are as follows:
    OS - Windows 7 Home Premium 64-bit
    Processor - Core i5
    Speed - 2.27 GHz
    RAM - 4.00Gb (3.86 Gb usable)
    HDD - 500 Gb (465 Gb usable)
    I should also note that the required specifications for the latest version of Flash Player (11.7.700.202) requires processing speeds of 2.33Ghz. Could that be the issue? I am still to attempt downgrading of my Flash version to see if that could help reduce the RAM usage. Are there any other suggestions out there?

    Hmmm... Win 7 will run faster than Mavericks with 8Gb. Even my Vm of 7 runs faster once I get it past all the startup processes.
    It may or may not be a connectivity problen since Windows uses a different protocol, even though it's on the same hardware. Usually though, what affects OS X will affect BootCamp too.
    What browser?

  • BPM Workspace can't display the flash movie with IE

    Hi
    We have the following problem, we have a BPM project with a flash screen, when we execute the project in the workspace of BPM studio we can see the Flash, but when we published the project in BPM Enterprise , the workspace can't display the flash movie, it just display the panel without buttons and fields. This happen just in Internet Explorer, in other browsers we can see the flash.
    Any idea or solution ??
    Thanks in advance

    Actually, I got it working now...
    It seems that I have to have all the files in the same folder
    as the page it displays on!
    Historically I would dump a standard flash clip (not a
    converted movie with buttons) into the /images folder.
    I tested this intitally in a /video folder (just to keep all
    the files in one place) which would display the clip but not the
    buttons but as soon as I moved the files in the same directory as
    the page itself (which is the main index.html) it worked fine!
    So if anyone does read this is there a reason for that as I
    would like to keep everything in separate folders!
    Cheers, J

  • Masking entire flash movie with setMask() ?

    Hi,
    I have a long linear flash presentation with many scenes. Besides web playback my clients asked for a standalone projector file as well. Upon making it full screen with FS command during playback, initial off stage area elements are visible when they animate into the stage on widescreen monitors...for example text moving in from left. I don't want to mask every layer in over thirty something scenes...is there an easier way by applying a mask in actionscript to the movie itself? I know setMask() works for movieclips but is there a way to apply the setMask() method to the entire presentation in AS2 because the following did not seem to work:
    _root.setMask(stageMaskShapeMC); or _level0.setMask(stageMaskShapeMC); ?
    Thanks,
    Attila

    Ok, I have figured it out. The code works but in order to call the MC from the library as a mask it has to be used with the attachedMovie function first to make it appear on the stage. So the following works if the linkage is set up under the mask MC properties in the library:
    _level0.attachMovie("StageShapeMC", "stageMask", 30000 ,{_x:0, _y:0});
    _level0.setMask(stageMask);

  • How do I embed flash movie with detection

    Hi - I want to embed a movie below a banner image in a web
    page. I want to use flash detection so that the right player is
    used. I've got Flash professional 8 so it spits out an HTML page
    with the flash detection script written to it. In the body section
    of the HTML is a <script> tag with the document.write called
    if the detection is succesful. What I've tried to do is put my
    banner image in a div above the script tag. This seems to work in
    Firefox but gives me a tiny little stretched banner image and a
    tiny little stretched flash movie when I try the page in IE7.
    I've attached my HTML below. Why is this happening?

    I found the answer - I was using dynamic positioning of
    elements in a javacript file and was using
    document.documentElement.clientHeight to get the clientheight. IE7
    no longer recognises this and has started using the standards
    compliant document.body.clientHeight.

  • ITunes fails to play hand-made movies with AC-3 surround sound

    Recently I noticed that iTunes isn't any longer able to play my self-encoded movies with an AC-3 audio track. Playing the movie with the first audio track (AAC stereo) is no problem but switching to the second audio track (AC3) just causes iTunes to stop. This effect appears not while playing movies bought at the iTunes Store.
    Is this a bug or a "feature" introduced by Apple to force us to buy movies in the iTunes store instead of encoding our DVDs?

    I have the same problem. The OSX10.6.7 is the culprit. All was
    well before update, after, got the problem you described. As yet,
    there doesn't seem to be any solution.
    It appears that 10.6.7 fixed a problem of stalling and or studdering
    with iTunes purchased HD material, but it broke imported content
    ac-3/dolby material.

  • Safari not playing  local flash movie

    Hello All,
    Below is a piece of html code I am using to view an embeded flash movie. As you can see the file is located on my hard drive - this (the .swf file on the hard drive) is being used to simulate content that will eventually be placed on a CD. Also the code is an html page that is part of a Java program that uses "continue"servlets to advance to other pages.
    I know the Flash plugin (8) works because I can view flash files from other sites and I can also view my file by navigating to it through Safari using file open.
    The Problem is when I try get the flash movie to play by advancing from one web page to the one below that has the file embeded - Nothing happens.
    Any Help is very appreciated. Thank you
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>
    </title>
    </head>
    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=6,0,40,0"
    WIDTH="500" HEIGHT="400" id="doyouflash">
    <PARAM NAME=movie VALUE="file:///doyouflash.swf">
    <PARAM NAME=quality VALUE="high">
    <PARAM NAME=bgcolor VALUE="#FFFFFF">
    <embed src="file:///doyouflash.swf" quality=high bgcolor=#FFFFFF WIDTH="500" HEIGHT="400"
    NAME="doyouflash" TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    </body>
    </html>

    Glad that resolved your problem.
    Strange things tend to happen in Cyber world. I've seen, albeit infrequently, where my Safari Preferences were reset to default values while surfing. Haven't figured out why that happens, but I have my suspicions. Yet, because it's a rare event, it's not in the top 5 of things to do.
    Thanks for the Aloha from Big Island.

  • Is it possible to play a Flash movie in a 63" HDTV monitor

    Dear all,
    Hope my questions are make sense!
    Firstly, is it possible to sync the Flash movie on a 63" HDTV
    monitor from a PC notebook, but also keeping the quality of the
    graphic (I am afraid the graphic will look blury when display on a
    large monitor). Secondly, what size should I make for the Flash
    file? Lastly, because I am going to load a video externally, what
    is the best way to do it?
    Thank you for you help!

    The bigger (more pixels) flash movie goty, the higher quality
    you will get on HDTV.
    create a high resolusion flash movie, try to make it exactly
    what your HDTV support.

  • Creating a Simple Flash Movie With Poster Frame and Play/Pause Buttons

    Hi, It's been over a year since I played with Flash last, and
    I have completely forgotten everything I learned.
    I have a .flv file which I want to play on my website. It
    should display a poster frame when the page load, and not autoplay
    the movie. It should have the play button I made in photoshop
    sitting on top of the poster frame. When pressed, the movie should
    start playing and the button should be shifted for the pause button
    I made in PS (it should work just like the play/pause button in
    iTunes). When the movie has finished playing, it should jump back
    to the poster frame.
    I have tried using the flvplayback component and also played
    around with just embedding the flv directly and inserting a play
    and pause button from the common library, but I can't seem to get
    it to work. With the flvplayback component I have managed most of
    it apart from using my own buttons and getting the poster frame to
    work (which apparently has to be done with Action script).
    Any help appreciated.

    Which version of Flash/actionscript are you using? Since you
    are just starting out, you should read one of Adobe's tutorials on
    the matter. Either use Flash Help to find examples on how to use
    Flash or go to their website. Here is a great tutorial for someone
    just starting out. Make sure you read all three tutorials in "Using
    Flash for the first time".
    http://www.adobe.com/devnet/flash/getting_started.html

Maybe you are looking for

  • N8 music player problem

    When i open music player it always starts with the albums and i have to select songs all the time to show me all the songs. How do i do to make songs list open instead of albums everytime when i open the player?

  • Doubt in Integration Scenario Creation

    Hi All, My scenario is file to Idoc.Need to create a Integration Scenario. I have stored all the Interface and Mapping objects in teh same Software Component Version (say SWCA). So in Integration Scenario, What will be the Sender and Receiver Softwar

  • Rental movie from iPad to appletv

    Keep getting message "your apple tv is not authorized to play this content" when I try to play a movie via AirPlay from my ipad2 to apple tv.   First time it happened said it was a problem with the movie - happening again right now on a newly downloa

  • Unicode characters Autonumbering

    Hello all, I have FrameMaker 8 and I often work with Russian text. I didn't find how I can make up the cyrillic numbering display style. Like this: 1. 2. 3. 4.      а.      б.      в.      г. 5. 6. ... Thank you!

  • Error when installation of Hyperion 11 interactive reporting web client

    I can't install the web client through Hyperion workspace v11. My steps are: h3. Workspace --> Tool --> Install --> Interactive Reporting Web Client Then error message is shown: unexpected status 400 (no host matches server name XXXXXX.com) returned