Export/Recompiling SWF
I would like to have a button on my movie that will just download the loaded movie to the users system. It's an swf movie. I remember seeing an action script function that did something similar, but it was only for as1 or 2. I've come up with some possible solutions, but don't know how, or if they'll work.one is to export the playing swf to an fla in actionscript, then convert that to a new swf to download. (all in AS)another is if there is someway in php to preload the entire movie and somehow using php compress it for download.I'm actually pretty clueless, so any help would be great.Thanks
KirupaForum > Flash > ActionScript 3.0
Posted on: 12-17-2007, 03:50 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Recompiling Flash
I had a CDSTART.exe file which consists of following
1. Flash introduction
2. Product information stuff that has a database of products .
I wanted to change some stuff in the flash file. So for that I found the .swf file .. Converted to .fla and opened in Macromedia Flash Mx .. There i made the changes required and saved it.
Now i want to recompile the entire stuff all over again so that I can get CDSTART.exe
I have Products.dxr and Products.cxt files
and the .fla files which can be compiled (i guess)
Can anyone assist as to what should i use in order to get a single exe file
Also tell me the tools/application which can be used to do this
kindly help
Regards
earthonclouds
Class Not Recompiling
I made a class in a testing directory and all went well. I was just publishing into the same directrory and was able to make changes and everything recompiled fine.
When I moved the class into a bigger project I started having problems. The publishing directory is not in the same location as the fla files. I have the class file .as file in the same location as the fla's
when i publish my root fla the class file is showing old traces. It seems like it doesn't know to recompile the class everytime i publish the root.fla
i'm including the root.fla file with code something like this
var global_loader:LoadQueue = new LoadQueue();
_root.global_loader.queueItem("this.swf", _root.movieclip,1);
_root.global_loader.startLoad();
I'm gguessing I am missing something simple here. If you need any more explination of what i am doing let me know and i will elaborate on my file structure
Recompiling Flvplayback.as
I have a need to count how many people actually hit "play" on my recorded movies, so I added 1 line of code inside flvplayback.as (inside the "first run" folder tree).
Now, when I used to use the "MediaController" component, all I had to do was re-start flash, and it used the new version of the actionscript. Now, however, I cannot make it use the new version of the flvplayback.as. I have added a TON of tracing, and should see my traces show up in the output window, but it just does not take.
Is there something else I need to do, to make the new flvplayback.as be used?
Any alternative ideas, rather than what Im doing? Im adding a line of code to the "PLAY" function, and doing a "loadVariables" call to a certain URL, which increments the counter for me.
Thanks!
Rich
Recompiling Flash
alright, so the other day, I get a job to update some stuff on http://alaskadonjoses.com ,namely the menu well, I updated a single page and then went to test it. Turns out, that for some reason when I recompile the movie in flash 8 (I'm not sure what version he used) it doesn't show content, and the scrollbar is messed up. Default export properties are actionscript 1 and flash 6 (He was using some deprecated actionscript that I updated), but no matter what I do, it still comes out with the same effect. I'd be happy to send any and all resources for any solutions.
How To Change JPEGS Without Recompiling SWF's?
Once a flash site has been uploaded it is useful for the end-client to be able to change pictures, etc, by themselves without have to come back to you all the time.
Currently it is necessary to recompile the SWF each time the end-client wishes to change a single JPEG and this is cumbersome.
What is the best way to go about this???
I have heard about Generator, but how does that work?
Is there any other method to achieve this???
many regards
Loading External Actionscript Without Recompiling
Does anyone know how to load external actionscript, which can be changed at runtime or at least directly on the server, into a swf?
I tried using #include but when I change the .as file it doesn't work anymore untill I recompile my swf with the .as file locally present.
Hoe someone knows about this!
Export Image: Export All Frames As Individual Swf
I'm creating several flash files with 20-40 frames each using MX 2004 Pro. I need to export each frame as an individual .swf file. I've found that this can be done through File->Export->Export Image. However, I have to export each one individually, and this becomes very time consuming. Does anyone know of a way to export all the frames as individual .swf files in one step? Am I missing something simple here?
Thanks in advance
Sara
Export Doesnt Export Properly
hi there! im new here
sorry if this is the wrong place to post it but i am having some trouble
im new at flash, i have created an animation before and was happy - worked great
now im trying for a new animation (just simple tweens with alpha etc.) it plays fine in the editor but not when i export it!
why not? whats happening?
ive added the flash file with this
Thanks!
Export Classes At Frame X, Export For At First Frame Preloading Problems.
I have all way been confused by the preloading of classes and object and how they get placed on the play head.
how are you able to make sure that the classes get placed before the object that rely on them and that what needs to load first loads first?
example...
Code:
Document settings:
_____________________________
Export classes in frame 2,
Library settings
_________________________
linkage for Symbol1 is:
export for action script - true.
export for first frame - false.
Errors:
_________________________________________________________
var test:Symbol1 = new Symbol1();
1046: Type was not found or was not a compile-time constant: Symbol1.
var test:Symbol1 = new Symbol1();
1180: Call to a possibly undefined method Symbol1.
I also attached the FLA.
The problem I find is that if I export the classes for any other frame besides frame 1 in the document settings, then I have to export any objects in my library that have a linkage to export as Action script to export at the first frame.
This defeats the point of a preloader as the objects usually get placed before any code the executes and make the preloader wait till it loads first.
Export Swf, Exe
Hi friends..
When i use more than one scene in flash and export a swf or exe.. i get rewind,forward,play options..on right click!!
How to deactivate these options?
Thanx in advance..
Export.........
Guys please help me out here .
i made a signature-banner whatever u wanna call it with gif picture and just some text effects on it and couple of sprites... export it to html ..
what my problem is,is there anyway i can export to JIF or JPEG to use it as a signature next to my post's in forum ..
or what do i have to to i tryed to upload my movie on network54 forum it wont work ....... i see guys have they sigs on this forum how to u guys upload it ?
Export
Does anyone know after you finish your movie where do you export your movie too???
Export
i've imported .mov files into my .fla document - haven't converted them to symbols (they don't seem to play that way...) and when i go to file>export movie - the .swf file shows nothing - just the background color. any ideas?
thanks so much!
Export ID? Where To Specify
Hi
I have a question here can you please send me answer by my email ID.
I am using Flash 5 version.
Question
1. What is Export ID?
2. How to use it?
3. Where to specify?
Export To 16:9
Hi there
I've got a client and he's asked me to create a presentation for a plasmascreen.
I was wondering, is there anybody out there who's got experience with making things for 16:9 format?
The main problem is that I don't know with what kind of computer they'll be showcasing the presentation, so I also don't know what to do if the computer can't be set in a 16:9 modus...
are there any ground-rules for that?
greetings, robin
Export Fla To Avi
i'd like to export my flash mx movie to an avi-video. is there a way to keep the AS commands? or to make the mcs within the root timeline play on the avi? otherwise i would have to copy all mcs into the root-timeline which means lots of work- thanks! and sorry for all mistakes
Export Gif
Hi,
I've done a drawing pad in Flash MX. Now I ask myself, if there is a possibility of exporting drawings into gif-files, so that I can save them on the server. Is there anyone having a suggestion?
Thanks,
Michael
Mx Export
is there a limit of how much video Flash MX can Handle? i can embed and export a file with 80 mb but not with 180 mb any suggestions???
Export From A Swf A Jpg
Hi,
I want to know if i can export from a movie(swf), a part of it( a movieclip) like a jpg, all this online of course.
I explain: I do a movie that is like a drawing tool. I want to Users export his drawing picture by mail or whaterver, like a jpg gif swf or whatever. Is this possible? And if it is, how can i do it?
Thank u for advance.
Dsand.
*.avi Export
hi
I'm trying to find the best format to combine a flash movie
into powerpoint
*.swf is very problematic inside powerpoint
*.avi is of very poor quality cant see the animation maybe im not exporting well
*.mov is excellent quality but im unable to import it into powerpoint
can anyone help me?
thanks
Export
When I have done a flax file how can I export it to macromedia flash to work with it not only to play it?
Pls Help, Export Wav From .mov
I am brand spanking new to MX, though able to use flash 5. I want to export a wav file from a mov using MX, I have imported the mov off my digital camera, I try to export the sound into a wav which it lets me do, however on opening the file in either winamp or soundforge it plays but no sound is detected. please help.
Export To .eps?
Hi, is it possible to export a logo in Flash to an .eps format?
thanks
Help With Export
hi,
when i export a html no one else can see it but me, and when i upload it on a site the same thing hapens. a black screan apears and keaps on loading. Why?
ex: http://www.geocities.com/yaxebt/mainpage.html
Thank you
Help Export To Swf
i have a a movie and when i export it to swf is too big and a need it smaller what i do somedoy helpme
thanks!!!!!!!!!!
Export Help
hi, i have a problem with exporting my animation from flash. i want a gif version of the file that i created but then the quality is jsut too bad. what do i do? is there something i am missing out on? the gif file is below. help needed desperately.
-Export As .MOV
Hi there
I have a .fla file. Is there a way to export it as a quick time .mov movie?
I need to some how get the file into a .mov form. Any ideas?
-Export As .MOV
Hi there
I have a .fla file. Is there a way to export it as a quick time .mov movie?
I need to some how get the file into a .mov form. Any ideas?
-Export As .MOV
Hi there
I have a .fla file. Is there a way to export it as a quick time .mov movie?
I need to some how get the file into a .mov form. Any ideas?
Got URL In An .AVI Export
I'm working on a presentation to show to the UK lottery commission. It's for my local Cricket team. We are trying to raise some extra money so we can build our own pavilion with a bar and better all round facilities.
The first part of my presentation is to show a short animation. I've been warned already that the laptop that I will be using has no flash player, but I am able to show .avi files.
What I want to do is to run the animation (.avi) that will then jump to our web site when it ends. I really don't want to stop the film and then open explorer and find our web site. I want it to do it automatically.
I've had a quick play around, but I don't think that simply putting a "goto URL...." will work when exported as a .avi (or does it). Does anybody know how it can be done in avi format?
Thanks
LEROY
Export Swf From Swf
hey, is it possible to create a new swf file and save/export it to a location from within an existing swf file?
Export To MAC
hi!
i would like to know how to export a flash clip to view in mac computer.
Thanks!
Export As Pdf?
does anyone know how to export as a pdf, not from flash but from a swf that is online,
something that is drawn in the browser online (say) then exported off that canvas a pdf?
any ideas?
Export Help
hey
i have finished my slideshow which comprises of images pasted from photoshop into flash and a mp3 that runs the duration.
i want to save it so it will run in quicktime and i'm having some problems.
this is how im doing it:
*publish settings
*select quicktime
*alpha-auto
layer -auto
controller none
paused at start
file-flatten
*publish
*export file ^same settings
then when i click on the .mov file it has created it doesn't work and its not a quicktime icon. but the .swf does have the quicktime icon and plays but with no sound (is this the published one?)
cheers for any help
Export Gif
Is there a way to have a flash movie export a gif of the stage at the press of a button then send it to an email adress?
Export
I am trying to export my flash movie as a quick time file, but it isn't playing the movie clips, How would I fix this?
Export From Swf
i have done a great efecct with actionscript..
all inside a moiveclip, so i want toknow which is de code for export a image form a swf.
crystal clear?
i would like to export what you see inside a movieclip, clicking in a button, from a swf.
thanks
and sorry 4 my english
Export To Jpg From Swf
Hi,
i am looking into doing something similar to this site, tho much simpler.
http://blograffiti.com/
what should i start looking in to? php?
cheers,
g
Why Can't I Export This To FP7?
Hi. Could someone please check this for me? It's a simple pseudo-3D rotating menu. I'm unable to export to FlashPlayer7 and I have no idea why. FLP6 +AS2.0 works. FPL7 +AS2.0 doesn't. Here are the scripts ....
SCRIPT1 --> attached to the menu movie clip ....
code:
onClipEvent (load) {
radius = 75;
objNum = 7;
}
onClipEvent (enterFrame) {
if (_root.go != true) {
if ((_root._xmouse>710) && (_root._xmouse<880)) {
this.speed = (_root._xmouse-795)*-0.04;
} else if ((_root._xmouse>600) && (_root._xmouse<710)) {
this.speed = -((_root._xmouse-600)*-0.04);
} else if (_root._xmouse<600) {
this.speed = 0;
} else if (_root._xmouse>880) {
this.speed = ((_root._xmouse-795)*-0.04);
}
}
}
SCRIPT2 --> includes .as file (attached to thumb movie clips inside the menu mc) ....
code:
#include "3Dtrans.as"
SCRIPT3 --> contents of "3Dtrans.as" ....
code:
onClipEvent(load){
fullscale = this._xscale
num = this._name.substr(-1,1)
theta=num*(360/_parent.objNum)
}
onClipEvent(enterFrame){
if(_root.name == this._name){
dif = 360 - theta;
_parent.speed = dif*0.1
}else{
if(theta > 360){
theta -= 360;
}else if(theta < -360){
theta += 360;
}
}
theta += _parent.speed;
x1 = Math.cos(Math.PI/180 * theta);
y1 = Math.sin(Math.PI/180 * theta);
this._xscale = x1*fullscale;
this._yscale = x1*fullscale;
this._x = y1*_parent.radius;
//this._y = x1*20
//this._rotation += y1*0.5
this._alpha = 30+(x1+1)*50;
stack=Math.floor((x1+1)*100);
this.swapDepths(stack);
}
thanks
mark
Export Swf
Hello! I'm new on this forum! I have a tiny question about exporting a swf from another swf. For example I have one swf movie clip that shows a circle and a buton! if I click on the buton I want to save this swf with another name! It is possible this thing or not?
Thanks!!
Export A Jpg From A Swf...
Hello...
Anyone knows how to export or save a jpg file (or any other image file) from a flash movie?
For example, if you have a paintapplication made in flash and want the users to be able to save their work (that contains both vectorgraphic, text and maybe loaded jpgs), to a jpg file so thay can print it out.
I don't just want a screen capture, I want to get a highquality image (300dpi) so it can be printed in fine quality.
Any suggestions?
Thanks!
[F8] Export As Seen
When i use the live preview feature my animation is just as i want it, but when I use the publish preview or html preview it comes out waaaay different, weird, objects jumping all over the place and whatnot. How can I export it so it will look and behave EXACTLY as I have itplaying in the live preview?
[F8] Export FLA TO MOV HELP
Why the hell won't this work! I need to do something seemingly simple:
Take my FlA and convert it into a MOV. I cannot do this. I cannot publish, and cannot export as MOV. Stuck on first frame.
Export As AVI
Hi, I have exported my flash movie as an AVI.
It works great, the sound is excellent, and it suits my needs perfectly...
BUT
The avi displays lines around the objects (such as text and drawing). These are the lines you see while editing the flash project, they never display when you publish a project, I am not sure why they are displaying when I export as an AVI.
Can anyone offer any suggestions??
Export To JPG?
Hi all!
I have to make an application that first of all translates some simulation results into a couple of visual representation. I think I know how to do this, although some thoughts are very welcome.
I also have to export those images to a bitmap format for later use in Power Point. As this application is stand alone (projetor) I don't think I can use PHP (I don't know if PHP can be compiled for stand aloen use..).. Another problem is that it is quite important for it to be in print quality, so the screencapture function of Zinc (I'm using Zinc for some other stuff) is out of the question.
Any thought and/or solutions are received with gratefullness.
If no solution in AS, does any of you know about an app that can receive a stram of data and output a jpg?
Cheers, M
Export As Jpg?
i'm sure there is a way to script it but do you know if it's possible to have a button on your flash movie that will allow you to click it and export what is currently displayed on the flash movie screen as a jpg? i will be using this for a company that wants to drag and drop their components to a grid and be able to have the user save what is currently on the screen as a jpg so it can be emailed to them. thanks!
Export SWF Or PDF Within SWF
Let's say I'm making a drawing application for some random contest... The user could draw whatever he wants on the drawing board and then, when he's finished with his drawing, he could send it to us automatically in a vector based format (SWF or PDF). At worst, we could receive a JPEG image of the drawing.
Has anyone heard if this is possible?
|