Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-09-2005, 11:18 AM
Junior Member
 
Join Date: Jun 2005
Posts: 6
Default how can i do? doesnt play more thn one scene

hi again

how can i resolve this? on flashplayer my swf runs right, all buttons(
on(press)
nextsceneandplay();
)

but when i compile it on swfkit the buttons only close the window...it doesnt go to the enxt scene.

it tried to sperate it on differents swf, and assign to the buttons the next actionscript
on(press){
fscommand("ffish_run","next");
}

and in the swfkit i build a script named next and wrote this:

var next = getAdditionalFile("cap2_2.swf");
Shell.open(next);


i have i have a main movie and a folder resource that contains others movies.the script next is to be used by a movie inside the folder to call another movie inside the same folder.

what am i doing wrong?
thanks once again
Reply With Quote
  #2 (permalink)  
Old 06-09-2005, 03:18 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:how can i do? doesnt play more thn one scene

In the "next" script:

Code:
var next = getAdditionalFile("cap2_2.swf");
       FlashPlayer.movie = next;
Reply With Quote
  #3 (permalink)  
Old 06-09-2005, 04:04 PM
Junior Member
 
Join Date: Jun 2005
Posts: 6
Default Re:how can i do? doesnt play more thn one scene

still not working

my layout is:

movie:
main.swf

attachements:
resource (folder)
- cap2_1.swf
- cap2_2.swf
- ...

when open main.swf i can open all movies on resource folder
what is supposed to do is open from movie1.swf the movie2.swf

i tried your code sample:
var next = getAdditionalFile("cap2_2.swf");
FlashPlayer.movie = next;

but it still not working, then i wrote

var next = getAdditionalFile("resource\\cap2_2.swf");
FlashPlayer.movie = next;

but still not work


is any chance that the button actionscript on the flash be wrong?

the script is:
on(press){
fscommand("ffish_run","next");
}


thanks


Reply With Quote
  #4 (permalink)  
Old 06-10-2005, 02:24 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:how can i do? doesnt play more thn one scene

The attached sample shows how to make it work.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:27 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.