ActionScript 2.0 :: Copy Swf File From Server While Browsing It?
Jun 24, 2011Is it possible to copy swf file from server while browsing it ?
View 3 RepliesIs it possible to copy swf file from server while browsing it ?
View 3 RepliesI was working with FMS 3.5 and using the function 'copyTo()' to copy a file to a desired location. Code: fileObject.copyTo("store/"+name+".flv") store is a virtual directory defined in Application.xml file in the server side and name is a variable that stores the fileName without extension This was working fine with FMS 3 and FMS 3.5. Now, I moved to FMS 4 and noticed that this copyTo() function is not working. In the FMS Admin Console, it throws an error:Error: File operation copyTo failed.
View 10 RepliesI'd like to hardcode a file to periodically check its modification date. Do you have to browse for a file first using filereference.browse to check its modification date or can you hardcode a local file (with absolute path)?
View 1 RepliesI changed a layer entry of my Flash file by moving around various elements within the layer. I sitll have the original file, too. I'd like to put it back exactly like it was in the original file. How do I replace the changed sprite element from the new file with the original from the old file?
View 5 Replieshow to copy a recorded live stream to a new drive on the server? I can copy the file within the virtual app directory but not to another drive.
The only solution i found was to edit the application.xml:
<StreamManager> <StorageDir>e:Sync</StorageDir> </StreamManager>
But unfortunately i need to rename the file once its recorded, and i'm having a hard time accessing that drive/directory where the file is located.
How can I copy layers from one .fla file to another .fla file?
View 1 RepliesI would like to have it added with controls and play while the user is browsing the site. I don't want it to start playing automatically I want the user to be aware there is a song for them to listen to. I don't have any images for buttons.
View 2 RepliesA web channel streaming service streams to a certain IP range, it only checks the IP in example.com/cmd.php?id=xxx (channel number) and outputs an rtmpe stream URL, nothing else.How do I trick it to get my local URL instead of the one on their server? I have considered squid proxy, but is there some way to do it with a firefox plugin or greasemonkey script?
Edit:I will try to specify:It's a streaming service from an ISP and cable provider. They stream for free to people on their IP's. On their webtv page, which is called webtv.example.com, there is a flash player. If you are not on an IP from their ISP, you can't stream anything but the test channel.When you try to change channel via. javescript:videoplayer_changechannel(xxx) it makes this HTTP request:
[URL]
If you are on one of their IP's you will get an RTMP URL, like this:
[URL]
This is what the flash player requests, and if it get's this response it load the channel requested. There is no HTML on the php page, just the URL. Note that the rtmp URL is static.If you are not on one of their IP's it will return a random sentence (something stupid, the programmers having fun).I wan't to trick the flash player into getting the right value, even though it's not on one of the ISP's IP's.
I am loading images from a mysql database. Lets say I was displaying 8 on a page, how can I tell how many pages I have and have it update when more images are added? Like on sites where they have links like
images 1-12 | 13-25 | 26-38 | 39-51 etc
I am glad for my first participation in this forum. Currently, I am working on Flash8, were doing a banner animation. It has buttons created by XML binding. When you click the buttons, appropriate product picture appears and when you click on the picture page is redirected to that products page. I want that animation to be automatically browsing products. And when you click some button browsing would stop, picture would appear, if no action wait for a while and continue browsing(first picture, second picture, ...) automatically.
[Code]...
I want to copy a .swf file I have and paste it into another one, frames and all. I have tried but nothing gets copied over correctly. Either that or my buttons are on a single frame.. and no longer act like a button with the -Over-Up-Down-Hit frames.
View 3 RepliesIt's seems a stupid question But i am newbie in flash, and just trying figure out how to add some ready done flash element into my flash siteI use Flash CS4, and I have some page located in a Movie ClipI've tried to add by copy movie clip, but it doesn't creates layersI want to add it fully, when page will loaded it's should be works like stand alone
View 1 RepliesHow can I copy files with FLfile.copy method in CS4? I need any samples with all classes.
View 0 RepliesI have an mxml project with one button which browses for files and then uploads them. It seems that when i select a file lower then 200kb it passes ok but when the file is bigger it throws SecurityError: Error #2000: No active security context. Where is these restrictions set for size limit?
[Code]...
Is it possible to have flash animation work uninterrupted on my site (in some overlay at the border of the browser) while user browses my site pages?The only way I see is to put animation onto <frame> but the geometry of such layout is very limited.
View 1 RepliesIm not sure if this is possible in AS2 but i will ask anyway! Would it be possible to have a standalone SWF which gives the user the ability to browse their computer files and then load a picture for example? I know this can be done in AIR but im restricted to AS2 only!
View 1 RepliesI have multiple movies that I loaded one at a time depending on which option is selected. I would like to load movies in the background while they are browsing one selection. Is it possible to load a movie without loading into target? So that when they select a different option it will have already been loaded in the background and would just have to be displayed in the container.
View 1 RepliesHow can I copy a movie clip from one .fla to another .fla file?
View 2 RepliesI have trouble getting it to copy file from src to destination.
var asMsg_path:String = fileRef.nativePath;
var origFileLoc:File = File.applicationDirectory.resolvePath(asMsg_path);
var newFileLoc:File = File.applicationDirectory.resolvePath("/java/"+asMsg);
[code]....
I have a swf page that I would like to convert to a png file. Before I convert the file, I would like to zoom in to the swf file so that I have a larger image. I try swftools to convert, but the png image quality is not good enough: Zoomed-in png image looks too blurry.
I should do to capture/use a zoomed-in version of a swf file. A linux compatible command line tool would be great as I am thinking of converting hundreds of images.
I'm making application with ability to copy system files and I need to show copying progress. Can anyone show some examples,I'm trying to use FileStream class, but I seem to lack experience.
View 2 RepliesIn a kind of image browser where navigation is done through keyboard's arrow keys, I get the case where the user keeps the finger pressed on the arrow key. There, the list scroll faster and the screenshot doesn't have time to draw that the next item is already called.
I can see that in that case the CPU goes from an usual 1% when browsing "gently"..to about 20% when leaving the arrow key pressed and raging through the list of images.
I was thinking to:
1) Force the scroll rate to max out at 10 items per second
or
2) Only show pictures if key downs are > 10fps
or
3) Find a function that would wait for the last image to be drawn before continuing in the list.
So, to summarize:
- how to skip drawing pictures if the list is browsed to fast...or
- how to force the script to wait for the current image to be drawn before passing to the next item...or
Here is the script part containing the PNG loader, I've the feeling that this is the place where such a "limiter" should take place:
Code:
MC_loader.loadClip(displayArray[masterindex]".png", "screenshot_mc.screenHolder_mc");
//
[Code]....
I'm having an odd problem that I can't seem to resolve. I'm updating some old animations (created around 2004-2005). Most have gone without a hitch, however one file has been a problem.
First the specs: Windows 7 64bit, Master Collection CS5.5. All updated.
The problem with the file:
I can open it just fine, test the movie, etc. If I try to save the document, it fails, saying "Unable to save the document as...". I can save the file as a CS4 document, which seems to work OK. However, I need to move the contents into a new document. If I try to Copy the laters, Flash immediately crashes.
I have my own conf.xml file (src/conf/conf.xml) consists some properties (alphas, colors,etc). When i try to export release build, I see list of files which not includes that file.Why? When i run my application at debug it file places in "bin-debug" folder.
View 1 RepliesI put a .wav sound file in a movie (movieA). The total frame, say 100 frames. I now selected frame 10 to 30, right click the selected frames and click "Copy Frames". I then open a new movie (movie B), right click the first frame and click "Paste Frames". But I found that the movieB copied the whole frames as those in the movieA. May be there is an aternative way to copy and paste partion of a .wav file.
View 4 Repliesi copy movie to another file but the same movie doesnt work at other file.copy seems to be copied but it doesnt work.
View 2 RepliesHow can I copy multiple frames from one file to another and paste in place? For some reason when I do this flash pastes them to the left of where they need to be even though the stages are the same size.
View 5 RepliesI want to create an flash file in which when user clicks on download button, the files from USB(pen drive) will get copied to user's desktop.Is it possible to download/copy whole folder(with all files in it) to user'desktop? or i can only download/copy files?
View 14 RepliesI have been trawling around forums for hours now and the only was to save information LOCALLY in Flash seems to be using the SharedObject stuff. which is fine. BUT I am making a project which is meant to be entirely run from a memory stick i.e. portable. So, I was thinking it would be good to save the information from the flash to a SharedObject .sol file and then to copy the .sol file to the memory stick, then load the information back into the flash file from the copy of the .sol file on the memory stick!
Dont know if this is possible, but I need to some how save information created in the flash file stored on a memory stick (which will be text and possibly an image which would be loaded from the users pc) to a file on the memory stick and then next time the flash file is run, load all of the information back in!
I know all this stuff is possibly using PHP etc. but as I am running it from a memory stick on a pc which probable wont have internet access.
I came across this simple flash site,[url]...
in the Profile (first button) you are able to copy and paste the text. I was wondering how this was done.[url]...