Search found 2 matches
- Thu Mar 11, 2010 9:10 pm
- Forum: ActionScript
- Topic: Getting the MovieClip
- Replies: 1
- Views: 2911
Re: Getting the MovieClip
Took me a while to figure out how to get the actual player and access the methods. Here is my version for a Flash movie I am going to run inside of Director and make getPan() calls to: package { import flash.display.*; import flash.events.TimerEvent; import flash.net.URLRequest; import flash.events....
- Wed Mar 10, 2010 10:45 pm
- Forum: ActionScript
- Topic: Getting the MovieClip
- Replies: 1
- Views: 2911
Getting the MovieClip
Hi, using the ActionScript code from the site doesn't work because you cannot convert a DisplayObject into a MovieClip (even though the code example on Garden Gnome is copied from Adobe). All you get back is a null reference. So I figured out how to find the PanoPlayer like this: var vr:MovieClip = ...