Friday, 23 August 2013

Sending information to a library

Sending information to a library

I'm working with OSMF, the StrobeMediaPlayback and FlashBuilder/Eclipse.
I have a variable that I've captured from a flashvar, and stored in a
singleton class. I want it to be accessible to another package that I'm
using as a library for this project.
I can't import the class directly, because it would cause a cycle, nor can
I seem to access it with a static reference, because it's in a different
package.
How can I do this?



Here's what I want to send:
StrobeMediaPlayback > src > SessionFlashVars.as
Here's where I want to send it:
OSMF > org.osmf > net > NetNegotiator.as

No comments:

Post a Comment