So I added this to my action script: import fl.video; And got these compile errors: 1172: Definition fl:video could not be found. 1172: Definition fl:video could not be found. Checked my version, and I DO have CS3 Professional. I'm assuming I'm missing something really easy. Help? Thanks, Scott Osborn
fl.video is just the package. You would need a wild card to access the classes; import fl.video.*;
myIP, Tried that, and no go. Went to Edit->Preferences...->ActionScript Clicked the "ActionScript 3.0 Settings..." button. Looked in that path, and it wasn't there. Did a search on my Flash CS3 folder and found what looked to be the video playback code in: ...\Component Source\ActionScript 3.0\FLVPlayback Added that to path to the "ActionScript 3.0 Settings". Tried it, and I'm in. I THINK this is the solution, but will have to wait until I've tested all the functionality..... Thanks man, Scott
Short answer: The path to the fl.video package wasn't in the ActionScript 3.0 setttings. To fix it: Go to Edit->Preferences...->ActionScript Click the "ActionScript 3.0 Settings..." button. The video playback code is in: [Config folder]\Component Source\ActionScript 3.0\FLVPlayback Add that path to the "ActionScript 3.0 Settings". At least, that fixed it for me.
That seems odd. You shouldn?t have to change or even go into the global classpath config settings to get access to the FLVPlayback class. I was able to access the FLVPlayback class using the wildcard in the import statement.
Don't see what you're looking for? Try a search.
|