11
$\begingroup$

I've made a simple .cdf that makes a function from a list of data I've provided in table form (using ListInterpolation) and plots it on a graph (no importing, exporting or conversion of data from string) and I still get a grey block when I try to post it online, indicating that I'm violating some security rule. It works with the {fullscreen: 'true'} workaround, but I don't know what I'm doing that necessitates this. Advice? Thanks

$\endgroup$
7
  • 2
    $\begingroup$ Can you provide a link to the CDF file? $\endgroup$ Jun 12, 2012 at 17:46
  • 2
    $\begingroup$ How do you know it's the ListInterpolation that triggers this? $\endgroup$ Jun 12, 2012 at 20:44
  • 1
    $\begingroup$ You could try wrapping Manipulate in DynamicModule, i.e. do something like DynamicModule[{AgN, Agwave, AgNfunction, ..., xstart, xend}, Manipulate[...]] $\endgroup$
    – Heike
    Jun 12, 2012 at 20:56
  • 2
    $\begingroup$ I wouldn't necessarily characterize this as something you are doing wrong or are able to change. Some of these things seem to be hit and miss at the moment. For example I have previously found that a tick function will cause grey boxes (a pure tick function will not). Apparently many of these sorts of things have been fixed in future releases. $\endgroup$ Jun 12, 2012 at 22:35
  • 7
    $\begingroup$ The security issue is caused by the presence of the symbol Developer`PackedArrayForm in the interpolating function objects. The Player FE, unfortunately, does not understand that this is a perfectly safe symbol to evaluate and locks down security as a result. I haven't yet come up with a good way to work around this, but I'm still thinking about it. $\endgroup$
    – John Fultz
    Jun 15, 2012 at 21:00

1 Answer 1

6
$\begingroup$

John Fultz's comment:

The security issue is caused by the presence of the symbol Developer`PackedArrayForm in the interpolating function objects. The Player FE, unfortunately, does not understand that this is a perfectly safe symbol to evaluate and locks down security as a result. I haven't yet come up with a good way to work around this, but I'm still thinking about it.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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