• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • 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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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