Creating variables in AS3 that Captivate can read.

I have a Flash project written in AS3 and I am colaborating with someone that is writing a Captivate training program.  The Flash program is a little game and I need to store a couple integers readable by Captivate.   I would like to just create the variables in AS3 and have them readable by the Captivate code (that I am not writting).
If that's not possible I suppose I need to actually locate and update the varibles in Captivate (we decided on some variable names).
user_pass  (integer, 0 means user is still trying and 1 means user passed)
user_attempts ( I will store how many attempts the user made at the game)
Thanks very much for any help.  I think she is pretty strong in her Captivate coding abilities, and I am only moderate in my Flash/AS3 abilities.
Edit: I wanted to mention that the flash game was embedded into a slide in Captivate.

In AS3 you can use the bracket notation...
var trainOfUfo = "...hi earthling...";
var handleBlade = this["train"+"Of" + "Ufo"];
AS2 supports the eval() function, but it was done away with in AS3

Similar Messages

  • Is there a way to create a PDF form that ANYONE can fill out and SAVE with their content?

    Is there a way to create a PDF form that ANYONE can fill out and SAVE with their content? By anyone, I mean someone who can download and use the free Adobe Reader, on either a Mac or PC. I have Acrobat Pro, and would like to be able to create forms that can not only be filled out and printed, but saved and emailed, which is not an option with the forms I have created to date. They can be filled out, but not saved, with Adobe Reader.
    TIA,
    Nancy

    To do what Dave indicated you need to do, it depends on what version of Acrobat you have:
    Acrobat 8: Advanced > Enable Usage Rights in Adobe Reader
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features
    Acrobat 11: File > Save as Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save)
    I wonder what it will be next time?

  • Which is the best app to create cartoon images on that i can move around to other apps and animate to create cartoons

    which is the best app to create cartoon images on that I can move around to other apps and animate.  I want to create the image only, no background or anything

    Hi Susan,
    Kindly check out Flash pro CC
    For more details: Explore Adobe desktop apps | Adobe Creative Cloud
    Thanks,
    Atul Saini

  • How do you save Pages documents so that someone can read them when e-mailed to a pc

    How do you save pages documents so that someone can read the docs when e-mailed to their PC, do I need to format the doc first ? Or save as??

    Hit File > Export... and choose Word Document.
    Hope it helps!

  • Is there a way to download my MacLife magazines (currently through Newsstand) on my iPod Touch 4, to either my Mac Air, or even an extra drive, so that I can read them.  All of my subscriptions were deleted due to insufficient memory.

    Is there a way to download my MacLife magazines (currently through Newsstand) on my iPod Touch 4, to either my Mac Air, an extra drive, or even store on-line, so that I can read them?All of my subscriptions were deleted due to insufficient memory.

    No.Maybe this will help in gettting the subscriptions back.
    iTunes Store: About In-App Purchases

  • How do i create a gallery page that you can click on an image, expand it and move left or right to see more images?

    How do i create a gallery page that you can click on an image, expand it and move left or right to see more images?

    You may use slideshow widgets to achieve this. For more details : Adobe Muse Help | Working with Slideshow widgets

  • I ask the third time: How can I enlarge the menue symbols and the text of the menue in Photoshop CS6 vers.13 so that I can read them??? My laptop has Win 8.1 and a screen resolution of 3840x2160

    I ask the third time:
    How can I enlarge the menue symbols and the text of the menue in Photoshop CS6 vers.13 so that I can read them??? My laptop has Win 8.1 and a screen resolution of 3840x2160.
    It is unbelievable that such an expensive software does not provide a proper lay out wit a high screen resolution!
    It is also unbelivable that it is not possible to get a qualified employee of ADOBE on the phone in Germany.
    hope of feed back: e-mail: [email protected]

    Chris Cox answered your question here:
    I have PS cs6 extended and a new laptop with screen resolution of 3840x2160. Now all control elements and menues are so small that I can not reed them. How can I make them readable without reducing the resolution of the schreen?

  • How can I back up my text messages to my PC computer so that I can read them or print them?

    I have been trying to backup my text messages so that they are in a readable format on my computer so that I can read them or print them. I have a number of pictures that have been sent and some important conversations I need to save; however, they are taking up a lot of memory on my phone and I would like to delete them, but still have access to them on the computer. I downloaded a free program called Appandora, but it locked up every time it started to save the second text message thread. The one that it did save was in a .txt file and was very difficult to read. I do understand that the texts are backed up when the phone is backed up, but I want them in a readable accessible file. I would appreciate any help anyone could give me. Thanks.

    Hi Maria,
    I am one of the developers for the program Decipher TextMessage, which will help you back up your text messages to your computer. You can read the texts right in the program in a format similar to the phone itself (with the little chat bubbles,) and you can export the messages into a file with that formatting as well. You can download the free trial from our website: http://deciphertools.com/
    If you have any questions, you can followup here, or you can contact me directly through the support page on our website linked above (feel free to mention my name, Kelly, explicitly )
    (Note: As I mentioned, I work for the company being linked-to above, so I stand to benefit from the links I am posting.)

  • I am new to pages and want to know how to link elements together to create one unified element that I can then duplicate several times on the same page?

    I am new to pages and want to know how to link elements together to create one unified element that I can then duplicate several times on the same page?

    I think you are talking about grouping objects.
    1. They must all be floating objects
    2. Command click on each in turn
    Menu > Arrange > Group
    Peter

  • I want an app maybe a kindle app so that I can read text in direct sunlight

    I want an app maybe a kindle app so that I can read text in direct sunlight

    johnpga139 wrote:
    I want an app maybe a kindle app so that I can read text in direct sunlight
    You need to buy yourself a different device which uses e-ink technology, like the most basic Kindle.

  • HT3430 Why isn't there at least a reader so that one can read the new format? Microsoft at least does that.

    Why isn't there at least a reader so that one can read the new format? Microsoft at least does that.

    Preview opening Pages documents is a Lion/Mountain Lion feature but QuickLook works well.
    You can even flick through the individual pages of the document.
    Peter

  • How to use Acrobat 9 standard to create a PDF form that an Acrobat reader can save

    Hi,
    I'm evaluating Acrobat 9 standard edition. I want to create a PDF with a form that allow Acrobat Reader users to fill in the form and save to their local machine.
    I looked at "Can I save a filled out PDF form using the free Adobe Reader? "
    However, it refers to version 8 and has a link to another page that states to look in Acrobat 8 help. Well I can't anything for how to create right-enable PDF in the help.
    How can I do this in Acrobat 9?
    Thanks.

    I think that the right's enabling was added to AA9 Std. It was not part of AA8 Std as far as I know. However, you need to read the restrictions on the use of the reader rights. There is a 500 form use limit. If you exceed that limit you are supposed to contact Adobe for negotiations for further use. I do not think those restrictions have changed with AA9, but read the EULA to check it out.

  • If I make a photo album in iPhoto,will it read well in an iPad? I want a photo flip book? Or is there a better app for me to create a digital scrapbook that I can share?

    Hi, I'm interested in creating a photo scrapbook in iPhoto, but I want to send it as a gift in digital form?  Ideally, I want the pictures, writing and images to view well in an iPad, like a customized FlipBook. Can you recommend an app or program that I can use, that doesn't require printing?
    Thank you,
    Tania

    iPhoto is a consumer level photo storage and manipulation program,
    It stores it's files in the iPhoto Library, which appears to be a file, but if right clicked on and "show package contents" is actually a folder with it's sensitive guts inside, including a folder called Modified and Originals which you can Finder > File > Duplicate and transfer out.
    If you use iPhoto to delete a photo, it IS removed off your hard drive as well but only from the iPhoto Library folder/package, not anywhere else on your drive as iPhoto is supposed to import a copy if say you have some on your desktop already and import them into iPhoto.
    So it shouldn't touch anything outside your iPhoto Library. So how you organize photo's outside your iPhoto Library is your business, however don't expect iPhoto to respect your wishes inside the iPhoto Library package, that's really reserved for iPhoto use only.

  • Is there a way to create a group alias that I can text/message?

    Similar to an e-mail alias that contains multiple e-mail addresses which makes it easy to send one message to multiple people, I'd like to be able to create a group alias from some set of contacts in my Address Book that I can send a message (either text or iMessage if supported by the recipient) to.  Does the iPhone 4 running iOS5 support this and if so, how do I go about using this feature? 
    Note, I'm not looking for a group chat function where people have run a particular app in order to join a group, I just want to be able to easily send a message to > 1 person and if they want to respond it's directly to me.

    You can group your contacts, but you will not be able to send group messages natively. You need a 3rd party application for this. I have developped a free one, Easy Group, to create group of contacts (family, football team), and then send group texts and group emails.
    http://itunes.apple.com/fr/app/easy-group/id461469079?mt=8
    Rémi
    Note: I may receive some form of compensation, financial or otherwise,from my recommendation or link.

  • How to create My Card so that I can send ical invitations

    Hi,
    Am trying to send out invitations on iMac OS X and get the response that I must set up a personal card in contacts first.
    Ive done this, the advice from past support groups is to mark the card as 'My Card' however there is no option to do this.
    By the way does it matter if My Card is on iCloud or iMac address book?
    Finally, since synchronising my iPad with iMac and backing up to the iMac Ive lost the 'Invite' option on my iPad calendar.
    Any thoughts?
    Many thanks
    Denise

    It is probably not possible to re-subscribe because FormsCentral is retiring soon.
    We have created an import tool that can keep your questions and style to JotForm
    http://www.jotform.com/formscentral/

Maybe you are looking for