I want to convert flash files(.swf) into HTML5. What is the way to do it? Suggestions on Stack overflow are not working. Like pixelplant and swiffy doesnt provide the exact output. * need users to enter values in the flash. but when i convert it using swiffy. it doest show the option to enter the values.*
A simple Flash to HTML5 converter that helps make SWF files available to a larger audience.
https://developers.google.com/swiffy/
Related
I know this question is simple and kind of silly but I really need to get an answer. I am doing some kind of family videos put together and I want that to be on one page or like an HTML file. but when I embed/link a directory file of video to the html it will play on the browser. Is there any way that when I embed a link it will just ask what application to open and will open on that video player that I selected? I'm not really that techie but I really need to make an offline HTML to organize my stuff. thank you so much in advance.
is there any way that when i embed a link it will just ask what application to open and will open on that videoplayer that i selected
Not all browsers do this, but many will. One way to look at this is that the browser in this case is the desired application for viewing that video. (Often times, the user didn't make this choice of course, it was made for them.)
There are a couple ways around this. One way is to add the download attribute to your anchor element:
<a href="video.webm" download>Download the video</a
This will suggest to the browser that the video should be saved to local disk, and not just immediately opened.
A second method is to use an M3U file. All you need in your file is something like this:
#EXTM3U
https://example.com/video.webm
These tend to open up in the default player. Just keep in mind that not everyone has such a player installed.
You have to make your video files downloadable by creating a download link to it. This will give the option of either open in browser or save to local disk.
I need to embed a movie file into an AS3 project and play it. I've only used NetStreams before, but since I want to have it as an embedded resource this time, that won't be necessary.
I know it's possible for MP3's and other resources, but can't find any clear info on video like mp4.
It's hard to google the problem because of the ambiguity of the word 'embed'
You can embed anything as binary data using metadata like this:
[Embed("file.mp4", mimeType="application/octet-stream")]
And then you can get that data as ByteArray at runtime. So if you can use byte array for playback, then yes, it is possible.
Is there any way to handle PDF in Adobe AIR?
I don't want just to open it, I need to programmatically use it. Example: extracting pages, rotate pages, add gfx elements to a page, read annotations. I would need a complete framework to handle PDF in AIR.
Thanks
Try PurePDF, it is a port of the famous iText java and C# library
That's the closest you will get to be able to do in ActionScript what you describe above.
Cheers
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.
So the good old HTML file uploader tag only presents a browse button (without associated text input) when rendered in a HTML based Adobe AIR application. Upon clicking the browse button, nothing seems to happen. I would expect a popup window so I can select a file. I've seen examples of people using Javascript to call the AIR runtime to get a file and upload it, but I was wondering if anyone knew a complete HTML/Javascript way of doing this with AIR.
thanks
Actually, this does work. I somehow managed to stop this from working, probably through a combination of cloning that part of the DOM elsewhere.