| Ultrashock Forums
• locking timeline in movieclip after exiting it |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
Creative Assets
|
2008-09-04
#2 |
||
|
|
|
2008-09-10
#3 |
||
|
Thanks for info a lot. Tryed many times with different tutorials and not any did work well! Here is .fla that I made, and if someone can post me here code and where to put it will be greatfull! Still learnig and forgive me for such an ask! Login out... END |
|
Creative Assets
|
2008-09-10
#4 |
||
|
Doesn't really work that way my friend. That would be us doing it for you instead of you doing it for yourself. Post the code you feel is problematic and the community will give you suggestions on how to fix it. if you want someone just to do it for you post it in the job offers
|
|
|
|
2008-09-11
#5 |
||
|
OK here is one of the simplest try! Added one frame more where value will not be reseted in starting position. The code make me pass 3rd frame when needed, but strange thing happens! The mc_B loops! Doesn't want to stop on frame 2! Here are codes from that mc! Frame 1 Code:
var securityCheck:Boolean = false; stop(); Code:
stop(); //even here added stop but timeline passes it! Code:
onEnterFrame = function() {
if (securityCheck == false)
stop();
else
gotoAndStop(4);
}
yes_btn.onRelease = function() {
gotoAndStop(4);
}
no_btn.onRelease = function() {
gotoAndStop(1);
}
Code:
var securityCheck:Boolean = true;
connect_btn.onRelease = function() {
gotoAndStop(2);
}
cancel_btn.onRelease = function() {
gotoAndStop(2);
}
Thanks in forward Login out... END |
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|



4 comments
| 397 views

Creative Assets
Linear Mode
And for your next project, don't user time lines to for programming logic (the order in which things appear) that's what events and functions are for.