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




Replicating Files On A Desktop In AS



Can i replicate files and create folders on a users desktop through actionscript?

Im creating a template builder that will have to replicate my swf's, write a variable to a html page where my flash is embeded, write a xml file, and create a folder on a users desktop with all the files above?

Is this possible in as or as3? Do I need to write my application in VB or flex instead?



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 05-31-2007, 04:28 PM


View Complete Forum Thread with Replies

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

Save Files FROM A CD To The Desktop
Hello Flash Experts

First of all, HAPPY HOLIDAYS!!!!!

I work on a Mac. I cannot use third-part software such as FreeMX or FlasJester. I designed a dual platform CD-ROM presentation and everything works great -- except for ONE thing.

I have a small image library and I need it to work like this: when you press a button, I want the selected image file to be transferred FROM the CD-ROM and be saved ONTO the desktop of the PC or the Mac.

I have 7 high resolution jpegs and 2 Illustrator eps files - in both PC and Mac format.

I found a LONG Mac applescript that will do this for me. Is there a PC script or actionsscript that will do this function for me? Do I need to write a .bat file and use FScommand ("exec","mybat01") to trigger a DOS command? I understand this method will cause a DOS window to pop open on the PC.

If I use: getURL, what happens in the file attempts to open in the web-browser. Not good because the jpegs are 300 dpi and the browser cannot understand the Illustrator eps files.

If any experts out there can help me find a solution to this dilemma, I would be most grateful!

Remember - I'm using a Mac so I can't use FreeMX or *********** (they only work on a PC). I would post the .fla file, but it's over 37 megs. Sorry.

Thank you Flash friends!

Terrence
nycomet@optonline.net

Save Files From A CD-ROM To The Desktop
Hello Flash Experts

First of all, HAPPY HOLIDAYS!!!!!

I work on a Mac. I cannot use third-part software such as FreeMX or ***********. I designed a dual platform CD-ROM presentation using Flash MX and everything works great -- except for ONE thing.

I have a small image library and I need it to work like this: when you press a button, I want the selected image file to be transferred FROM the CD-ROM and be saved ONTO the desktop of the PC or the Mac.

I have 7 high resolution jpegs and 2 Illustrator eps files - in both PC and Mac format.

I found a LONG Mac applescript that will do this for me. Is there a PC script or actionsscript that will do this function for me? Do I need to write a .bat file and use FScommand ("exec","mybat01") to trigger a DOS command? I understand this method will cause a DOS window to pop open on the PC.

If I use: getURL, what happens in the file attempts to open in the web-browser. Not good because the jpegs are 300 dpi and the browser cannot understand the Illustrator eps files.

If any experts out there can help me find a solution to this dilemma, I would be most grateful!

Remember - I'm using a Mac so I can't use FreeMX or *********** (they only work on a PC). I would post the .fla file, but it's over 37 megs. Sorry.

Thank you Flash friends!

Terrence
nycomet@optonline.net

SWF Desktop Vs External Files...
Hi All,

Am creating a flash desktop using SWF desktop (from ScreenTime). Having a problem loading external files - has anyone any experience of this? We're trying to run flash jester so we can launch explorer run & control the initial size & position...

cheers...

Downloading Files From Site To Desktop...help
any help is hugely appreciated...

I want to be able to set up my downloadable wallpaper images on my website so that people can click on their resolution size and then the image downloads straight to their desktop. At the moment the images just open in a new window.

any ideas?

Saving Files To Users Desktop
Need to know how to point to a file that is on a cd that the flash movie is playing from and saving that file to the user's desktop without opening up the file in it's respective application.

Ex. using the get url command and pointing it to a pdf file automatically opens acrobat. Need it to save to desktop instead.

Thanks

Vivid1

Simple Way To Create XML Files On Desktop
Hello Forum

I am creating a simple application that runs of data in an extenal XML file.

The client has not enough money to create a database and the php middleware to facilitate the XML file creation so I am trying to look into a way for him to create the XML from Excel perhaps...? The person is not the most computer literate but I think if there' s a popular or somewhat userfriendly program that I could configure to take a bunch of rows (name, title, link, description) and export that data properly configuered as an XML file which he can then FTP up to the server that would be a fantastic alternative...

