Actionscript 3 :: Generate Thumbnail From A Flv?
Jan 13, 2010
Is it possible to generate multiple thumbnails from a FLV using only as3? The flv is on the same server as the swf so I'm not using any dedicated streaming server. I'd imagine that as long as the flv has load the video you'd be able to pull bitmapdata from a specific time of the flv. My idea is to pull around 8 images from every flv, convert them to buttons and use them as links to specific chapters in the flv. If this is not possible, would it work better with a dedicated streaming server like red5?
Edit: I'd also like to know how to do it if it's possible :) The idea is to not use the server. The thumbnails will only be used within the swif, so no saving to another location.
View 2 Replies
Similar Posts:
Jul 18, 2011
I have implemented a graph generator using flex. The user can edit his graph at any time. I want to save an image of this graph on the server without uploading it from the user PC. Is there a command line tool that can be used to start a flex program and pass some external parameters (file name) and store the file locally on the server ?
PS : I can convert my flex application to adobe air application if needed and use it from the server from command line
View 1 Replies
Jun 9, 2009
I found this quite amazing website [URL] and If you see the website when you zoom out there is no animation neither interaction with the content of each container, I mean, if you see the first one, the home container there is a animated banner, however when you zoom out that banner stops. Also, you if see, every time you zoom in a container it loads its content, if you zoom out and zoom in again it loads again the same content...this is cool because you're not wasting too much memory and you're not creating a huge .swf file.. Are they generating some kind of bitmap thumbnail for each container everytime we zoom out or what?
View 3 Replies
Nov 28, 2007
I have made a image-viewer. I've this AS for the viewer:
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
function loadXML(loaded) {[code].....
Now i would like to make a loop for the thumbnails so they don't have a beginning or end(Now when i scroll to the right the thumbnails stop at the last thumbnail, i want it to begin at the first thumb again).I'm also trying to make that the middle thumbnail represents the photo in target_mc.
View 1 Replies
Jul 10, 2007
I am making a gallery, which you can view here:[URL]ok, firstly, when you click a thumbnail, you cannot scroll them until you roll off the click thumbnail, and I'm not sure why. is it just a movieclip thing? or can I put some code in to re-get focus of something? ok, now for the two general questions:
1. When you roll over the thumbs, they go up, sometimes they flick back down though, even though you are rolled over them still. is this just because they are moving?
2. Does anyone know why when I add this:
[Code]...
View 1 Replies
Oct 11, 2009
Im trying to create via xml and a for() loop a thumbnails wiewer and each thumbnail have a simple onrelease function.....but my probleme is that my 'container' movieClip and 'BT' movieClip dont show when I export the movie...also when i trace()them the output is empty. maybe is because they are inside x.onLoad(xml){} function ? At the end of the script you can remove // before the trace() function for ckecking in the output panel. here is my code:
xml file: TumbLoader.xml
<?xml version="1.0" encoding="ISO-8859-1"?><slideshow><photos thumbnail="thumbnail/1.jpg" /><photos thumbnail="thumbnail/2.jpg" /><photos thumbnail="thumbnail/3.jpg" /><photos[code]...
View 8 Replies
Jul 5, 2007
Yes, I'm making a photo gallery like everyone else. I'm making it so people can order pics from the site. There are going to be about 500 photos per album in 5 different categories. The photos can be shrunk down to about 60kb a piece. If I use the actual pictures as thumbnails, just scaled down, the total size of all the pics will be about 30mb. I know this is a lot.
Either way, the people looking at the album will most likely look at nearly all the pics so they will be using up bandwidth either way. Plus, if I use the actual pics as thumbs the user will not have to wait to see actual pic when it's clicked on because it's already loaded. A preloader is annoying to me. I do realize a preloader would be wise when loading the thumbs. Just dislike them after you click one for the big picture.
So is using shrunken thumbs a necessity or if the big pic is under a certain size it shouldn't matter if I use it for a thumb also?
View 1 Replies
Jul 16, 2009
I am working on a flash photogallery. It is pretty basic, just consists of thumbnails. The larger images are on another page all together. I didn't write this script myself, I'm still learning. So i grabbed a flashmo file. It is flashmo_067.Anyways, i changed some things around. I made the images scroll with the mouse and i took out alot of the extra stuff in the gallery. I also changed the document size and the thumbnail size.I created thumbnails to the exact size i made the holder in the flash file. Yet when i pull up the movie, the images are doubled in size and are overlapping. I have looked at the actionscript a bunch of times and still cant figure it out. I changed the size of the thumbnail to be smaller but it just blows it up and makes it very pixelated. I cant seem to figure it out.
View 5 Replies
Feb 1, 2010
In the past I have created a php file that generates the XML and then referenced it in place of the xml file and it has worked. I am trying this with a precompiled flash app and it is not working.
It works if I run the script, save it and then reference that file to the swf. I would rather not generate a file to the filesystem if possible. Anyone any solutions?
View 4 Replies
Sep 18, 2009
I'm working on the UI for a project. I have a question that hopefully is rather simple. But my whole project hinges on whether or not it's possible, so it's important to me.
generate a .swf from another .swf. Let's say I have a .swf that I export from Flash, and it lets the user choose a number of settings for a piece of generative art, and once they've customized it to their liking, can they then click a button that says "save as a .swf"?
View 2 Replies
Jun 26, 2010
Is it possible to have some server-side tech create a custom PDF based on variables entered into a flash app on a website?
I have a simple survey built in flash and I want to give users who fill it out the option of receiving a pdf that tells gives them their answers to their questions and an analysis based on those answers.
View 1 Replies
May 26, 2009
We bought this Flash template to save time:to make this siteI knew a template would limit us (especially since I only know HTML/a little CSS), but of course, we need a few tweeks. To save time (and if anyone is interested), I have uploaded the source files so you can see the structure here:The flash file is set up like this:Fla file for all the image souces & layoutIndex.html File has some sort of fancy javascriptText.html file is the editable file where non-flash-knowing dingbats like me can just edit the text and POOF! Magic!I know I have bastardized them from the original and some stuff is probably wonky.The biggest problem is that the "thumbnails" that you click on at the starpage are auto-generated, cropping the top left 100x100 square. I don't know why this is the case, and honestly, I think it looks awful.
Is there any way to manually set the thumbnail images, so they are cropped artistically rather than randomly? I asked the template tech support and they told me to "make my images 100x100". I did that for the first blue logo, and it looks like CRAP! Sure, I have the icon I would like, but when someone goes to browse the gallery, they get a 100x100 icon displaying instead of a lovely fullscreen pic.
View 2 Replies
Sep 6, 2009
Having a problem coding a mouse over small image to enlarge effect. I have a filmstrip of photos at the bottom of my page and want the user to be able to enlarge them slightly by rolling over them with the mouse. Id like this to happen as smoothly as possible. Having a real problem with something so simple.
View 2 Replies
Aug 25, 2010
Having a problem coding a mouse over small image to enlarge effect. I have a filmstrip of photos at the bottom of my page and want the user to be able to enlarge them slightly by rolling over them with the mouse.
View 7 Replies
Feb 2, 2009
I'm using an AS3 photoviewer from [URL] and I am trying to get the thumbnail images to pop out when rolled over.
View 5 Replies
May 14, 2009
linking my thumbnail photos to the img. photo using action script 2.0?
View 22 Replies
May 20, 2010
I need to find out if its possible to click on a thumbnail and the image opens up in a new window? the image I have is not uploaded onto the web or anything like that.
View 1 Replies
Apr 21, 2010
i was wondering, how can i extract thumbnail from a flash-video file, then display it in a listbox.the listbox is suppose to have many videos which i need to extract thumbnails from programatically with actionscript.the flash-player is going to be on the web, and the extraction must happen when the swf file is loading, therefore, the method must not be too time-taking.
View 4 Replies
Dec 25, 2010
I have to make thumbnails from banners in swf file format (flash 9). I want to use php, but if that's not possible anything which work in a linux command line is fine by me.
I tried to open them with ffmpeg-php, but it says: Can't open movie file /where/the/file/is
The file is there and is readable by the user.
View 1 Replies
Feb 4, 2010
i have a grid of thumbnails (i loop through an xml file to create and display) this is working perfectly.I can trace out click commands on the MCs and load in an image just as you'd want to.I load the image into a thumbMC i created with some additional symbols in...Then i started thinking, it would be nice to have some kind of preloader for each image/thumbnail.I've implemented a MovieClipLoader and this is quite happily loading in the images and reporting when the load is complete, however i am completely unable to target my preloader symbols within this function, so am unable to either control the width of a loadbar, and also show/hide a loadLoop while the image loads.
View 0 Replies
Nov 23, 2006
I've been trying to crack this one for a while now, but no luck so far. Does anyone know how to make the thumbnails continously loop using the kirupa xml image gallery with thumbnails tutorial actionscript as a basis? I've searched the forum and found an open thread on this, but no conclusions.
View 2 Replies
May 28, 2007
I have thumbnails loaded through xml. I need a preloader for each thumbnail.
View 8 Replies
Aug 16, 2007
I'm making a picture gallery program and making it so that it takes images and resizes them to fit the proper thumbnail size, using onInit from the clip loader object and _xcale/_yscale. The problem is, the first time the thumbnail scrolls into the visible area, massive lag results; the app freezes for a solid half second until the thumbnail bar resumes scrolling. This does not happen with smaller pictures: apparently, Flash is being stupid and is reducing the size, but not the resolution, of the images. Is there a way to solve this problem other than
a) loading each thumbnail on the visible stage at first, then immediately repositioning into the bar (this would multiply load time substantially) or b) a server-side jpg resizer?
View 2 Replies
Jun 17, 2008
I am trying to create a video gallery with thumbnails, I referenced [URL].
its a great tutorial, Howevr my problem is that i want to stream flv files from http link, and for that I am putting null in the connection, i.e I am not making an rtmp connection as my files are not on my m/c.
now when i do this, im not able to grab the first frame of my stream.
ns.play(URL, 0 , 0), here 3rd parameter is len, which if 0 should play first frame..this will solve my purpose of thumbnail. but right now, its playing whole file in the thumbnail which i dont want.
get the first frame while playing flv from http url?
View 1 Replies
Nov 28, 2009
I am in desperate need of some assistance (again). I have created some thumbnail images (as buttons) that need to open to larger images once clicked.
Currently I have it set up to open a new browser window but this is not what I want.
Herewith existing code:
thumb1.addEventListener( MouseEvent.CLICK, goto_thumb1 );
function goto_thumb1(e:MouseEvent):void
{
navigateToURL( new URLRequest( "thumb1.swf" ), "_blank" );
}
I need the larger pic display to be restrained to the size 600x400 and preferably to load in front to the main website (like a popup).
View 1 Replies
Mar 9, 2011
a very simple, basic question (unfortunetely I forgot this): how can you generate markers in flash?, in a frame in the timeline.
View 1 Replies
Apr 2, 2010
I'm just beginning to learn to generate xml with actionscript here's what I have so far:
var xml:XML = <ErikPhotos> </ErikPhotos>; while (xml.photo.length() < 20){ var item:XML = <photo /> var photoIndex = xml.photo.length() + 10001;
item.@name =
[code].....
View 5 Replies
Jun 23, 2011
I'm trying to generate a pdf using fpdf. What are the possibilities that might be avoiding generating this PDF. The swf and the php works fine I tested it in another server. Is there any areas that I need to do any adjustments in my server?
View 7 Replies
Oct 7, 2009
I have an API that inherits flash.display.Sprite .When I try to generate the ASDocs for the API, The ASdoc shows that my class inherits from flash.display.Sprite, but doesnt link or there is no click-able link to the Sprite's ASDoc. Can anyone tell me what I am missing.
[Code]...
View 3 Replies
Aug 12, 2011
I am trying to create an image gallery similar to Androids "Gallery" where it is a horizontal scrolling list of images. I am doing this with an HBox and Bitmap objects wrapped in a UIComponent. The problem is I am trying to do this for mobile and having many full size images open in memory causes problems. I have been trying to have the images load right as they are scrolling into view and unload once they are out of view, but the loading/unloading while scrolling requires too much cpu and causes a very choppy and poor UI. What I am looking to do is be able to load several low quality versions of the images in memory so I dont have to do as much loading/unloading. I have tried decreasing the height/width but it dosnt seem to have an effect on memory usage.
View 4 Replies