Removing the skip buttons from the flash source - actionscript-3

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.

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 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.

Embedding a Video on an ASP.NET MVC Website

I have created a SWF file using Flash that loads an FLV file on my local development machine. When publishing the SWF file and generating the appropriate HTML, I can successfully load the video by opening the generated HTML page that Flash creates. However, when placing the generated HTML code in my View, the Flash is loading, but the video is not playing. I think it's a reference error to the location of the FLV file, but I've tried every combination I can think of. I placed the SWF and FLV in the corresponding View folder where I want the video to load, but to no avail. Does anyone have a working example that I can look at, or any suggestions? Thanks.
I think it's a reference error to the location of the FLV file, but I've tried every combination I can think of.
Yes, I think so as well. Have you tried using Url helpers to reference static resources on your site, like
#Url.Content("~/Content/Videos/MySupervideo.flv")
The actual solution to this for me was this...
In your Flash file, the Component Inspector should point to the location on the web server where the FLV file is located...
Publish the SWF, copy the appropriate HTML to the View you would like the video to play in...
And just as Darin has pointed out, use the Helpers to write the path to the SWF file on your web server where it is located. The only difference is this (which I discovered using Google's 'Inspect Element' feature and then clicking on the 'Network' item, then clicking the path loaded on the left for the 'SWF'... on the right it stated 404 Status Not Found... why?
#Url.Content("~/Content/video/name-of-swf.swf") actually produced
src='http://localhost/content/video/name-of-swf.swf.swf'
This obviously incorrect... so here is the correct way to use the Helpers...
#Url.Content("~/Content/video/name-of-swf")
Hope this helps someone... I am giving Darin credit because he pushed me in the right direction...

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.

how can i edit swf file in flash cs4?

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.