Skip to main content
Known Participant
June 25, 2007
Question

Text Entry Box does not work in a child movie

  • June 25, 2007
  • 5 replies
  • 673 views
I have created a chile movie that it is inserted into a master movie.

The child movie has a Text Entry Box when the master movie is ran, the Text Entry Box of the child movie does not work - what the user type is not displayed on the screen (the text entry works but there is no echo on the screen of what it is being typed)

Any idea ? is this a issue in Captivate 2 ?
This topic has been closed for replies.

5 replies

Adobe Employee
July 27, 2007
lestab, Captivate had an internal problem with text entry boxes for flash files created in version 7. What is the version for your child SWF? If it is 7 or less and If the Larry's suggestion does not work, you may try publishing it in version 8 and then reimport in Captivate.

--thanks
lestabAuthor
Known Participant
July 26, 2007
Sorry for not coming back earlier.

Larry Walther, yes I'm one of the 95% users that do not do Flash. I will try your suggestion about not putting the text box at rear level and post the result.

Doug, thank you

Thank you both of you.
CatBandit
Inspiring
July 7, 2007
Thanks Doug, for the added info. I spend half my time (it seems) apologizing for comments (intended to help) that I later find are incorrect. If you never try to help others, you will be safe from ever being wrong - and I certainly don't want to discourage all the help you have provided others, by nit-picking your answers.

Thanks for being such a great resource on the Captivate user forums!!

Have a great day!
.
CatBandit
Inspiring
July 4, 2007
I'm going to say "I'm sorry" to Doug at the beginning of this, because there is no way I can offer (other) help here without risking making someone mad (which I don't mean to do) ... so here it is ... I'm sorry Doug, but Captivate already has a text-entry box and it is already a Flash object.

lestab, in case you are one of the 95% of Captivate users who don't "do" Flash at all, or who just choose not to spend the time, I'm going to suggest another option - whether or not it helps is unknown, but it might be worth a try. Go to this link (Captivate user Exchange) and download the "Text Entry Caption". This might help, or it might not, but it is a possible solution that doesn't include lines of code and opening a program that most Captivate users don't have, don't understand, and cannot afford.

A second possible solution - and my first recommendation - is to avoid the problem instead of trying to fix it - do NOT put text-entry boxes on the rear layer of a movie-in-a-movie.

Doug, believe it or not, I'm on your side - in the future. I believe that mixing Captivate development with Flash development is inevitable, and (perhaps) a very good thing in the long term. My comments above are due to my very strong belief that most people - the overwhelming majority - are using Captivate so they can avoid the development time and extended learning curve required by Flash. That might change in the future, and for right now I certainly don't want to discourage Flash users from using all the tools available to them; but as we speak, there are still too many differences between Flash and Captivate to offer solutions for one - in the other - unless the user begins his/her post by saying "Does anyone know how to do (whatever) to my Captivate project inside Flash??" or words to that effect.
.
July 5, 2007
Hey Larry,

No sorry needed, I obviously misunderstood the problem here, so let me be the one to say sorry.

Usually what I do if I run into a problem with child movies or other issues that I can't seem to get Captivate to work the way I want it to, I will go to Flash and usually I am successful in making it work there. But that's not everyone's cup of tea.

I know Captivate has its own built in text boxes, I use them on a regular basis. What I find though, particularly with click boxes, is that there is some lag involved. For example, if you doing a simulation with a DOS based program, I had to "Print Screen" every keystroke. To simulate the keystroke, I wanted to use click boxes with shortcut keys attached to them. But I found there was a noticeable lag going on. So, I exported a click box to Flash and found that eventhough I had the success\failure captions turned off, Captivate was still calling the functions.

This is why I use Flash when I experience lag issues. But in this case it was not required, so I do apologize for the misinformation.

Doug
July 4, 2007
Hello,

I'm not sure if this is what you are looking for, but what you could do is create the text entry box in flash and then import it into captivate as your child movie. Then, using Captivate variables, you can tell Captivate what do to within Flash.

For example, let's say I want to create a text entry box such that when the user types in "hello" in the box and presses enter, Captivate moves ahead one slide. To do this, go into Flash, create a text box, make the stage the size you need it to be. Next, access the properties for the box and change it to "input text". If you want to follow my example, change the instance name to "testBox". Create a second layer, call it actions. Open the actions panel and put the following code in:
--------------------------------------------------------------------------------------------
Selection.setFocus(testBox);
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
if (testBox.text == "hello" && Key.getAscii() == 13){
goToNextSlide();
Key.removeListener(keyListener);
}
};
Key.addListener(keyListener);

function goToNextSlide(){
this._parent._parent._parent.rdcmndNextSlide = 1;
}

stop();
-------------------------------------------------------------------------------------------------------
Yeah I should have done this NOT using quick reply :)

No, export the movie and put it in Captivate. Now when you run the movie in Captivate, when you type "hello" in the text box and press enter, you will advance to the next slide...

Is this something like what you are lookoing for?

Hope this helps

Doug