Detail Region as TOC for captivate (.swf) files

Hi All,
Not sure how to explain this, but i will do my best. I didnt like the TOC/Aggregator for CP 5. Thinking maybe to use Spry data using the Detail Region sample. I thought it would be simple to just combine the Detail Region code with the publsihed .swf and .htm code. But not sure what im doing wrong or if this is even possible to do. I was experimenting just using the exact same code and xml for Detail Region sample and modifying it a bit. See below...
Appreciate the Help! Thank you.
XML:
<?xml version="1.0" encoding="iso-8859-1"?>
<products>
     <product>
          <name>Adobe Photoshop CS2</name>
          <category>Digital Imaging</category>
          <boximage>images/photoshop.gif</boximage>
          <bkgimage>M_1.swf</bkgimage>
          <descheader>The professional standard in desktop digital imaging</descheader>
          <desc>Adobe&#174; Photoshop&#174; CS2 software, the professional image-editing standard and leader of the Photoshop digital imaging line, delivers more of what you crave. Groundbreaking creative tools help you achieve extraordinary results. Unprecedented adaptability lets you custom-fit Photoshop to the way you work. And with more efficient editing, processing, and file handling, there's no slowing you down.</desc>
          <features></features>
     </product>
     <product>
          <name>Adobe Illustrator CS2</name>
          <category>Print Publishing</category>
          <boximage>images/illustrator.gif</boximage>
          <bkgimage>M_2.swf</bkgimage>
          <descheader>Vector graphics reinvented</descheader>
          <desc>Adobe&#174; Illustrator&#174; CS2 software gives you new creative freedom that lets you realize your ideas quickly and powerfully. Instantly convert bitmaps to vector artwork and paint more intuitively. Save time with intelligent palettes and optimized workspaces. Plus, tight integration with other software allows you to produce extraordinary graphics for print, video, the web, and mobile devices.</desc>
          <features></features>
     </product>
     <product>
          <name>Adobe InDesign CS2</name>
          <category>Print Publishing</category>
          <boximage>images/indesign.gif</boximage>
          <bkgimage>M_3.swf</bkgimage>
          <descheader>A new standard in professional layout and design</descheader>
          <desc>Join the growing ranks of creative professionals discovering new levels of creative freedom and productivity using Adobe&#174; InDesign&#174; CS2 software. Tightly integrated with the Adobe applications you use most, InDesign CS2 delivers faster production workflows and a more fluid creative environment for designing professional layouts with sophisticated graphics and typography.</desc>
          <features></features>
     </product>
     <product>
          <name>Adobe GoLive CS2</name>
          <category>Web Publishing</category>
          <boximage>images/golive.gif</boximage>
          <bkgimage>M_4_1.swf</bkgimage>
          <descheader>Professional, standards-based Web and mobile authoring</descheader>
          <desc>Adobe&#174; GoLive&#174; CS2 software lets you unlock the power of CSS with intuitive visual tools such as prebuilt CSS objects that you can drag and drop to build sophisticated sites. Jump-start your designs by easily converting Adobe InDesign&#174; layouts into Web pages. Or, design Web and mobile content in an advanced, standards-based coding environment.</desc>
          <features></features>
     </product>
     <product>
          <name>Adobe Dreamweaver 8</name>
          <category>Web Publishing</category>
          <boximage>images/dreamweaver.gif</boximage>
          <bkgimage>M_5_1.swf</bkgimage>
          <descheader>Dreamweaver 8 is the industry-leading web development tool, enabling users to efficiently design, develop and maintain standards-based websites and applications.</descheader>
          <desc>With Dreamweaver 8, web developers go from start to finish, creating and maintaining basic websites to advanced applications that support best practices and the latest technologies.</desc>
          <features></features>
     </product>
     <product>
          <name>Adobe Flash 8 Professional</name>
          <category>Web Publishing</category>
          <boximage>images/flash_pro.gif</boximage>
          <bkgimage>M_6_1.swf</bkgimage>
          <descheader>Introducing Macromedia's biggest Flash release to date.</descheader>
          <desc>Flash&#174; Professional 8 is the industry's most advanced authoring environment for creating interactive websites, digital experiences and mobile content. With Flash Professional 8, creative professionals design and author interactive content rich with video, graphics, and animation for truly unique, engaging websites, presentations or mobile content.</desc>
          <features></features>
     </product>
