-
Hi again today...
It seems my Actionscript skills have become a bit rusty duringthe latest project... but thats not why i started this thread.
Ok' here we go,
In My SWF i have a 1clip that loads some XML into button labels (Not verry complicated) When a buttom is pressed a clip which loads a Content fields starts .. (not the problem also, (Now its getting interresting)somewhere in the 1clip a close button can be pressed to go back to the root of the SWF (this is done by tweening the clip background border)
The same close button should make shure the content clip is finished ... (tweened into invisseble)
Then the 1Clip has to close itself....
-------------------CODE
on (release) {
if (_root.Forumlist.Forums._currentframe = 34) {
tellTarget ("_root.Forumlist.Forums") {
gotoAndPlay(35);
}
} else if (_root.Forumlist.Forums._currentframe = 1) {
tellTarget ("_root.Forumlist") {
gotoAndStop(1);
}
}
}
---------------------CODE
Please help me out here
Thanx....
-
I think you need to set the if statements like this
(_root.Forumlist.Forums._currentframe == 34)
-
Originally posted by ^1letser
I think you need to set the if statements like this
(_root.Forumlist.Forums._currentframe == 34)
Yhnx anyway
i tried this befor but it resulted in an no go script..(the script didn't work.)
What im looking for should be verry simple (as it is in vbscript) but it seems flash doesn't understand that it should look at the frame displayed... rather than just go on to the next ine of actionscript.
norman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|