Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Shared Objects Location On A Hard Drive



I am developing an interesting site and would like to store user information for repeat customers. I stumbled across shared objects and understand the concept quite well with the exception of where the files will be stored on a users hard drive. If I create a shared object does the clients computer automatically store it in some default directory?

I read somewhere that it is WindowsApplication DataMacromediaFlash Player

But when I searched my computer there was no such folder to be found. It must have been for earlier versions of Windows. Could someone elaborate on where a shared object will be stored, and if the clients computer just knows where to store the object when it is playing a flash movie? Or do I have to manually specify the directory on the clients machine?

Thanks,
Sam



SitePoint > Design Your Site > Flash and Actionscript
Posted on: Sep 5, 2004, 21:46


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Location Of Flash Player On Hard Drive
When I download the new flash player 9 onto my computer, I just get a little animation that says it is downloaded. Where is this player typically stored (filepath?)

Location Of Shared Objects With Associated .exe File
Currently I have a .swf file located on my desktop and the location is:

c:Documents and Settings imDesktopjournaljournal.exe

the location of its associated shared object is:

c:Documents and Settings imApplication DataMacromediaFlash PlayerLocalhostDocuments and Settings imDesktopjournaljournal.sol



2 QUESTIONS:

1) Is it possible to have the shared object travel with (Attached to) the executable so that information stays with the .exe no matter where it sits?

2) Is it possible to have the shared object in the same folder as the .exe file so the the path to the .sol file looks the same.

Shared Object:
c:Documents and Settings imDesktopjournaljournal.sol

Executable:
c:Documents and Settings imDesktopjournaljournal.exe


Thanks for your help!

Shared Objects File Location
just a quickie, ive been using shared objects which are working fine but im curious as to where the SO files (*.sol) are stored. i read they are by default kept in the same dir as the flash player but i cant see them.

in fact ive done a search for all *.sol files on my pc, nothing. they should be somewhere though, doing their job in flash fine.

any ideas?

Shared Objects Question (for The Hard Rocks)
I am building a large app in MX. I went to dynamically name a shared object variable and when flushed, it disappeared.

And no I did not actually place it in the root.

Actionscript follows:

set("_root.player_so.data.score"+_root.level+_root.lesson+_root.activity, scoreavg);

and before I close, the data shows up. After I close, it does not seem to want to flush properly...any ideas?

Thx

Dave

Can You Save To The Hard Drive
Is there a way that you can save information from a flash file to someones hard drive.

I have a projector file and want to be able to save information from a cd onto the hard drive of someones computer?

Can I Communicate With Hard Drive
Dont know how to put it, Im trying to build a Flash 5 App.
It needs to execute .exe and open a .bat file to alter a txt file in a game folder on hard drive.Im tring to make option's avliable before you start the game .exe.The txt file has the options that can be changed. Like a little uttility for a game.Is this possible. I have used Flash 5 alot, but can't say Ive heard of or tried this.

Thanks

Hard Drive Crash
Hi,

My hard drive crashed a few weeks ago, and I lost my only copy of Swish. I purchased it when there was only one Swish, not so many variations of it, so consequently cannot find any documentation associated with it.

I'd really like to avoid buying a new copy as I was quite happy with the version I had. Is there any way to restore an old version?

Getting Hard Drive Number
Does anybody know if there is a way in Flash MX to get the hard drive number if the piece is playing from the hard drive?

Thanks!

Getting Hard Drive Number
does anybody know if there is a way in Flash MX to get the hard drive number if the piece is running from the CD or Hard drive.

Thanks!

[F8] Write To Hard Drive
I'm working on Flash CD based appication and need a way to write data on the local machine. I can't use any server scripts because it is not run from a server.

As far as I know I can't write any files without server side script, but I was wandering if there is any way so I was thinking for XML file format for example.

Please, any thoughts would come in handy.

Thank you very much
Eva

Browse Hard Drive.
Is there any way possible to allow people to click a button and it brings a upload form such as what you get on a html when you click on the browse button of a upload form and then it puts the local address into a text field or something. Id like to do this so people could browse for music on their hard drive and play it though the flash application without having to search using explorer and copying the local address into an input field.

Thanks

Load Movie From Hard Drive
Can i load a movie into anther movie from
my local hard drive ?
the movie is not on line is just that i want to
know it it can be done. what is the command
4 that?
i have a flash movie on my desktop all i want to
do is make that movie load another movie that is
in my hard drive.
thank u 4 u time

Testing Pop Up Windows On The Hard Drive
hello experts

how can i script and test an object action by which a pop up window downloads a quicktime movie sample????

i'm not ready to launch my site but i need to check whether it is working, so i would like to dummy the location to my hard drive, until i am ready to use my url...

thanks in anticipation

david

Load Variables From Hard Drive
I've created a flash CD-ROM which writes some variables to the user's hard drive using:

on (release) {
fscommand ("save", "C:\test.txt");
}

I need to be able to load the variables but want to be able to locate the file which is situated on the hard drive how do I write the route of the file.

I thought the following would work, but it doesn't:

loadVariablesNum ("C:\test.txt", 0);

Whatever I try I seem to get a cannot find file error.

Any help is greatly appreciated!!

Browse The Hard Drive For A File
Does anyone know if MX has the ability/component to allow a user to browse for files on their hard drive?
I need to allow a user to select and send a file and I've never seen Flash do this so I'm not sure if it can or not?

Thanks in Advance,

Frequent-C
http://www.Freq-Fest.com

Saving A Text Box On Hard Drive
Is there a way to have a button in flash load a text box, then have a button to overwrite it with new text and save it as a txt to the hard drive?

Exploring The Hard Drive With Flash
I am trying to create an application which will allow the user to upload a file from their hard drive which will then be passed from Flash to a PHP script and then into a MySQL DB. My problem lies in the first part of that. I need a input text field for the path to that file, a browse button which opens windows explorer or something similar, and an open button which passes that file to the Flash movie so it can be displayed and/or edited before passing it to the php script. Any thoughts or ideas would be greatly appreciated!

-J

Displaying Hard Drive Contents?
I'm working on a flash mx desktop for my computer, I love windows xp but thier intended use of the desktop just sucks. Anyway I was wondering if anyone knew how to display local hard drive contents from within a flash movie. Kinda like the way you do it with a frame in normal html, just specify the hard drive as the htlm path. I was thinking of using a dynamic text box and specifying C drive as the variable. If anyone knows how do this pleas oh please let me know!!!!!!!!!!

Thanks in advanced.

How Can I Check A File On Hard Drive...
I'm building a CD-Rom for a friend and I need to check if
Acrobat Reader is installed on the user's computer...

I tought this could be done with Javascript... I coulb be wrong...

can anyone help please...

Accessing Hard Drive Through Flash
I'm about to start building a Flash application which will help me keep track of my contacts in a more visual manner. The only problem i'm encountering so far is figuring out the actionscript behind saving the information on to my local hard drive. If anyone has any sugggestions or knows where the information can be found it would be much apprecated.

Also, i just recently won the SXSW student division web competition. You can check out my site at www.madbrad.net

Thanks for the help

Save Txt To Hard Drive Fscommand
hello i have a flash mx file that has a varible that i would like saved to a txt file on my hard drive. this is not online. they have taken out fscommand(save) and i was wondering if there is anyother way to do this. any help appreciated. Patrcik

How To Open Files On Hard Drive?
I stopped using flash for a while and can't remember if you can load a file/folder from inside a flash movie and if so, how.

Thanks, Robert

Newbie Asking About Writing To Hard Drive
I only mess around with Flash occasionally so I'm perpetually behind the curve on this fast-moving technology.

Still, I had the idea of creating a screensaver. I'd like to make this screensaver customizeable for each person that downloads it, so that they can (for example) insert their own names in it.

I guess Flash can somehow write to a hard drive now, but so far I've only read about this in the context of web apps and cookies.

In terms of an installed screensaver, could I get my Flash movie to write a few variables to the installer's hard drive in order to customize it for them? And have the variables persist?

Thanks for the feedback,
- blake

Hard Drive Space Detection
Hey guys,

This may be impossible but I don't know.. I'm still a beginner at flash, but I'd like to know if it's in any way possible to
reach out across a network and detect how much space is left on a server so that I can have a constantly running/updating pie chart on an administrative website.

If so how in the name of Pete is it done?

Thanks in advance for your help.

Help With Opening Htm File From Hard Drive
Can someone tell me how to open a .htm file from flash MX. I would like to be able to control the size and the position. I would also like it not to be adjustable is size and no bars at the top of the screen.



I also need to be able to open a pdf from the hard drive. Can someone tell me how to do this?


Later, I will coping all of this to a CD and I will change the directories from the hard drive to the cd.

Thanks,
Nathan

How To Get PDFs To Download To Hard Drive
I have created a Flash MX 2004 file that has several Adobe PDF icon buttons. What I want them to do when clicked is download an external PDF to the viewers hard drive.

I have tried the GetURL action such as:
on (release) {
//Goto Webpage Behavior
getURL("http://www.choreo.com/Speedway/PDFs/SA_Flyer.pdf");
//End Behavior
}
... and this causes the PDF to open in my browser window and replace my Flash site. I guess I could add "_blank" to force it to open in another window, but is there a way to force the PDFs to just download to the users hard drive without displaying the PDF in a browser window?

Works From Hard Drive, Won't Work On Web
I am having problems with my first site. When I preview it in flash8 or from my hard drive there are no problems, but when i view it on the web the buttons do not perform the correct tasks(refresh and click on contact button). The url is www.prism/gatech.edu/~gtg767h/index.html. I have also posted the .fla file on the server. The url is www.prism.gatech.edu/~gtg767h/drewsiteredo.fla. I would really appreciate any help on figuring out the problem. My best guess is that the problem is being caused because the file is not fully downloaded when you click on a button. Thanks!!!

[FMX] Importing A File From The Hard Drive
Is there any way to create a component that will load a file (such as a jpg, flash video, or another .swf) into a .swf file, which allows the user to browse their hard drive or a specific server folder to choose which files they want to import?

I have been trying to do it with JavaScript and forms, using the basic way of uploading images to get the paths into Flash, but there must be a better way! Can anyone help? Thanks!!!

Save To Hard Drive/load From Another Swf
Is there a way to trace or find out the path or extension of a swf that I would be saving varibales to the hard drive from?

it seems that saving information from one swf will NOT load into a different one...

If you know different, please let me know. It would be much appreciated!

Thank you in advance!

l2eDsanD

Link Button To Hard Drive?
I want to have a button in a MX flash movie open a folder on my computer. Could someone tell me step by step on how to do this thanx

Load Song From Hard Drive
This would strictly be run from my pc.

I have an idea for making a movie that I will use on my active desktop in windows. I also have a folder full of mp3's. I wish to be able to type in the song's name into a textbox, hit a button, and have the song start playing. in effect, this would be a jukebox built into my desktop.

I have NO experience in 'loading' movies or variables, so any help would be great. I think its a pretty good idea.

[FMX] Importing A File From The Hard Drive
Is there any way to create a component that will load a file (such as a jpg, flash video, or another .swf) into a .swf file, which allows the user to browse their hard drive or a specific server folder to choose which files they want to import?

I have been trying to do it with JavaScript and forms, using the basic way of uploading images to get the paths into Flash, but there must be a better way! Can anyone help? Thanks!!!

Link To Files On A Hard Drive Or CD, Possible?
I know this is an odd request, since flash is usually used online.

But I am using it to make an autostart program. You know, when you place a CD into the drive and a window opens with different choices, depending on the CD. Well I am using flash to do this.

My problem is, I am a newbie. I know the basics, but I don't know how to tell flash to open a file.

I want it to go onto the CD and open a video file with what ever video player the user has associated with AVI's.

I am hoping that this is possible, so that the time I spent on this little project of mine has not been wasted.

Save Info On Hard Drive FROM CD_ROM?
i have a project that is on a cd-rom. There is a quiz that a section of it must be passed with a 100% brfor they can take the rest of it. If they pass it and quit the cd.. the next time they run the program... they dont want to have to take that part of the quiz again. Soooo.. that info has to be put onto the users hard drive. HOW IS THIS DONE.. can Flash call out to a com object that lives on the cd and writes to the hard drive, or is there another way to do that... HELP!

Will Not Store Info Online But Will On My Hard Drive...?
My site contains heavy usage of cookies, so the user can customise his/her site to there own taste everything works fine on publishing the movie onto my hard drive and then viewing through ie5.0 .Given that there is no problem with the content, either in the html script or the flash file, you would expect it to work fine when uploaded onto our intranet but on our intranet, the cookies do not store anyinformation onto my hard drive. Not one cookie is stored.

Can anybody suggest any reasons for this? I really do need some help.

Is There A Way To Call Files On Someones Hard Drive?
I want to make a voice chat library that people will be able to download and use with the site. Is there a way I can have it call the waves from the viewers hard drive?

Marking The Hard Drive With Flash Scripting?
can you mark the hard drive with scripting?
a buddy of mine marks the harddrive of those who get his software. It will only work on the one hard drive then.
is this posible with flash -----or is there a workaround?

How Can User Access Hard Drive From Within Flash
How can user access hard drive from within Flash and select files or build a library of sounds from within flash??

Forms Send From Hard Drive But Not From Server?
Hi,

Just got a confusing issue. I have developed a form which processes and works perfectly when it is sent from my pc (i know, servers should have tighter security) though when I upload it to the server it does not work at all. I have been told I need some javascript buried in my html doc to make this work. Does anyone know what scripting would make this work??

So far I am using the below in the flash doc.

on (release) {
subject = "Feed Back Form";
sendto = "damienj@xxx.com.au";
loadVariablesNum ("http://www.scripts.xxx/mailto.asp", 0, "POST");
gotoAndPlay ("ThankYou");
}

Thanks!

Link To Local Program On My Hard Drive
Hello and thank you in advance for your help. I am attempting to author a flash MX file that contains links to programs on my hard drive. Upon clicking said links I would like to activate the local programs. Is this possible? Any insight on how to do this? Thanks again!

Regards,
Mark

Where Can I Found The Soundz From Games On My Hard Drive?
This is driving me nuts! I looked all over for the sounds and they just dont pop-up! If you can help me find where all the sounds or music from games like Starcraft, Battlefield 1942, etc., i will thankyou a lot! Thanx in advance though! lol

Writing To Txt File To A Local Hard Drive
i having a problem to write to txt from flash to my local hard drive.

i used a fscommand, but it doesn't work please help to find a solution this


att


Jonathan Rodriguez Cabrera

Need To Save A File To Hard Drive Using Flash
Has anyone done this before? I need to push a button and have it bring up a save dialog box that will save a specific pdf file (from the same directory where the flash file resides) to where ever the user chooses. Can someone help me?

Posted Site On Net Is Different From Preview From Hard Drive
When I preview my site from my hard drive everything is perfect. The site is completely in flash. My homepage is made up of two independent SWF files. One swf is the background graphics and the other swf is the text.

When I post it to the net, only the background graphics show up and no text. How can this be because it previews perfectly from my hard drive?

Thank you for your help.

Texanflash

How To Read A Directory Listing From The Hard Drive
I'm trying to write a program that, when given a directory on the local HD, reads all the names of the files in that directory (so I can output them into an XML file). Can someone tell me the function calls and commands in AS needed to do this? Can't find it in my beginners AS guide...

Sound Object Lag When Loading Swf's Off A Hard Drive?
I am having a sound lag problem with a game.

I am using attached sounds from the library. After the game has played for a while, even though I know the sound is being called on the right frame, the actual playtime of the sound grows increasingly late.

This problem seems to only occur when playing the game off a hard drive. It does not occur when playing over the internet.

I am guessing it is related to dynamic loading of large swf files (2-mb) off the hard drive. At the beginning of each round, when playing off a hard drive the swf pauses while it loads the files for the round (when playing online loading animations continue to play during loading). The sound lag also increases with each round when playing off the hard drive.

Does loading swf's work differently off the hard drive than off the internet? IS there a way to force it to work like it does when loading off the internet?

Is there some kind of clock that is getting out of synch when the game stops during loading?

If so is there a way to refresh this timer?

Any help would be greatly appreciated.

Thanks!

Loading External Swf - Hard Drive Vs Internet?
Whne loading off the hard drive, Flash appears to pause, and not use the loader bars that work over the internet.

This pause appears to be causing problems in timing of sound objects.

Is there a way to force internet style loading off a hard drive?

Thanks!

Write To Text File On Hard Drive?
Hello All,

Can anyone point me in the right direction as to writing data out of flash and to a text file, locally on your computer? Have to set up such an app for a client who wants to gather customer data at their booth (State Fair), but will not have internet access. All it needs is some user info fields, and a submit button, that writes to a comma delimited text file (or equiv).

I tried looking for old threads, but when I search/advanced search on FK, it crashes on me (after hanging for about 3min).

If need be, I'll dust off my Director Hat, and write it in Lingo, but haven't touched the stuff for 3yrs, so am hoping I don't have to do that!

Thanks in advance,
roml

Copyright © 2005-08 www.BigResource.com, All rights reserved