Flash Video Director Template

Hi all,
I created a page of info on the process of creating Flash
Video and
integrating them with Director. The tutorial is at:
http://www.deansdirectortutorials.com/FlashVideo/
The top part may seem basic for some. It's there to support
my students
who are using clips from YouTube in their work.
If you scroll right to the bottom, I have a FLA and DIR
template for
linking FLVs in Director. With the SWF created from the FLA
movie, and
with behaviors in the Director movie, you can dynamically
link to FLVs
and have controls to pause, play, rewind, and wait for the
end of the
FLV.
Hope it's useful to all. Let me know if anything is unclear.
And thanks to Chuck Neal who helped with the FLV behaviors.
regards
Dean
Director Lecturer / Consultant / Director Enthusiast
http://www.deansdirectortutorials.com/
http://www.multimediacreative.com.au
email: [email protected]

What I need is to be able to take flash 9, AS3 swfs, import
them into a Director 11 project, and interact with the flash
funcitons, call them, set properties, etc. Despite the
documentation on the Adobe Director page saying this is possible, I
have not been able to get it to work, and other posters on this
board have stated that it is currently not possible. Any clarity or
examples would help. I notice Director 11 has no entries concerning
Director/flash programming yet on the Adobe Developer page, just
tutorials for MX2004.