</products>
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Detail Region and Effects Sample</title>
<link href="files/samples.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.product {
     cursor: pointer;
.hover {
     background-color: #FFFFCC;
.selected {
     background-color: #CCCCCC;
#description {
     opacity: 0;
     filter: alpha(opacity=0);
     background-color: white;
</style>
<script src="files/xpath.js" type="text/javascript"></script>
<script src="files/SpryData.js" type="text/javascript"></script>
<script src="files/SpryEffects.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var ds1 = new Spry.Data.XMLDataSet("files/products.xml", "products/product");
var gEffectInProgress = null;
var gPendingSetRowIDRequest = -1;
function fadeInContent(notificationType, notifier, data)
     if (notificationType != "onPostUpdate")
          return;
     var effect = new Spry.Effect.Fade('description', { to: 100, from: 0, duration: 500, finish: function() {
          // The region is now showing. Process any pending row change request.
          gEffectInProgress = null;
          if (gPendingSetRowIDRequest >= 0)
               var id = gPendingSetRowIDRequest;
               gPendingSetRowIDRequest = -1;
               fadeOutContentThenSetRow(id);
     effect.start();
Spry.Data.Region.addObserver('description', fadeInContent);
function fadeOutContentThenSetRow(rowID)
     if (gEffectInProgress)
          gPendingSetRowIDRequest = rowID;
          return;
     if (rowID == ds1.getCurrentRowID())
          return;
     gEffectInProgress = new Spry.Effect.Fade('description', { to: 0, from: 100, duration: 500, finish: function() {
          ds1.setCurrentRow(rowID);
     gEffectInProgress.start();
//-->
</script>
<script src="files/standard.js" type="text/javascript"></script>
</head>
<body>
<h3>Detail Region and Effects Sample</h3>
<hr />
<table width="100%" border="0">
     <tr>
          <td width="21%">
<ul spry:region="ds1" spry:repeatchildren="ds1">
                    <li class="product" onclick="fadeOutContentThenSetRow('{ds_RowID}');" spry:select="selected" spry:hover="hover">{name}</li>
            </ul>
          </td>
       <td width="79%">
   <div id="description" spry:detailregion=" ds1">
  <div id="CaptivateContent">
   </div>
   <script type="text/javascript">
      var so = new SWFObject("{bkgimage}", "Captivate", "100%", "100%", "8", "#CCCCCC");
         so.addParam("quality", "high");
         so.addParam("name", "Captivate");
         so.addParam("id", "Captivate");
         so.addParam("wmode", "opaque");
         so.addParam("bgcolor","#F1F4F5");
         so.addParam("menu", "false");
         so.addParam("allowScriptAccess", "always");
         so.addVariable("variable1", "value1");
         so.setAttribute("redirectUrl", "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash");
         so.write("CaptivateContent");
   </script>
        <script type="text/javascript">
      document.getElementById('Captivate').focus();
      document.Captivate.focus();
   </script>    
      </div>
      </td>
  </tr>
</table>
</body>
</html>
Message was edited by: drodax

Hi,
I think you will need a third party convertor - a quick
google sent me to this one
http://www.winavi.com/swf-to-avi.htm
which is free.

Similar Messages

  • Connect Sync not working with Captivate SWF files

    HI
    I'm creating material for presentations and discussion in Captivate 8 and using Connect 9.3.
    The Sync button in Connect doesn't turn on or off the sync view for all participants for a presentation sharing the Captivate SWF file....
    Any ideas on how to get the sync feature working?
    PS: I'm using Captivate to create the slides and publish to SWF in order to preserve the fonts for the brand. Uploading Powerpoint changes the fonts to system defaults (looks very bad) and PDF, provides a clunky or abrupt slide transitions (using captivate fade transitions). Would prefer a better solution to maintain fonts and transitions though.
    Cheers,
    Fred

    Going to give a try...
    I did try saving each slide as an image from ppt, then created a new slide deck with one image per slide - added transitions and uploaded to Connect. That seemed to work.... yet, really would like to sort out Captivate as I plan on adding quizzes and other items best done with Captivate.
    Cheers,
    Fred

  • Are Adobe Captivate swf files not compatible with IE8 or IE9 when inserted into RoboHelp projects?

    Hi,
    I've published Adobe Captivate swf files and then inserted them into my RoboHelp project. I then synced my RoboHelp project with our website and the videos within online help are not functioning in IE8 or IE9. They are only working in IE11.
    Thanks,
    Jaimie

    Hi there
    When a SWF plays in IE, it uses the Flash Player ActiveX control. I'm not 100% sure that different versions of IE would share the install. So if you have one version of IE on your machine, perhaps it either doesn't even have the control added in or it's the wrong version.
    One thing I would check in the browsers where the content seems to be missing is to right-click the blank area and see if you coax a Flash pop similar to below:
    Then note the version number.
    You may find that all that you (or others) need to do is ensure you have at least a specific version of the player/add-in installed.
    Cheers... Rick

  • Lines over images and around text in Captivate SWF file

    My project works & views fine in captivate and when published, it views fine on my mac - through flash player and browsers. But when I send a swf file to the client to view they see odd lines above and below images.
    But they dont see the lines when they view the htm file within a browser - then it views fine.
    The lines only appear when there's text over an image.
    Screen shots attached.
    My captivate project was created by importing a Powerpoint document, with images and text on each slide.
    I've changed the optimisation / slide quality through prefrences and on each slide to the highest quality.
    I've also un-selected the advanced slide compression.
    Is there another thing I can try to iron out these lines?
    Some of the images within Powerpoint are stretched, would this cause the lines?
    Is it a flash player issue?
    Or a zooming issue?
    Any help is much appreciated!

    Thanks Lilybiri,
    I am a new user & just finding my way
    I understand how to publish and how Captivate creates a zipped file with a SWF, HTML, JS and CSS files etc. (Im using Captivate 7). 
    How do you send Captivate projects to clients for review / approval before you supply them with the whole project zipped file?
    So far I've been sending them the swf file to check. And have had troubles with them viewing the lines over images and around text. Even though I cant see the lines.
    I need the client to see what I'm seeing - a project without any lines.

  • HREF to open Captivate swf file with Flash Player

    Hello all,
    I am new to the Captivate world as well as the new window
    options within html code.
    Currently I am using Captivate to re-create and update a
    DemoShield CBT and woudl like to call the .swf file the same way
    the DemoShiled file is called within the HTML. The DemoSheild file
    is called using a javascript function within a href tag.
    Is it possible to do the same with Captivate files? Create a
    link that will open a new browser window with the .swf being played
    by flash player? (similar to simply double clicking the file within
    the folder).

    > I am new to the Captivate world as well as the new
    window options within
    > html
    > code.
    >
    > Currently I am using Captivate to re-create and update a
    DemoShield CBT
    > and
    > woudl like to call the .swf file the same way the
    DemoShiled file is
    > called
    > within the HTML. The DemoSheild file is called using a
    javascript
    > function
    > within a href tag.
    >
    > Is it possible to do the same with Captivate files?
    Create a link that
    > will
    > open a new browser window with the .swf being played by
    flash player?
    > (similar
    > to simply double clicking the file within the folder).
    >
    You should be able to use very similar code - buy instead of
    pointing to the
    swf directly, it's likely you need to point, instead, to the
    html file that
    is usually published with the swf.
    Without seeing the exact code you are talking about with
    DemoShield, I'm
    reluctant to offer you any alternative. Simply put, a
    standard link pointing
    to the correct html file should work. You can get clever and
    use JavaScript
    if you have specific needs, but the standard HTML link should
    be fine for
    your needs.
    Oh - maybe you should look at Captivate's Manu builder, as
    perhaps this will
    offer what you are looking for.
    Steve
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • Stop Illustrator from being default player for Flash .swf files

    Please help. I am on Mac OS X. I have the Adobe CS suite. I
    have downloaded, uninstalled, and reinstalled the flash player.
    However, whenever I download a flash file to play, it automatically
    opens in Illustrator. But Illustrator doesn't recognize it as a
    file so it doesn't open. I went through preferences and I can't
    find anything that will get it to stop doing that. I don't know how
    to get to the preferences for the flash player to change that. And
    there isn't a way have it open up in flash player because the flash
    player is not an actual application that comes up in the
    applications list. There is a certain website that it is mainly
    .swf flash files that I have not been able to access because of
    this problem. What do I do?

    Have you received information on how to change this
    situation? My SWF files always open Illustrator, also.

  • Flash 10.3 installed ok but Player 9 activates for standalone swf files

    This is a rather interesting scenerio. I am running Vista 32 Bit (upgrading to Win 7 soon), using IE9 and I am trying to view .swf files that require Flash Player 10. No problem, I uninstalled all Flash Player components using the Flash Player uninstaller. I rebooted, reinstalled Flash Player and confirmed all was working ok. Add-ons are enabled, and all checks show that I do have 10.3 installed. The problem that I am facing is when I try to run a seperate .swf file, the player that pops up says "Flash Player 9." The .swf file will not play as a standalone but it will play in my browser. How do I get Flash Play 10 to be my default player? TIA for your help.

    The Flash Player browser add-on and the standalone player are two different downloads.
    Get the latest standalone player (Projector) from http://www.adobe.com/support/flashplayer/downloads.html
    Note that the download is the player, not an installer.  Replace your current player with the new download.  You may also need to change the file association to reflect the new name (flashplayer_10_sa.exe).

  • BitmapData prblm for loading swf file

    hi
    i making the photo gallery, here i am using the bitmap data
    for making some effects between each image when it's start to load.
    but in between the images we are using swf files but after
    applying the effect the swf is not playing..
    can any one suggest what i need to make to clear this issue
    ~~
    SK

    yes the timeline is not working when i start to applied in
    the movieclip. how to overcome this issue. bcoz i need check the
    current frame and totalframe. to check whether the swf has played
    fully or not. after that only it 'll start to laod the images
    but here i can't able to get the current frame and the total
    frame . it means i lost the timeline( swf consists of more than 40
    frames) ..here how to check the 40 frames played or not
    ~~
    Sk

  • Need Preloader for Multiple SWF files

    SORRY FOR THE DUPE POST, THE OTHER CAN BE DELETED. MY ADOBE
    ID PROFILES WERE MESSED UP.
    Hi forums, I'm new to Flash. I did the following:
    1. Created a complex home page, about 3.5MB in size, due to a
    large graphic I had to use many times over and couldn't make into a
    symbol (long story). It's called INDEX.SWF, with accompanying
    INDEX.HTML file from Flash
    2. Split pieces of the INDEX.SWF file into multiple SWF files
    to make it load faster
    3. Created multiple layers in INDEX.SWF using loadMovieNum to
    call to multiple SWF files from step 2
    This works OK, but I think a preloader would optimize my page
    animation. However:
    1. I don't understand how a preloader file gets recognized on
    the site load. If I create a file called PRELOADER.FLA and publish
    it, how does the site know to use it first? Does it need a special
    name?
    2. Once I understand #1 above, I might be able to use some
    sample preloader files I've found. It seems like all I have to do
    is change the actionscript to point to my main file, but not sure
    yet. I'll get to that next once I understand how the file even gets
    recognized and loaded. Thanks for your help!

    PLEASE DELETE THIS POST AND USE NEWER ONE FROM
    MOUSEHOUSESITE, I APOLOGIZE FOR DUPE POST DUE TO MESSED UP ADOBE
    ID.

  • Need Help, Finding a site for uploading swf files

    [moved from AS3 forum by moderator -  is not an AS3 discussion]
    Alright, so I'm kind of new to these forums. I searched them thoroughly several times, but couldn't a find a section for what I exactly needed. I used an older version of Flash and actionscript to make some interactive games and then exported them.
    I've found plenty of sites that allow uploading of a variety of files, including flash based ones. The problem is that these sites are either for storage, downloading the file onto one's computer, or that they would have to go to a specific link to play the game.
    What I want is to be able to place a file onto an uploading site and be able to embed it (I think that's the word) to my own site/forums. That way the game can be played on a site and or discussion forum, without members having to go to another site or downloading the game.
    What file uploading site would you recommend for this? I've already tried several, but they don't allow embedding files. I would prefer for the site to be free, as I don't have enough files to make it worth paying a monthly fee.
    Thanks in advance for any replies/information!

    Yes, why not upload it to your own website. Most of sites are not support swf file, but support flv file. To upload swf to your website you can use the code like
    <object width="300" height="300">
    <param name="movie" value="flashmovie.swf">
    <embed src="flashmovie.swf" width="300" height="300">
    </embed>
    </object>
    If you really need to upload swf to other websites, I think you need to convert your video but that will not a game.  But maybe you can try to find some flash game websites.

  • Complete code for loading swf file in actionscript 3

    i have a swf
    file which i want to load into a fla file and export as a new swf file. I understand this part but my actionscript 3.0 code that i put on frame one of the timeline does not work. I have tried every version i have seen online including in adobe's actionscript 3 classroom in a book.... and other books..... i want the swf to run immediately so i dont think i need any event listeners since i am not clicking a button or anything like that... just running the swf at start. any help wuld be appreciated... sent two day on this already... i can do it in actionscript 2 but have not figured it our in actionscript 3......... why does eeryone seem to do this slightly different too?   a complete code would be nice since obvously i am stupid........
    thanks

    Show the code you put in frame 1.  I don't think you can do what you say you intend to though.  As far as I know you cannot create a new filein the way you explained you intend to.  If you load the file dynamically as a separate swf, then you will always need to.

  • How do I get a Captivate SWF file converted for MAC products?

    I thought I'd be able to publish to HTML5 and then use the APP Packager to get the file in a formate for Macs, but the HTML5 file doesn't work correctly.  The program has 62 slides, and may just be too long to convert to HTML5.
    I really need my program to work on MACs, and my SWF runs perfectly. 

    Okay - the big question must be:
    1) Are you trying to publish an HTML5 compatible course, which users can view on their iPad using the Safari browser?
    or
    2) Are you trying to publish your course as an App, which must be uploaded and distributed through the App Store?
    If it is number 1 then it is as Rod says. You need to upload all the published files to a web server. The users can then access your course in their Safari browser on the iPad by going to the URL (www.yourdomain.com/mycourse/)
    If it is number 2 then you'll need to :
    a) Get an Apple Developer ID
    b) Run the course through the Adobe Captivate App Packager
    c) Upload the finished App to the App store.
    www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips and Tricks and much more..

  • Set X,Y Position for loaded SWF file

    I'm sure this question has been asked before, but I have been
    reading the forum and get seem to find the answer. (Yes I looked at
    the AS2 dictionary before I posted.) I'm trying to load an external
    SWF into my stage. I have entered X,Y, coordinates, but the
    external SWF loads at 0,0 I have attached the code I was trying.
    Any help would be appreciated. This code is on the button, should
    it be on the timeline? Thanks!

    Glad you took that in the good spirit it was offered. After I
    posted it I was worried that I sounded too mean. Your new code is a
    big improvment IMHO! I've made a few changes and attached that and
    I'll go through them with ya.
    The first cool thing you did and you might not even be aware
    of all of it is that you were using the return type of
    createEmptyMovieClip. Whenever you checkout something in the help
    files, notice the return type. That tells you that cEMC returns a
    reference to the newly created clip. If you capture it and assign
    it to a variable you can then use that variable as a
    &quot;short cut&quot; of sorts. So even though you named
    the new clip roscoe, I'm refering to it as container. Not such a
    big deal for this example, but in the future you might attach a
    bunch of clips with names/paths like:
    myContainer.backgroundArt.button1
    myContainer.backgroundArt.button2
    etc.
    So remember that trick. I've also added a this to the cEMC.
    It is a good habit to always prefix methods with an instance of the
    class they belong too. For example there might be times when the
    scope isn't clear and your clip will not get attached where you
    think. Of course using this inside a function is one of those
    times! So sometimes I would create a variable called home (outside
    of any functions) which refered to my main timeline. Then I could
    use home.createEmptyMovieClip() inside pretty much any function or
    handler and not worry about where my clip was being created.
    Next, setProperty is also the old style. I find it much
    easier just to set the property with the assignment operator (that
    would be the equal sign) and the dot. So:
    setProperty(&quot;someObject&quot;,someproperty,somevalue)
    becomes
    someObject.someproperty = somevalue;
    I think most people find that easier to read.
    I'm not sure, but generally I don't think I would create my
    MCL instance inside the onRelease handler. No real reason I could
    give for that, except perhaps if you have several buttons and each
    one will load a different clip. In that case they could all use the
    same loader and you wouldn't need to repeat the code over an over.
    Hey! that seems to be a pretty good reason to me.
    Finally. The way you handled the onLoadInit will work, but
    for some reason it isn't the prefered way. It has never really been
    clear to me why, but they prefer to have you create an object, add
    your event handlers to the object, and then add the object as a
    listener. I've shown you how here.
    BTW, if you hadn't figured it out, the onLoadComplete is
    pretty useless. Several of the properties, like _width and _height
    are not yet available at that event, so you picked the right one
    (onLoadInit) if you want to scale the content after it loaded.
    Good luck and let me know if you need to figure out something
    else.

  • Best Method for Strechable .swf file in horizontal but not vertical?

    What is the best method to create an easy to use flash file
    that will allow horizontal scaling with a fixed vertical size?
    This will be for a blog header in a variable width design at
    Make Light Real.com
    I have tried the basic stage properties and found
    StageScaleMode.NO_BORDER to be an ok solution, but I'm not
    sure what will happen when I begin to drop active clips in on the
    stage. Will the stage operate from a fixed point or how will the
    clips orient to the stage as it expands?
    My understanding of actionscript is just enough to hack
    pieces of what I need together: but if you could enlighten me with
    the most basic understanding of which method would work best for me
    I'd apprecate it. I also have this method to alter the background
    (as a clip):
    quote:
    Stage.addListener(ecout);
    // function which replaces all the elements with the new
    values
    slide = function () {
    photo_mc._x = 0;
    photo_mc._y = 0;
    photo_mc._width = Stage.width;
    photo_mc._height = Stage.width/rapp;
    if (photo_mc._height<Stage.height) {
    photo_mc._height = Stage.height;
    photo_mc._width = Stage.height*rapp;
    slide()
    Should I just alter the variables there to lock the stage
    height?
    Thanks for your time in answering.

    When you export your movie you can select the scaling options
    for width and height.
    Try selecting one but not the other.
    Cheers,
    Gorka
    http://www.AquiGorka.com/blog

  • Captivate 7 - How to publish into a single swf file?

    Our Authoring tool has been designed to cater for Captivat swf files for video uploads. Now that we have upgraded to Captivate 7 the swf - is merely a 'holden cache file' the video content is saved in the .mp4 file. Our programmer tells us that it will take some time to reprogramme this. Is there a way within the Captivate 7 publishing settings to still create a .swf file which will be able to stream the entire video content when uploaded or to generate a single swf file with all content?
    Thank you so much! We are trying superfast to adapt to all the different changes and really appreciate you input.
    Peter

    OK, only solution I've found is to use a 3rd party program - try cutePDF. 
    Thanks for nothing HP!

Maybe you are looking for