[Flashcoders] AS3 font2swf
Hi list! Trying to implement TTF fonts loading in Flash app. (Like Font viewer) Anyone with the same activity? Or maybe with ready to go solution? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Strange NetStream behavior with FMS
Hi! According to what I've just saw. It works just as it must to work. Basically you need two things to manage time code: 1. total video size you need to create method on SS (FMS app) and call Stream.length(name). 2. and current playhead position wich is ns.time Than use setInterval to update timecode etc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 9:52 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Strange NetStream behavior with FMS Greetings all! So I've created a custom video interface (based on the one Lee Brimelow created in his Lynda.com tutorials ) that hinges on the NetStream.onStatus events. It uses the Play.Start and Play.Stop to create an onEnterFrame that updates the progress bar/seek functions/timecode/etc. My problem is that when I connect it to a FVSS/Media Server, the 'NetStream.Play.Stop' and 'NetStream.Buffer.Flush' events are called about 75-80% of the way through the video - yet the video continues to play perfectly until the end of it. This causes some crazyness with my control interface in relation to controling the video. So far i've tried it on a 3rd party streaming service, and the dev version of Media Server 2. Same error both places. I've tried many different video files, and many different encoders (Flash Video encoder, visualHub, riva, AE, etc). Here's an example of the error I'm getting (pay attention to when 'Play.Stop' and 'Buffer.Flush' are called): http://temp.fhdbeta.com/Adobe/basicVideo2.html This is all the code I'm using in that file: /// var serverName:String = "my server"; var appName:String = "my path"; var client_nc:NetConnection = new NetConnection(); client_nc.connect("rtmp://" + serverName + "/" + appName); var ns:NetStream = new NetStream(client_nc); ns.onStatus = function(info:Object) { trace(info.code); display_txt.text += info.code + "\n"; } testVideo.attachVideo(ns); ns.setBufferTime(.5); ns.play("whatever"); If anyone can tell me why those two events are being fired 75-80% of the video when it has clearly not Stopped Playing or give me any workarounds for dealing with this, I'll be eternally grateful. Any information on this would be great - I've scoured all the searches/forums for any info on this, even Adobe Tech Support was stumped. Many many thanks for your time! -will- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] CS3 TextField example (what is missing here?)
Hi, List! I am trying to implement a simple example located at: file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/F lash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV3/flash/text/ TextFormat.html (see bottom of a page) Nothing seems to be working within package :( Posting to frame var label:TextField = new TextField(); label.autoSize = TextFieldAutoSize.LEFT; label.background = true; label.border = true; var format:TextFormat = new TextFormat(); format.font = "Verdana"; format.color = 0xFF; format.size = 10; format.underline = true; label.defaultTextFormat = format; addChild(label); label.text = "Some text" works just great! Am I missing something? Thanks in advice. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Record client's webcam without Flash Server
No chance for HTTP. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JulianG Sent: Tuesday, June 05, 2007 5:31 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Record client's webcam without Flash Server Thanks! I downloaded it. And I will try it. So there's definitely no way to do this using just HTTP, right? Thanks! JulianG Ruslan Shestopal wrote: > Hi! > Take a look at RED5 > Red5 : Open Source Flash Server > http://www.osflash.org/red5 > > > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Record client's webcam without Flash Server
Hi! Take a look at RED5 Red5 : Open Source Flash Server http://www.osflash.org/red5 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JulianG Sent: Monday, June 04, 2007 5:21 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Record client's webcam without Flash Server Hi all! I 'd like to know if there is a way to record the client's webcam or mic input, and send it to the server without using the Flash Server or other open source alternative services. I mean, sending the video over HTTP. I need my users to record they webcam videos and send those videos to the server. what options do I have? thanks in advance! JulianG ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] OT: Extract flv metadata using php
Hi, Duncan! It seems like a very great finding! Thanks for the URL. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Reid Sent: Wednesday, May 30, 2007 9:54 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] OT: Extract flv metadata using php I found these while searching for a way to insert cuepoint data into FLV via php, never did get very far though, I have not tried them myself, but if your a php guy i'm sure you will be able to get something useful out of them. http://blog.netxus.es/projects/flv4php looks like an flv module for getID3, it might very well be included, can't be certain though... http://getid3.sourceforge.net/source/module.audio-video.flv.phps hope this helps some, Dunc On 5/30/07, Brian Weil <[EMAIL PROTECTED]> wrote: > > Does anybody know how to extract flv metadata using php(without ffmpeg or > other binaries)? I can do it on the client side with flash, but I'm > generating playlists via php and I would like to include the duration of > the > movie in the playlist xml file. > > Thanks, > Brian > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Are there any classes available for MP3 encoding?
I bet it's possible to dump raw sound wave with computeSpectrum () method. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben gomez farrell Sent: Wednesday, May 30, 2007 5:58 PM To: Flashcoders mailing list Subject: [Flashcoders] Are there any classes available for MP3 encoding? I've used some of the com.adobe classes for PNG and JPG encoding, and was wondering if there were any similar classes available for MP3 encoding. I should add my disclaimer that I might not understand the make up of a sound file, but I'm assuming that I can go from a byteArray generated by computeSpectrum to an MP3 fileand my only hurdle is knowing how an MP3 file is made. If not MP3, anything else like WAV? Thanks! ben ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [flashcoders] Q: binary data (JPG) in XML
Hi there! Take a look here. http://ink.envisionext.com/docs/base64_to_img.php This is probably what you need. It's CS3 AS3. Text is in Russian, find the source link below -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric e. dolecki Sent: Wednesday, May 23, 2007 11:26 PM To: Flashcoders mailing list Subject: [flashcoders] Q: binary data (JPG) in XML I have been asked if its possible to have Flash display a JPG thats stored in XML as a binary object (ie. I don't get a path to the JPG, I get the JPG). I have NO idea what this XML looks like yet, but perhaps someone has done this already? I am not very good with BitmapData, etc. yet and unsure if one needs ByteArray stuff or not. Any insight would be good ;) - Eric ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] xml: CDATA - base-64 encoded graphics
So according to your thumb? Decoded image loos like (see attachment = question-mark) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] xml: CDATA - base-64 encoded graphics
Yes. Use Loader and loadBytes For visualization of your binary image data. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Welch Sent: Thursday, May 03, 2007 11:03 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] xml: CDATA - base-64 encoded graphics The class worked well. Is there a way I can use BitMapData code to turn the output into an image? this is what is decoded - makes no sense to me: %00JFIF%00%00%00d%00d%00%00%00Ducky%00%00%00%00%00K%00%00%00 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] xml: CDATA - base-64 encoded graphics
Hi! Why not you just use base64_decode function with php script? As for the script - this can only be done using AS3 since we dealing with binary data here. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Welch Sent: Thursday, May 03, 2007 8:53 PM To: Flashcoders mailing list Subject: [Flashcoders] xml: CDATA - base-64 encoded graphics Hi guys, I am working on a project where I am loading some xml. one of the nodes is giving me CDATA that is base-64 encoded. Is there any actionscript out there that can decode and assemble a tiny icon? here's what it looks like: thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Dump ByteArray localy
Hi, List! Is there any way to dump ByteArray locally (save to file)? I mean not like sending a RAW data to server script and loading back a response. Thanks in reply. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] 2D arrays
Hi there! var arr = new Array(); arr[1] =[] <--- ad this. arr[1][1] = "whatsup"; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dc Sent: Saturday, December 16, 2006 12:04 PM To: Flashcoders mailing list Subject: [Flashcoders] 2D arrays hi list - i thought that flash supported 2d arrays of the [x][y] syntax persuasion. can someone give me some pointers what I'm doing wrong? maybe you cant create arrays this way, you can only access them? function artest() { var arr = new Array(); arr[1][1] = "whatsup"; arr[3] = "three"; trace("arr is:"); trace(arr); trace(arr[1][1]); // undefined trace(arr[3]); // three } arr is: undefined,undefined,undefined,three undefined three -- --- David "DC" Collier mailto:[EMAIL PROTECTED] +81 (0)80 6521 9559 skype: callto://d3ntaku --- Pikkle 株式会社 http://www.pikkle.com --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com