• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

swfaddress inside movie clip not on root

Hi,
Has anyone got swf address to work inside a movieclip? Instead of having all the frame labels on the root timeline but inside a movieclip.
0
George-TCC
Asked:
George-TCC
1 Solution
 
George-TCCAuthor Commented:

Got it:
my frame labels are in mcStage then in mcCenter.
change this part of the AS:

      url = SWFAddress.getBaseURL() + event.value;
      if (_currentframe == 2 && path == '/') {
            play();
      } else {
            var frame = _currentframe;
            _root.mcStage.mcCenter.gotoAndStop('$' + path);
            if (frame == _currentframe) {
            _root.mcStage.mcCenter.gotoAndStop('$/error/');
            }
      }
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now