Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-18-2006, 11:48 AM
Junior Member
 
Join Date: Jul 2006
Posts: 4
Default Movie doesn't load properly

Hi!
I want to convert swf to exe. I did it like they told me to in the tutorial for making a single exe file.
Now I have a problem.. When the movie loads, my pictures don't appear.. I guess I forgot something in the initialize script (I'm not keen on Ffish Scripting :-[) So can someone please help me with that?

I already have this:
Code:
//Initialize
 var res_path = getAdditionalFile ;
 Application.setBasePath(res_path); 
 loadMovie("main.swf", 1);
 loadMovie("Movies\\thumbnail_final.swf", 2);
 loadMovie("Movies\\contact.swf", 3); 

return true;
What i need:
-My xml-files named: content.xml, images.xml, xmlphoto.xml (folderata)
-My pics: 18 of them.. (folder: Pictures)
-My movies named: main.swf, thumbnail_final.swf contact.swf (folder: Movies)

Any help is welcome! Thanks!!
Eline.
Reply With Quote
  #2 (permalink)  
Old 07-18-2006, 12:33 PM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re:Movie doesn't load properly

Maybe the option Pack Movies is selected.
Then your movie is compressed and unpacked in a temp folder when the movie runs. Therefore it can not find the files needed in the temp folder.
You have several options.

option1
- uncheck the option (it's in the Movies section of SWFkit) and recompile your exe. I mostly use this option. This means that the additional files are NOT packed in the exe file

option2
- leave the pack movies option checked
- rebuild the file structure of the files needed in the attachment section of SWFkit. that is: make the same folders and add the files.
- check the pack additional files option
- recompile your exe
Its a bit more work, but the result is you have one exe-file where all the addiotional files are packed

About your scripting:
1.the loadmovie has to be from the flashplayer object like FlashPlayer.loadMovie
If you're using it to load the main movie I think your wrong, you just have to add it to the movie section.
2. The flashplayer is created after the initialize script has returned true, so you can't just pass these loadmovie commands in the initialize script.




Reply With Quote
  #3 (permalink)  
Old 07-18-2006, 01:33 PM
Junior Member
 
Join Date: Jul 2006
Posts: 4
Default Re:Movie doesn't load properly

@ meester
Pack movies is selected..
I tried your second option and the result was the same.. he loads the movie but when I hit a tab (the second movie is supposed to open now) I see the flash stucture but no pictures.
I first thought that the links were not right anymore cause I replaced the files more than once.. so i did it al over again in the original folder, in which I made my flash project, with no progress.
I used the code to load the movie.. But i also added it to the movie section..
I really need help with that script i think!

Another question: is it really necessairy that you devide Application (Attachment option) into Movies, Sounds, Pictures, Data?

Many thanks.
Eline.
Reply With Quote
  #4 (permalink)  
Old 07-18-2006, 03:32 PM
Junior Member
 
Join Date: Jul 2006
Posts: 4
Default Re:Movie doesn't load properly

Hi again.
I think I know what the problem is.
My XML ensures that the pictures open in the swf document.. So when I put those XML files in the right place @ SWFkit, it has to work isn't it?
But where do I have to place them exactly? And do i also need a script?

P.S.: I've got 2 movies..
1: main movie
2: after click in main movie this one opens

I just use the scripts for the second movie cause there are my pictures.

Don't know if this was usefull information.
Thx again!
Eline
Reply With Quote
  #5 (permalink)  
Old 07-19-2006, 04:23 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Movie doesn't load properly

Thank meeter for his kind helps.

If you still have problem, please send your files to us(support@swfkit.com), we will show you how to resolve it. Thank you.
Reply With Quote
  #6 (permalink)  
Old 07-19-2006, 04:29 PM
Junior Member
 
Join Date: Jul 2006
Posts: 4
Default Re:Movie doesn't load properly

I've already thanked him..
I appreciated his help very much!
My problem is solved now, thanks to his services.
Greetz, Eline.
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 03:47 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.