[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Buttons under a mask layer

Posted on 2006-05-29
2
Medium Priority
?
242 Views
Last Modified: 2008-03-17
I'm building a website with a Flash menu. The buttons are animated, and I used a mask layer over them to create part of the effect.
The buttons all have actions like this:

on(rollOver) {
      gotoAndPlay(1);
}
on(rollOut) {
      gotoAndPlay(_totalframes-_currentframe);
}
on(release) {
      getURL("mypage.asp", _parent);
}

The rollOver anf rollOut actions work fine, but I can't get the getURL to work. In fact, when I click on one of the buttons, the flash movie disappears! I tried attaching the same action to a button that wasn't masked, and it did work.
Is there a problem with masking buttons?
How do I work around this?

Thanks,
Gittit
0
Comment
Question by:GWee
2 Comments
 
LVL 7

Accepted Solution

by:
Ramy_atef earned 1200 total points
ID: 16783748
Hi
the code should be like this

on(release) {
     getURL("mypage.asp", "_parent");
}

this should work fine (unless there are other problems around :)
0
 
LVL 1

Author Comment

by:GWee
ID: 16792898
Oh.
Thanks, it works now.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses
Course of the Month19 days, 18 hours left to enroll

873 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