Flash Wrapper and access user-defined variables

I'm working on creating a Flash AS3 wrapper to combine several files cpativate.  I am able to retrieve system variables, but I'm not able to recover the user-defined variables.  I have a variable that is defined by the user in my Captivate called passedScore, in my Flash script, I have the following...

var mcLesson1:MovieClip;

btnHit.addEventListener (MouseEvent.CLICK, test);

var vLoader:Loader = new Loader();

vLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, swfLoaded);

vLoader.load (new URLRequest ("untitled1.swf"));

function swfLoaded(e:Event):void {}

mcLesson1 = MovieClip (vLoader.contentLoaderInfo.content);

vLoader.contentLoaderInfo.removeEventListener (Event.COMPLETE, swfLoaded);

addChild (mcLesson1);

}

function test(event:MouseEvent):void

{

feedback1. Text = mcLesson1.cpInfoCourseName;

feedback2. Text = mcLesson1.m_VarHandle.passedScore;

}

retroaction1 correctly displays the name of the course, however, for feedback2 it errors saying a term are indefinite (referring to m_VarHandle)

try to use mcLesson1.cpEIGetValue ('m_VarHandle.passedScore');

Tags: Adobe Captivate

Similar Questions

  • 9144 with FPGA and SGL EtherCAT custom user-defined Variables?

    Hello

    I currently have a small instrument driver (rs485) running on a chassis of 9144. The output values are communicated to the master EtherCAT using FXP numbers. I would like to pass these FXP to SGL, since I've upgraded to SP1 2012 LV with FPGA now supports numbers of SGL.

    Is this possible? I tried several times to create the Variables defined by the user of SGL in the project, but the date type is gray.

    Greetings from Munich,

    Götz

    Unfortunately, SGL is not a data type supported for communication to and from a 9144. The types of data available for the I/O user-defined variables are:

    * Fixed point
    * Signed integers (Int8, Int16, Int32, Int64)
    * Integers (UInt8, UInt16, UInt32, UInt64)
    * 32 bit field
    * Boolean

    More information on I/O user-defined variables can be found at:

    Programming EtherCAT i/o with FPGA Intelligence to: Differences in LabVIEW FPGA programming API
    http://www.NI.com/white-paper/10618/en#toc4

  • Addition of registered symbols and TM for user-defined Variables

    Is it possible to add nurses or symbols marks to the value of the User Defined variable? All our help files are single originating in 2 or more brands of products, so I'm excited about this new feature RH7 (I upgraded x 5). But if I can't add these symbols, then this function is also useful for me as the new logo of HR.

    Hi Eilan

    I just tried a unicode character and it seems to work both webhelp and CHMS very well.

    I went to start. Run and enter "charmap". Selected a symbol and it is entered as the value of the variable. In the variable dialog box, it appeared like a square, but HR, it displays correctly in the WYSIWYG editor, preview, webhelp and in a CHM.

    The fact that the symbol is not correctly displayed in the list of variables can be overcome by a skilful titration of the variable.

    And what is the problem with the logo? :-)

  • What are user defined variables (UDV)?

    I'm trying to debug an application in real time and have worked on known issues for LabVIEW Real-time 2011. There is a term called "user defined Variables (UDV)" that opens occationally document known issues with other documents. It seems that UDVs can be created under target FPGA but I am unable to find any useful information on them. I know only local, global, shared, single, variable IO process.

    Hi Lucie,.

    The /o Variables using the help documentation gives a pretty good explanation of what a user-defined variable is in the section "data i/o Variables for Custom FPGA of e/s". I hope that this documentation helps!

    Best,

    tannerite

  • Extracts & user defined Variables

    After ~ 5 years not working not with any what HAT, I started a new post on 28/03/2016 and put back the trial HR 2015 a spin. I'm very excited by what I see and were able to do so far.

    I have 3 'entities' to write and I created 3 pages, one page per entity.

    Each of these presentation pages, I have this first line:

    |

    This section describes how to enter and manage [entity].

    |

    I set each [entity] as a user-defined variable. Each page with this sentence I hard-coded and added a reference to the user defined Variable and then produced output. Works great.

    Now, I'm going 'down' a level. What I want to know is how to

    |

    "This section describes how enter and manage."

    |

    be a code snippet. I want it to be an excerpt because when I write a sentence better, I don't have to make the same change on each of these presentation pages. Finally, there are 19 pages of presentation.


    Anyone who structure their content like this?


    What I want to avoid doing several manual changes. For example, if the following examples have been in a RoboHelp project, on https://support.assessment.pearson.com/x/N4Dy, there is this sentence:


    This section shows you how to manage user accounts.


    On this page - support to manage test paper - next to PearsonAccess online User Guide - Pearson Assessment - it is this sentence:


    This section covers all the unique aspects of the test paper.


    What I'm trying to do, is to have an extract which is defined as:


    This section tells you how to


    and refer to it on both pages.

    On the first page, it looks like

    from <>this section tells you how to< / endSnippet >

    user accounts < beginUserDefinedVariable >< / endUserDefinedVariable >.

    Then on the second page, I would say this:

    extract < code > This section tells you how to < / endSnippet >

    < beginUserDefinedVariable > manage paper test < / endUserDefinedVariable >.

    |

    The reason why I want it as a snippet of code is because I don't want to have to maintain "this section tells you how to" text hardcoded on each of these presentation pages. I would like to take advantage of the functionality of content reuse to avoid a bunch of copy / paste or even find / replace.

    Thanks for any help!

    Paul Hanson

    RoboHelp MVP of looonnngggg a long time ago...

    But what you might want to consider, is another variable to contain the desired text in the code snippet. This could be inserted inline. Then update you only in the variable.

    Just thinking out loud a bit.

    See you soon... Rick

  • RH6: User Defined Variable: how to change?

    QUESTION
    Is it possible to change the value of a variable that is defined by the user in RoboHelp 6? If so, please describe.

    QUESTION
    After you change a RoboHelp project, I want to update the value of a user-defined variable, but I don't see any way to do this.

    BACKGROUND
    My PC is under Win XP SP2. I use RoboHelp 6 to create a HTML Manual. I have several subjects; each topic has its own model. A common feature of each model is a version number. I inserted a variable defined by the user to the version number in each model. RoboHelp pushed successfully this version number to all my subjects.

    If you double-click on the user defined Variable in the project manager, you can change the default value here. I think what you want but is a different value for different generations. In the first page of the wizard when you build there is a button of Variables, you can change it there is for this build.

    You can create different configurations for different versions and each will retain its own value. Craig Clarke wrote an article on what will soon be published on the Adobe site. Hope this helps until then as I know that Craig, who has more knowledge of this area, is currently on holiday.

  • FLex: Creation and access to session variables

    Hi all

    Good morning people.
    Am new on SDS and using Flex 2.0

    I have hotel_list in the collection. and have a mapped datagrid which has a "Book now" button on each row (hotel).
    Then click on the 'book now' button, I want to spend the more information in the same row to the next page.
    Can I create the session variable and access session variables in the next page side server.
    How do I do... ?


    Pls any one advice me on creating session variables and access even in another page?
    Can one after the code example?


    My code is as follows...

    < mx:Script >

    <! [CDATA]

    import flash.net.navigateToURL;
    public void OnBook_click(hcode:String):void {}
    ("var request: URLRequest = new URLRequest("/quick_search/booking.mxml ");
    var uv:URLVariables = new URLVariables();
    UV.hotelcode = hcode;
    Request.Data = UV;
    navigateToURL (request, "_self");
    }
    < / mx:Script >


    < mx:DataGrid id = "dg" width = '100% ', rowHeight = styleName "38" = "GridColumnText."
    "dataProvider ="{hotel_details}"enabled =" {! ds.commitRequired} "creationComplete =" fill_hotelDetails () ".
    verticalScrollPolicy = "{mx.core.ScrollPolicy.OFF}" rowCount = "10" height = "404" > ""
    < mx:columns >
    < mx:DataGridColumn dataField = "hotel_address" headerText = "name of the hotel.
    headerStyleName = "DynamicLabel" width = "300" wordWrap = "true" editable = "false" / >

    < mx:DataGridColumn id = "pr_rate" dataField = "prdt_rate" headerText = "rate."
    headerStyleName = "DynamicLabel" paddingRight = "10" editable = "false" width = "50" / >

    < mx:DataGridColumn dataField = "hotel_status" headerText = "availability".
    headerStyleName = "DynamicLabel" editable = "false" width = "75" / >

    < mx:DataGridColumn headerText = "book now" editable = "false" dataField = "hotel_code."
    headerStyleName = "DynamicLabel" width = "75" sortable = "false" >
    < mx:itemRenderer >
    < mx:Component >
    < mx:HBox width = "25%" horizontalCenter = "0" horizontalAlign = "center".
    styleName = paddingTop "GridColumnText" = "5" >
    < mx:Button id = "book" label = "book now" click = "outerDocument.OnBook_click (data.hotel_code)" / > "
    < / mx:HBox >
    < / mx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >
    < / mx:columns >
    < / mx:DataGrid >

    Instead of pass... is the values to booking.mxml as request parameters possible to define session variables?
    pls someone help me...


    THX in advance
    Raphael alboury

    Take a look at the shared objects, I think these are the kind of thing you're after. In my view, that the subtopic "By specifying a path" must be particularly pertinent for sharing variables/objects between two swf files.

    LiveDocs - shared objects

  • The color user-defined variables

    Yesterday I started using variables defined by the user in one of my projects, and whenever I inserted a variable, it was green, which was great because I could easily identify them as variables. Today, I opened my project and noticed that the variables are all normal color text. Is it possible to get them to color again?

    Hello

    Try clicking on View > Show > field.

    See you soon... Rick

  • Red dot on the user-defined variables.

    At the risk of looking like an episode of Seinfeld, there is a red dot on some of my variables defined by the user, does anyone know what this could be?

    thereddot.png

    Thanks for any help,

    Hello

    The red dot means that the variable is set in the defined variable. Without the dot variables are in the variable defined the same as in the definition of the default variable.

    Take a bow

    Willam

  • PIX by RADIUS and access user-list

    Anyone knows if with Microsoft (IAS - RADIUS service) Internet Authentication Service

    It is possible to use download the access list for the PIX (access by user list) firewall and how do I configure IAS for this feature.

    Thanks in advance.

    Yes, it is possible. Take a look at this link which explains how I could make it work:

    http://www.Cisco.com/univercd/CC/TD/doc/product/iaabu/PIX/pix_62/config/mngacl.htm#33910

    I don't remember all the steps I took to get the ISA server computer to return the string VSA CISCO specific (attribute 26), but you should be able to understand. I am, in any case, an expert of the IAS.

    I hope this helps.

    Scott

  • Could not create the user-defined variables. Help, please.

    Hello. Maybe I will have a PET of brain, but when I click on the double gears (see illustration) to create a new variable, nothing happens. I can create sets of variables, but not UDVs. Anyone know what gives?

    THX.

    -KUrt

    user_def_var_ui.gif

    My guess is that it's because you have a named Variable set to the specific point. Click on the sample "ke" drop-down and changes to focus the and you should be golden.

    See you soon... Rick

  • Conditional User Defined Variable in the table of contents to RH10

    Hello

    I have a unique project created with tags of conditional compilation for a product in several countries. The name of the company was the same in all three countries, but now the name of the company in a country is about to change. I created UDVs with conditional compilation of tags to apply the appropriate name when aid is produced (Yay for RoboHelp 10 for allowing this).

    There are 58 topics in the table of contents that include the name of the company in the title of the topic. My problem is, if I include the UDV to the title of a page in the table of contents, conditional text is ignored.

    I guess that's because the table of contents allowing in conditional constructions apply to the page or the book itself and no text in the name of the page or the book.

    Please can someone confirm that this is the case? If so, I'll make a suggestion to Adobe.

    Thank you.

    Hello

    I hope that Willam won't mind my expand a little on the issue.

    I note that you already seemed to be aware that the UDVs are possible in the text of the table of contents. And if I understand correctly, your problem here is that you want to condition the UDV in the table of contents, right?

    Certainly a way to do that would be to have two different TOC entries. And apply tags to each, so that one or the other would be excluded. But to be honest, I always avoided tagging the elements of the table of contents that I saw myself mixed results.

    The thought here for me is that I wonder why you feel the need to apply a condition to a variable? Why not use a different version of the variable? Of course, you create variables and insert them, but you can actually create different sets of variables that have different values, then when you create your output you simply choose the Variable you want to use.

    See you soon... Rick

  • Eliminating the weekends and the user defined holidays.

    Hi, this is my query so far:

    WITH cla_case AS
    (SELECT 1 event_no, to_date('01/10/2011','dd/mm/yyyy') discover_date, to_date (' 02/10/2011 ',' dd/mm/yyyy') notification_date of all the double union)
    Select double union all 2 event_no, to_date('02/10/2011','dd/mm/yyyy') discover_date, to_date('03/10/2011','dd/mm/yyyy') notification_date
    SELECT 3 event_no, to_date('03/10/2011','dd/mm/yyyy') discover_date, to_date('04/10/2011','dd/mm/yyyy') notification_date double
    ),
    cla_event AS
    (SELECT 1 event_no, to_date (' 02/10/2011 ',' dd/mm/yyyy') incident_date of all the double union)
    SELECT event_no 2, to_date (' 02/10/2011 ',' dd/mm/yyyy') incident_date of all the double union
    SELECT 3 event_no, to_date('03/10/2011','dd/mm/yyyy') incident_date of the double
    )

    SELECT

    round (cc.notification_date - GREATEST (cc.discover_date, ce.incident_date)) Days_To_Report
    Of
    cla_case cc,
    cla_event this
    WHERE
    CC.cla_event_no = ce.cla_event_no

    Problem is that I must first eliminate the weekends and holidays then. I read on creating a calendar where you list the holidays, but I have no idea how to do this.

    Here is the link for the South African holidays: http://www.blaauwberg.net/public_holidays.php it's for 2010-2012. I'm going to need in 2008, but I find this info at a later stage.

    Thank you!

    Banner:
    Oracle Database 11 g Release 11.2.0.2.0 - 64 bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production."
    AMT for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    Hello

    So, if you have already run the insert

    INSERT
    INTO
         non_working_days
         (     day,
              day_type
         )
    SELECT
         NEXT_DAY(TO_DATE('01/01/2008','DD/MM/YYYY') + 7 * (rownum -1),'SATURDAY') day,
         'WEEKEND' day_type
    FROM
         dual
    connect by
         level <=500
    UNION ALL
    SELECT
         NEXT_DAY(TO_DATE('01/01/2008','DD/MM/YYYY') + 7 * (rownum -1),'SUNDAY') day,
         'WEEKEND' day_type
    FROM
         dual
    connect by
         level <=500 
    
    /
    1000 rows created.
    

    all you need to do is remove this bit of the query

    non_working_days AS
    (     SELECT NEXT_DAY(TO_DATE('01/01/2008','DD/MM/YYYY') + 7 * (rownum -1),'SATURDAY') day, 'WEEKEND' day_type FROM dual connect by level <=500 UNION ALL
         SELECT NEXT_DAY(TO_DATE('01/01/2008','DD/MM/YYYY') + 7 * (rownum -1),'SUNDAY') day,'WEEKEND' day_type FROM dual connect by level <=500
    )
    

    Everything that was done was to create a table on the fly for the purpose of showing the issue. If your query can be simply

    WITH cla_case AS
    ( SELECT 1 cla_event_no, to_date('01/10/2011','dd/mm/yyyy') discover_date, to_date('10/10/2011','dd/mm/yyyy') notification_date from dual union all
    SELECT 2 cla_event_no, to_date('02/10/2011','dd/mm/yyyy') discover_date, to_date('13/10/2011','dd/mm/yyyy') notification_date from dual union all
    SELECT 3 cla_event_no, to_date('03/10/2011','dd/mm/yyyy') discover_date, to_date('14/10/2011','dd/mm/yyyy') notification_date from dual
    ),
    cla_event AS
    ( SELECT 1 cla_event_no, to_date('02/10/2011','dd/mm/yyyy') incident_date from dual union all
    SELECT 2 cla_event_no, to_date('03/10/2011','dd/mm/yyyy') incident_date from dual union all
    SELECT 3 cla_event_no, to_date('04/10/2011','dd/mm/yyyy') incident_date from dual
    )
    SELECT
         e.cla_event_no,
         e.days_to_report,
         e.days_to_report - COUNT(nwd.day) working_days_to_report
    FROM
         (
              SELECT
                   cc.cla_event_no,
                   GREATEST(cc.discover_date,ce.incident_date) start_date,
                   cc.notification_date end_date,
                   round(cc.notification_date - GREATEST(cc.discover_date,ce.incident_date)) Days_To_Report
              FROM
              cla_case cc,
              cla_event ce
              WHERE
              cc.cla_event_no = ce.cla_event_no
         ) e
         LEFT OUTER JOIN non_working_days nwd
         ON( nwd.day BETWEEN TRUNC(e.start_date) AND TRUNC(e.end_date))
    GROUP BY
         e.cla_event_no,
         e.days_to_report
    / 
    
  • In the form of triggered no data found and unmanaged user-defined exception

    Hi all

    I get this error after having introduced a javascript/jquery code to dynamically toggle the cells in the form of tables when the page is loaded. I don't know why s iti especially javascript code not SQL or PL/SQL. The javascript/jquery code works as wanted, but when the page is sent to what APEX generates these errors.

    Please let know us if the activation/deactivation of fields in a table causes those errors occur. Is this operation not authorized in the form at all?

    Thank you

    solution for the disable value get presented in tables without error

    try following:

    Create dynamic action page zero or current page tabular

    Event: before page Submit

    Condition: No strings attached

    Action: run the JavaScript Code

    Code: $(':disabled').removeAttr ('disabled');

    Other things kept by default...

    Hope this solve your problem to submit.

    Greetings

    Leave.

  • Variable user defined appear as not defined in CHM and webhelp

    I have my RoboHelp files to source code control. Recently, our administrator made a copy of my help topics and places in a different folder in TFS. Now when I create webhelp or compiled MS HTML help, the user defined variables appear as being undefined in aid. When I visualize in RoboHelp well, they look like they do in the Viewer. It's only when aid is being built that these variables are somehow lost. Is there some required files that maybe did not move in the source code control? I supported my previous files and these work very well.

    I corrected sort myself, but I will post the solution in case anyone else runs into this error.

    I added a new variable that I named 'Test '. I added a new text and each of my variables defined by the user inserted in this text, including the new. I saved the topic and recompiled. The variables now appear correctly. Go figure.

