Access Captivate variable in as3
I used the following code on a frame within an swf that was imported to a CP4 slide. This worked fine in as2. I'm wondering how to write the same code in as3.
_parent._parent._parent.rdcmndNextSlide = 1;
Thanks
I used the following code on a frame within an swf that was imported to a CP4 slide. This worked fine in as2. I'm wondering how to write the same code in as3.
_parent._parent._parent.rdcmndNextSlide = 1;
Thanks
"parent" returns a DisplayObjectContainer interface and it doesn't contain the rdcmdNextSlide property. You have to cast the object.
try something like Object(parent.parent.parent).rdcmdNextSlide.
If this fails too I will take a look tonight and give you the exact syntax.
Whyves
____________________
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.