Controlling Captivate variable values with AS2 Flash animation

I created a couple of simple Pause/Resume Flash AS2 buttons to manipulate the Captivate playback using the following script:
on (release) {
_parent._parent.rdcmndResume = 1;
on (release) {
_parent._parent.rdcmndPause = 1;
The buttons work as intended if their "Display for:" values are set to "Rest of project".  The buttons seem to have no effect on the Captivate playback if "Display for:" is set to any thing else.
The problem is that I hoped to only show the buttons when I want the user to pause or resume the Captivate timeline.  However, for some reason which I do not understand, they do not work when their "Display for:" value is set to "specific time".
Any ideas why the buttons behave the way they do or ideas on how to make them do what I wish they would do?

Hi Pra MMartin,
When 'Display for:' is selected as rest of project/ duration of animation, the swf loader will be placed on the timeline of the Captivate swf.
When 'Display for:' is selected as specific time/ rest of slide, the swf loader will be placed inside the slide (slide is placed on the timeline of Captivate swf).
So try this when 'Display for:' is specific time/rest of slide:
on (release) {
_parent._parent._parent.rdcmndResume = 1;
on (release) {
_parent._parent._parent.rdcmndPause = 1;
Hope this helps.
Ravi Kishore.

Similar Messages

  • Controlling Captivate movies from a parent Flash movie

    Hello, i am in the works of onverting my old AS2 code, for controlling Captivate movies lodaded into a Flash container, over to AS3 becasue of the transition to Captivate 5. There were some weird issues in AS2 and Captivate 3 which i fortunately vere able to solve when i first made this container. Now i am getting weird and unpredictable results when trying to set the appropriate variables in the Captivate move. The main culprit is: rdcmndRewindAndStop, it does indeed rewind the movie, but... it starts playing again... Could anyone be so kind to give me the reason why or better even provide me with a solution to this unneeded change, its quite annoying, and no rdcmndPause does not help, not before rdcmndRewindAndStop or after, the movie is happily trottling along...
    sincerely
    Frustrated developer with a bloody short deadline

    Hello and thanks for replying, yes it worked! But... we have to manually edit 40+ files to make this stupid thing to work... Do you know if there is any way i can put those scripts in a flash object, or better even modify the movie from the parent container? This is making our production process way longer than is affordable tbh, a single project consists usually of over 100 captivate movies, and we simply can't manually edit each and every one of them.
    I wish i could get my hands on a Captivate developer ;p

  • How to pass session variable value with GO URL to override session value

    Hi Gurus,
    We have below requirement.Please help us at the earliest.
    How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
    Please provide step by step solution.No vague answers.
    I followed below steps mentioned.
    RPD:
    ****-> Created a session variable called STATUS
    -> Create Session Init block called Init_Status with SQL
        select 'ACTIVE' from dual;
    -> Assigned the session variable STATUS to Init block Init_Status
    authenticationschemas.xml:
    Added
    <RequestVariable source="url" type="informational"
    nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
    Report
    Edit column "Contract Status" and added session variable as
    VALUEOF(NQ_SESSION.STATUS)
    URL:
    http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
    Issue:
    When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
    Report is picking the default value from RPD session variable init query.
    could you please let me know if I am missing something.

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • Acrobat pro Extended | Passing variable value with Querystring

    Hi,
    We are facing issue with opening a web link with passing a variable value as query string parameter. We have added a form button on the pdf page, on click of it we have opened a web page and we want to pass a variable value in the query string. We can not give the hard code value in querystring, as the value keeps on changing.
    Please refer to the images below.
    here the data will be my variable name, which contains some value. When i execute it, it passes data as a string, i want to pass its value in the query string parameter. How i can do this?
    I had found one more way, is to call a function on the form button click, and in that pass the query string parameter as a variable, it works. But the problem in this case i am faceing is, in the app.launchURL command i have to provide a http path, means something like http://www.google.com, then only it works. I have that page on my local (no server), so i want to add the path as onlu page.html
    //Reference code, this fun will be called on a button click
    function LaunchPage()
        app.launchURL("http://www.aptara.com/page.html?value="+data+""); //this works
        app.launchURL("page.html?value="+data+""); //this dosent works
    Please do let me know, how i should proceed. To repeat, i want to invoke a page, which is on my local system with a querystring, in which i sud pass a variable value.
    Thanks,
    Ajit danve
    Sr. Developer
    Aptara, Pune.

    re: George Johnson
    Thank you for the response. This process that we are looking to do is necessary. We have 400+ OLD PDF forms that currently are printed by our print shop and then manually filled out and scanned into our system. The current process requires a clinician to log into our scanning system, identify a patient chart, and then identify the type of report they are scanning in. This process is time consuming with possibility of errors (wrong chart selected, wrong form, etc.). Plus, we have to stock up to 400 forms at each location.
    We don’t have the funds to convert 400+ complex forms into electronic submissions where the form fields are discrete and file accordingly. So, what we have come up with to save costs of a new system and reduce potential errors is to add a barcode to each existing form.
    Basically, each form will get a barcode and a javascript function in the onload event to process and parse passed in link parameters.
    So when a clinician clicks on a form link in our EMR system the form will load passing in the patient acct. number and form name into the link parameters (all on our local intranet) so it will get embedded into the barcode on the form. They will then print the form fill out the data (or have the patient fill it out) and then drop it in the scanner. Our scanning system will automatically see the barcode and file the form under the correct patient and form folder based on the barcode info. (A scanned image of the form will save to the patient profile).
    Ultimately we would like to convert all of these forms to electronic signature/submission but we do not have the funds or the time to do this.

  • Passing variable value with button or MC, that acts like a button

    Hi,
    I have a system.swf, that coordinates which MC should be
    loaded into container. I'm trying with IF statement...
    if (scene == "VALUE")) {
    load ...
    My question is, how can I pass a variable value from loaded
    swf to the system swf, where this value is read?
    THX

    once loading is complete all variables in all times are
    available everywhere. you just need to use the correct path to
    reference variables in one timeline from another timeline.
    so, if your container movieclip is on system.swf's _root
    timeline and has instance name containerMC, from anywhere you can
    use:

  • Displaying Variables values with Text also in the selection screen of repor

    hai
    I have one InfoObject ZPLANT .When i try to excute the report then im getting only the Values of ZPLANT(not Text of those values) .Like below
    ZPLANT :-
    101 -
    (im getting like this)
    101 London Plant ( i want like this ,when i try to excute the report).
    Please tell me how to do .
    rizwan

    Yes kamaljeet ,
    When we press F4 , then we will gwt some values .
    I want those values with description also ..
    Pls tell me how can i get those F4 values with text in the selection screen of report .
    i ll assing the points
    rizwan

  • Need help with placing Flash animations in Captivate...

    I have a few short animations I did in Flash that I want to put in Adobe Captivate. They place fine and play fine. But I wanted to know if it is possible to have the last frame of the animation show for the rest of the captivate slide. Thanks!

    If I place a .swf in a Captivate slide (v5), it allows me to drag the duration of the swf placeholder to be as short or long within the slide duration.  If the swf file's duration is shorter than the Captivate slide's duration, it cuts out after X seconds, but if I drag the swf duration to match the slide, it plays as long as the slide does.  Is that the info you're looking for or is there more to it?
    Sean

  • Getting a substitution variable value with VB API

    Hi,I'm trying to get the value of a specific substitution variable on an application with EsbGetVariable().I get a nice message that says "you do not have sufficient access to get this subsitution variable." and then i get the return code of EsbGetVariable() that is 1051085 (i couldn't find it in any documentation).The funniest thing is that i can get the value of the substitution variable, using Application Manager, with the same Essbase user that tries to get the value in the API.Any help would be welcome...PS : here is the code of the macro i execute (hope it will be readable)...Public Sub ESB_GetVariable()Dim i As IntegerDim nCount As IntegerDim sts As LongDim oVariable As ESB_VARIABLE_TDim hCtx As LongDim AppName As String * ESB_APPNAMELENDim DbName As String * ESB_DBNAMELENDim szApp As IntegerDim szDb As IntegerDim pAccess As IntegerDim X As VariantX = EssVConnect("Feuil1", "xxx", "xxx", "xxx", "Gmo_RvIt", "It_Repr")If X = 0 Then hCtx = EssVGetHctxFromSheet("Feuil1") If hCtx <> 0 Then sts = EsbGetActive(hCtx, AppName, szApp, DbName, szDb, pAccess) oVariable.AppName = AppName oVariable.VarName = "Divers_VR" sts = EsbGetVariable(hCtx, oVariable) MsgBox "status is " & sts MsgBox "Divers_VR value is " & oVariable.VarValue Else MsgBox "EssVGetHctxFromSheet failed with status " & hCtxEnd IfElse MsgBox "EssVConnect failed with status " & XEnd IfEnd Sub

    testing formatting ...
    0.03965 0.00026 ds ... <save> auth user=nobodyEdited by: gpoz on Apr 18, 2013 12:14 PM

  • How to send an email with a flash animation?

    I hope someone can help me with this!!! I want to send an
    animated email, but I want it to be embbeded in the email and not
    as an attachment. I have placed it in the server and tried to
    export it as a complex HTML X--it is not working... please, if
    anybody knows a way to do it, please let me know. THANKS

    Hi,
    I am sorry but I guess it can not be done as the email will
    always read the embedded SWF as attachment. You can convert your
    animation to GIF instead.
    Hope this helps

  • Databank variable value with space- issue in OLT

    Hi,
    I have noticed that OLT does not recognise databank variables which have a space in them. Is that a known issue. For example I have a script that requires a PostCode to be entered in a field. So in my databank the variable PostCode will have "E10 8HJ" in is as Postcode value. Now this runs fine in Openscript. But when I run this script in OLT, I get "thinbrowserexception" and then the detail error shows that the variable post code was not found. Do I have to remove space for all data values in my databanks?
    Regards
    CP

    This is not a known issue.
    You can double quote your value in the databank. (" ... ")
    JB

  • While we wait... Can anyone help with a flash animation?

    So while we wait for our iBrick to start working, can we make a littl animation similar to the MAC/PC commercials.
    We can have a Nokia Guy and iPhone Guy in the cast.
    Any script writers out there?? Can you pitch in the script
    Btw: This is similar to "If Microsoft built cars" (google it, its funny). I think Apple should stick to building products which dont require 9.99999 uptime.

    Do I assume correctly that the web site / page that is troubling you is not accessible to the public?  In that case all we can do is guess.
    What is your installed Flash Player version?  See http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html#main_Find_the_Flash_ Player_version_installed_on_your_machine
    What is your display adapter, device driver version & date?  See http://forums.adobe.com/thread/945765

  • Need a little help with a Flash animation slideshow in Dw

    Hi:
    I'm a student that is creating a website for a local business.  One of the things I want is a Flash based slideshow that does a rolling display of 3 or 4 images within a CSS container of my page.  One of our lessons came with a slideshow .swf file and a .xml file which dictates the location of the images to be used.
    I am having trouble with the alignment of the images within the slideshow viewer.  They are not filling the pane as evidenced here:
    http://uweb.und.nodak.edu/~Brian.Gale/AandS_website/index.html
    I resized the flash app pane to 350 x 400 px using the properties inspector and I know that my CSS container is large enough to hold this.
    All of my images have been resized to 350x400 as well.  I've tried using the properties inspector in Dw for the Flash app to adjust the scale and alignment to no avail.  Its as if the app is calling up the image in the wrong place (the bottom is getting clipped off) and its not filling the viewer.  Not sure what code you need to see or how to post it, please let me know.
    Thanks!

    Brian,
    I just pulled your slideshow.swf and decompiled it.
    The swf document is 432 x 288.  First off that's landscape and you are looking for350 x400 which is portrait.
    By changing the size in DW you did not alter the size of the original .swf container, you simply stretched/squeezed the way it would display.
    If you had the images embedded in the .swf they would be distorted.
    By calling them from an .xml they are not affected by the DW .swf size change but the anchor is not correct.
    I'll email you a properly sized swf.
    Scott

  • 7iweb with keynote flash animation cannot open with IE6 or

    hello,
    i have a problem with my web site that i relaesed with i web and keynote.
    the problem is that i not can see the fkeynote aniamtion with an internet explorer browser.
    It's perfect working with safari , firefox & netscape...on mac or pc....
    thanks for your help.
    www.wewemass.com

    I've had the same problem. Even though you check the box to save it as Keynote '08, it does not open in ')8 (I get the same message)...you need to reopen it in '09.
    I have even changed the name of the file in '08 and eventually get the same message.
    I believe that once you open it in '09, you're committed to that.
    Let me know if you have better luck.

  • Overlay live video feed with flash animation

    I am using a webcam to allow people see themselves on a screen.  I would like to overlay the video with some flash animation (simple graphics of planes, cars etc.) going across the screen.
    How do I achieve this?

    Hi IEC,
    Having just finished an app that has two ROI overlay layers ontop of a
    static image, I might be able to give you some ideas. All of the below
    assumes that you know basic Labview programming.
    - I have not used IMAQ yet, and so am not sure what front panel control
    type will render the live video images. But, I'm not sure that matters.
    - If you can place an XY Graph over your video display on the front panel then we have it made
    - stretch the size of the XY Graph so that the plot area matches the size and placement of your video image panel
    - make the plot area of the XY graph transparent.
    - you can also make the border of the XY graph transparent
    - if you want a scale for your video then use the scale of the XY Graph to show the scale of your video images
    - then it's just a matter of defining the XY points of the ROIs that you want to plot on the XY Graph
    - if you want multiple ROIs then each can be a different color by making them different channels to the XY Graph
    - if you just want a few straight lines, and want to be able to move
    the lines around in realtime then you can get a little fancier:
           - turn on the cursor legend for the XY Graph
           - create two cursors for each line that
    you need (a start point cursor, and an end point cursor)
           - set the color and cursor style as desired
           - in your main loop:
                     - use the XY Graph "crsr list" property to get the XY positions of the various cursors
          - those cursor XY positions become
    points of line segments fed to the XY Graph to plot (draws a line
    between the cursors)
           - In realtime, as you move the cursors, the line segments move accordingly
    In my particular app I had to provide a mechanism for the user to
    create ovals, rectangles, polygons and freehand ROIs. Then I also
    needed mechanisms to rotate, pan or expand/compress the ROIs. This is a
    bit more challenging, but very do-able.
    Hope that helps,
    RMP

  • Send score of flash animation in a slide of captivate 6.

    Hi,
    I want to insert a slide captivate named January 1 swf flash animation in which a score appears at the end of this swf animation. I will wish that captivate gets this score and place it on the slide named 2. Do you know how? I guess it must be programmed into the flash animation but what code returned for captivate know to interpret it?

    You may be able to use some of the original code.  A widget is also an SWF.  It just has certain code that Captivate requires in order for Cp to see it as a widget.
    You can either use Adobe's widget templates (see their Help doco) or you can use the WidgetFactory API by Tristan the Widget King:
    http://www.infosemantics.com.au/widgetfactory/info

Maybe you are looking for