Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a notebook with such a button creating code:

    TextCell["Some text", "Text", FontSize -> 14],
     Plot[Sin[k*x], {x, 0, 2 \[Pi]}], {k, 1, 
  WindowSize -> {400, 400}, Magnification -> 1.25, 
  NotebookFileName -> "Details", Evaluatable -> True], 
 ImageSize -> {50, 18}, Background -> Brown, 
 BaseStyle -> {"GenericButton", Bold}]

After this code is evaluated, the button appears. Now I copy-paste this button into some place in one of the Text cells of my notebook. Until this moment everything works quite as expected: upon pressing the button opens a new notebook with a Manipulate-based interactive demonstration. The latter can be manipulated without problems.

Now I would like to transform my whole initial notebook into a CDF document. Again it works, except for the place where the button calls the new window.

The window opens, but there I see a gray rectangle in the place of the interactive demonstration. There is also some explanation, why the interactive demonstration does not work.

The explanation is "self-learning". First it told me that it does not work, since evaluation is disabled. OK, I enabled the evaluation. It started to tell that CDF does not at all play content other than the Wolfram demonstration one.

My question: do you see a workaround, or I came to a principle limitation of the CDF player?

share|improve this question
up vote 2 down vote accepted

Just to be a little more precise. The free CDF player cannot run dynamic contents created by CreateDocument, but the Player Pro can do that and many other things. Here is a full list of comparison among different player versions: Moreover, when you want to check if something is working into the pro version and not in the free one, you can use the CDF preview from menu File -> CDF Preview -> CDF Player (CDF Pro). This will open a temporary cdf copy of your notebook and show how it behaves. In your example you can see that the Pro version works.

share|improve this answer
Thank you very much. That means it is no-go direction, since the Pro is not an option in my case. – Alexei Boulbitch Aug 13 '13 at 11:36

I came across this problem a while back and emailed Wolfram Research about it. The answer came back that the free CDF player cannot display dynamic content in windows created with CreateDocument.

share|improve this answer
Thank you very much. – Alexei Boulbitch Aug 13 '13 at 11:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.