I have an FLV video with a lot of cuepoints. These are tracking data from After Effects. When I try to import the video to Flash and then write some code to make it link, I get a lot of errors and the actionscript stops executing after some time. One error is that "testing" is undefined and has no properties. Another one is Cannot access a property or method of a null object reference on the "testingRot.
Do you know how I might fix this?
Or even an even better/easier way to link the cuepoints and the symbols?
Hi! I'm doing a kind of wild guess here first, but I've seen similar things myself, and the solution may be really silly...
Flash doesn't 'see' the video object before it is actually loaded, or rather: have started loading. This may take 1/10 second or less, but in the meantime Flash tries to execute the rest of the script, and it can't attach neither eventlisteners and its associated functions to an object that isn't there quite yet...
Crude solution would be to split the script in two frames (if applicable), one for loading, the next for the rest.
More proper would be to check for the LOADED event, and don't procede before it triggers.
In your script I don't see how you have loaded up your video object, so please give some info on this.
Not everything that can be counted counts, and not everything that counts can be counted.