gbumgard
December 5th, 2006, 10:31 PM
The latest distribution includes a new plugin for the Macromedia Shockwave control that allows you to embed Flash movies in your NetRemote interface.
The plugin is attached to a button as a component (in a manner similar to that of the web browser). The component properties are used to specify the movie that will be played initially. There are additional properties that control looping, scaling, etc.
The plugin exposes a significant number of functions that can be used to manipulate the control and the movies played within it. The player plugin also produces some events (the fscommand being the most useful).
These properties and methods have not yet been documented. But I have put together my own .ccf that demonstrates most of the functions and events (attached). Please look at the .lua code and the button properties and actions to see how it works.
The test ccf currently loads its movies from other sites, including my own, so if you plan to use any of these movies, please save/download them to your local environment (open the .swf file in a browser and do a "save page as... "), and modify the ccf accordingly (and save me some hosting fees).
You must install the latest version (v7) of the Flash player for the PPC in order to use this plugin. You can use either the v7 or the v8 version of the player on Windows. Both players can be downloaded from the Adobe site.
Feel free to post questions to this thread, but please take some time to look through the test ccf before doing so. Many answers can be found there.
Have fun and good luck!
-g.b.
The plugin is attached to a button as a component (in a manner similar to that of the web browser). The component properties are used to specify the movie that will be played initially. There are additional properties that control looping, scaling, etc.
The plugin exposes a significant number of functions that can be used to manipulate the control and the movies played within it. The player plugin also produces some events (the fscommand being the most useful).
These properties and methods have not yet been documented. But I have put together my own .ccf that demonstrates most of the functions and events (attached). Please look at the .lua code and the button properties and actions to see how it works.
The test ccf currently loads its movies from other sites, including my own, so if you plan to use any of these movies, please save/download them to your local environment (open the .swf file in a browser and do a "save page as... "), and modify the ccf accordingly (and save me some hosting fees).
You must install the latest version (v7) of the Flash player for the PPC in order to use this plugin. You can use either the v7 or the v8 version of the player on Windows. Both players can be downloaded from the Adobe site.
Feel free to post questions to this thread, but please take some time to look through the test ccf before doing so. Many answers can be found there.
Have fun and good luck!
-g.b.