ActionScript 2 support in Captivate 5?

After importing a CP4 project into CP5 for Mac, I noticed that the project was converted to an AS3 project and there doesn't seem to be the option to revert back to AS2 (in the Publish Preferences as it was in CP4). Is there a way to get around this quickly, as our widgets and animations created with AS2 are not working properly, but would like to take advantage of many of CP5's new features.

Duncan,
Here's the gyst, and I can elaborate if needed.
In  your Flash AS2 swf file, create a LocalConnection object. This is  essentially an object that can communicate with AS3 swf files. In my  Flash files, I have an activity with a continue button, which tells the  containing Captivate swf to go to the next slide. Here is the continue  button code from my AS2 swf:
// ------------------------- Continue button
var myLC:LocalConnection = new LocalConnection();
continueBtn.onRelease = function() {
    startActivity();
    myLC.send("myConnection", "capNextSlide");
Then, I have a Flash AS3 file (which I call a "proxy") on slide 1 of my Captivate project and it is set to display for the entire project. Here is the complete code that sits in frame 1 of the AS3 project:
var myLC:LocalConnection = new LocalConnection();
myLC.client = this;
myLC.connect("myConnection");
function capNextSlide():void
    //this tells containing Captviate swf to resume
    (parent.parent.parent as MovieClip).rdcmndNextSlide = 1;
The function you created in AS3 can be any of the readymade Captivate commands. I typically use Phillip Hutchison's list of Captivate variables published here: http://pipwerks.com/2008/05/19/unpublished-captivate-variables/
Let me know if that makes sense.
One little quirk with this method... you can only have one LocalConnection object running at one time per machine. Let's say you use this method on 2 different Captivate projects and you're viewing one project in IE8 and another in Firefox 3 at the same time, the AS3 proxy file will break in the second instance that's running, which means your AS2 swf will work except that it won't be able to communicate to the Captivate swf via the AS3 proxy file. As long as you run only one Captivate swf at a time, you should be golden.
Best,
Danny

Similar Messages

  • AS2 support in Captivate 7

    I was wondering if Captivate 7 supports both AS2 and AS3?  The reason I ask is with Captivate 6 I could not use any AS2 script and when I published they would not work. But in Captivate 7, I insert the AS2 script (get a message saying it may not work) and when I publish and review on my desktop for testing it works.  Will this function show it working on my desktop, but when viewed on Web Server with LMS it will not work? 
    Thank you!

    No and AS2 is so old, that I'm pretty sure it will never again be supported by Captivate. Maybe it is just lucky that one works for you.

  • Tech Support for Captivate?

    Did Adobe discontinue tech support for captivate? I can't seem to initiate a tech support session anymore??

    Sorry but this is a user forum, hope someone from the staff pops in.

  • Actionscript 2 Support in Captivate 7

    I'm developing a new course in Captivate 7 using SWF animations from an old course, these animations were developed using Actionscript 2.
    When I insert the SWF animations, Captivate gives me a warning about Actionscript 2 support, but so far the animations I used seem to be working fine.
    Does Captivate 7 fully supports Actionscript 2, or there is a chance the my animations might not work or crash eventually?
    These animations have a video player embedded with text captions. Thank you.

    They can work together, but there are restictions as to what the AS2 swf can do as far as references and levels (see below). If it works now, I'm fairly certain it will continue to work.
    The loaded AVM1Movie object operates as a psuedo-root object for the AVM1 SWF file and all AVM1 SWF files loaded by it (as if the ActionScript 1.0 lockroot property were set to true).    The AVM1 movie is always the top of any ActionScript 1.0 or 2.0 code execution in any children. The _root property for loaded children is always this AVM1 SWF file, unless the   lockroot property is set in a loaded AVM1 SWF file.
    The AVM1 content cannot load files into levels. For example, it cannot load files by calling loadMovieNum("url", levelNum).
    The AVM1 SWF file that is loaded by an AVM2 SWF file cannot load another SWF file into this.  That is, it cannot load another SWF file over itself.  However, child Sprite objects, MovieClip objects, or other AVM1   SWF files loaded by this SWF file can load into this.

  • Will there be any plans soon to support problematic captivate objects like smartshapes?

    Currently there is no support for use of smartshapes as buttons in Adobe Captivate SCORM files. Are there any plans to fix this soon?

    hi mjpettitt, i don't know enough about the particulars of your question to give a definite answer. however firefox is a webbrowser that aims to be standards compliant - it renders html an not any proprietary formats. so the long term "solution" of this problem would probably be for Captivate to generate output that complies with web standards...

  • Can the Adobe Photoshop Layer Support with Captivate 4 be use to show a Zoom & Pan Effect?

    I'm working with a client that is interested in creating the "Zoom & Pan" effect you get with Camtasia using Captivate 4.  I'm not finding enough information to support that this is possible with Captivate 4.  The Photoshop Layer Support feature with Captivate 4 comes across as something that may work to some degree however, it is again unclear if it would definitely work to give the zoom & pan effect I am looking for.  Would anyone mind explaining this feature in greater detail and/or offering any ideas for how I can show the zoom & pan effect in Captivate 4?

    Hi there
    LOL, good luck with that!
    NOTHING in Captivate will achieve what you are seeing in Camtasia. Sorry, there simply is no comparison. Sure, Captivate has panning while recording, but what you end up with are several herky jerky snapshots of suddenly being in a different screen area. Sort of reminds me of walking through a room while slowly closing and opening your eyes. In other words, you are seeing version 1 of the panning feature. We hope it improves, but it's not there yet.
    If you have Camtasia, you could combine it with Captivate for some nice and interesting effects and have the best of both worlds! I do that.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Flash 8 files not supported by Captivate 1

    I am working in Captivate 1 and is trying to import a Flash
    file I created in Macromedia Professional Flash 8. I get the
    following message from Captivate 1 "Macromedia Flash 8 files are
    currently not supported".
    Any ideas? Does anyone know how to get around that?
    Thanks much,
    Veronica.

    Hi Veronica
    I guess the smart-alec answer is not what you are looking for
    here. Go ahead and actually purchase Flash?
    Seriously, I suppose the following questions/possible
    suggestions come to my mind on it:
    Question:
    What is it that Captivate isn't doing or you feel cannot do
    where you see a need to use Flash in conjunction?
    Suggestion:
    You may want to investigate a different tool such as Swish.
    Particularly if the Flash entry fee is an issue. Swish is less
    expensive.
    Click here to visit the
    Swish site
    Although I've purchased a copy of Swish, I'm not overly
    familiar with it. So I'm unsure if it offers the same output
    options as Flash WRT the different player versions. I believe
    fellow Adobe Community Expert Paul Dewhurst (
    http://www.raisingaimee.co.uk)
    uses it to create his way cool widgets, so it might work to do what
    you need.
    Cheers... Rick

  • Vote for ActionScript support in Microsoft Visual Studio

    Please vote for ActionScript 3 support in Microsoft Visual Studio. It already made it to the first page
    Visual Studio Code: Top (479 ideas) – Visual Studio

    Hi everyone . I've worked it out. At the moment I'm using an online tutorial about classes. The tutorials, mouse was just resting on assembly information file. I thought you had to select it.
    I've selected class and its working fine now
    Thanks for you help
    Sorry for being such a noob

  • Importing Flash (Actionscript 2) into Captivate 3

    I recently needed to create some buttons that would show an image when the button is clicked and hide it when you click the button again. Since this capability does not appear possible in Captivate 3, I created a button with the appropriate image in Flash. It works fine when I test the Flash file or run it by itself. However, it does not appear to work properly when I insert it into Captivate as an animation. The up, over, and down posistions work on the button, but the image does not display when the button is pressed. The following code was used in Flash:
    (keyframe script)
    // when swf is loaded
    myMC1.onLoad()
    myMC1._visible = false;
    (button script)
    //when our button pressed:
    on(press)
    //check if its visible
    if (myMC1._visible == true) {
      //if it is make them invisible
      myMC1._visible = false;
    } else {
      //otherwise make them visible
      myMC1._visible = true;
    Any ideas why it works on its own, but not in Captivate?
    Darin

    I have since tried a different set of code and had some positive results. I used the following in first_btn:
    on(press){
    if(firstmc._visible)
      firstmc._visible=false;
    else
      firstmc._visible=true;
    This code works just fin in Captivate 3. The only issue I had then was to initially hide the movieclip. To do that I tried the following code in my movieclip firstmc:
    onClipEvent(load) {
    firstmc._visible=false;
    This worked in so far as it hid the movie clip when I ran the swf. However, now the button does not show the movie clip when clicked. Any ideas?
    Darin

  • Does flex/actionscript support SOAP MTOM?

    as titled.

    i found feature request http://bugs.adobe.com/jira/browse/SDK-12723
    Does anyone know could the priority of the issue be raised?

  • Is there a way to edit an actionscript in Captivate 5?

    Hi,
    I am new to actionscript and to Captivate. I have a simple actionscript that I'd like to add to a slide without having to use Flash directly.
    If this is possible, can someone please tell me how to add/edit an actionscript in C5?
    Thanks,
    D

    Hi,
    You cannot add/use Actionscript directly.However, there is Advanced Actions which Captivate supports which has pre-set conditions and standard actions which you could use to get a desired result.
    Thanks,
    Sikandar

  • Open URL from a Captivate generated MP4

    Hello all,
    I am putting together an instructional video (.mp4) using Captivate 5.5, the video will be targeting iOS users.
    I will need to provide a way to open some webpages while the end user is playing the mp4 file. My thought was to include a button with an assigned action to "Open URL or file" and specify the URL.
    This does not seem to work after publishing to mp4 format. Is that feature not supported in Captivate mp4 files? Or did I forget a step maybe? Is there a workaround to achieve the same result?
    I'd appreciate any input on this.

    Hi there
    Unless something has changed recently, it is my understanding that MP4 is strictly a video format and does not support hyperlinking or other types of interactivity.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Can a Flash 6 SWF (AS 1) read variables of a Captivate 4 SWF (AS 2)?

    I have a Captivate 4 CP that I published to Flash Player 9, AS 2.0 SWF ( and Flash Player 7 as well, which didn't help either). I load this SWF in a Flash wrapper SWF (published to Flash Player 6, AS 1.0) which needs to read the rdinfoCurrentFrame and rdinfoFrameCount variables in order to find out if the Captivate movie has completed. The logic works when I test this locally, but not in our test environment, probably because the two (Flash SWF and the Captivate SWF) are in two different directories. My suspicion is that it is due to cross-domain issue which comes into play only with Captivate 4 SWFs, because when I tried replacing the Captivate 4 SWF with a Captivate 2 SWF it worked. I tried displaying the value of rdInfoCurrentFrame in the Flash wrapper using a dynamic text box, and while it shows and updates the value in case of a Captivate 2 SWF, it shows a null value for Captivate 4 SWF. Is this a known issue? I'm playing the content in Flash Player v9.0.45.0.
    Also, can someone here tell me what ActionScript version does Captivate 2 publish the SWFs to?
    Thanks in advance for your help!
    Mohsin

    The crossdomain policy is a result of the Flash player - not Captivate. It was implemented with FP 8.0 so if you publish to that then you will have the restrictions. However, the crossdomain policy only applies to different domains - not different directories.
    Captivate 4 publishes to AS2 per default.
    The problem you have is due to the fundamental changes between CP2 and CP4. While your paths for the variables might work for CP2 they have changed for CP4.
    I can't remember exactly what they are right now and I dont have access to my files but try these paths
    movie.rdInfoCurrentFrame
    mainmov.rdInfoCurrentFrame
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • ActionScript 3.0 -- Sending MIDI messages

    I'm looking for ActionScript 3.0 methods that allow me to
    send NoteOn MIDI messages and MIDI continuous controller streams
    such as pitch bend.
    Last time I checked Flash had very limited MIDI control -- it
    could only play whole MIDI files! Does ActionScript 3.0 have offer
    more specific control?
    Anybody in the know?
    MIDI is the most efficient and flexible music delivery tool.
    It’s VERY powerful asset that Flash would be wise to support.
    When Flash/ActionScript supports MIDI, you’ll see what I
    mean. To date Flash has grossly underutilized the MIDI protocol.
    John Blasquez

    quote:
    Originally posted by:
    Phrankie
    MIDI is the most efficient and flexible tool for delivering
    music over the internet and in applications. It’s a VERY
    powerful asset that ActionScript really ought to support -- when
    ActionScript supports MIDI messages, you’ll see what I mean!
    John Blasquez
    I believe this is an important point, so I'll try saying it a
    different way.
    MIDI is to digital audio as vectors are to digital artwork.
    It's great that Adobe leverages the efficiency of vector
    graphic into Flash. Imagine if animators could only use pixel base
    artwork in Flash... files would be huge, and flexibility and
    editability dramatically reduced.
    The lack of MIDI support in Flash’s "audio toolbox" is
    tantamount to Flash without vectors.
    I strongly encourage Adobe to expand ActionScripter by adding
    extended MIDI support. PLEASE give ActionScripters methods for
    sending MIDI messages, such as NoteOn MIDI and continuous
    controller streams such as pitch bend. And give us tools for
    accessing an array of available MIDI synthesizers. Ideally Flash
    Player and Flash Player plug-ins will host a flexible synthesizer,
    but in the meantime, allow us to access the synths in QuickTime
    player, QuickTime plug-in, WMP or Java.
    John

  • Captivate to FLV

    Like many others, I am VERY annoyed that Adobe has yet to
    provide FLV support for Captivate projects. We use Flow Player on
    our site and it just works better with FLVs. I'm having trouble
    finding an adequate SWF to FLV converter, too. Anyone have luck
    with this issue? How do you get your Captivate projects into FLV
    format?
    Thanks.

    My company uses Moyea SWF to Video Pro to convert the SWF to MOV, then we use Sorenson Squeeze to convert and compress the MOV to FLV for streaming. It's annoying, but it works.
    Captivate 4 can output to AVI, but it keeps dropping slides and the audio sometimes doesn't sync very well. Nice thought...

Maybe you are looking for