-
hello, good evening!
i have a flash file with 7 scenes and each scene has its own loader
- everything works fine on my computer (where it hardly has to load anyway - or loads it all right away anyway)
- online it doesn 't work - if i click 4 or 5 - it plays scene 1 then 2 then 3 etc. of course it stops where i put in stops but if i click from 3 to 5 it will play 4 - just as the order of scenes are in my flashfile. what's up with that? i cannot figure it out. thanx 4 insight.
i am using a simple loader in frame one, e.g. for scene 2:
ifFrameLoaded ("scene2", 3) {
gotoAndPlay ("scene2", 3);
}
-
ifFrameLoaded is just a if statement, not a loop.
So, your movie is doomed if you do not retest it.
Frame 1:
// nothing
Frame 2:
ifFrameLoaded ("scene2", 3) {
gotoAndPlay ("scene2", 3);
}
else {
gotoAndPlay ("scene2", 1);
}
-
thanks hannibal for answering! it's funny because i used this script so many times and it works fine when it loads the entire movie but now with the scenes loading individually it's screwed up - anyhow - i used your code and flash tells me: Scene=scene2, Layer=Layer 8, Frame=2: Line 4: 'else' encountered without matching 'if'
else {
-
...2nd part of my reply - flashkit always cuts off half of my post 4 some reason...
it doesn't want to give me any else solution i was murksing around but failed. i'd be happy to hear from you again about this! thnx nikobe
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
|