You would need to evaluate the code and export the result to CDF as your notebook does not contain that, just the code necessary to create it. [You can export the code too, but it won't do you much good as the CDF player doesn't evaluate Mathematica code.] The free CDF player cannot import files as far as I am aware. If that's the functionality you wanted, you'd need to look at the CDF Player Pro. You should also be careful with CDF exports using a Manipulate
or DynamicModule
that uses SaveDefinitions -> True
. That only works well in simple cases.