So this is an interesting one, I've poured through the other answers around here and none of them worked. I'm not sure why, or what to do next now.
Okay so my main class is Graph.as (where I take xml elements and use them to build a graph), and RVHost needs to be pulled in (it is a class I am being forced to use in order to substantiate media player information built with proprietary software...yadda yadda).
Anyway I'm just trying to test this at the moment, and it's a big bust.
Graph.as (only the vital info here):
package
{
////imported nearly every flash item here
import test.* ////this is the folder where my subclass resides////
public class Graph extends Sprite
{
private var player:RVHost = new RVHost(); ////RVHost.as is my subclass file
public function Graph():void
{
trace("IS IT WORKING?: "+player.testTrace());
}
}
}
result: IS IT WORKING?: undefined
RVHost.as (only vital info here as well):
package test
{
import flash.external.ExternalInterface;
public class RVHost
{
/////filled with their variables
public function testTrace() :void
{
trace("THIS IS WORKING OMG!");
}
}
}
What am I missing here? I have tried this six ways till sunday, they swear by this "api" (eyeroll), and I'm forced to use it as is. I just need a way to use it's functions in my class (graph.as) and have the info it collects passed on into my class. I'm assuming this is something I've overlooked or something so simple that I'll have to laugh but I currently cant figure it out. Any help would be greatly appreciated!