Howdy -
I'm upgrading a video application from stage-based code to OO, and have run
into a sticky problem:
Using metadata injection, I am able to read a duration property on the
netStream class, and pass the value to another function, as such:
public function metaDataInfo(obj:Object) {
times = obj.keyframes.times;
var vidDuration = Math.ceil(obj.duration);
// pass duration value to another function
durationTime(vidDuration);
positions = obj.keyframes.filepositions;
};
However, I can not figure out how to retreive this property via a
'getDuration' or 'get duration' function, because I can't make the value
persist throughout the class. This is important because I also employ a
scrubbing function that requires a duration property, but cannot accept
parameters.
please help
thanks
- kelly
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com