To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash MX

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-29-2007, 10:04 PM   #1
sunlikeacandle
Junior Member
 
Join Date: Jun 2007
Posts: 4
playing a symbol through a different symbol?

hey, I have a symbol which contains a button which plays the next frame in the symbol. I'm wondering if I can also make it play the next frame in ANOTHER symbol.

thanks!
sunlikeacandle is offline   Reply With Quote
Old 06-29-2007, 10:09 PM   #2
sunlikeacandle
Junior Member
 
Join Date: Jun 2007
Posts: 4
also, is there a proper way to give the command to play the next frame in the symbol? I just write

on(release){
gotoAndPlay("[symbol name]", [number of next frame]);
}

but I noticed that it works the same even if I don't write the correct symbol name in... I'm just substituting symbol name where scene usually is.
sunlikeacandle is offline   Reply With Quote
Old 07-03-2007, 04:26 PM   #3
rdoyle720
Senior Member
 
Join Date: Apr 2002
Posts: 2,556
You can control movie clip symbols with actionscript. So if you had a movie clip symbol with a name of "myClip" and you wanted it go to frame 5, your button would say:

Code:
on(release){
  myClip.gotoAndPlay(5);
}
rdoyle720 is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash MX

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 05:50 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.