Does anyone have any good (or bad) experiences with such an approach? Any recommendations for software that regular people would know how to use? (I would like to avoid having to sit down with him and explain him the beauty of XML...)

Any advice is much appreciated.

Thank you for your time.

Cheers

stephank

Saving Files To Desktop In Flash
Hello!

I just recieved a question which I do not know the answer to, so thought I'd ask.

Is it possible to click on a button inside of a flash presentation and have flash automatically download the file associated with that button to the user's desktop? If so, how would that be done?

CDROM: Moving/saving Files To Desktop Through Flash MX
I'm working on a CDROM project in Flash MX on mac. My client would like a "downloads" screen, where you can click a button, and move files (hi-res tiffs, PDFs, etc.) from a directory on the CD to the user's desktop.

I'm wondering if anyone has ever done this and could lend a hand. I've seen it done through Director with the FileXtra, but I'd prefer to do it in Flash. I've done similar functions on the web, i.e. point to a .sit or .zip to download, but I don't know how this could be done on a CD.

Maybe a getURL pointing to a file directory on the CD? FSCommand??

Replicating An Effect
say there's one particular "effect" i want to use on several different symbols, what's the best way to go about reproducing it? for example, let's say i find a particular way of affecting color and size with lots of tweens that makes a really nice "shine" effect, and want to use the same settings on 30 or 40 different text and/or image links - how should i go about it?

tyia

Help In Replicating Menu
Hi,
I am working on a website and want to integrate a Flash menu, with the same type layout as the one used here (http://www.islandrecords.com/thekillers/site/home.las). I'd like a menu list where you get sub-menu items when you roll over the buttons. I'm just getting into learning Flash, and could use some help. I've got my main image and my buttons created on seperate layers. But I don't know how I should put the sub-menu items in, or how to get them to appear when you roll over the buttons. Any assistance in how to properly set this up is much appreciated. Thanks in advance. - Eric

Replicating An Applet
Hi,
I saw this applet that basically had heaps of points arrange in columns and rows, that when u clicked and held the left mouse button down they would move towards the mouse, and move away if the right button was clicked.

so the question is how do i make this code 4 making the points arrange on stage simpler I am sure there is a better way.


Code:
a = 0;
j = 1;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 1+i);
a = a+60;
b = 60;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 2;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 20+i);
a = a+60;
b = 120;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 3;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 40+i);
a = a+60;
b = 180;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 4;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 60+i);
a = a+60;
b = 240;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 5;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 80+i);
a = a+60;
b = 300;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 6;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 100+i);
a = a+60;
b = 360;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 7;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 120+i);
a = a+60;
b = 420;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 8;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 140+i);
a = a+60;
b = 480;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 9;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 160+i);
a = a+60;
b = 540;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 10;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 180+i);
a = a+60;
b = 600;
_root[peete]._x = a;
_root[peete]._y = b;
}
also i am using a mouse down clip event to make the points move to the mouse how do i make this happen for the whole time the mouse is down not just the click?

Help Replicating Effect
Hi all,
just wondering if anyone could give any help... I am trying to copy the effect on this page.


www.bbc.co.uk/radio1

when you hover over a picture, info pops up from the bottom.

Any clues?

Many thanks :-)

Self Replicating Program
Can anyone use AS3 (or AS2 I suppose) to write a script that can reproduce itself? Successful program should export code (into a TF or the output panel) that can be copied into a new flash file and run to repeat the same output indefinitely.

I've seen this posed for other languages but I'm not sure how to tackle it in AS3...yet.

Replicating A Pattern
This time round i need to get the pattern drawn on the drawing board to be repeated on another area of the stage.I need it to be repeated 4x4 tile. Any idea??

Replicating A Pattern
This time round i need to get the pattern drawn on the drawing board to be repeated on another area of the stage.I need it to be repeated 4x4 tile. Any idea??

Replicating MM Search Input Box
Hi Guys,

I have tried this - only have flash 5

