An image, like a jpeg, has a bunch of metadata stored in it.The "IPTC Core" metadata usually includes the photographers name,address, title, description, etc.Is there any way to access this information using AS3 so that, say, captions for images in a flash gallery could be generated automatically?
An image, like a jpeg, has a bunch of metadata stored in it.The "IPTC Core" metadata usually includes the photographers name,address, title, description, etc.Is there any way to access this information using Flash so that, say, captions for images in a flash gallery could be generated automatically?
suppose I drop and image : image.png onto the stage. I then convert it to an mc with the instance name image_mc.How do I find out the file name "image.png" from the movieclip using actionscript?[code]How would I then access the name "image.png" with actionscript if differerent from the method above?
I have a .flv file that has several images in it. However, I do not have the original images. There is an image in the .flv file that is a transparent image. How am I able to copy and paste it or do whatever I can to transfer it to photoshop so that I can save it as a transparent image?
It appears there is no way to do this. It looks like I must have the original images in a .flv.
I don't know why, I don't know how, but for some reason setting the FLVPlayback.bufferTime property to anything past its default value of 0.1 will (more often than not) make it so the .flv metadata does not ever make it to the video player. Granted, this may also have to do with my slow connection, but I know I am not the only one who has had this problem hose of you who have made players with custom seek-bars know the lack of metadata is can be a problem because the FLVPlayback.totalTime property is set directly from the"duration" property of the FLVPlayback.metadata objecty suspicion as to why this is not a more widespread issue is due to the "one video per player" nature of players on websites. I don't believe that players often reuse the net connection of the same FLVPlayback control to load one video after another (however, I could be wrong, this is all assumption on my part anyways).1) The FLVPlayback's net connection is reused (that is, you call the load() or play() method several times during the lifetime of the videoplayer.
2) You notice that occasionally meta information is never received when you increase the buffer time to a value above the default.3) Your seek-bar does respond or you get a run-time error when you try to seek (most likely because totalTime property NaN and the playheadPercentage property relies on this value)The simple solution (or so I am led to believe ): set the buffer time back to the default value before every call to the new connection. In other words, make sure that the the FLVPlayback.bufferTime property is set to 0.1 before calling the load() or play() method for a new video. This will ensure that the metadata is properly received by the component for playhead calculations.
Code: //assume we have an existing FLVPlayback component myFLVplayback:FLVPlayback = this.flvPlayer as FLVPlayback;
I've been trying very diligently to recieve id3 metadata from a streaming mp3. I have it streaming and it works great, but I need to grab the duration in the metadata.here's the jist of my code,
id3_ns = new NetStream(connection); id3_ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);[code]....
The only other thing I can think of trying is see if my mp3 is screwed-up, but I don't think it is because I can see the metadata in the properties of the file.
In Flash CS3 when you did Modify/Document it allowed you to type in a document Title and Description which were metadata searchable by internet search engines. According to the book "Brilliant Flash CS4" this is still possible in CS4, but I think they have removed the option, and the book is wrong. add metadata for searching to FLA documents or is this now gone?
I am trying to get metadate from my NetStream object and do things depending on what is going on. here is what I have, but I get an error I don't know what it means.
var customClient:Object = new Object(); customClient.onMetaData = metaDataHandler; function metaDataHandler(infoObject:Object):void {
[code]....
The error I get is:Error #2044: Unhandled AsyncErrorEvent:.text=Error #2095: flash.net.NetStream was unable to invoke callback onMetaData. error=TypeError: Error #1010: A term is undefined and has no properties. at AMG_ASP_ICS_072709_fla::MainTimeline/frame1()
I´m playing around with SWF files exported from indesign CS4. I wonder if there is a way to read any metadata from those files. Or is there any? I have not found any AS3 method to trace metadata like time/date or even some unique ID...something that I could use later to specify that file.
For the longest time, I've been tearing my hair out trying to figure out why my CS4 FLAs were getting larger every time I did a Save and Compact. I finally tracked it down to the @#$% metadata. Every time you save an FLA, it appends a useles chunk of metadata to it, that looks something like this:
This can be viewed in Flash by going to File -> File Info... -> Raw Data.
On frequently-updated files, this junk can easily add dozens or hundreds of K to the size of an FLA. So my question is this: Is it possible to edit an FLA's metadata?
What software is available for extracting metadata from an FLV? I'm testing an flv streaming module for apache (mod_flvx) and need to extract keyframe info from an flv for debugging purposes. I was only able to find FLV MetaData Viewer, but its dated, from 2006, and doesn't install properly on Win7. [URL] Edit: I'm open to any method of extraction, either app or library.
I've set a custom client for a FLVPlayback's netStream, to attach my own functions (onXMPData, onMetaData) to parse the various info myself. However, i'd still like to pass the meta data back to the VideoPlayer. How do I do this? I tried dispatching a METADATA_RECEIVED event with the metadata object (tried dispatching from the client, the netstream, the video player, the flvplayback..), but it does not work.
I think this is in the wrong forum... sorry! Should be AS3) I am trying to dynamically create listeners using metadata from a list of instance names in an array. Here is my code:
I have a series of mc's on the stage: but1, but2, but3 and I have an xml file which leads to an image. I want each button to access the respective image. This is the code:
[code]...
I think this is the line with the problem var mc = "but"+(i+1);, because when I place but1, the but1 works.
Does anybody know which is the problem, or does anybody know a tutorial?
I would like to read in an FLV's cue point names and times and load them into an array which would have the form: [[cueP0, 0.0], [cueP1, 3.2], [cueP2, 6.8], ...]. I wou ld like to populate this array *before* the flv plays through for the first time, so I need to do this when the flv's metadata is first read in.With rom some of the posts in this forum, I have figured out a way to retrieve the cue point names and times (see the following code), but I am unable to "grab" these variables to populate an array with them.
//the function called when flv first loads var cuePointNames:Array //an array I created just to see if I can populate it with cue point names from metadata
I'm having some trouble finding out how you can add metadata to a live stream. I'm streaming the webcam over fms and recording it in main.asc. So far so good. I have 2 applications. One that sends data and one that recieves data. The functionality is more or less like this example. The article says: "Note: If you record the video on the server side (a functionality of FMIS), the injected events are lso being triggered by the recorded file." That is what I want, but I have no idea how to make it happen. The problem is that I can't find any good examles for as3 and I have never looked into as2 (still new to flash in general )
This seems like it should be a no-brainer, but I can't find any classes to do this ?? I can find classes to read song titles from MP3 files, I want to do similar with jpeg image files. In photoshop and lightroom you can set up titles and captions (and copyright info) in the metadata. When you save a jpeg this gets embedded in the file. How to read this info and parse it and use it once you have loaded it into a BitMapData? I am Flash/AS3.0 code only no IDE
I wondered what would be the equivalent of metadata tag used in flex or flash builder, but for flash or fla .. For example to use with [Injectors]Greetings!
I was wondering how do you inject metadata into an f4v file with quepoints? I've been reading somewhere that it's either during encoding or a custom actionscript that embeds when the file runs.
I tried to convert the PNG file into bytes wit the code below
var enc:Base64Encoder = new Base64Encoder(); enc.encodeBytes(bytes); var base64data:String = enc.drain(); trace("base64data : "+base64data); trace("end of base64data ");
I'm having a particularly frustrating issue with the BulkLoader API [url] that I thought perhaps someone here might be able to help resolve. What I'm trying to do, is to capture the metadata from a loaded .flv (through Bulkloader) so that I can check its duration. In all my efforts to facilitate this, Bulkloader either misfires once the video has loaded and/or returns null. For the sake of preventing redundancy, here is what I've tried/checked so far...
-I've pulled the metadata of my video(s) through a simple custom net connection... so it is there, and I can grab the duration this way. However, in this particular case, I need the data from BulkLoader.
-I've encoded/re-encoded the video(s), and have also injected custom data. Still no luck.
-I've changed the loading parameter "pausedAtStart" to true, as suggested, and have used netStream.seek() to jump to later frames or back to the first.
Needless to say, this is a very frustrating issue that I just can't seem to find a way around. Here is a link to my source files w/Bulkloader library: [url].
I can find the duration of an external video to be played in my flash presentation?I am loading it to stage using netConnection/netStream.I have found information about the "time" property which tells me at what point the playhead is, but how can I get the total playback time?
I am using the default TileList component in AS3/CS4, where a user can upload their images and it is displayed in the TileList by using the URL of the upload as the source parameter.The final piece of the puzzle is knowing the dimensions of the image that was uploaded, but bugger me if I can find how to access each image that is displayed in each cell of the tilelist. I can of course get the dimensions of the cell itself (which of course is always the same for each one), but I want the content of the scaled image within the cell ..
I have a problem with recorded stream: The MetaData its partialy correct.Most of the informations are correct, but the 2 most important information for me width and height for the video are always 320 x 240 for any recorded stream althow they are published at different WxH.I tried to get my head around this but cant seem to figure out were the problem is.FMLE its used to publish the stream useing H.264 / MP3 codecs.Here is the server side code used to record the stream:[code]....
I have an extremely simple video player swf (actually copied from the snippet in adobe help) that progressively downloads and plays an flv. I added a line to display the bytesTotal. When I use a url in the code that points to a flash video on my server, the bytesTotal metadata is not being read or displayed properly (in Safari it displays it as 4294967295 - the highest possible 32-but number, and in FireFox it displays it as the same as the bytesLoaded). However, if I change the url in the code to point to an flv on another domain, it displays the bytesTotal correctly. So, apparently it has something to do with my server. I tried changing the mime types in my .htaccess file to: