|
|
|
#1 |
|
gazzer
Join Date: Jun 2004
Location: New Zealand
Posts: 64
|
Under "Files" I have another file to view.
I get this by using the following code on a button:- on (release) { ssCore.Flash.loadMovie({path:"startdir://propertyExample.swf", resize:"false"}); } Then, to return to the Main Movie I use:- on (release) { ssCore.Flash.loadMovie({path:"startdir://mainMovie.swf",resize:"false"}); } What do I add to the Main Movie code to get the return code to select a certain page in the mainMovie...for instance (page4). Thank you
__________________
GC |
|
|
|
|
|
#2 | |
|
Tim
Join Date: May 2001
Location: Ottawa
Posts: 11,874
|
Quote:
|
|
|
|
|
|
|
#3 |
|
gazzer
Join Date: Jun 2004
Location: New Zealand
Posts: 64
|
Didn't seem to do a thing Tim.
__________________
GC |
|
|
|
|
|
#4 |
|
Tim
Join Date: May 2001
Location: Ottawa
Posts: 11,874
|
It's not going to automatically go to "page 4" for you because you set the FlashVars
![]() You set the FlashVars in your main SWf and then you have to look at the FlashVars in the child SWF and take some action based on the contents of the FlashVars. As I said, Flash.loadMovie is a special command that bypasses normal SWF loading so the FlashVars probably won't survive that. You're going to have to use a native Flash method of loading your SWFs to use this feature. Your only other alternative is to write to a registry entry or file or some other external source in the main SWF, before you load the child SWF. The child SWF then has to check that source to see what it should do when it starts. |
|
|
|