Here is the fla - I have it working except when I roll on and off the textbox it fades in an out.


I only want it to fade when I click on it and click off it.


onClipEvent (load) {
this._alpha = 100;
alpha = no;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (alpha == no)) {
this._alpha -= 13;
// this._alpha++ // very slow
// this._alpha*= 10 //a bit faster
alpha = yes;
} else if (alpha == yes) {
this._alpha += 13;
}
}
onClipEvent (load) {
}

http://www.actionscript.org/forums/a...=&postid=50155

Cheers,
SuzyQ

Replicating Website + Flash
Okay. Here is my predicament. My Father's company (Natural Herbal Prodicts) is paying some people a large sum of money to design a website. The design that they are stuck with is mediocre and not very functional and I could do a much better job, and would like to do so, except for this obstable. They are making a replicating website, that would be plugged into the already existing database system. Let me explain...


The original domain name will be www.entreneteam.com
Say I ordered, then a site would automatically be created after the order at the url
www.entreneteam.com/eric.html
Now say I give my card to someone with my url on it and they will get the same frontpage as anybody else, but when they order, they will be put under me in the distributor line so that their orders benefit me.
So these frontpages would be replicated like a tree and tied into the distributor database. Now, he already has a programmer that can take care of the database part, and tying the database into it, but I would still personally have to do the replicating webbsite part of it myself.

Now I have no idea how to do that, and will gladly research, but is this possible to do in Flash MX or in Flash MX and Cold Fusion, so that I could include the funtionability of a replicating website, with a good flash design?
I would really be helping my father out of a situation if I could do so.
Thanks for your time.

Replicating Website + Flash
Okay. Here is my predicament. My Father's company (Natural Herbal Prodicts) is paying some people a large sum of money to design a website. The design that they are stuck with is mediocre and not very functional and I could do a much better job, and would like to do so, except for this obstable. They are making a replicating website, that would be plugged into the already existing database system. Let me explain...


The original domain name will be www.entreneteam.com
Say I ordered, then a site would automatically be created after the order at the url
www.entreneteam.com/eric.html
Now say I give my card to someone with my url on it and they will get the same frontpage as anybody else, but when they order, they will be put under me in the distributor line so that their orders benefit me.
So these frontpages would be replicated like a tree and tied into the distributor database. Now, he already has a programmer that can take care of the database part, and tying the database into it, but I would still personally have to do the replicating webbsite part of it myself.

Now I have no idea how to do that, and will gladly research, but is this possible to do in Flash MX or in Flash MX and Cold Fusion, so that I could include the funtionability of a replicating website, with a good flash design?
I would really be helping my father out of a situation if I could do so.
Thanks for your time.

Replicating OnDragOver In Flash 5
Hi every1. First post, wondering if you can help me.

The deal is I've got an MC that I am dragging around my scene and I need other MC's to be highlighted as I drag over them, i.e. the mouse is still down. Buttons don't work, onClipEvent only runs once whilst mouseDown (so I can't do a continuous position check) and the only thing I can think of working is the onDragOver and onDragOut events in MX but I am using flash 5?

Any feedback welcome. Can't help feeling like am being very stupid, am sure this is possible, but can't for the life of me think how.

Cheers,
Sir.

Replicating Flash, Am Stuck :(
Hey,

I seen this flash thing. And i want to learn how the computer gets brought into it. Take a look here http://www.clipitsolutions.co.uk/flash/flashmovie.swf .. As soon as it starts, the computer comes in with like a cirle being tweened over it. But i dont understand how to do this?

If anyone could help, would be most greatful. I really wana learn this technique but its fryin my brain lol

Thanks,
Paul

[CS3] Efficient Way Of Replicating MovieClips?
On my main timeline I have two dynamic text boxes and an input box that represent a math problem. I wanted there to be three problems on the screen at a time. Since I don't know much about classes and making packages I just copied and pasted the problem twice so that I have three instances of each text box. Next I basically just tripled my lines of code, one block for each of the three problems.

I'm assuming the proper way to handle something like that is to make the problem a MovieClip and then make a class for it. However, when I attempted to do that I got errors [possible undefined function] because code that still remained on the Main Timeline was referencing functions that had been moved from the Timeline into the mcProblem class. Could I change the code on the Timeline so that I won't be getting these referencing errors? If not, could you please provide some detailed information about what I should do regarding classes? Currently I am not using a document class.

If anyone understands what I'm trying to do, please guide me in the right direction. This is my first attempt at a solo project (for fun) and while I can achieve the desired swf sloppily I prefer to learn to do it the clean and efficient way.

Replicating HTML Forms
I am trying to put a HTML form into flash that has hidden fields. How can I put these in flash? Do I just set a variable value under the submit button function? Thanks!

Replicating Pages Turning
I'd like to replicate the turning of pages of a book, to show different information. I would either like (A) when you click on the lower right corner the page flips, flowing across the screen as if turning in real life or (b) *favorite* that when the lower right corner is dragged towards the left side, the page turns to the next. is this even possible? any help would be greatly appreciated (ps kinda new but my confidence and understanding is growing quickly)

Indications On Replicating Effect
Hello. I would like some indications on how to replicate the transition effect between the images on this site: link (the transition effect with the squares). Please offer some ideas on how to do that effect. As many indications as possible are welcomed. Thanks.

Replicating Pages Turning
I'd like to replicate the turning of pages of a book, to show different information. I would either like (A) when you click on the lower right corner the page flips, flowing across the screen as if turning in real life or (b) *favorite* that when the lower right corner is dragged towards the left side, the page turns to the next. is this even possible? any help would be greatly appreciated (ps kinda new but my confidence and understanding is growing quickly)

Replicating Left And Right Mouse Clicks
Was wondering whether anyone knows if it is possible to replicate a left and right mouse click in flash.

Need to distinguish between whether the user has right clicked their mouse or left clicked....also any ideas on replicating a double click?

Cheers....

Replicating The Menu On ERAIN Homepage.
The header bar of the Electric Rain webpage has a very nice effect when you rollover the buttons. I am just wondering if anyone knows how to re-create this effect. Also how to make the little pop-up bubble when rolled over the logo.

http://www.erain.com

Replicating This Effect With Bitmapfilter (Effects)
Hey there all, I'm just trying to replicate this effect

http://www.reactiondynamics.com/sd2.swf

using flash. So far, using Senoculars blurred trails example on his website, I've got this: blurtrail2.fla

Only, it doesn't look right and I'm not sure how I can get it looking better. For instance, how can I remove the spacing that appears as dots spin, and also, how do I elongate the trail, and make the blur falloff ? If it can't be done in flash, what program can I do it in?

Any help appreciated

Help Needed On Styling And Replicating Text Field
As a new AS3 coder I'm at a little bit of a loss on the most efficient way to replicate a styled text field.

I would like to use the following styled text info and load some text from an array. Do I need to create all this styling for every instance of the text in the array or can I create several new instances of the field in my function?

Thank you in advance for your help.


ActionScript Code:
var headlines:TextField = new TextField();var headline:TextFormat = new TextFormat();headline.size = 20;headline.font = new HelvBlack().fontName;headlines.alpha = 0;headlines.setTextFormat(headline);headlines.embedFonts = true;headlines.autoSize = TextFieldAutoSize.LEFT;

Replicating Photoshop Text Tool Antialiasing Settings In Flash 8?
Does anyone have any custom antialiasing settings to match up with the 4 settings: smooth, sharp, crisp and strong?

Thanks

Importing Files/ Opening Files In Files/ Adding Files Into Scenes.
Alright Here is the deal.
I got some movies, which are seperate FLA. files, and I want to eventually add all these 4 seperate files, into scenes in one main FLA. file. How do I do this so that I have the symbols ect. I am pretty sure you can't just copy/paste.

Which FLASH** guru out there can lead me in the right direction?


greatly appreciated...

*g.guru.

Desktop Toy
Hi has anyone made, or has gone about making a desktop toy, it needs to sit on the desktop not blocking or restiricting the use of the desktop or its item's.......could anyone point me in the right direction or suggest an approach or where to begin?.......

Thanks in Advance!

Desktop Fun...
How would i go about creating a desktop themed game/movie. Where you can choose an item (e.g. a hammer) then click on the desktop (which is the background) and it creates cracks and for other items (e.g. a firearm) creates bulletholes?

Pedro

Desktop?
Is it possible to use flash as a desktop? ie to navagate windows?

SWF Desktop
Hey there everyone, I got this SWF desktop, seems like I'm buyin software all the time these days. Anyhow, I was wondering if anyone has gotten this program and has any comments about it suggestions. Im gonna totally convert my background of my computer and get rid of desktop icons and make everything look nice.

I was wondering if anyone has done the same with their computer and if you have screenshots or whatever, im kinda interested to see what all everyone has done to make thier pc sexy looking. =D

When i get mine done i will post a pic as well. hopefully im not the only one with this program =(

Desktop
Is it possible to create a flash file that will work as a desktop background.

I have a clock that keeps time through code that reads my date and time schedule from my computer. I want to make it into a desktop background without losing the motion. Or possiblly a screensaver.

Desktop Exe Cam App
Hi Guys and Girls,

Im having a bit of a problem creating a stand alone cam exe projector that talks to my remote media server which in turn talks to a browser cam swf.

All the browser based swf work fine but for some reason when I try and create a standalone exe projector it fails to connect to the media server.

Has anyone any ideas of where to start to look for the problem.

Ive alowed all permissions on my local firewall too.

Im guessing that its a sand box problem with security issues but Im buggered if I can find where to start.

Thanks in advance.

SWF Desktop
Has anyone used this product from screentime?

I downlaoded their trial version and I can't seem to get the background images to work.

I have set the background image thumbnails both ways that they show.

1) From the same directory as the swf and have inlcuded them with the installer.
2) From my server.

The thumbnails load successfully every time locally and from the server, however I can't get the background image to change when I click on the thumbnail.

Has anyone had this problem or know how to fix it? It's really frustrating.

Thanks in advance!

Raz (XP Pro)

Download To Desktop?
Anyone have any idea how to have something download to a users desktop from a CD-Rom in FLASH? For example I have a CD-ROM project and I want users to be able to download a screensaver....what action would I assign to the button? Thanks to anyone who can help.

Desktop Screenshot Using AS
you know the old screesavers done in director where it takes a shot on your desktop and a creature pops up and starts eating your icons etc. Is it possible to take that screenshot using AS... i really didn't think it could be done, but maybe someone here has some bright ideas.

cheers
j

Downloading .jpg To Desktop
O.K. basically what im trying to do is make possible for people to download wall paper for there computers. What kind of script do need to write to make this happen? Any help would be much appreciated.

SWF Won't Play On Desktop
when i try to run a swf on my desktop, i get a caution window saying "Device is not ready." and it does not run. However the FLA and EXE of the file work fine. Anyone else had this problem or does anyone have any idea why its doing this? THanks!!!

Desktop Buddy
Anyone out there know how to make your own desktop buddy?

Thanks
K.

Desktop Buddy
Anyone out there know how to make your own desktop buddy?

Thanks
K.

Desktop Buddy
Anyone out there know how to make their own desktop buddy?

Thanks
k.

Desktop Doobres...
How would i go about creating a desktop themed game/movie. Where you can choose an item (e.g. a hammer) then click on the desktop (which is the background) and it creates cracks and for other items (e.g. a firearm) creates bulletholes?

Pedro

Take A Picture Of Your Desktop
how do you take a picture of your desktop? You know, a snapshot of the desktop you have...

Dowloading A Pdf To The Desktop...
i have a link on my page which allows the viewer to download a copy of a pdf onto their desktop... but the problem is, I DON'T KNOW THE LINGO TO PUT INTO THE ACTIONSCRIPT TO MAKE THIS HAPPEN! any help will be greatly appreciated!!!!! thanks

j

Flash For My Desktop?
Can i make somesort like program in flash and make it as "active desktop wallpaper"? For example, i made an animation which buttons links them to a certain folders, so i wish to cover the desktop so that i can only click on the animation, can i do that?

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