How can you determine the absolute path to a NetStream object created dynamically?

We strive to implement a video captioning with a freeware component, ccforflash. This requires us to provide an absolute path or relative to our NetStream. How can we determine this path in Flash CS5 AS3?

CCforFlashCS5 documentation:

2. objects "name and path.

Type the name and the path.  It is the name of the instance of the object with which CCforFlashAS3 will synchronize. It must be spelled correctly, since CCforFlashAS3 queries the object with this name for the synchronization information to synchronize subtitles. The path must also be included; be compared to the CCforFlashAS3 (i.e. this.parent) component or the absolute path of the main floor of the film (root)".

I guess I understand your problem and accepts only a great way to identify a path to something compared to doing AS3 AS2.  I'll see if I can raise the interest of someone else in your ad that is a detective better than me.

But if I can get stoopid for one minute and suggest trying something (I would try it)... If you have access to the code where is instantiated the NetStream object, just after he is given life, assign the instance to a variable, you have in the main timeline and use this variable (and the root timeline or a 'this' - reference database for path requirement) for your CCforFlashCS5 needs.

Tags: Adobe Animate

Similar Questions

Maybe you are looking for