Group Abstract Group Abstract

Message Boards Message Boards

0
|
12.1K Views
|
3 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Code in nb does not work in cdf preview

The following code (attach) works in nb, but doent work in the cdf preview. Why? Is it the MessageDialog?

Attachments:
POSTED BY: Ernesto Espinosa
3 Replies

Your original example depends on a user evaluating the code in the notebook, which they cannot do in CDF Player. So to remove this requirement, you would need/want to use DynamicModule. And note the use of SaveDefinitions in the attached.

http://reference.wolfram.com/language/ref/DynamicModule.html

Ian

Attachments:
POSTED BY: Ian Hojnicki
POSTED BY: Jesse Friedman
Attachments:
POSTED BY: Ernesto Espinosa
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard