Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-21-2004, 07:51 AM
Junior Member
 
Join Date: Oct 2004
Posts: 19
Default flash shared Objects

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
Reply With Quote
  #2 (permalink)  
Old 10-21-2004, 09:54 AM
Junior Member
 
Join Date: Oct 2004
Posts: 19
Default Re:flash shared Objects

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
Reply With Quote
  #3 (permalink)  
Old 10-21-2004, 10:02 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re:flash shared Objects

Check this item:

http://www.topcmm.com/forum/index.ph...=msg352#msg352

I would suggest the use of datafiles to transfer vars
Reply With Quote
  #4 (permalink)  
Old 10-21-2004, 02:10 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:flash shared Objects

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.

Reply With Quote
  #5 (permalink)  
Old 10-21-2004, 02:19 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:flash 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.
Reply With Quote
  #6 (permalink)  
Old 10-22-2004, 02:30 AM
Junior Member
 
Join Date: Oct 2004
Posts: 19
Default Re:flash shared Objects

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
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 11: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.