Solved

swfaddress inside movie clip not on root

Posted on 2009-04-07
1
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Suggested Solutions

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to dynamically set the form action using jQuery.
The goal of the tutorial is to teach the user how to how to record live broadcast.

734 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