how can i edit swf file in flash cs4? - html

i have a player which is of swf file. I need to edit it to remove user defined conextmenu.( when i right click its showing one name, i need to remove that)
Can any one help me how to do that.
how i can edit swf file in flash. when i open swf file in flash am unable to edit anything.
u can see the flash player here
http://test2.musicking.in/video/4/abd
Please need help.
Thanks in advance.

Unless you've got the source, you can't edit it in the Flash IDE. You can usually import some assets, but that's about it. Your best bet is probably something like this:
http://www.sothink.com/product/flashdecompiler/

You can convert it first to .fla and then edit it.
Here is a link to the free download of swf to fla converter.

Related

HTML Hyperlink to a specific scene in a swf file

I have an swf file with many scenes. I would like to be able to add multiple hyperlinks to a company Intranet site (set up on SharePoint) that link to specific scenes in the swf file. Is this possible? Thank you!
It's do-able... it's going to depend on how much access you have to the actionscript, the javascript, etc. In short you'll need to be able to add the necessary listeners required to do what you want to do.
I found an example of communication between JavaScript and Flash here: http://code.tutsplus.com/tutorials/quick-tip-how-to-communicate-between-flash-and-javascript--active-3370
Yes, first you need to setup deep-linking in your SWF. Check out swfaddress. This will make it easier to create deep-links (using the browser address hash) into your SWF file. For example, a url such as my/site.html#scene3 could gotoAndPlay(1, "scene3") in your SWF. Swfaddress has various examples to get you started.
Once you have your swf setup to support deep-linking, you can simply create HTML links with the desired url, like <a href="my/site.html#scene3">.

How to program a Download/Save button to a SWF Flash?

Ok, so I'm working on an Adobe Flash ActionScript 3 file. I programmed a hyperlink to an external pdf file, but I was told that that's a no-go. The file needs to be included inside the SWF, and clicking a button should let the user save it on his computer. I have no clue how that should work.
Any ideas?
You can use FileReference.download(), you can read the documentation. You don't need to include the file in the SWF.
FileReference documentation

How to Compile fla and as into a swf

Ok first of thanks for reading..
first off to tell you what im doing. im editing the action script of an swf file
ok i decompiled it got a folder containing the as and the fla-flash part of the swf
now i edited what i needed to in the few as files.
now the question is the fla no longer has all the as that was in the swf it is in the folder along with the orignal fla that was made
how do i go ahead and compile all the as and fla together to publish the swf again
again note if i try to publish the fla it is half the size (the as part isnt in there)
is there a way i can do this easily.?
thanks again
any helpful comments greatly appreciated thanks again
again note if i try to publish the fla it is half the size (the as
part isnt in there)
This shouldn't happen because of .as files not being compiled. It should be because you must be missing some other symbols and their linkages in your fla.
I hope you are using some tool like Adobe Professional CS5 etc for editing and seeing the fla
Check whether the ActionScript Settings has the correct folder for the sources file
In your main document of the fla, check whether the Document class is set. You can also click on the pen mark beside the document to open it up.
check your library containing all the symbols and their linkages
This is more of a problem with your decompiler. First off, you shouldn't be using one since the majority of them out there are far from perfect. You didn't exactly give enough details other than the fact that you want to get your decompiler to work, so I don't see what the issue is.

Is it possible to embed flv file in to flash?

Is it possible to embed the flv file in to the flash like other files(images, swf), so that i can handle this in as3 as programmaticaly in the same way as FLVPlayback component? I know the way to add flv file by creating FLVPlayback component. But in this case we always need to depend on the source path of corresponding file. I am not able to find any kind of solution for this. As second way I have imported flv file to the library and created the instance of this but there is some problem with the synchronization of audio with video. Also in this case I am not able to handle this flv in as3 as programmatically.
Any kind of help would be appreciated.
Thanks in advance!
read next things:
http://www.actionscript.org/forums/showthread.php3?t=123832
http://www.bit-101.com/blog/?p=853#comment-253072
if you want some help, post the source you have, so community could provide the snippets for you goals.
Regards
Eugene
The best way would be to use the Video class, there is a simple example at the bottom of the page showing how to set up Netstreams and Netconnections.

Removing the skip buttons from the flash source

I am no flash expert however I need to edit the source of the flash project here: http://tools.assembla.com/1pixelout/browser/audio-player/
It's the "Wordpress audio player" I need to remove the skip forward and back buttons when there is more than one audio file.
Anyone know how to first of all use this folder structure, I thought it would simply be a .fla file that you edit but it seems to be loads of files. And then how do I compile it?
Thanks in advance,
Stefan
It appears to be FLA-based, meaning you will need to purchase a copy of Flash Professional (what version you need depends on the version of the FLA file).
It depends on how it was coded, either you need to edit the graphics / layout inside the FLA file, or you need to edit the code in one of the classes. The classes can either be embedded in the FLA file, or they can be in separate standalone AS files.