Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Actionscript / July 2008



Tip: Looking for answers? Try searching our database.

nubee question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
yolinka - 06 Jul 2008 20:02 GMT
hello  all,

working now on my first flash project- a portfolio of my work.
im wondering if there is a way with actions to make on release of the mouse
first play the next 10 frames or so, and then automaticlly go to another
specific frame.
for example: being on frame 10. on release of the mouse, playing untill frame
20, and automatically moving to frame 50 and continuing from there...

hope im clear enough.
thanks in advance,
joel
clbeech - 06 Jul 2008 20:36 GMT
yes. if you haven't done so already, create a new layer at the top of the list
and call it 'actions' place all codes within this layer.  on frame one open the
actions panel and write the code for your button as:

myBtn.onPress = function() {
play();
}

(with an instance name of 'myBtn' placed on the instance, or change the above
to reflect your button's instance name)

next click on frame 10 of the actions layer, insert a new keyframe there, open
the actions panel and type:

gotoAndPlay(50);

there you go ;)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.