header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Luke
Points:0
Posts:0

2/25/2010 6:27:43 PM

Title: getURL button problem


ok, this is the navigation file if you want to have a look at it.

http://www.mediafire.com/file/vnzzrymmyn2/buttons.fla

i am using AS2, my problem is, when i select a button,and add the following
----------------------------------
on (release)

 
{ 
getURL("http://www.google.com"); 

}
 

---------------------------------- The movie clip on the button ie: The rollover effect stops working... what can i do to fix that? keeping in mind i am a novice at this point... many many thanks. Luke



Inder
Points: 2480
Posts:0
2/25/2010 10:50:15 PM



Hi, Luke checked your file, When you attach an "on Press" event on MovieClip it starts behaving like a button. You have added code by selecting the movieclip so the buttons inside will not be able to get the on rollover or rollout events . To fix this you can write the press code inside the movieclip on same buttons that you are using inside.

FlexRex
Points: 0
Posts:0
2/25/2010 11:12:28 PM



Nesting of buttons i.e button inside a button does not work in flash. Either move the rollover/ rollout events to outside or move the press event inside the movieclip. I mean to say all the events should be on a single clip rollover, rollout, press etc at one place.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 2+3 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions