How does Captivate 4 function once imported into and now within Flash 4 (AS3 environment)?

I have a specific need to try to get a handle on a certain section of the timeline to add a textbox with certain text in it.  if (label.name == "Slide_3") {then... display the textbox and the text } does not work.  I am trying to use the addChild method to display the textbox and its text in the displayList during the Slide_3 section of the timeline.  This may not be the way to go as I can't seem to get it to work...
My Goal: 
Using AS3, working from within Frame1 coding area (Timeline scripting area), have some text appear in a textbox but only while Slide_3 is playing.
I already have written the code that pulls text in from an XML document, stuffs it into a dynamically created textboxand, and  am trying to take some of the text and have that text only appear during a certain part of the timeline. 
Assumptions:
The standard/native way that a Captivate.cp file is imported into Flash CS4 results in a timeline that has labels (Slide_1, Slide_2, Slide_3, etc.)
I don't want to manually create a textbox and manually put the text into it on the Actions frame of the Slide_3 label, but instead would like to put the text into the text property of the textField programatically from Frame1 (Action frame in Frame1 + F9)
I have tried using the addChild method but that adds the textbox to the WHOLE timeline. (Creating a textbox is not a problem, but instead getting some text into the textbox only during Slide_3 is the issue)
The Problem:
How can I get the text to only appear during the playing of the Slide_3 label frames? (But NOT display during the rest of the timeline)
When I run code on the Action frame of Slide_3 that outputs the displayList, I get the following:
root1 [object MainTimeline]
     info_txt [object TextField]
// this is a textfield that i created
      instance3 [object TextField]
      Slide_3 [object Slide_3_7]
           instance15 [object Shape]
           instance16 [object MovieClip]
                instance17 [object Shape]
           instance18 [object clickbox4_9]
                click_zone [object SimpleButton]
                instance19 [object Shape]
           instance20 [object Shape]
           instance21 [object Shape]
           instance22 [object Shape]
      SlideClip3 [object MovieClip]
Yet, when I trace the keyword *this* (from within the Action frame in Slide_3) Flash outputs [Global Object].
I am wondering how I can display the specific text for Slide_3 only during the playback of Slide_3. I'm guessing that, if I could only find what the Global Object is, I could addChild to its display list property.
I also tried using some of the Static variables to no avail (that were automatically created when the import occurred) such as:
var ref=this;
var nCurSlideIndex:Number;
var currentSlide_mc:MovieClip;
var quizPlaybackController;
var scrubberChanged:Boolean;
var slideNewFrame:Number;
var mcLoader:Loader = new Loader();
var loading_sub_mc:MovieClip;
var m_preloaderLoaded:Boolean = false;
Any guidance, suggestions, ideas, that you have would be very welcomed! 
Some Things that I've Tried:
Incidentally, when I write code in the main timeline (Frame1 and press F9) I get some of the following behavior:
//this.Slide_1.addChild(info_txt); //displays the textbox with text but only during "slide 1"
//this.addChild(info_txt); //displays textbox and text during the whole timeline
//SlideClip1.addChild(info_txt); //displays textbox and text only during "slide 1"
//SlideClip3.addChild(info_txt); //nothing displays --TypeError: Error #1009: Cannot access a property or method of a null object reference.
//ref.addChild(info_txt); //displays textbox and text all the time
//addChild(info_txt); //displays textbox and text all the time
//ref["Slide_3"].addChild //no luck here either

I don't have any insights into this particular problem. But we are having strange things happen with Captivate and imported AS3 animations. never had problems witht he AS2 animations. so, we are having to recreate and everything and republish as as2.

