But we have to somehow pass the optional parameter to every
ThunderBolt function call. Maybe as the latest parameter?
eg:
set: function(target, value, id){
this.getFlash(id).set(this.getFullTarget(target), value);
},
stop: function(id){
this.getFlash(id).stop();
},
- Martin
Multiple swf output sounds good! I like the way you deal with theoptional parameter. So if there is only one swf in the movie we do nothave to care about it's ID. Great!But we have to somehow pass the optional parameter to everyThunderBolt function call. Maybe as the latest parameter?eg:set: function(target, value, id){this.getFlash(id).set(this.getFullTarget(target), value);},stop: function(id){this.getFlash(id).stop();},
Feel free to put your hands on it :)