Animating and Saving a Movie of a Function with a Table

ClearAll["Global`*"];

f[x_,ω_]=Sin [ω x];                                       (* the basic function being plotted *)
xmin=0;xmax=10;ymin=-1;ymax=1;   (* just plot limits *)
ωmin = 0.1; ωmax=2.0;ωstep=0.1 ;
myplot[ω_]:=Plot[f[x,ω],{x,xmin,xmax},PlotRange->{ymin,ymax}];
myframes=Table[myplot[ω],{ω,ωmin,ωmax,ωstep}];

This is confusing!  First, note the ":=" instead of the simpler "=" in the "myplot" definition!
The variable "myplot" doesn't inherently "possess" any data... it's a function. That means it only comes into existence whenever you give it a specific value of ω. 
The "myframes" variable is a kind of a copy that will be needed to save this as a valid movie, which is made using the "Table" command.  
In contrast, the "myframes" variable is an array possessing 20 frames. However, "myframes" is only indirectly a function of ω. Instead, it is actually a function of the frame number. 
So, when ω = 0.1, the Table command adds myplot[0.1] as the (1^st)  frame of "myframes".
       When ω = 0.3, the Table command adds myplot[0.3] as the (3^rd) frame of "myframes".
       When ω = 2.0, the Table command adds myplot[2.0] as the (20^th) frame of "myframes".
 So, to see the (5^th) frame of myframes, you could look at myframes[[5]], which would correspond to ω = 0.5.

Manipulate[myplot[ω],{ω,ωmin,ωmax,ωstep}]

path = "C:\\Users\\pogo@geneseo.edu\\Desktop\\function2.avi";(*options are gif,swf, avi, mov *)
Export[path,myframes];

Note the difference in the final saved movie compared to the previous demo: 
this movie doesn't show the Mathematica toolbar that appeared when we used "ListAnimate"!