Maybe you are looking for

  • a former mail message every time open at the start of my iMac

    2 years, when to pass on my iMac (average 2010), the mail application open automatically (without the indicator in the menu option) and also a former message itself open without any command. How can I stop this? (OS X El Capitan 10.11.6) Thank you.

  • OCR software for HP Deskjet 2050 scanning

    Hello to all community workers I have a new HP Deskjet 2050. This is printer * beep * scan * beep * Copier. I would like to create soft copy of some books of text using the OCR software. OCR is optical character recognition software, which can conver

  • Domain controller crashed

    I have a windows 2000 ms which does not boot or repair but I can access the drive via winpe. My second (Server 2003) domain controller had hardware problems and be in line for about a year. After solving the problem of hw somehow move AD etc. of the

  • HP envy 1104tx m6: PROBLEMS of RAM...

    days back I was going just through my laptop settingsand information. my laptop model is m6 1104 tx x 64 envyfunction notebook pc...I bought the laptop in 2010-2011... and it came with8 GB of Ram...but it is showing 4 GB only... I checked it manytime

  • multiple device management

    Is it normal to have double or triple of the same devices under a device in Device Manager? for example:-mouse and other pointing devices Compatible mouse HID Compatible mouse HID Synaptics PS/2 Port TouchPad -Transformers AMD Torium (tm) X 2 Dual-Co