The VAST object model will be in VASTLoadTrait.vastDocument. But note that you can pass the vastDocument property to the VASTMediaGenerator, and it will create whatever MediaElement the VAST document prescribes. Look for "generator.createMediaElements" in the link below:
Thanks for your reply. So in the example:
var mediaElements:Vector.<MediaElement> = generator.createMediaElements(loadedContext.vastDocument);
This creates a MediaElement which has the url to the video. How would I for example access VASTVideoClick?
Ok so I see what's happening now.. well kind of The vastDocument is the base object then VASTAd is the second element. Is there an easier way to get this data than what I did below to access it?