CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums



Zone: > NEWSGROUP > Adobe-Macromedia Forums > macromedia.flash Tags:
Item Type: Date Entered: 3/28/2008 10:47:27 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 102 Favorited: 0 Favorite
Can Reply:  Yes Members Can Edit: No Online: Yes
1 Items, 1 Pages |< << Go >> >|
"simey70" <webf
NewsGroup User
button movie clip3/28/2008 10:47:27 AM
Reply

0

hello,

i am building a full flash site, and i have created animated buttons
seperatley,outwith the main fla, and i have imported them into the main
timeline. The button file is a movie clip,and works beautifully when testing
from its own fla,but it does not work (no animation on roll over) when i embed
it into my main site. Below i have trhe action script

On top level main timeline,where movie clips reside,in one keyframe -

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}

this.onRollOver = function(){
rewind = false;
play();
}

this.onRollOut = function(){
rewind = true;
}

this.onRelease = function(){
getURL("http://www.kirupa.com","_blank");
}



within each button movie clip

stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}

this.onRollOver = function(){
rewind = false;
play();
}

this.onRollOut = function(){
rewind = true;
}

this.onRelease = function(){
getURL("http://www.siteName.co.uk","_blank");
}


any ideas ?

hope you can help !


1 Items, 1 Pages |< << Go >> >|



Free Download:






   
  Privacy | Contact Us
All Times Are GMT