Jump to content


Buttons within movieclips to controlling main timeline


  • You cannot reply to this topic
2 replies to this topic

#1 jimbo1985

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 20 April 2006 - 12:39 PM

Hi I've adapted funkysouls mp3 player into a phone to make a demo of a music application for mobile phones. You can see how far i've got here http://www.atomicflame.com//jimbo/ . Ideally I want the user to use the phone d-pad just like they would in real life. Scrolling up and down to the various options is fine I just created a movieclip with 5 frames of the various option and just used the nextFrame and prevFrame script to allow the user to navigate up and down the options. My problem however is the select button. My
idea has been to have a select button in each keyframe of this movieclip containg these 5 frames which would do exactly the same as they have done in the maintimeline for example originally the script was;

btn_stop.onRelease = function() {
trace("Stop song");
clearInterval(timeInterval);
_root.timeDisplay_txt.text = "00:00/00:00";
this._parent.sound_mc.sound_obj.stop();

but now it's in the playermenu movieclip i would expect it to be this

playermenu.btn_stop.onRelease = function() {
trace("Stop song");
clearInterval(timeInterval);
_root.timeDisplay_txt.text = "00:00/00:00";
this._parent.sound_mc.sound_obj.stop();

However this doesnt work and i cant seem to find any info on buttons inside movieclips, any ideas would be much appreciated

:tiphat:

#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 21 April 2006 - 02:58 AM

your link is not working: "account suspended"
did you gave your playermenu Movieclip an instance name?

#3 jimbo1985

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 24 April 2006 - 04:42 AM

Hi Funkysoul
I cant see why my site has been suspended, i have still had no joy trying to reference these butons situated inside a mc from the main timeline so ive posted a link to download the project fla.

http://depositfiles.com/files/29521/button...de_mcs.rar.html

Any help would be much appreciated <_<





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users