Similar Messages

  • Flash Video in template child pages

    I have created templates with editable regions for my
    websites. When I try to insert a Flash video file (.flv) it wants
    to put code in the header region and body region. I have tried
    erasing the editable areas, making the entire header an editable
    area, making the entire site an editable area. I've tried looking
    on Google and the Dreamweaver Developers section (there is a link
    to an answer but the link is broken). I unfortunately only have
    Dreamweaver 8. If this problem is fixed in CS3 I'd be happy to go
    to Kinkos and rent a machine. Any suggestions?
    Thanks!

    Here's how you will have to manage this.
    When you insert a Flash video on the page, several things
    happen -
    1. DW inserts a link to a javascript file in the head of the
    page.
    2. If you elect to check for Flash versions, DW inserts a
    call to that
    javascript in the <body> tag of the page.
    3. DW then inserts a javascript call to the file (in #1) on
    the page at the
    location where the Flash is to appear.
    In a Template child page -
    1. The head region must have an editable region in it, so
    that the link can
    be inserted.
    2. The Flash check call will fail to be written to the body
    tag, since that
    is LOCKED by the template.
    3. The javascript will be written to the body of the page
    where you
    inserted the Flash.
    Thus, 2 of the 3 elements should work fine.
    My suggestion? Do it again, and do not select the check for
    Flash version -
    that should work for you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "cybergrace" <[email protected]> wrote in
    message
    news:f9vjls$a9n$[email protected]..
    >I have created templates with editable regions for my
    websites. When I try
    >to
    > insert a Flash video file (.flv) it wants to put code in
    the header region
    > and
    > body region. I have tried erasing the editable areas,
    making the entire
    > header
    > an editable area, making the entire site an editable
    area. I've tried
    > looking
    > on Google and the Dreamweaver Developers section (there
    is a link to an
    > answer
    > but the link is broken). I unfortunately only have
    Dreamweaver 8. If
    > this
    > problem is fixed in CS3 I'd be happy to go to Kinkos and
    rent a machine.
    > Any
    > suggestions?
    > Thanks!
    >

  • Flash Video in Templates

    I have a template with one editable region. This region takes
    text and images fine but when I try to insert a flash video (*.flv)
    a message appears "Making this change would require changing code
    that is locked by a template or translator. The change will be
    discarded". How can I insert flash video into this editable
    region?

    You are getting this error because you left the "Check for
    Flash version"
    option enabled in the dialog panel for the Flash video
    insertion.
    When you do this check, DW wants to write an onload event
    into the <body>
    tag, to initiate the javascript checking routine. However, on
    a template
    controlled page, the body tag is not editable, which DW
    discovers and throws
    this alert. There are two solutions -
    1. Code a javscript onload function in the head of the page,
    and migrate
    this call into that function (requires manual coding), or
    2. Simple forego the version checking on the Flash player
    By far the simpler of the two options is the latter one.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "zzaazzaazzaazz" <[email protected]> wrote
    in message
    news:fvi14g$6rr$[email protected]..
    >I have a template with one editable region. This region
    takes text and
    >images
    > fine but when I try to insert a flash video (*.flv) a
    message appears
    > "Making
    > this change would require changing code that is locked
    by a template or
    > translator. The change will be discarded". How can I
    insert flash video
    > into
    > this editable region?
    >

  • Editing flash video player templates

    Hi!
    I am having trouble creating editable Video player Templates in Flash Pro. cs5 and Flash Catalyst.
    By editable I mean, other users can edit the video templates and upload and play  their videos with it.
    Can anyone help me please?!
    Thanks!

    So exactly what is the problem?
    What have you tried? What has worked? What hasn't worked?
    Do you have a working model, even if it's not "editable"?
    Have you built other custom video players? can you show links to them?
    How is the editing expected to be done? via xml or what?
    Are just the skins editable or are there playlist styles that the user can choose from? such as scrolling horizontal menu or vertical menu?
    Fill us in and maybe we can provide better help.
    Best wishes,
    Adninjastrator

  • Modify Flash Video Bandwidth Template

    Good Day.
    I'm hoping someone might be able to give me an idea as to
    what I'm doing wrong...
    Using Flash MX Pro 2004 with the built-in template, Video
    > Bandwidth Select. I'm tring to pass a URL varible of a FLV
    movie name to the actionscript in the 3rd screen (select screen). I
    have tried EVERYTHING I can think of to dynamically pass a varible
    (in this case a movie name) to SWF. I have tried using flashvars
    and URL variables (but not text files as it adds more complexity).
    I just can't get it to work. When I manage to get something to show
    up, like in a simple text box, it always says 'undefined'.
    Can anyone tell what I'm doing wrong... or can you not do
    this with this template?
    Thank you, so kindly.
    Joseph Krogman.

    What I need is to be able to take flash 9, AS3 swfs, import
    them into a Director 11 project, and interact with the flash
    funcitons, call them, set properties, etc. Despite the
    documentation on the Adobe Director page saying this is possible, I
    have not been able to get it to work, and other posters on this
    board have stated that it is currently not possible. Any clarity or
    examples would help. I notice Director 11 has no entries concerning
    Director/flash programming yet on the Adobe Developer page, just
    tutorials for MX2004.

  • Cannot install Flash Video. Template Locked

    The .htm that I am tryig to insert the Flash 8 video was
    built from a .dwt. At the end of the installtion
    I get this Dreamweaver error message is "Making this change
    would require changing code that is locked
    by a template or a translator. The change will be discarded."
    The .dwt has 2 css within. I believe the problem involves the
    css.
    I have no problem installing the video in a page not built
    with a template or without css..

    --><!-- InstanceBeginEditable name="head"
    --><style type="text/css"
    media="screen">
    <!--
    That's an editable region, no?
    When you run your child page through the validator at
    http://validator.w3.org, does
    it validate?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "keyk" <[email protected]> wrote in message
    news:ebdvj1$t8a$[email protected]..
    > Ace,
    > I don't believe I have an editable region in the head of
    any of the child
    > pages? See beginning of the child page code below:
    > <!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"><!--
    InstanceBegin
    > template="/Templates/2006_template.dwt"
    > codeOutsideHTMLIsLocked="false" -->
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <!-- InstanceBeginEditable name="doctitle" -->
    > <title>Home</title>
    > <!-- InstanceEndEditable --><!--
    InstanceBeginEditable name="head" -->
    > <style type="text/css" media="screen">
    > <!--
    >
    > Thanks for responding,
    > Kevin
    >

  • Flash Video in a page made from a template

    And discards the change. I am trying to insert into the
    editable region but it will not allow.
    Adobe Dreamweaver CS3
    Making this change would require changing code that is locked
    by a template or a translator. The change will be discarded.
    Any ideas,

    This is incorrect. You have been told this before, you know?
    Please adjust
    your response! 8)
    The problem is that when you insert the Flash video, if you
    don't pay
    attention, you might leave the checkbox for "checking the
    version of the
    Flash player" enabled. When you do that, DW wants to insert a
    call into the
    body tag, onload. Of course, in a template, the body tag is
    locked, and
    that's what causes the error message.
    To get around it, uncheck that version checking checkbox.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "SnakEyez02" <[email protected]> wrote in
    message
    news:g17ick$2mb$[email protected]..
    > You need to have an editable region in the header of
    your file as well.
    > There
    > is code inserted in two locations by Dreamweaver when
    you insert Flash
    > files.
    > You can always create a sample page without a template
    for yourself to see
    > where this code gets inserted.
    >

  • Problem inserting Flash video into DW CS3 template

    I would like to insert some flash video into an editable
    region inside a DW CS3 template. The template I am using seems to
    work for literally hundreds of other pages I have made (none of
    which, incidentally, have any media of any kind in them).
    I have created the template and then an editable region and
    now want to insert the flash video in that editable region. All
    goes well until I hit the OK button. then I get this error--Making
    this change would require changing code that is locked by a
    template or translator The change will be discarded.
    Can anyone suggest how I might over come this error??
    Thx.
    Jane

    The problem is the detection option in the video insertion
    dialog. If you
    disable that option, you will not get the error.
    This is a problem because the detection routine requires a
    modification to
    the <body> tag (insertion of an onload event) which you
    cannot easily do in
    a template child page.
    If you really must have the detection, then you can copy and
    past the load
    call from a dummy (non-templated) page on which you have also
    done the same
    insertion. Post back with that page's body tag code, and I'll
    show you
    how....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Jane Smith 2300" <[email protected]> wrote
    in message
    news:fehcup$e6u$[email protected]..
    > Further to my post before--The .htm that I am trying to
    insert the Flash
    > video
    > (converted an AVI file using Flash video encoder) was
    built from a .dwt.
    >
    > The template page has several editable regions in it.
    There is also CSS.
    > formatting the document. I am trying to insert the Flash
    video into one
    > of the
    > editable regions.
    >
    > I have no problem installing the video in a page not
    built with a template
    > or
    > without css..
    >
    > Thanks for any help you can provide.
    >
    > jane
    >

  • Template and flash video

    I want to insert a video using the insert flash video using
    DW8. I am using a chid page made from a template. When I try to
    insert the video it says the page is locked due to a template or
    translators. How can I do this?Thanks.
    Here is the page I want to insert video into
    <
    http://www.msad54.org/srvc/ist/index.shtml
    >
    Nancy

    Copy from code view and paste into code view. Make sure that
    you move *all*
    of the required code. That means, create a clean page. Look
    at the code.
    Add the Flash to it. Look at the code again. Move the bits
    that were added
    from the dummy page to the child page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "skowhegan" <[email protected]> wrote in
    message
    news:eurjfi$70$[email protected]..
    > Thanks you Murray but I am having trouble doing that.
    Here is the dummy
    > page
    > <
    http://www.msad54.org/srvc/ist/flash.shtml
    >
    > Here is the page that I would like to put it in. I tried
    putting it in the
    > code that did not work so here is my attempt at putting
    it in in design
    > view.
    >
    > <
    http://www.msad54.org/srvc/ist/index2.shtml
    >
    >
    > Not sure how and where to put all this code?
    >
    > Thanks,
    > Nancy
    >

  • Flash Video Cue Points don't work

    I used the template sample from Adobe named :Flash video
    template: Showcase website for personal video...I followed all the
    steps sugested. I used Flash Video Encoder, created the cue points,
    worte down the location of those cue points, which I wrote exactly
    in the Settings.XML file for each chapter....etc. I guarantee you
    that I did it all as sugested...In fact several months ago, it
    worked for another project and another videos that I had.
    But this time, when I am testing it, the video appears in the
    screen all right but when I select a chapter for the section of
    that video, an error appears like this :
    VideoError: 1003: Invalid seek
    at fl.video::VideoPlayer/seek()
    at fl.video::FLVPlayback/seek()
    at
    Video_fla::MainTimeline/chapterClickHandler()[Video_fla.MainTimeline::frame1:184]
    VideoError: 1003: Invalid seek
    at fl.video::VideoPlayer/seek()
    at fl.video::FLVPlayback/seek()
    at
    Video_fla::MainTimeline/chapterClickHandler()[Video_fla.MainTimeline::frame1:184]
    My Settings file has the correspondent locations for each cue
    point, like this :
    <?xml version="1.0" encoding="utf-8"?>
    <showcase>
    <!-- Video section #1: Safety Fair 2008 -->
    <section>
    <title>Safety Fair 2008</title>
    <video>video/MOPS_safetyFair.flv</video>
    <cuepoints>
    <cuepoint>
    <title>Fire Department 1</title>
    <time>00:00:13.291</time>
    <image>img/Gath1.png</image>
    <caption>What to do in case of a fire at
    home...</caption>
    </cuepoint>
    <cuepoint>
    <title>Fire Department 2</title>
    <time>00:01:39.686</time>
    <image>img/Poison Center.png</image>
    <caption>How to escape from a fire at
    home</caption>
    </cuepoint>
    <cuepoint>
    <title>Crime Stoppers</title>
    <time>00:01:51.869</time>
    <image>img/TxDepTra.png</image>
    <caption>Buckle up...</caption>
    </cuepoint>
    <cuepoint>
    <title>Texas Dep of Transportation</title>
    <time>00:01:51.869</time>
    <image>img/Poison Center.png</image>
    <caption>Assistance by phone in case of
    emergency...</caption>
    </cuepoint>
    <cuepoint>
    <title>Poison Center</title>
    <time>00:02:02.946</time>
    <image>img/Gathering3.png</image>
    <caption>Mops Gathering at the FLC Picnic
    area</caption>
    </cuepoint>
    <cuepoint>
    <title>Fellowship</title>
    <time>00:02:09.591</time>
    <image>img/Kids-with-Jenny.png</image>
    <caption>Nice visit and gathering w/our
    children</caption>
    </cuepoint>
    </cuepoints>
    </section>
    I have my file structure right as well in each folder IMG and
    VIDEO.
    What does this error means and how can I correct the
    problem.....I have been expending hours trying different ways and
    still can't get it to work.
    Thanks,
    Edna

    you don't need a cuepoint to detect the end of your video.  use:
    var lo:Object = {};
    lo.complete = function(eObj:Object):Void {
    next_btn._visible=true;
    flv_pb.addEventListener("complete", lo);   // <- use the instance name of your flvpb component

  • Flash Video Doesn't Work

    I’m having serious problems inserting Flash Video into
    my site (and I have uploaded the script folder and file).
    Background:
    I’m fairly experienced with most software, but I am
    totally new to web creation/web software. Code is above my head.
    I created a family site using DW8 version 8.0.2. I took an
    original WMV file and converted it to a FLV file using Adobe
    Premiere Elements 3.0. I’ve done this step using both the
    Sorenson Spark and the On2 VP6 codecs.
    With my newly created FLV file (grandparents.flv), I inserted
    it into my DW8 page using >Insert>Media>Flash Video. It
    drops in and previews fine locally using the Preview function. This
    process also creates the following files in my local directory: a
    skin file (Clear_Skin_3.swf), a player file
    (FLVPlayer_Progressive.swf), and a Scripts folder containing one
    file (AC_RunActiveContent.js).
    I upload all these files to the server and, while the flash
    video works fine locally, it just shows up as a white box on the
    web.
    I’ve spent the better part of three days researching
    this problem and see that it is common. That said, uploading the
    Scripts folder/file as I have done does not solve the problem for
    me as it appears to have done so for others.
    As an aside, I can drop in the original WMV file into an
    embedded Windows Media Player on my web site and that works fine.
    That said, I don’t want to do it that way, I want to go with
    Flash.
    Anyone have any ideas.
    The page in question is at:
    http://www.strauss.com/Lauren.html.
    Any help would be appreciated….I’m at my wits
    end. Thanks.

    You have multiple instances of CSS and js links in the head
    of the page.
    Please remove the redundant ones.
    Your flash is not working because this file -
    http://www.strauss.com/FLVPlayer_Progressive.swf
    is not properly calling the FLV file from the server. By
    browsing directly
    to it, you will see that you only get a blank page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "BrianMN" <[email protected]> wrote in
    message
    news:ercn65$m65$[email protected]..
    > And my problematic page is at:
    >
    >
    http://www.strauss.com/Lauren.html
    >
    > Murray, any suggestions? I have read many of your
    responses where your
    > point
    > out "upload the scripts file/folder". I have done that
    and still have the
    > problem.
    >
    >
    >

  • Error message when trying to imbed Flash video

    Hello! I am trying to add Flash video to my page. When I try
    to add the Flash file, I get a message that says "The URL cannot
    contain spaces or special characters. Change the path or file name
    and try again." I have tried moving the file to a different
    directory and changing the file name but no luck. Any help would be
    appreciated.
    Steve

    true, but this is definitely way out clue-less (-:
    Jo
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:eqfcju$cjs$[email protected]..
    > It's not the only one, unfortunately.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "josie1one" <joleros[nospam]@yahoo.com> wrote in
    message
    > news:eqfbaq$b5j$[email protected]..
    >> Assuming it's a .flv you are inserting...
    >> Insert > Media > Flash Video
    >>
    >> That error message is (IMHO) unhelpful
    >>
    >> --
    >> Jo
    >>
    >>
    >> "jtullfan" <[email protected]>
    wrote in message
    >> news:eqf0ok$rvm$[email protected]..
    >>> Hello! I am trying to add Flash video to my
    page. When I try to add the
    >>> Flash
    >>> file, I get a message that says "The URL cannot
    contain spaces or
    >>> special
    >>> characters. Change the path or file name and try
    again." I have tried
    >>> moving
    >>> the file to a different directory and changing
    the file name but no
    >>> luck. Any
    >>> help would be appreciated.
    >>>
    >>> Steve
    >>>
    >>
    >>
    >
    >

  • Flash Video with DVD-like motion menus -- Is this possible?

    Hi all,
    I just joined this gropup. I have some SMIL 2.0 presentations
    with synchnorized multiple audio (several languages supported) and
    video as well as DVD-like still and motion menus. These are
    semi-transparent menus and actually are super-imposed over main
    playback area (root layout in SMIL).
    Can Flash Video has menus in it?
    Can this type of a/v synchronization and menuing be done in
    Flash Video?
    I don't want to write as SWF with menus since clips and # of
    menus on screen and placement might be different from video to
    video. These are for some training videos.
    To give a background, in SMIL I have an application server
    (Jboss) which is dynamically creating SMIL based upon database,
    user inputs and menu selections. What is basically sent back to the
    browser is SMIL page markup including playlist of clips up to next
    menu point. Once all clips are watched and user selects menu button
    to continue then a new SMIL is generated and processs repeated.
    I am thinking off porting this over to Flash Video because
    currently clients need RealPlayer (has SMIL 2.0) support to be
    downloaded and installed. Another local app to manage!
    Any ideas or recommendations?
    Thanks and kindest regards,
    -Mark

    You can build interactive DVDs with video and audio, but no Word documents (at least not as part of the interactivity). DVD SP can certainly be used to create interactive DVDs. The advantage is that interactivity will extend to DVD players, not just computers.
    If you want very rich interactive content, with Word docs, PDFs, etc. Then the best program would be Director. However there are some caveats with Director.
    1) The learning curve for Director is extremely steep. You would be better off hiring a freelancer who already knows the program, then spending all the time learning all the ins and outs of the program.
    2) Director is essentially a dead program. Since Adobe acquired it a couple of years ago, they have made no upgrades of the program. Nor have they made any announcements on continued development.
    3) The content you develop will only be playable on computers, not DVD players.

  • Help inserting a flash video into my web page

    Hello!
    I'd love some help inserting a flash video into my web page. My web page is hosted by Viviti, templated, and edited online. I can add html to it, and I have the html source for my flash video. I also have uploaded the flash file to the server. Since I am very html illiterate, though, I need some help rewriting the html script so it can be published. There are two problems- firstly, no 'headers' or 'body' allowed in the script- these are already a part of the template. Secondly, I don't know how to rewrite it to refer to the uploaded files. It's also imperative that the full screen mode functions. I've pasted the source code for the flash video here. Please help!!!
    Thanks!
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Drag and drop labelling</title>
    <script language="JavaScript" type="text/javascript">
    <!--
    //v1.7
    // Flash Player Version Detection
    // Detect Client Browser type
    // Copyright 2005-2008 Adobe Systems Incorporated.  All rights reserved.
    var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
    var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
    var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
    function ControlVersion()
         var version;
         var axo;
         var e;
         // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
         try {
              // version will be set for 7.X or greater players
              axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
              version = axo.GetVariable("$version");
         } catch (e) {
         if (!version)
              try {
                   // version will be set for 6.X players only
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
                   // installed player is some revision of 6.0
                   // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
                   // so we have to be careful.
                   // default to the first public version
                   version = "WIN 6,0,21,0";
                   // throws if AllowScripAccess does not exist (introduced in 6.0r47)          
                   axo.AllowScriptAccess = "always";
                   // safe to call for 6.0r47 or greater
                   version = axo.GetVariable("$version");
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 4.X or 5.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                   version = axo.GetVariable("$version");
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 3.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                   version = "WIN 3,0,18,0";
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 2.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
                   version = "WIN 2,0,0,11";
              } catch (e) {
                   version = -1;
         return version;
    // JavaScript helper required to detect Flash Player PlugIn version information
    function GetSwfVer(){
         // NS/Opera version >= 3 check for Flash plugin in plugin array
         var flashVer = -1;
         if (navigator.plugins != null && navigator.plugins.length > 0) {
              if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
                   var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
                   var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
                   var descArray = flashDescription.split(" ");
                   var tempArrayMajor = descArray[2].split(".");               
                   var versionMajor = tempArrayMajor[0];
                   var versionMinor = tempArrayMajor[1];
                   var versionRevision = descArray[3];
                   if (versionRevision == "") {
                        versionRevision = descArray[4];
                   if (versionRevision[0] == "d") {
                        versionRevision = versionRevision.substring(1);
                   } else if (versionRevision[0] == "r") {
                        versionRevision = versionRevision.substring(1);
                        if (versionRevision.indexOf("d") > 0) {
                             versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
                   var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
         // MSN/WebTV 2.6 supports Flash 4
         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
         // WebTV 2.5 supports Flash 3
         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
         // older WebTV supports Flash 2
         else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
         else if ( isIE && isWin && !isOpera ) {
              flashVer = ControlVersion();
         return flashVer;
    // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
    function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
         versionStr = GetSwfVer();
         if (versionStr == -1 ) {
              return false;
         } else if (versionStr != 0) {
              if(isIE && isWin && !isOpera) {
                   // Given "WIN 2,0,0,11"
                   tempArray         = versionStr.split(" ");      // ["WIN", "2,0,0,11"]
                   tempString        = tempArray[1];               // "2,0,0,11"
                   versionArray      = tempString.split(",");     // ['2', '0', '0', '11']
              } else {
                   versionArray      = versionStr.split(".");
              var versionMajor      = versionArray[0];
              var versionMinor      = versionArray[1];
              var versionRevision   = versionArray[2];
                 // is the major.revision >= requested major.revision AND the minor version >= requested minor
              if (versionMajor > parseFloat(reqMajorVer)) {
                   return true;
              } else if (versionMajor == parseFloat(reqMajorVer)) {
                   if (versionMinor > parseFloat(reqMinorVer))
                        return true;
                   else if (versionMinor == parseFloat(reqMinorVer)) {
                        if (versionRevision >= parseFloat(reqRevision))
                             return true;
              return false;
    function AC_AddExtension(src, ext)
      if (src.indexOf('?') != -1)
        return src.replace(/\?/, ext+'?');
      else
        return src + ext;
    function AC_Generateobj(objAttrs, params, embedAttrs)
      var str = '';
      if (isIE && isWin && !isOpera)
        str += '<object ';
        for (var i in objAttrs)
          str += i + '="' + objAttrs[i] + '" ';
        str += '>';
        for (var i in params)
          str += '<param name="' + i + '" value="' + params[i] + '" /> ';
        str += '</object>';
      else
        str += '<embed ';
        for (var i in embedAttrs)
          str += i + '="' + embedAttrs[i] + '" ';
        str += '> </embed>';
      document.write(str);
    function AC_FL_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
         , "application/x-shockwave-flash"
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_SW_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
         , null
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
      var ret = new Object();
      ret.embedAttrs = new Object();
      ret.params = new Object();
      ret.objAttrs = new Object();
      for (var i=0; i < args.length; i=i+2){
        var currArg = args[i].toLowerCase();   
        switch (currArg){     
          case "classid":
            break;
          case "pluginspage":
            ret.embedAttrs[args[i]] = args[i+1];
            break;
          case "src":
          case "movie":     
            args[i+1] = AC_AddExtension(args[i+1], ext);
            ret.embedAttrs["src"] = args[i+1];
            ret.params[srcParamName] = args[i+1];
            break;
          case "onafterupdate":
          case "onbeforeupdate":
          case "onblur":
          case "oncellchange":
          case "onclick":
          case "ondblclick":
          case "ondrag":
          case "ondragend":
          case "ondragenter":
          case "ondragleave":
          case "ondragover":
          case "ondrop":
          case "onfinish":
          case "onfocus":
          case "onhelp":
          case "onmousedown":
          case "onmouseup":
          case "onmouseover":
          case "onmousemove":
          case "onmouseout":
          case "onkeypress":
          case "onkeydown":
          case "onkeyup":
          case "onload":
          case "onlosecapture":
          case "onpropertychange":
          case "onreadystatechange":
          case "onrowsdelete":
          case "onrowenter":
          case "onrowexit":
          case "onrowsinserted":
          case "onstart":
          case "onscroll":
          case "onbeforeeditfocus":
          case "onactivate":
          case "onbeforedeactivate":
          case "ondeactivate":
          case "type":
          case "codebase":
          case "id":
            ret.objAttrs[args[i]] = args[i+1];
            break;
          case "width":
          case "height":
          case "align":
          case "vspace":
          case "hspace":
          case "class":
          case "title":
          case "accesskey":
          case "name":
          case "tabindex":
            ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
            break;
          default:
            ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
      ret.objAttrs["classid"] = classid;
      if (mimeType) ret.embedAttrs["type"] = mimeType;
      return ret;
    // -->
    </script>
    </head>
    <body bgcolor="#ffffff">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="JavaScript" type="text/javascript">
         AC_FL_RunContent(
              'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
              'width', '720',
              'height', '440',
              'src', 'Drag and drop labelling',
              'quality', 'medium',
              'pluginspage', 'http://www.adobe.com/go/getflashplayer',
              'align', 'middle',
              'play', 'true',
              'loop', 'true',
              'scale', 'showall',
              'wmode', 'window',
              'devicefont', 'false',
              'id', 'Drag and drop labelling',
              'bgcolor', '#ffffff',
              'name', 'Drag and drop labelling',
              'menu', 'true',
              'allowFullScreen', 'true',
              'allowScriptAccess','sameDomain',
              'movie', 'Drag and drop labelling',
              'salign', ''
              ); //end AC code
    </script>
    <noscript>
         <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="720" height="440" id="Drag and drop labelling" align="middle">
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="allowFullScreen" value="true" />
         <param name="movie" value="Drag and drop labelling.swf" /><param name="quality" value="medium" /><param name="bgcolor" value="#ffffff" />     <embed src="Drag and drop labelling.swf" quality="medium" bgcolor="#ffffff" width="720" height="440" name="Drag and drop labelling" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
         </object>
    </noscript>
    </body>
    </html>

    What you basically need to do is copy the sections of content from the code you show into the template (assuming the template already provides the <head> and <body> sections of the page.  So in the head section of what you show, take everything starting with...
    <script language="JavaScript" type="text/javascript">
    all the way down thru...
    </script>
    , inclusive (in the head section only), and paste that into the head section of your template.
    Similarly, take everything that lies between the <body> ... </body> tags (exclusive of the body tags) and paste it into the body section of your template wherever you plan to display the Flash file.

  • Inserting Flash video in Dreamweaver

    This is my first time using Dreamweaver and it's been a blast but I get to the point of needing to insert a Flash video and it gives me a message: "Making this change would require changing a code that is locked by a template or a translator.  The change will be discarded."
    Is the template the index page I use as my template for other pages?
    What code is it that I need to change to insert the video?

    Are you sure you aren't working with a template driven page?
    When you insert media files into DW, it must write code in the <head> tags to reference Scripts necessary for Flash media to work on the web. 
    If you're working with a page that was created from a Template, the DWT page must have editable regions in the <head> tags, or you won't be able to add media to your web pages.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for

  • Where do i find the os x 10.7 software update?

    I keep getting this alert message when i try to update "This update requires Mac OS X version 10.7". Where do i find the OS X version 10.7 to update my MacBook Pro?

  • How do I permantly remove a tab

    When I right click on the tab I can remove it but every time I open Firefox the tab(s) come back again. Thanks

  • Image maps using Adobe Muse 3.2

    I want to know if is possible create image maps (many links in just one image) usign Adobe Muse 3.2. I use transparent rectangles to this feature, but i wonder if there is a better way. Thanks.

  • Re-Downloading Deleted Songs

    Hi there. I'm a long time iTunes user - and I've purchased quite a few songs from Apple. Recently, however, some of the purchased songs needed re-loaded onto my computer. To make a long story short, a few of them did not make the transfer. They're lo

  • Lenovo b570 wireless internet not working after repair

    i had my computer sent out it wouldnt power on they replaced the motherboard bios and ram i think it said, anyways the internet wont connect it keeps saying turn the switch on on the front of the computer well it is on and the logo even pops up on sc