Similar Messages

  • How can I pass a file refnum into and out of external c++ code? What type does it convert to in c++?

    I am trying to write external c++ code that will read a file already opened by Labview and therefore assigned a refnum. (Unfortunately, I definately can't use the standard Labview vis.) However I am not sure what c++ type to use in order to manage the refnum.
    All help and thoughts appreciated. Thanks,
    Joanna

    You could do ALL your file handling in C or C++ (MFC CFile for
    example) and pass Microsoft file handles into and out of LabVIEW
    instead of LabVIEW file references into and out of C. This may be an
    easier way to attack the problem.
    You could create a DLL in MSVC that exports a FileOpen function, a
    FileClose function and a FileRead and/or FileWrite Function and then
    call that DLL from place to place as required in your code.
    It would help us if you would explain what kind of data you are trying
    to read or write and what the application is. Is it binary data?
    text files? Do you need some special Win32 file system feature like
    file mapped memory? I guess what I am asking is what is your
    motivation for doing file handling in C or C++?
    Douglas De Clue
    LabVIEW developer
    [email protected]
    "Rolf" wrote in message news:...
    > A LabVIEW file refnum is an internal Magic Cookie to LabVIEW and there is no
    > way to directly extract the actual information assigned to that Magic
    > Cookie.
    > However the CIN Reference Manual describes one function which allows to
    > retrieve a lower level "File" handle and at least on Windows 32 bit and
    > LabVIEW
    > from version 5 up to and including 6.1 this "File" LabVIEW datatype directly
    > maps
    > to the Win32 API "FILE" Handle.
    >
    > The function to use is
    >
    > MgErr FRefNumToFD(LVRefNum refNum, File *fdp);
    >
    > It is declared in extcode.h or one of its dependant headers and exported
    > from "labview.lib"
    > all located in the cintools directory and you can link this lib also to a
    > normal DLL project.
    > However calling this DLL then from any other process than LabVIEW or a
    > LabVIEW
    > executable will not initialize the DLL anymore correctly.
    >
    > Your best option if you need to write in C(++) should be to use the LabVIEW
    > file manager
    > functions described on the External Code Manual (manual/lvexcode.pdf) on
    > this File handle.
    > If you need to use directly some Win32 API functions with it please note
    > that although currently
    > the "File" in the LabVIEW file manager functions matches the FILE in Windows
    > 32 bit API
    > functions this is an undocumented and hence unsupported feature. The next
    > LabVIEW version
    > may actually use a different datatype for its "File" parameter to the
    > LabVIEW file manager calls
    > and your use of assuming File == FILE may simply crash.
    >
    > Also operating on a file refnum in LabVIEW which has been accessed directly
    > with Win API
    > functions may result in strange behaviour such as the file read/write mark
    > not being updated as
    > you would maybe expect it.
    >
    > "Jo" wrote in message
    > news:50650000000800000016520000-1023576873000@exch​ange.ni.com...
    > > How can I pass a file refnum into and out of external c++ code? What
    > > type does it convert to in c++?
    > >
    > > I am trying to write external c++ code that will read a file already
    > > opened by Labview and therefore assigned a refnum. (Unfortunately, I
    > > definately can't use the standard Labview vis.) However I am not sure
    > > what c++ type to use in order to manage the refnum.
    > > All help and thoughts appreciated. Thanks,
    > > Joanna

  • How does the Delta functionality works while updating Infocube from PA

    Hi Gurus
    How does the Delta functionality works when you send forecast to the Info cube from the Planning Area.
    As I have weekly based planning, every week we have to update the forecast into the Cube. If I update  every week into the Cube , then the values are going to append  in the Info cube.
    Shall I create ODS in between the Planning area  and the Info cube .
    (or)
    Any other method ?
    Please Suggest.

    Hi Preetham,
    Data Extraction from planning area to infocube usually its supports for full update only, when u r going to load the data from planning area to cube ,it deletes the previous data and u vil get the fresh data, this is the best method performance wise,
    if u want to use the delta functionality u can go for planning area to Dso, Dso to cube, it vil supports the delta functionality, but it vil degrades the system performance,
    regards
    ravi

  • How does Internet access work once I leave home?

    Do I need to subscribe to a wireless broadband deal- such as BT's Openzone- in order to access the Internet on my macBook when I'm away from home ... or can I depend on dialling my ISP via a phone socket? How does Internet access work once I leave home?

    BT Openzone looks a lot like T-Mobile wireless here in the States. I've got a T-Mobile account and password. When I go into a location that has TM, I open up my MacBook and look under my AirPort menu icon to select the TM network. Then I enter my account name and password and go.
    Of course TM isn't everywhere, just as BT's service isn't. When I'm in a location that doesn't have it, how I connect depends on what does exist. I always travel with an ethernet cable because many hotels don't have wireless but do have ethernet connections. I've not had to resort to modem service is more than 5 years.

  • How does the sync functionality work with large libraries on small devices?

    How does the sync functionality work with large libraries?
    Say I sync 100gb of photos with the new Photos app and turn on sync on a 16gb iphone. Will it fill the device up to 16gb? Can I tell it to limit to xgb so I leave room for music and apps? How does this work? Will it slow down my phone if its trying to sync 100gb across smaller devices?

    "Will the Apple TV now read directly from the Time Capsule?" ATV does not 'read' from the TC. It connects to the Mac and itunes library associated with the Mac. Of course the itunes program can 'point' to a library on the TC. You'll still need to have itunes open and the Mac powered on and not sleeping with the TC mounted to the Desktop to use ATV properly. So bottom line the use of TC just adds one more step to view files on the ATV.

  • How does the URL of DataSocket constitute?And how to use it in LabWindows/CVI ?

    Hi !
    There's a problem puzzled me some days.How does the URL of DataSocket constitute ? And how to use it in LabWindow/CVI ?
    For example.I have downloaded a code in http://zone.ni.com/devzone/cda/epd/p/id/3787.I want to make it work properly.So I configure my DataSocket Server Manger according to the URL of this statement.
    DS_Open ("dstp://weather.natinst.com/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
     My DateSockket Server Manger is configured as:
    However,it could not work properly when I debug it.
    There's a introduction at the top of the code."You may need to replace the references to weather.natinst.com to 130.164.140.10 if the DNS isn't working properly."So,I modified the statement into
    DS_Open ("dstp://130.164.140.10/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
    but,it did work properly.
    We want to communicate with other computers via the URL of  DataSocket in LabWindows/CVI.Whereas,how could we make it ia the URL ?
    If anyone could help me solve this problem,I would appreciate it very much !
    Best regards.
                     xiepei
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

    Hi !
    Thank you very much for your reply! I will accept your advice.
    Besides,I have another question.If I want to visit other computers or other websites,how does the URL of DataSocket  I constitute ? Does the URL has any relation with the DataSocket Server Manger ?If does,how to configure the DataSocket Server Manager to let them connected.If they have no relation,how to use the DataSocket Server Manger ?
    After all,I want to know how to use it in LabWinows/CVI ?
    Thank you very much !
    Best regards!
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

  • How does one identify a 2nd genration device and a 3rd gen device

    How does one identify a 2nd genration device and a 3rd gen device

    Identifying Apple TV models - Apple Support
    It's really in the model numbers, but ATV 2 does not support 1080p video output only 720p so if it has 1080p it's a gen 3.

  • How does *.jsf extension map to *.jsp extension and where it is mapped

    Hi ,
    How does *.jsf extension map to *.jsp extension and where it is mapped ?
    Thanks

    How does *.jsf extension map to *.jsp extension and where it is mapped ?It is mapped in the web.xml.
    If you add the following in your web.xml:
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    The *.jsf will be mapped to the file with the same name, but xhtml as extention.
    if you the javax.faces.DEFAULT_SUFFIX is not defined in the web.xml, the default suffix comes from the one of the constant of javax.faces.application.ViewHandler . This constant names DEFAULT_SUFFIX and equals to ".jsp"
    Look at:
    http://java.sun.com/j2ee/javaserverfaces/1.1/docs/api/constant-values.html
    Sergey : http://jsfTutorials.net

  • How could I insert the deleted row into another table within a trigger?

    Hi,
    How could I insert the deleted row into another table within a trigger? The destination table has the same columns as the source table. Since the statements are in the trigger, it is not allowed to query the source table named 'test'. Thanks! The trigger is as follows, uncompleted:
    CREATE TRIGGER delete_trigger
    AFTER DELETE
    ON test
    FOR EACH ROW
    BEGIN
    -- How could I insert the deleted row into another table
    END delete_trigger;
    Message was edited by:
    user569548

    Hi,
    I'm not sure what's wrong there.
    I read the oracle docs about ANALYZE and ALL_TAB_COLUMNS, and did the following:
    ANALYZE TABLE my_tab VALIDATE STRUCTURE; //went ok.
    SELECT column_name
    FROM all_tab_columns
    WHERE table_name = 'my_tab'; //but no rows selected?
    This topic might not be what this thread should be about. Here I posted a new thread:
    How to get colum names of the newly created table?
    Thanks.
    Message was edited by:
    user569548

  • Does Apple allow functionality between Logic Pro and Airport Express

    That's it... Does Apple allow functionality between Logic Pro and Airport Express.
    If not, Why not. It seems like such a logical Apple type solution. I looked and find it difficult to believe nobody has asked the question...

    There is your solution: http://www.rogueamoeba.com/airfoil/

  • I just loaded Yosemite on my Mac and now adobe flash won't work in Safari  8.0.4 .  Does anyone have a solution ?

    I just loaded Yosemite on my Mac and now adobe flash won't work in Safari 8.0.4 . Does anyone have a solution ?

    If you can't install or update Flash, follow these instructions.
    If you have installed the latest version of Flash, please take each of the following steps that you haven't already tried. After each step, relaunch Safari and test.
    For a "blocked plug-in" error, see Step 4.
    For a "missing plug-in" error, start with Step 8.
    Back up all data before making any changes.
    Step 1
    You might have to log out or restart the computer before a Flash update takes effect.
    Step 2
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
    and confirm. Close the window. Then select
               ▹ System Preferences… ▹ Flash Player ▹ Advanced ▹ Delete All...
    In the sheet that opens, check the box marked
              Delete All Site Data and Settings
    then click Delete Data. Close the preference pane.
    Step 3
    If you're only having trouble with YouTube videos, log in to YouTube and load this page. You may see a link with the text "Leave the HTML5 Trial." If so, click that link.
    Step 4
    a. If you get a warning of a "blocked" or "outdated" plug-in, then select the Security tab in the Safari preferences window. In the list of plugins on the left, there should be one—and only one—entry for "Adobe Flash Player," showing the same version number that you installed. Select that entry. On the right there will be a list of websites for which you have specifically allowed Flash, if any. It's normal for the list to be empty. Below that is a menu labeled
              When visiting other websites
    From that menu, select either Allow or Ask.
    b. If you still get the alerts, then go back to the Flash Player preference pane and select the Advanced tab. Click Check Now. Quit and relaunch the browser.
    c. If the alerts still persist, triple-click anywhere in the line below on this page to select it:
    /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
    Right-click or control-click the highlighted text and select
              Services ▹ Open
    from the contextual menu.* A folder should open. Inside it, there should be a file named "XProtect.meta.plist". If that file is missing and you know why it's missing, restore it from a backup or copy it from another Mac running the same version of OS X. Otherwise, reinstall OS X.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    Step 5
    In the Safari preferences window, select the Advanced tab and uncheck the box marked
              Stop plug-ins to save power
    Step 6
    Open this folder as in Step 4:
    /Library/Internet Plug-Ins
    Delete the following item, or anything with a similar name, if present:
              Flash Player (failing).plugin
    You may be prompted for your login password.
    Step 7
    Re-download and reinstall Flash. Download it from the domain "get.adobe.com". Don't click a link from any other website, including this one, because you can't trust links. They may be an attempt to trick you into installing malware masquerading as Flash. Type the address into the browser window. Never download a Flash update from anywhere else.
    Step 8
    If you get a "missing plug-in" error, select
              Safari ▹ Preferences... ▹ Security
    from the Safari menu bar and check the box marked 
              Allow (or Enable) plug-ins
    Then click the button marked
              Manage Website Settings...
    if present and make sure that the website is not blocked for Flash.
    Step 9
    Select
              Safari ▹ Preferences... ▹ Extensions
    from the Safari menu bar. If any extensions are installed, disable them.

  • How to install leopard again after formating hd and now it just allows me to download yosemite.

    how to install leopard again after formating hd and now it just allows me to download yosemite. When i insert the original cd of leopard it doesnt restart from it!!!
    I made a mistake formating hd without creating a bootable disk... So i started the process to install yosemite, then i formated the hd and forgot that the installer was no more in  applications because no more applications forlder!!! after the format it just allows me to install directly from app store which is taking 18 hours to download.
    I tried to restart with original leopard cd but it didnt recognize it and jump back to yosemite install from app store..
    What should i do?
    Can anyone help me please? thanks

    How did you even manage to start installing Yosemite? What operating system did you have before you upgraded? It wasn't Leopard, since you need Snow Leopard (10.6) to get to the App Store.
    Matt

  • My iPhone is in a mode where no buttons work. Seems like a debugging mode. How do I restore functionality?  Power off and on does not change it.

    Somehow I pressed a combination of buttons on my iPhone and now it is in a mode where pressing buttons only shows the button is selected and a voice prompt speaks the button. I've tried to shut down and turn back on... nothing changes. When I try to enter passcode it only speaks the code, it does not enter the code in to the spaces, so I cannot login. The phone is totally unusable in this mode. What did I do to enable this function, and how do I turn it off?

    Try pressing the HOME button 3 times quickly. In this mode you need to double-tap anywhere that you would otherwise just tap. Once you get there go to Settings/General/Accessibility and turn off voiceover.
    See: Use Accessibility features in iOS - Apple Support. You can also connect the phone to iTunes  and manage your Accessibility features from there.

  • How to call webservices function - java importer 6i -Duncan?

    I've imported methods of a webservice from salcentral following instructions in otn.
    Now I need to figure out how to call the resulting function in forms
    Here is the function, the pl/sql error is wrong number or type of arguments
    Anyone done this and know how to get the function signature correct?
    I want to call checkemail
    PACKAGE BODY MXCheckerStub IS
    -- DO NOT EDIT THIS FILE - it is machine generated!
    cls ORA_JAVA.JCLASS;
    fid ORA_JAVA.JFIELD;
    mid ORA_JAVA.JMETHOD;
    args JNI.ARGLIST;
    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    cls := JNI.GET_CLASS('mypackage/MXCheckerStub');
    mid := JNI.GET_METHOD(FALSE, cls, '<init>', '()V');
    args := NULL;
    RETURN (JNI.NEW_OBJECT(cls, mid, args));
    END;
    -- Method: CheckEmail (Lorg/w3c/dom/Element;)Ljava/util/Vector;
    FUNCTION CheckEmail(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    cls := JNI.GET_CLASS('mypackage/MXCheckerStub');
    mid := JNI.GET_METHOD(FALSE, cls, 'CheckEmail', '(Lorg/w3c/dom/Element;)Ljava/util/Vector;');
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, JNI.GET_CLASS('org/w3c/dom/Element'));
    RETURN JNI.CALL_OBJECT_METHOD(obj, mid, args);
    END;

    I would try to take an aproach where I'll generate a stub for the WSDL in JDeveloper, and also write a
    Java class that calls this stub and return a simple variable (String, int, or boolean).
    Then I would call this class from Forms.
    I believe this would make it easier.

  • QuickTime 10.1 Screen Recordings Blurry Once Imported into Premiere Pro CS6

    I am doing screen recordings with QuickTime 10.1 that appear to be of good quality until I import into Premiere Pro CS6 and then they display and export very poorly and very blurry to the point that you can't read the text on the page. Any suggestions to fix this problem?

    Hi Kristine,
    Make sure that the clips are positioned on the X,Y axis as whole integers, not integers + decimal points. See if that works for you.
    Thanks,
    Kevin

Maybe you are looking for

  • Would Like to Change "appleuser" to my name but don't know how. Help?

    Hi, For starters, I have a late 2009 Macbook (white) and am running Mountain Lion (10.8.2). Anyway, I purchased this computer off of someone else and I would like to change what I assume is the home directory (little house logo) from "appleuser" to m

  • No hope for FCP export to QT

    After two weeks of forums, going to Apple store, nobody can tell me what to do about my system's inability to export a FCP3 movie to Quicktime. It exports, but seems to pixelize (is that a word?), in high contrast areas and lags if the subject moves.

  • File sharing with PC and Diskaid: don't see files on iphone

    i downloaded FileApp and Diskaid,  But, the files don't transfer to my phone,Help!

  • Numeric fields and display values

    Hi All, I have a few numeric fields in my form. I want to display "null" in those fields when they do not contain a value in the db i.e. whenever the fields are left blank they should display "Null" in the form but will have a Null value in the db. A

  • International shipments (Third party sales )

    Hi All,             Right now we are in the process of doing only domestic sales of a particular product which our company is manufacturning. There is a immediate business decision that the same product will be shipped internationally . The catch her