Solved

swfaddress inside movie clip not on root

Posted on 2009-04-07
1
253 Views
Last Modified: 2013-11-11
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
Comment
Question by:George-TCC
1 Comment
 

Accepted Solution

by:
George-TCC earned 0 total points
ID: 24094225

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question