|
|||
|
hope you can help me with my little problem. i made a project that uses 2 swf files. the first swf file was packed inside the SWFkit and the other swf is published as .exe from flash MX. My .exe(flash generated) creates or saves shared objects. The problem is i cant use those sharedObjects in the .swf packed in SWFKit.
The weird thing is that when i use only swf's, it works fine. SWFkit is a great tool but am still trying to work thru it. hope you can help me sooner. thanks
__________________
canned_tooth |
|
|||
|
me again, i hope i explained it clearly. just trying to pass variables from one swf to another. was the shared object was disabled on SWFKit? please reply, i need it sooner. thanks.
__________________
canned_tooth |
|
|||
|
Check this item:
http://www.topcmm.com/forum/index.ph...=msg352#msg352 I would suggest the use of datafiles to transfer vars |
|
|||
|
Please don't check the "pack movies" option while building the SWFKit exe.
If the swf movie is packed into the exe file, it's extracted to a temporary folder when the exe is about to run. When the app is about to exit, the swf movie is removed along with the temporary folder. So the swf movie cannot get the saved shared objects. |
|
|||
|
You can also use the method meester mentioned. The DataFile object can load and save variables. If you need a sample, please send an email to support@swfkit.com.
|
|
|||
|
Would like to thank you all for the responses. The "pack movies" is unchecked when i looked at it. I also unchecked the "Packed attached files" under Operations Panel and it creates a temporary folder.
Project: Its an eLearning for our company that can keep track of each users scores, responses etc. Here are the details: 1. Starter.exe - Launching file created thru SWFkit. Has the login page as well as keeping track of the users. 2. Course.exe - is main course created thru flash publishing. The sequence: Starter.exe launch. Users login and save datas to shared object. Choose a course and launch. Course.exe is launched. Course.exe stores datas (e.g. course name, lesson name, started date... etc). Starter.exe retrieve datas in shared object and uses this to update scores and reports. Cheers!
__________________
canned_tooth |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|