Button triggering movie state

This is a discussion on "Button triggering movie state" within the Flash & Multimedia Forum section. This forum, and the thread "Button triggering movie state are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Nov 5th, 2006, 14:39
New Member
Join Date: Nov 2006
Location: australia
Age: 26
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Button triggering movie state

My dilema is probly a pure oversight im sure so im just gonna hope someone can help me out here, im not exactly noob, but im not a code monkey either (way more design elite)

I have a button which reads 'NEXT' that if pressed will trigger a movie clip event

however, this mc will be dealing with sets of buttons inside of it depending on the frame (there are 2 for this case) and im having one small issue which isnt really acceptable to my goal

www.fueledbyhate.net

here is the live example on my WIP of the site. Press the 'Next' side tab to see the content list change - however at the end of the main timeline which is about 7 seconds long and plays looped, it will just jump back to the first category of buttons automatically.

here is the code i used
Code: Select all
nextTAB.onRelease = function() { if (content_mc._currentframe == 1) { content_mc.gotoAndStop("cat2"); } else { content_mc.gotoAndStop("cat1"); } }
there cat1 and cat2 stand for Category - and yes I did put stop events at the begginning of the content_mc timeline, and in the last frame frame of it

any ideas?

Last edited by WakeoftheBunT; Nov 5th, 2006 at 14:46. Reason: spelling
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Nov 5th, 2006, 19:03
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Button triggering movie state

Try adding a root attribute to the code. Try this and let me know if it does not work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Nov 5th, 2006, 19:55
New Member
Join Date: Nov 2006
Location: australia
Age: 26
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Button triggering movie state

well its call works, but it reverts and no doing _root didnt make it work

uhhhh haha i dont get that, i hadnt changed the url values in the buttons, see i do duplicate on menus and stuff, and i guess it hates seeing the same url after a frame change in a movie?

either way, it randomly started working once those proper html links were input, so i can continue!

Thanks for your time

Last edited by WakeoftheBunT; Nov 5th, 2006 at 20:08. Reason: it works now
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Nov 6th, 2006, 14:15
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Button triggering movie state

No Problem, and Good Luck!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
button, actionscript, movieclips

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Movieclip button active state problem !! Help Please !! alladeen Flash & Multimedia Forum 6 Oct 25th, 2007 14:40
How to retain the disable state of the button after page refreshing srinivasyadav JavaScript Forum 1 Sep 9th, 2007 14:17
Setting the state of a button using actionscript artdog Flash & Multimedia Forum 6 Oct 18th, 2006 14:45
Using button to restart movie? Alxandr Flash & Multimedia Forum 4 Oct 3rd, 2006 16:53


All times are GMT. The time now is 11:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved