[Flashcoders] [JOB] Interactive Developer, Cincinnati, Ohio
Bridge Worldwide (my current employer) is looking for a couple of full-time Flash Developers. Details here: http://careers.vurvexpress.com/jobprofile.cfm?szWID=16390szCID=73757szOrderID=542394szSiteID=1684 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] JavaFX released
Curious to what others think... Interesting that it can play flvs out of the box. I haven't seen the feature in action but supposedly you can drag applications from the browser to the desktop. The free NetBeans IDE is a nice touch too. http://www.javafx.com/samples/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Stream Live from File
The player is setup for RTMP streams coming in live from a CDN. We are doing a live event and this is in case the connection goes down and we need to send a prerecorded stream to the same player. I did find some virtual webcam software that creates a virtual camera that Flash Media Encoder was able to pick up but getting sound to work is kinda clunky. So in the end I am just going the router of DVD player -AV/DV converter -Flash media Encoder On Sun, Nov 9, 2008 at 5:32 PM, Glen Pike [EMAIL PROTECTED] wrote: Hi, May seem like a daft question, but can't you just upload the file to the server?? Glen Jason Van Cleave wrote: I am currently looking for a way to stream a file based video to an Flash Media Server. Flash Media Encoder apparently requires a camera or deck source. Has anyone seen a live media encoder that can use a file source? ANy possible workarounds other than dumping the file to a camera/deck and playing it back through? Thanks, Jason ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Stream Live from File
I am currently looking for a way to stream a file based video to an Flash Media Server. Flash Media Encoder apparently requires a camera or deck source. Has anyone seen a live media encoder that can use a file source? ANy possible workarounds other than dumping the file to a camera/deck and playing it back through? Thanks, Jason ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Hardware Video Encoders
We are doing a live webcast event and I am wondering if you guys have any experience/insight with hardware encoders that support Flash VP6 encoding. The ones I am looking at in particular are the XStream series from kulabyte http://kulabyte.com/index.php/main/product_xstream/ and the StreamZ Live encoders series: http://www.digital-rapids.com/Products/IndividualProducts/StreamZ%20Live.aspx Any insight on using Flash Media Encoder for a live webcast would be appreciated as well, Jason ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Can you embed .mp4 files in timeline?
I posted the same question a while back after not being able to do it either. I just tried emailing Adobe to see if it is a CS3 limitation and will post any response I get from them. On Wed, Sep 24, 2008 at 12:53 PM, Matthew Ganz [EMAIL PROTECTED] wrote: Thanks for your response, Steven. Any idea why you can't do it or is it just from personal experience? - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, September 24, 2008 12:06 PM Subject: Re: [Flashcoders] Can you embed .mp4 files in timeline? No. Matt Ganz wrote: Hey, Just trying one more time Using Flash CS3 and publishing to flash player 9, can you import and embed .mp4 files in the flash timeline? I can't. I can link to it via an flvplayback component. Thanks, Matt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] firefox 3 and swfobject 2
would you happen to be using adblock? I had an issue with this and swfobject 2 content http://www.asfusion.com/blog/entry/firefox-3-adblock-disaster On Mon, Sep 8, 2008 at 3:29 PM, sebastian [EMAIL PROTECTED] wrote: just tested a site that I am 100% certain is using swfobject and swfaddress on mac osx 10.5.4 with FF 3.1 and it works fine... so not sure what your issue is... :( seb. Hudson Ansley wrote: Not having luck searching, so hoping someone here might have an idea on this. I want to upgrade from swfobject 1.5 to swfobject 2.1, but having the following problem. On Firefox 3.1, it writes an object tag, and that tag gets ignored. On IE and Chrome it works fine, but they both work with the object tag. Should FF3 be able to use the object tag? I'm using the dynamic embedding. Anybody have a similar problem? Regards, Hudson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SOT: (Rant) Why is Adobe.com such a bad website?
drupal is not that bad On Thu, Sep 4, 2008 at 3:50 PM, Radley Marx [EMAIL PROTECTED] wrote: As a designer and developer, I *envied* the design of macromedia.com. I studied it. Other companies copied it. I remember what a beautiful website MM once had, and at the time how Adobe's was the exact opposite - ugly, hard to use, thoughtless. When Adobe bought Macromedia, they immediately adopted the MM site. Brilliant move! But over the past couple of years, Adobe has really beat it down with the ugly stick. With the demise of Flashpaper, I came across this page: http://www.adobe.com/products/flashpaper/eod_faq/ This is probably one of the ugliest, thoughtless pages from a serious source I've ever experienced in my career. Aesthetically, it's depressing. Depression-era-chic depressing. As a utility, it's restrictive. I must click on each question to discover the facts, with many simply answering No. Functionality, it's ridiculously ironic. Topic: Flashpaper discontinued. First link: Buy online. Other rants / examples: 1) How does a developer download the debug player via the download page? There's no link! http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash Answer? It's actually down in Support / Flash Player. But most developers find it via a better source: Google search. 2) Link icons on the debugger download page have been wrong for *years*. The text links are right, but check out what happens if you use the actual download arrows. You may accidently get Flash 8, or Windows .exe instead of .dmg for Mac downloads. http://www.adobe.com/support/flashplayer/downloads.html (Note that I even managed to get an Adobe team member to forward these bugs to the web team. Was never fixed.) 3) Look at this product page: http://www.adobe.com/products/ Why does it look like an abandoned store? It looks like a outsourced Drupal project. Where's the flair? The edge? Adobe.com makes me want to submit a bid to fix it. What happened? I *REALLY* want to know! I just don't get it. My apologies to the list for this rant. I really hope this gets the attention of someone significant @ Adobe. thank you. -radley -- Radley Marx www.radleymarx.com [EMAIL PROTECTED] -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] how many coders here actually have a degree related to computer science?
A huge portion of getting a decent job or freelance work is getting your name out there and building experience by finishing projects. College was a great place for me to meet people with connections in the field. I dropped out when one of the adjunct professors hired me, that lead to a job at an agency, more freelance work, relevant experience, etc. I eventually finished the degree years later (mostly just to do it). So yeah, send out the portfolios and see what happens. People should let you know what they are looking for. Often it takes time so I wouldn't drop out without having something concrete to go on. On Tue, Aug 19, 2008 at 5:25 PM, Anthony Pace [EMAIL PROTECTED]wrote: Do you have a degree related to computer science? if not, how difficult is it getting jobs programming AS3 without one? I need a a stable job ASAP; yet, I have two more years to go before I complete my degree in computer science; thus, I am wondering how difficult it would be to find a programming related job without a degree? Do all I need is a portfolio, or does the piece of paper really make the difference at an entry level? I also have a background in fine art if that helps. Thanks, Anthony Pace ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Soundmixer.computeSpectrum and Loaded Swfs
For the record and in hopes in may help someone in the future... I was able to tap into the SoundMixer.computeSpectrum by loaded an mp3 with only silence. Then and only then was SoundMixer was able to tap into the sounds of the loaded swfs. weird On Thu, Aug 7, 2008 at 3:42 PM, Jason Van Cleave [EMAIL PROTECTED]wrote: I am loading in a few swfs, each with video embedded on the timeline. I am trying to use SoundMixer.computeSpectrum to make a visualization but it isn't getting any values. I can control the loaded swfs volume with soundTransforms and SoundMixer.areSoundsInaccessible() is reurning false. No crossdomain/security issues either. Any ideas? Here is my SoundProcessor class I am working with that has worked with loaded mp3s in the past. package { import flash.display.Sprite; import flash.media.Sound; import flash.media.SoundMixer; import flash.utils.ByteArray; import flash.utils.Timer; import flash.events.Event; import flash.events.TimerEvent; public class SoundProcessor extends Sprite { // Settings private var lineThickness:Number = .5; public var lineColor:Number = 0xFF; private var circleSize:Number = 50; private var scaleOnBeat:Number = 1.1; public var reactToBeat:Number = .1; // private var music:Sound = new Sound; private var soundBytes:ByteArray= new ByteArray(); public var timer:Timer; public var volume:Number; public var pX:Number; public var pY:Number; function SoundProcessor(width:uint=200, height:uint=200) { this.width = width; this.height = height; x = width/2; y = height/2; this.addEventListener(Event.ENTER_FRAME, processSound); } public function processSound(e:Event):void { //trace(processSound); SoundMixer.computeSpectrum(soundBytes, true, 0); graphics.clear(); graphics.moveTo(0, -circleSize); graphics.lineStyle(lineThickness, lineColor); volume = 0; for (var i:uint = 0; i 512; i++) { var lev:Number = soundBytes.readFloat(); if(lev!=0) { trace(lev); } volume += lev; var a:uint = i; if (i 256) { a += 256; } if (i == 256) { graphics.moveTo(0, -circleSize); } pX = -Math.sin(i/256*Math.PI)*circleSize*(lev+1); pY = Math.cos(a/256*Math.PI)*circleSize*(lev+1); graphics.lineTo(pX, pY); } if (volume reactToBeat) { scaleX = scaleY = scaleOnBeat; } else { scaleX = scaleY = 1; } dispatchEvent(new Event(onProcessSound)); } } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Object vs *
I don't think the primitives String, Boolean, Number, int, uint are Objects On Fri, Aug 8, 2008 at 6:07 PM, Dave Segal [EMAIL PROTECTED] wrote: What is the difference between typing an instance as * and typing it as Object? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Soundmixer.computeSpectrum and Loaded Swfs
I am loading in a few swfs, each with video embedded on the timeline. I am trying to use SoundMixer.computeSpectrum to make a visualization but it isn't getting any values. I can control the loaded swfs volume with soundTransforms and SoundMixer.areSoundsInaccessible() is reurning false. No crossdomain/security issues either. Any ideas? Here is my SoundProcessor class I am working with that has worked with loaded mp3s in the past. package { import flash.display.Sprite; import flash.media.Sound; import flash.media.SoundMixer; import flash.utils.ByteArray; import flash.utils.Timer; import flash.events.Event; import flash.events.TimerEvent; public class SoundProcessor extends Sprite { // Settings private var lineThickness:Number = .5; public var lineColor:Number = 0xFF; private var circleSize:Number = 50; private var scaleOnBeat:Number = 1.1; public var reactToBeat:Number = .1; // private var music:Sound = new Sound; private var soundBytes:ByteArray= new ByteArray(); public var timer:Timer; public var volume:Number; public var pX:Number; public var pY:Number; function SoundProcessor(width:uint=200, height:uint=200) { this.width = width; this.height = height; x = width/2; y = height/2; this.addEventListener(Event.ENTER_FRAME, processSound); } public function processSound(e:Event):void { //trace(processSound); SoundMixer.computeSpectrum(soundBytes, true, 0); graphics.clear(); graphics.moveTo(0, -circleSize); graphics.lineStyle(lineThickness, lineColor); volume = 0; for (var i:uint = 0; i 512; i++) { var lev:Number = soundBytes.readFloat(); if(lev!=0) { trace(lev); } volume += lev; var a:uint = i; if (i 256) { a += 256; } if (i == 256) { graphics.moveTo(0, -circleSize); } pX = -Math.sin(i/256*Math.PI)*circleSize*(lev+1); pY = Math.cos(a/256*Math.PI)*circleSize*(lev+1); graphics.lineTo(pX, pY); } if (volume reactToBeat) { scaleX = scaleY = scaleOnBeat; } else { scaleX = scaleY = 1; } dispatchEvent(new Event(onProcessSound)); } } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Buffer flv from midpoint?
there were some efforts with php to create a pseudo streaming server http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two On Thu, Jul 24, 2008 at 9:03 AM, Christoffer Enedahl [EMAIL PROTECTED] wrote: You need to have a flv streaming service running on a server. Ie Flash Media Server. This is an open source alternative: http://osflash.org/red5. I have not tried it. /Christoffer Ali Drongo skrev: Cheers Paul. that's a help. I've just realised that youtube's video player will buffer your video midway thru a movie, Does anyone know how they do this? Thanks :) Ali On 24 Jul 2008, at 11:47, Paul Jinks wrote: hi Ali I'm working on a similar project, also using progressive download. What I'm doing is using a combination of 2 approaches: 1. Divide the flv into smaller sections - we've gone for 5-8 mins, which is still fairly big I think (otherwise your users are using bandwidth they probably don't need) and 2. Within each clip have section chapter links that load in as they become available. You'll need to use cue points for this. I still haven't worked out the finer points of this approach, mostly because I'm using the chapter links as 'summary' markers also. HTH Paul On Thu, July 24, 2008 11:03 am, Ali Drongo wrote: Hi there, I have to build a video player that plays a video with a number of chapters that the user can skip between. The chapters need to play sequentially also and also. Is there a way can get an flv to buffer from a new chosen point of playback? (i.e. if the user skips to chapter 6 before the whole thing is loaded) If not I guess my best plan is to slice up my long flv into lots of little ones and make a custom seekbar that shows the chapters and allows the user to skip from chapter to chapter. What do yous think? Thanks! Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Check out my website: http://www.pauljinks.co.uk :o) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Why is amfphp cool?
These benchmarks sparked my interest in AMF http://www.jamesward.com/census/ On Tue, Jul 15, 2008 at 11:56 AM, Merrill, Jason [EMAIL PROTECTED] wrote: Paul. Um yea, more answers. I don't see whats wrong with that. But I could be wrong.. Yes, you could be. The motivations are obvious, but grossposting is generally a no-no on most lists, and generally annoying to most people. Please be more respectful, many of us subscribe to many of the same lists. You wouldn't post the same question three times within 5 seconds on Flashcoders to get more answers would you? Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Netstream fails to close
you probably have tried this but what happens if you don't pause or close but just try to play another stream? On Sun, Jul 6, 2008 at 4:43 PM, Barry Hannah [EMAIL PROTECTED] wrote: It's mentioned by plenty of people here: http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/ht ml/wwhelp.htm?context=Flash_MX_2004file=1594.htmlhttp://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1594.html here: http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Ma cromedia_Flash/Q_23515050.htmlhttp://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/Q_23515050.html here: http://forum.lighttpd.net/topic/72358 none of which have answers that work. I could cast the sound onto a separate object and mute it, so that you don't see or hear any ill effects, but my proxy tells me the flv is still downloading, so if one of my clients users clicks on 10 video clips their connection will crawl to a halt. Anyone? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Sunday, 6 July 2008 9:41 a.m. To: Flash Coders List Subject: Re: [Flashcoders] Netstream fails to close The only bug with NetStream that I know of is if you're spamming it with new streams too quickly. The solution is to throttle the requests. A safe time to wait between changing the streams is 250ms. It's really simple to write a queueing system that does this. You just overwrite the same variable and reset the timer. var currentStream:String; var timer:Timer = new Timer(250, 1); timer.addEventListener(TimerEvent.TIMER, onTimerEvent); function queueNewStream(value:String):void { currentStream = value; timer.reset(); timer.start(); } function onTimerEvent(event:Event):void { netStream.pause(); netStream.close(); netStream.load(currentStream); } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Scanned by Bizo Email Filter ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Netstream fails to close
sounds like a scope issue where you have multiple netstream objects On Thu, Jul 3, 2008 at 9:54 PM, Barry Hannah [EMAIL PROTECTED] wrote: I'm trying to fix a bug in a video player. Selecting a new video to play from a playlist, plays correctly but the first clip's audio doesn't die. I'm using NetStream.close(), it doesn't appear to work. It works if I wait for the first clip to download fully, just not if I select a new clip when the first is still loading. HELP! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] filmmering FLV playback - why and how to fix that
was the original quicktime h.264? this format used to trip up squeeze and may have the same effect with the flash encoder. I would first try to export the file as uncompressed and reencode it to see if you are having the same issues On Thu, Jul 3, 2008 at 10:36 AM, Andrew Murphy [EMAIL PROTECTED] wrote: I can't see all of the details of how the video is encoded (FLV MetaData Viewer has a bug that keeps it from displaying some .flv file's data) but this is what I can see in FLV Player: Dimensions: 694 x 440 Framerate: 25fps Audio codec ID: 2 (which means it's an MP3) Audio datarate: 96 kbits/s (also the audio sounds stereo to me...) Video codec ID: 4 (which means it's On2 VP6) Video datarate: 400 kbits/s The main issue that's likely causing the stuttering is the constant motion throught the frame area. In my own video work I've been able to reduce that by bumping up the keyframe rate, but that of course will increase the file size and probably the workload on someone's CPU when it's played. I'd experiment with reducing the frame rate to something like 15 fps, give it a keyframe rate of one every 5 frames, convert the audio to mono and try tweaking the datarates of the video and the audio to get a good balance of visual quality and CPU bandwidth use. If your encoder software lets you set how many passes it makes during video encoding you can set it to use two passes, which can improve visual quality at lower video datarates. I hope that helps... ^_^ (ps: That's a delightful looking home. :D) Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Thursday, July 03, 2008 9:38 AM To: Flash Coders List Subject: Re: [Flashcoders] filmmering FLV playback - why and how to fix that It's not that bad. I think the fact that there are a lot of hard edes and contiuous movement that any faults are more obvious. The stuttering was occuring as the video was playing and the file had not yet fully loaded (though was not halted to fill the buffer). The strange lines you mention appear to be the video player trying to keep up with the display. Despite all this, I think the quality isn't too bad. I'd try out a few variations on the encoding to see if that helps. I don't think I've ever tried to play such a large video on my laptop before. My last video project was 200x150. Paul - Original Message - From: Martin Klasson [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, July 03, 2008 2:00 PM Subject: Re: [Flashcoders] filmmering FLV playback - why and how to fix that I used 400kbit on a 694x440 movie, with 96kbps audio in stereo, on2vp6. frame rate same as source, and automatic keyframes. How does it stutter, as it is buffering and than resumes - or does the video has strange lines appearing like it the video doesnt perform well. I think it is very strange, and I cant understand that I havent heard about this issue before! 2008/7/3 Paul Andrews [EMAIL PROTECTED]: What settings did you give the encoder - maybe your bitrate is too high. It certainly stutters on my machine. Maybe you have too many keyframes. Paul - Original Message - From: Martin Klasson [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, July 03, 2008 1:03 PM Subject: [Flashcoders] filmmering FLV playback - why and how to fix that I got a quicktime which I have encoded to on2vp6-file with Flash Video Encoder, but the flv that is being played is having some flimmering results, as can be seen here: http://www.bjorkelangenpark.no/innredning.html The quicktime is not having this issue, I dont know how to solve this. Do you? Thanks, Martin ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3: public override function set x
I have a class that extends Sprite. When the x value of the Class is changed I want to know so I can change another value. So I tried override public function set x(n:Number) { super.x=n; //added functionality would happen here } but I get Incompatible override So I could build a setX method but this wouldn't prevent Class.x from being directly changed public function setX(n:Number) { x=n; //added functionality would happen here } Any suggestions? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: AS3: public override function set x
figured it out - i just needed to declare the return type as :void on the set public override function set x(n:Number):void { super.x=n; //works } On Thu, Jun 26, 2008 at 11:32 AM, Jason Van Cleave [EMAIL PROTECTED] wrote: I have a class that extends Sprite. When the x value of the Class is changed I want to know so I can change another value. So I tried override public function set x(n:Number) { super.x=n; //added functionality would happen here } but I get Incompatible override So I could build a setX method but this wouldn't prevent Class.x from being directly changed public function setX(n:Number) { x=n; //added functionality would happen here } Any suggestions? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3: public override function set x
i did forget the :void and that solved it - thanks for looking On Thu, Jun 26, 2008 at 11:49 AM, ekameleon [EMAIL PROTECTED] wrote: hello :) In the playerglobal.swc you can find the DisplayObject.x declaration : public function set x(value:Number):void; You must keep the same argument name and the same return type in your override : public override function set x(value:Number):void { super.x = value ; // custom } In your code you forget the :void ? EKA+ :) 2008/6/26 Jason Van Cleave [EMAIL PROTECTED]: I have a class that extends Sprite. When the x value of the Class is changed I want to know so I can change another value. So I tried override public function set x(n:Number) { super.x=n; //added functionality would happen here } but I get Incompatible override So I could build a setX method but this wouldn't prevent Class.x from being directly changed public function setX(n:Number) { x=n; //added functionality would happen here } Any suggestions? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] as2 - method losing scope when called from timeline.
you should get compiler errors over this but did you import Model? On Mon, Jun 23, 2008 at 8:24 AM, Paul Evans [EMAIL PROTECTED] wrote: untested suggestion?!... On 23 Jun 2008, at 10:20, paul cunningham wrote: If I have this on the flash timeline, (CS3 or Flash 8) import test.Test; var test:Test = new Test(this); *test.init( );* is test (the variable) being confused with test (the package) ? my next step would be to try this again using a different variable name. -- Paul Evans http://www.creative-cognition.co.uk/ http://blog.creacog.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] is it possible to embed h.264 in the timeline
I know this is not the best way to do this but I am wondering if it is possible to embed an h.264 file in the timeline like you can an flv. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Web Cam question
for cameras (mac compatible) that don't have their own web server EvoCam is pretty amazing http://www.evological.com/evocam.html On Sat, Jun 21, 2008 at 2:15 PM, Rich Shupe [EMAIL PROTECTED] wrote: Dave, are you asking for a way to do that entirely external to Flash? That is, Flash and BitmapData can grab stills from a video stream very easily. I am assuming you are asking about something else. However, if that's all you need, here is a quick example. You may be able to do away with Glimpse altogether. var vid:Video = new Video(); addChild(vid); var cam:Camera = Camera.getCamera(); vid.attachCamera(cam); stage.addEventListener(MouseEvent.CLICK, captureCamera, false, 0, true); function captureCamera(evt:MouseEvent): void { var bmd:BitmapData = new BitmapData(vid.width, vid.height); bmd.draw(vid) var bmp:Bitmap = new Bitmap(bmd); bmp.x = vid.width; addChild(bmp); } There are some things to think about, though. 1) Flash must be able to see the camera. Drivers may be an issue. 2) Sometimes, only one application can have access to the camera. Running Glimpse at the same time as Flash may prevent Flash access. For example, on my Mac, Flash can only get a garbled still if iChat has the camera already. 3) To answer your other question, just about any webcam will work in Flash. Just find the most current, reliable-name (for ongoing support), feature vs. price (pan, tilt, etc.) camera you like. A generalization, perhaps, but there's less of a compatibility issue than you might think. Rich http://www.LearningActionScript3.com On 6/21/08 1:03 PM, Dave Mennenoh wrote: Thought someone here may have some experience with this - my client has a Canon VB-C10 web cam. It's an older model not for sale anymore far as I can tell. From Flash, we'll just be opening a window to display the Java applet the camera uses. That is fine. However - what I'm trying to do is be able to get a current still image from the camera, as a jpeg, to use inside Flash as a thumbnail. They supply a 'Glimpse' application that is somewhat what I need, but I can't see how to get an actual image format out of it. Anyone have any experience with this camera or can maybe point me in the right direction? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flash animations Slow on IE7
really? Anyone have any further info on whether the doctype can effect Flash perfomance? On Mon, Jun 9, 2008 at 4:01 AM, maurice sallave [EMAIL PROTECTED] wrote: yes. This is weird, I found out that DOCTYPE was killing it. I check on several sites from thefwa and most if not all have DOCTYPE removed. On Fri, Jun 6, 2008 at 8:06 AM, Jason Van Pelt [EMAIL PROTECTED] wrote: Are you sure you're running the same flash player version in IE7? Jason Van Pelt Interactive Developer 504.210.1232 (p) / 504.581.2731 (f) Peter A. Mayer Advertising, Inc. www.peteramayer.com - Original Message From: maurice sallave [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com Sent: Thursday, June 5, 2008 2:00:44 PM Subject: [Flashcoders] flash animations Slow on IE7 Sorry if this has been asked before, but is there a reason why my animations are running slow on IE7? I'm currently developing on a PC running player 9 and all the other browsers, FF and even Safari, are running fine. Thanks for any help. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Multiple query strings in a single URL
I think FlashVars, 'whichSection=' + querySt('page'),'loggedin='+querySt('login')); needs to be FlashVars, 'whichSection=' + querySt('page')+'loggedin='+querySt('login'); You may want to check out SWFObject 1.5 that would make this much more readable ie: var so = new SWFObject(your.swf, swfID, 100, 100, 8, #ff); so.addVariable(whichSection, querySt(page)); so.addVariable(loggedin, querySt(login)); it also has a function that grabs params from the url On Thu, May 15, 2008 at 12:17 AM, John R. Sweeney Jr [EMAIL PROTECTED] wrote: Howdy all, I currently have a app that pulls a single variable from the URL I.e. = index.html?page=2 I pass that info into my program with FlashVars using: -- script src=Scripts/AC_RunActiveContent.js type=text/javascript/script script type=text/javascript function querySt(ji) { hu = window.location.search.substring(1); gy = hu.split(); for (i=0;igy.length;i++) { ft = gy[i].split(=); if (ft[0] == ji) { return ft[1]; } } } /script snippet from the Flash swf embed FlashVars, 'whichSection=' + querySt('page')); end snippet --- So querySt parses the value of 2 and passes it into my whichsection just fine. Now I have to have two things passed in: I.e. Index.html?page=2login=1 Can FlashVars handle this?? I tried: FlashVars, 'whichSection=' + querySt('page'),'loggedin=' + querySt('login')); But loggedin is NOT getting picked up inside of Flash. Can Flash handle multiple query strings being passed into itself? Did I explain this well enough? Thanks in advance, John === John R. Sweeney Jr.([EMAIL PROTECTED]) Interactive Multimedia Developer/ Digital Media Specialist OnDemand - Interactive, Inc. 847.651.4469 (cell) 847.310.5959 (office/fax) === ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] addCuePoint - AS2
I don't think cuepoints are anything inherit to Flash video/NetStream class but just information that is injected in the flv metadata during encoding. If you create an array to hold cuepoints as objects and track them with an interval watching NetStream.time you should be able to create the same effect. You could also dig into the mx.video.FLVPlayback and mx.video.CuePointManager classes to see how Macromedia did it. On Mon, Apr 28, 2008 at 3:11 PM, chas warn [EMAIL PROTECTED] wrote: You can do it is through the Flash8 flv video encoder. Then use onCuePoint On Mon, Apr 28, 2008 at 8:53 AM, Pavel Krusek [EMAIL PROTECTED] wrote: Hello everyone, please is possible adding cue points throught actionscript directly on NetStream object (without FLVPlayback component)? In AS documentation i see only onCuePoint handler, no method like addCuePoint thanks, Pavel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Remove Flash on a page?
if overwriting the div contents isn't working you may want to look at SWFObject 2.0 which is I believe is more geared towards dynamic pages. Word of warning - the syntax is quite different from 1.5 if you are using it on other swfs On Thu, Apr 17, 2008 at 1:18 PM, Dave Mennenoh [EMAIL PROTECTED] wrote: Does anyone know an easy way to remove a Flash object from a page? It's embedded using SWFObject, so within a Div tag. I'm calling a JS on the page through ExternalInterface and have not had any luck thus far... it's for an ad's close button. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] maximum length of an xml document?
in my experience the problem wasn't loading it but having the script time out trying to work with it. AS3 expoentially faster if you have a choice. On Thu, Apr 3, 2008 at 3:09 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: can anyone tell me what the maximum length i can go to is for an xml file to load into flash? i'm working on a biggie ta a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS2 SOAP web service
you can try and authenticate before you go to the page or hardcode your user/pass like var url:String = http://user:[EMAIL PROTECTED]; On Mon, Mar 31, 2008 at 11:32 AM, Gert-Jan van der Wel [EMAIL PROTECTED] wrote: Hi everybody, I'm having some trouble with connecting to a SOAP web service from my AS2 app. I need to log in on the web service to use it, but I don't know when I should use the login/pass. I use this script: var service:WebService = new WebService( url ); var call:PendingCall = service.doSomething(); call.onResult = function( result:XML ) { trace( result ); }; call.onFault = function( fault:SOAPFault ) { trace(Webservice fault: + fault.faultcode + , + fault.faultstring ); } When I run it on my local machine there's no problem, but when I run it from our server a html dialog appears and I get a SOAPFault. Any suggestions? Cheers, Gert-Jan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AIR write to PowerPoint
I am currently doing some research for a project that is asking for output to a ppt/pps file. The original version of this project used Director and some Xtras to accomplish this. In hopes of doing the newer version in Adobe AIR I am wondering if anyone has seen any AIR apps that have this feature. I have came across Sliderocket.com (nice flex app) which is hoping to incorporate it in a future version. Any insights in trying to get in and out of a PowerPoint file would be greatly appreciated also. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to retrieve all itmes in RSS
you may want to use yahoo pipes to manipulate the feed well as a proxy unless you have access to one of the domains at http://www.nytimes.com/crossdomain.xml http://www.yswfblog.com/blog/2007/09/19/yahoo-pipes-flash-smokin-good/ On Wed, Mar 19, 2008 at 2:20 PM, Glen Pike [EMAIL PROTECTED] wrote: What you see in the XML feed depends on what the server shows you - the NYT may provide a list of parameters you can supply, but it may not. You are at the mercy of the thing feeding you here. ACE Flash wrote: Hi there, I am going to build an RSS reader by using Flash action scrip, I was wondering how to retrieve all items in Media Advertising RSS. ( all items means, I wanna get all data feed, you could see only couple of pages in Media Advertising RSS link below at the moment) Possibly, I could pass some parameters into URL? for example: * MediaandAdvertising.xml?RetrieveAll* , so I could read all data in my RSS reader. for example: http://www.nytimes.com/services/xml/rss/index.html Media Advertising RSS : http://www.nytimes.com/services/xml/rss/nyt/MediaandAdvertising.xml Any suggestions? Thank you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01736 759321 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Error #1009
you can't reference the stage in the Mountain class until it is added to the Display List. try this package { import flash.display.Sprite; import flash.events.Event; public class Mountain extends Sprite { private var x0:Number; private var y0:Number; private var x1:Number; private var y1:Number; private var x2:Number; private var y2:Number; public function Mountain() { this.addEventListener(Event.ADDED_TO_STAGE, onStageAdded); } public function init():void { graphics.beginFill(0x256251); graphics.moveTo(x0,y0); graphics.curveTo(x1,y1,x2,y2); graphics.lineTo(x2, stage.stageHeight); graphics.lineTo(0, stage.stageHeight); graphics.endFill(); } public function onStageAdded(e:Event):void { x0:Number =0; y0 =stage.stageHeight -150; x1=stage.stageWidth/2; y1:Number=100; x2 =stage.stageWidth; y2:Number =stage.stageHeight -150; init(); } } On Mon, Mar 17, 2008 at 11:28 AM, Pedro Kostelec [EMAIL PROTECTED] wrote: I added the () to it but still doesn't work: package { import flash.display.Sprite; import flash.events.Event; import flash.filters.*; public class RisingCroix extends Sprite { private var croix:Croix; private var croix2L:Croix2; private var croix2R:Croix2; private var sun:Sun; private var mountain:Mountain; private var vy:Number=5; private var glowFilter:GlowFilter; private var glowSun:GlowFilter; private var blurFilter:BlurFilter; private var blurFilter2:BlurFilter; public function RisingCroix() { init(); } private function init():void { sun = new Sun(); addChild(sun); sun.x = stage.stageWidth / 2; sun.y=stage.stageHeight; croix=new Croix(); addChild(croix); croix.x=stage.stageWidth / 2; croix.y=stage.stageHeight; croix2L = new Croix2(); addChild(croix2L); croix2L.x=stage.stageWidth /4; croix2L.y = stage.stageHeight; croix2R = new Croix2(); addChild(croix2R); croix2R.x = stage.stageWidth /4 *3; croix2R.y = stage.stageHeight; mountain= new Mountain(); addChild(mountain); mountain.x = stage.stageWidth/2; mountain.y = stage.stageHeight/2; glowFilter = new GlowFilter(0xCC, 0.6, 30, 30, 3, 1); blurFilter = new BlurFilter(3,3,1); blurFilter2 = new BlurFilter(13,13,3); glowSun = new GlowFilter(0xFF6600, 1, 50, 50, 2, 1, true); croix.filters = [blurFilter, glowFilter]; croix2R.filters = croix2L.filters =[blurFilter2]; sun.filters = [glowSun, blurFilter2]; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function onEnterFrame(event:Event):void { //... } } } } Mountain class final: package { import flash.display.Sprite; public class Mountain extends Sprite { private var x0:Number =0; private var y0:Number =stage.stageHeight -150; private var x1:Number=stage.stageWidth/2; private var y1:Number=100; private var x2:Number =stage.stageWidth; private var y2:Number =stage.stageHeight -150; public function Mountain() { init(); } public function init():void { graphics.beginFill(0x256251); graphics.moveTo(x0,y0); graphics.curveTo(x1,y1,x2,y2); graphics.lineTo(x2, stage.stageHeight); graphics.lineTo(0, stage.stageHeight); graphics.endFill(); } } } On Mon, Mar 17, 2008 at 3:58 PM, jonathan howe [EMAIL PROTECTED]
Re: [Flashcoders] Error #1009
some typos in there (coding in gmail) public function onStageAdded(e:Event):void { x0 =0; y0 =stage.stageHeight -150; x1=stage.stageWidth/2; y1=100; x2 =stage.stageWidth; y2 =stage.stageHeight -150; init(); } On Mon, Mar 17, 2008 at 12:14 PM, Jason Van Cleave [EMAIL PROTECTED] wrote: you can't reference the stage in the Mountain class until it is added to the Display List. try this package { import flash.display.Sprite; import flash.events.Event; public class Mountain extends Sprite { private var x0:Number; private var y0:Number; private var x1:Number; private var y1:Number; private var x2:Number; private var y2:Number; public function Mountain() { this.addEventListener(Event.ADDED_TO_STAGE, onStageAdded); } public function init():void { graphics.beginFill(0x256251); graphics.moveTo(x0,y0); graphics.curveTo(x1,y1,x2,y2); graphics.lineTo(x2, stage.stageHeight); graphics.lineTo(0, stage.stageHeight); graphics.endFill(); } public function onStageAdded(e:Event):void { x0:Number =0; y0 =stage.stageHeight -150; x1=stage.stageWidth/2; y1:Number=100; x2 =stage.stageWidth; y2:Number =stage.stageHeight -150; init(); } } On Mon, Mar 17, 2008 at 11:28 AM, Pedro Kostelec [EMAIL PROTECTED] wrote: I added the () to it but still doesn't work: package { import flash.display.Sprite; import flash.events.Event; import flash.filters.*; public class RisingCroix extends Sprite { private var croix:Croix; private var croix2L:Croix2; private var croix2R:Croix2; private var sun:Sun; private var mountain:Mountain; private var vy:Number=5; private var glowFilter:GlowFilter; private var glowSun:GlowFilter; private var blurFilter:BlurFilter; private var blurFilter2:BlurFilter; public function RisingCroix() { init(); } private function init():void { sun = new Sun(); addChild(sun); sun.x = stage.stageWidth / 2; sun.y=stage.stageHeight; croix=new Croix(); addChild(croix); croix.x=stage.stageWidth / 2; croix.y=stage.stageHeight; croix2L = new Croix2(); addChild(croix2L); croix2L.x=stage.stageWidth /4; croix2L.y = stage.stageHeight; croix2R = new Croix2(); addChild(croix2R); croix2R.x = stage.stageWidth /4 *3; croix2R.y = stage.stageHeight; mountain= new Mountain(); addChild(mountain); mountain.x = stage.stageWidth/2; mountain.y = stage.stageHeight/2; glowFilter = new GlowFilter(0xCC, 0.6, 30, 30, 3, 1); blurFilter = new BlurFilter(3,3,1); blurFilter2 = new BlurFilter(13,13,3); glowSun = new GlowFilter(0xFF6600, 1, 50, 50, 2, 1, true); croix.filters = [blurFilter, glowFilter]; croix2R.filters = croix2L.filters =[blurFilter2]; sun.filters = [glowSun, blurFilter2]; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function onEnterFrame(event:Event):void { //... } } } } Mountain class final: package { import flash.display.Sprite; public class Mountain extends Sprite { private var x0:Number =0; private var y0:Number =stage.stageHeight -150; private var x1:Number=stage.stageWidth/2; private var y1:Number=100; private var x2:Number =stage.stageWidth; private var y2:Number =stage.stageHeight -150; public function Mountain() { init(); } public
Re: [Flashcoders] AS3 XML Namespaces Hell
I think I have some other things that are tripping it up. Looking in the debugger my event.target.data is coming in partially unescaped ?xml version=1.0 encoding=utf-8? string xmlns=http://tempuri.org/ lt;photosgt;lt;itemgt;lt;![CDATA[http:// On Sun, Mar 16, 2008 at 2:53 AM, Muzak [EMAIL PROTECTED] wrote: Odd, I used your xml for testing and it shows: http://tempuri.org/ //XML ?xml version=1.0 encoding=UTF-8? string xmlns=http://tempuri.org/; photos item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard3.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard3.jpg%5D%5D /item /photos /string //TESTED in FLA var req:URLRequest = new URLRequest(photos.xml); var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, loaderCompleteHandler); loader.load(req); function loaderCompleteHandler(evt:Event):void { trace(Application ::: loaderCompleteHandler); var data:XML = new XML(evt.currentTarget.data); //trace(data.toXMLString()); trace(data.namespace()); default xml namespace = data.namespace(); trace(data.photos.item[0]); } //OUTPUT Application ::: loaderCompleteHandler http://tempuri.org/ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg regards, Muzak - Original Message - From: Jason Van Cleave [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, March 16, 2008 12:11 AM Subject: Re: [Flashcoders] AS3 XML Namespaces Hell Thanks Muzak for looking. However that isn't working for me. I don't get anything after trace(data.namespace()); On Sat, Mar 15, 2008 at 5:38 AM, Muzak [EMAIL PROTECTED] wrote: Set the namespace of the loaded xml as default: function loaderCompleteHandler(evt:Event):void { var data:XML = new XML(evt.currentTarget.data); trace(data.toXMLString()); trace(data.namespace()); default xml namespace = data.namespace(); trace(data.photos.item); } - Original Message - From: Jason Van Cleave [EMAIL PROTECTED] To: Flash Coders List Flashcoders@chattyfig.figleaf.com Sent: Saturday, March 15, 2008 5:24 AM Subject: [Flashcoders] AS3 XML Namespaces Hell I have an app that is was pulling some XML like this ?xml version=1.0 encoding=UTF-8? photos item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424567bernard.jpg]]http://www.somedomain.com/photos/jvc_1205424567bernard.jpg%5D%5D http://www.somedomain.com/photos/jvc_1205424567bernard.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424567bernard.jpg]]http://www.somedomain.com/photos/jvc_1205424567bernard.jpg%5D%5D http://www.somedomain.com/photos/jvc_1205424567bernard.jpg%5D%5D /item /photos with this i could load xml and eventually get an XMLList with private function onXMLLoaded(e:Event):void { var xml:XML = new XML(e.target.data); var items:XMLList = xml.item; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 XML Namespaces Hell
its being returned from .net/sharepoint, here's the output string xmlns=http://tempuri.org/;lt;photosgt;lt;itemgt;lt;![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]gt;lt;/itemgt;lt;itemgt;lt;![CDATA[http://www.somedomain.com/photos/jvc_1205424535bernard3.jpg]]gt;lt;/itemgt;lt;/photosgt; /string On Sun, Mar 16, 2008 at 5:17 AM, Muzak [EMAIL PROTECTED] wrote: What does this output? var data:XML = new XML(evt.currentTarget.data); trace(data.toXMLString()); Are you loading an xml file or xml data returned from a script file (php, asp, cf, etc..)? regards, Muzak - Original Message - From: Jason Van Cleave [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, March 16, 2008 9:10 AM Subject: Re: [Flashcoders] AS3 XML Namespaces Hell I think I have some other things that are tripping it up. Looking in the debugger my event.target.data is coming in partially unescaped ?xml version=1.0 encoding=utf-8? string xmlns=http://tempuri.org/ lt;photosgt;lt;itemgt;lt;![CDATA[http:// ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 XML Namespaces Hell
to clarify, .net/sharepoint meaning a script. On Sun, Mar 16, 2008 at 2:49 PM, Jason Van Cleave [EMAIL PROTECTED] wrote: its being returned from .net/sharepoint, here's the output string xmlns=http://tempuri.org/;lt;photosgt;lt;itemgt;lt;![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]gt;lt;/itemgt;lt;itemgt;lt;![CDATA[http://www.somedomain.com/photos/jvc_1205424535bernard3.jpg]]gt;lt;/itemgt;lt;/photosgt;http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D%3E%3C/item%3E%3Citem%3E%3C%21%5BCDATA%5Bhttp://www.somedomain.com/photos/jvc_1205424535bernard3.jpg%5D%5D%3E%3C/item%3E%3C/photos%3E /string On Sun, Mar 16, 2008 at 5:17 AM, Muzak [EMAIL PROTECTED] wrote: What does this output? var data:XML = new XML(evt.currentTarget.data); trace(data.toXMLString()); Are you loading an xml file or xml data returned from a script file (php, asp, cf, etc..)? regards, Muzak - Original Message - From: Jason Van Cleave [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, March 16, 2008 9:10 AM Subject: Re: [Flashcoders] AS3 XML Namespaces Hell I think I have some other things that are tripping it up. Looking in the debugger my event.target.data is coming in partially unescaped ?xml version=1.0 encoding=utf-8? string xmlns=http://tempuri.org/ lt;photosgt;lt;itemgt;lt;![CDATA[http:// ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Classes and FLA not working together
Create a Class for AmlakPanel instead of letting Flash generate it may help you get a little further in debugging On Sun, Mar 16, 2008 at 9:20 PM, Andrei Thomaz [EMAIL PROTECTED] wrote: hello Omar, I'm developing a graphical editor for e-learning content using AIR. The Document Class works fine for me. The only problem I had was that I had to make it extend MovieClip, and put a stop() in its first frame. You have to use a stop(), or else your app will flash indefinetely. While I was testing it inside Flash, the document class extended Sprite and everything worked. But, when I tryed the real application (installing the AIR file), it didn't work. I don't think you need to create an instance of your Document Class. Something is wrong in your code or your .fla Put a stop() in the first frame of you app, and give a feedback for us. good luck, andrei On Sun, Mar 16, 2008 at 9:39 PM, Omar Fouad [EMAIL PROTECTED] wrote: So, I am trying to do an application in Air with Flash CS3. I can't deny, I am starting to hate AS3! First of all, The document class technique (wich lets you set the name of the starting class in the Document Class Text field) is not working while developing in AIR. It only works in an actionscript 3.0 application. Allright fine, I could manage in calling the class from the first frame var Application:Amlak = new Amlak(); this way... And note that I have a movieClip in the Fla library which has a Class Name AmlakPanel, to be added to the stage later on runtime. in the Amlak.as class : package { import flash.display.*; public class Amlak extends Sprite { public function Amlak():void { trace(Starting Application);// traces like a charm!!! var a = new AmlakPanel(); addChild(a); //this does not happen !!! G!!! } } } Why... Why and Why!!! :( -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 Coding Conventions Question
This is a pretty nice doc and I agree/use most of these while doing as3 development. The use of ALL_CAPS constants makes sense to me but I am not understanding what the purpose would be to not make the variable be the same as the value. For instance, this is what Adobe says and does from: http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions -- Constant names Use all uppercase letters with underscores between words: OFF, DEFAULT_WIDTH . The words in the identifier must match the words in the constant value if it is a String: public static const FOO_BAR:String = fooBar; -- For me it makes more sense and helps consistency to make it: public static const FOO_BAR:String = FOO_BAR; Anyone have a defense to Adobe's position? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: AS3 XML Namespaces Hell
Ok, I have it at least working with the below code through a roundabout way and would love to hear a better one... private function onXMLLoaded(e:Event):void { trace(this, onXMLLoaded); xml = new XML(e.target.data); var strippedXML:XML = new XML(String(xml.*)); var list:XMLList = strippedXML.item; } On Sat, Mar 15, 2008 at 12:24 AM, Jason Van Cleave [EMAIL PROTECTED] wrote: I have an app that is was pulling some XML like this ?xml version=1.0 encoding=UTF-8? photos item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424567bernard.jpg]]http://www.somedomain.com/photos/jvc_1205424567bernard.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424567bernard.jpg]]http://www.somedomain.com/photos/jvc_1205424567bernard.jpg%5D%5D /item /photos with this i could load xml and eventually get an XMLList with private function onXMLLoaded(e:Event):void { var xml:XML = new XML(e.target.data); var items:XMLList = xml.item; } Now that we have move it over to a .net enviroment the output is like ?xml version=1.0 encoding=UTF-8? string xmlns=http://tempuri.org/; photos item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard3.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard3.jpg%5D%5D /item /photos /string Now I can't get an XMLList from this. I've tried just stripping it out with this approach http://livedocs.adobe.com/flex/3/langref/XML.html#removeNamespace()http://livedocs.adobe.com/flex/3/langref/XML.html#removeNamespace%28%29 but nothing good Any insights? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 XML Namespaces Hell
Thanks Muzak for looking. However that isn't working for me. I don't get anything after trace(data.namespace()); On Sat, Mar 15, 2008 at 5:38 AM, Muzak [EMAIL PROTECTED] wrote: Set the namespace of the loaded xml as default: function loaderCompleteHandler(evt:Event):void { var data:XML = new XML(evt.currentTarget.data); trace(data.toXMLString()); trace(data.namespace()); default xml namespace = data.namespace(); trace(data.photos.item); } - Original Message - From: Jason Van Cleave [EMAIL PROTECTED] To: Flash Coders List Flashcoders@chattyfig.figleaf.com Sent: Saturday, March 15, 2008 5:24 AM Subject: [Flashcoders] AS3 XML Namespaces Hell I have an app that is was pulling some XML like this ?xml version=1.0 encoding=UTF-8? photos item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424567bernard.jpg]]http://www.somedomain.com/photos/jvc_1205424567bernard.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg%5D%5D /item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424567bernard.jpg]]http://www.somedomain.com/photos/jvc_1205424567bernard.jpg%5D%5D /item /photos with this i could load xml and eventually get an XMLList with private function onXMLLoaded(e:Event):void { var xml:XML = new XML(e.target.data); var items:XMLList = xml.item; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Source Control [WAS] to mac or not to mac
My God. I can even commit my deploy folder with Subversive. This has been killing me for months. On Sat, Mar 15, 2008 at 6:23 PM, Muzak [EMAIL PROTECTED] wrote: It allows you to setup projects (workspaces) and administer them easily. Assembla uses Trac ;-) So whatever comes with Trac, you get with Assembla and you can enable/disble features on a project basis. You can grant other developers access to your projects (again per project), which makes it easy to collaborate. Access can be set to: none, view, edit.. per user And much more.. regards, Muzak - Original Message - From: Hans Wichman [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Saturday, March 15, 2008 9:46 PM Subject: Re: [Flashcoders] Source Control [WAS] to mac or not to mac Hi Muzak, i thought trac already offered a wiki, svn, emailnotifications and more, could you spare some details on what assembla offers over trac? greetz JC On Sat, Mar 15, 2008 at 8:56 PM, Muzak [EMAIL PROTECTED] wrote: And on a similar note, I use Assembla as an online repository: http://www.assembla.com/ It's free (there's a paying version with some extra's) Setting up a projects is a breeze. Includes TRAC, Wiki, SVN, email notificiations, and more.. Whenever I work on a project with other freelancers (who, like me, work from home) this is invaluable. regards, Muzak ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 XML Namespaces Hell
I have an app that is was pulling some XML like this ?xml version=1.0 encoding=UTF-8? photos item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]/item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424567bernard.jpg]]/item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]/item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424567bernard.jpg]]/item /photos with this i could load xml and eventually get an XMLList with private function onXMLLoaded(e:Event):void { var xml:XML = new XML(e.target.data); var items:XMLList = xml.item; } Now that we have move it over to a .net enviroment the output is like ?xml version=1.0 encoding=UTF-8? string xmlns=http://tempuri.org/; photos item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]/item item![CDATA[ http://www.somedomain.com/photos/jvc_1205424535bernard3.jpg]]/item /photos /string Now I can't get an XMLList from this. I've tried just stripping it out with this approach http://livedocs.adobe.com/flex/3/langref/XML.html#removeNamespace() but nothing good Any insights? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Access Amazons Simple storage S3
you probably have to use a LoadVars.sendAndLoad On Fri, Mar 7, 2008 at 4:28 AM, Barry Duggan [EMAIL PROTECTED] wrote: Hi Has anyone got experience with using flash and Amazons S3? What I have to do is send this key to amazon http://webdeploy/r/mixes/mixreq.aspx?username= +username+mixname=+mixname, _parent; Amazon then returns a unique key to me. I've been trying to use getURL method but all that does is open a web page with the key I need to get printed on it? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 3 questions
1. check out describetype http://livedocs.adobe.com/flex/201/langref/flash/utils/package.html#describeType() 3. check for a width and height property of the bitmapdata to be greater than 0 before using it Heres a function i use but i also check if its too big to display private function isValid(disp:DisplayObject):Boolean { var isValid:Boolean=false; if(disp.width0 disp.width2880 disp.height0 disp.height2880) { isValid=true; } trace(this, isValid, isValid); return isValid; } On Thu, Feb 28, 2008 at 1:00 PM, Stuart (FunkDaWeb) [EMAIL PROTECTED] wrote: 1 - In AS3 is it possible to add a class to a dynamically loaded image? (like right clicking and viewing properties if it was in the library) If so can anyone point me to an example of how to go about it? 2 - Is there a simple way to convert text to a shape (break apart) using actionscript? (not using double break apart in flash) 3 - Does anyone have an idea how to fix this error... ArgumentError: Error #2015: Invalid BitmapData. Yours Stuart Moir ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] forceSmoothing in a MovieClipLoader
Did the forceSmoothing ever make it in? I remember hearing about it but never saw anything official This workaround works well for static content http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html On Thu, Feb 28, 2008 at 4:41 PM, Matt S. [EMAIL PROTECTED] wrote: I'm finding that when I use forceSmoothing in a moviecliploader, it doesnt seem to work. It turns it OFF just fine, but never turns it back on afterwards. Just fyi, I already tried placing the forceSmoothing = true in the onLoadInit and onLoadComplete's, just to see if they'd work from there, but it never seemed to get turned back on. See code below, can someone else see what I'm doing wrong? I know setTimeout's aren't entirely reliable... and yes this is still AS2... (le sigh) thx, .m //Portfolio loader myPMCL.onLoadStart = function(targetMC) { //targetMC.forceSmoothing = false; targetMC._alpha = 0; trace(STARTING LOAD OF: + targetMC); _root.loadermain_mc._visible = true; _root.loadermain_mc.bar_mc._xscale = 0; }; myPMCL.onLoadProgress = function(targetMC, loadedBytes, totalBytes) { _root.loadermain_mc.bar_mc._xscale = (loadedBytes/totalBytes)*100; }; myPMCL.onLoadComplete = function(targetMC) { _root.loadermain_mc._visible = false; }; myPMCL.onLoadInit = function(targetMC) { targetMC._rotation = 0; resizePortfolio(); targetMC.alphaTo(100,1,easeInOutCubic); _global.setTimeout(smoothingOn,2000,targetMC); }; myPMCL.onLoadError = function(targetMC, errorCode) { }; function smoothingOn(mc){ trace(TURNING SMOOTHING BACK ON FOR: +mc); mc._parent.forceSmoothing = true; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 3 questions
doh - thats the function that I use before I try and draw an object - same point tho On Fri, Feb 29, 2008 at 1:05 AM, Jason Van Cleave [EMAIL PROTECTED] wrote: 1. check out describetype http://livedocs.adobe.com/flex/201/langref/flash/utils/package.html#describeType()http://livedocs.adobe.com/flex/201/langref/flash/utils/package.html#describeType%28%29 3. check for a width and height property of the bitmapdata to be greater than 0 before using it Heres a function i use but i also check if its too big to display private function isValid(disp:DisplayObject):Boolean { var isValid:Boolean=false; if(disp.width0 disp.width2880 disp.height0 disp.height2880) { isValid=true; } trace(this, isValid, isValid); return isValid; } On Thu, Feb 28, 2008 at 1:00 PM, Stuart (FunkDaWeb) [EMAIL PROTECTED] wrote: 1 - In AS3 is it possible to add a class to a dynamically loaded image? (like right clicking and viewing properties if it was in the library) If so can anyone point me to an example of how to go about it? 2 - Is there a simple way to convert text to a shape (break apart) using actionscript? (not using double break apart in flash) 3 - Does anyone have an idea how to fix this error... ArgumentError: Error #2015: Invalid BitmapData. Yours Stuart Moir ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you do this?
It looks like it is this guy who wrote his own 3d engine http://roxik.com/index.html looking at http://groups.google.com/group/away3d-dev/msg/23411b5e94b78b49 http://www.bit-101.com/blog/?p=909 On Tue, Feb 26, 2008 at 3:23 AM, [EMAIL PROTECTED] wrote: this is very simple in math... you've only circles so you don't need other than z-sorting and 3d coords/object calculations. if you've the z-index you can calc the x-y blur for the circles and its size. that's all... n - Original Message - From: Cory Petosky [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, February 25, 2008 23:23 Subject: Re: [Flashcoders] How do you do this? Can you verify that this is Papervision? I'd think Papervision would be far too slow for something like this. A simple homebrew 3D engine optimized for this particular use-case seems more likely considering that this app is designed as a performance benchmark. On 2/25/08, eric e. dolecki [EMAIL PROTECTED] wrote: tons of math and some papervision3d. On Mon, Feb 25, 2008 at 4:40 PM, Jim Robson [EMAIL PROTECTED] wrote: Hello all, There's a neat 3D CS3 demo from a Japanese tour. I'd like to know how to go about creating this kind of effect; my (few and rare) attempts at 3D animation in Flash have not performed nearly this well: http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf Any ideas/hints/urls/etc? - Jim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Error in Flex for automatically created classes
a couple of ways i use 1. Export a swc from your fla and Flex can use the classes in it 2. Load a complied swf at runtime and use getDefinition http://livedocs.adobe.com/labs/flex3/langref/flash/system/ApplicationDomain.html#includeExamplesSummary On Tue, Feb 26, 2008 at 8:49 AM, Johan Nyberg [EMAIL PROTECTED] wrote: Hi, I'm using Flex as an IDE for Flash development. When I instanciate Movie Clips in Flash that are inheriting from a base class, but that do not have a class of their own (i.e. the class is automatically created) I get an error in Flex. I understand that it's because the class does not exist, but is there a way around it? Or do I have to create a class skeleton for every Movie Clip that is dynamically created? Here is the function where I create movie clips from the library by using information from an XML. All the clips have Column as their base class): public function createColumns( _xml:XML ):void { for each( var column:XML in _xml.columns.* ) { var clip:Column; switch( column.name.toString() ) { case 'pokerRoom': clip = new PokerRoom(); break; case 'us': clip = new Us(); break; case 'bonus': clip = new Bonus(); break; case 'roomReviews': clip = new ReadReview(); break; case 'getBonus': clip = new Button(); break; } clip.x = column.x; clip.y = column.y; addChild( clip ); } } Regards, Johan Nyberg Designer and web developer [EMAIL PROTECTED] 08 - 50 00 24 30 070 - 407 83 00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Any issues with Safari Mac and mouse movement detection?
Did you try Safari on Windows? On Tue, Feb 26, 2008 at 12:34 PM, Paul Steven [EMAIL PROTECTED] wrote: I have created a game that involves moving the mouse rapidly to control the speed of a character. The client has reported that it is not working on Safari on the Mac. I have since asked several friends to test it on Safari on a Mac and they also report the same problem in that it does not work. Is there a particular issues I should be aware of using Safari on the mac and Flash? Not sure if this is relevant, but I use AC_RunActiveContent to embed my flash content. I can't put up a link to the game due to it being for a client. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Minimize Tearing
_quality=BEST may help you at some costs http://livedocs.adobe.com/flash/8/main/2509.html On Thu, Feb 14, 2008 at 10:06 PM, Elia Morling [EMAIL PROTECTED] wrote: Are there any tricks for minimizing tearing? Like always run at 60hz? Is there any way to control vsynch? Thanks, Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Multiple moviecliploaders
I was certain I remember having to change this years ago to be able to download more than 4 files in IE. Here is the page that references the limit of 4 (2) MaxConnectionsPerServer REG_DWORD (Default 2) Sets the number of simultaneous requests to a single HTTP 1.1 Server MaxConnectionsPer1_0Server REG_DWORD (Default 4) Sets the number of simultaneous requests to a single HTTP 1.0 Server http://support.microsoft.com/default.aspx?scid=KB;en-us;q183110 On Feb 13, 2008 8:07 PM, Muzak [EMAIL PROTECTED] wrote: Guess again: http://www.google.com/search?hl=enq=windows+simultaneous+downloadsmeta= http://support.microsoft.com/kb/282402 - Original Message - From: Cor [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 13, 2008 6:17 PM Subject: Re: [Flashcoders] Multiple moviecliploaders I tkink that 4 object at a time EECOLOR [EMAIL PROTECTED] schreef: If I remember well the MovieClip loader can only load 2 images simultaniously. This also might be a browser restriction. Greetz Erik ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Multiple moviecliploaders
I usually would break out the thumbs into their own class with a MovieClipLoader for each but this may give you the same effect: function displayThumbs() { for (i = 0; i modelsArray.length; i++) { var img_mcl:MovieClipLoader = new MovieClipLoader(); img_mcl.addListener(this); var path:String = http://www.bottero.net/2008/images/modelos/s/ref; + modelsArray[i] + s.png; img_mcl.loadClip(path, thumb_mc.img_mc); } } function onLoadInit(target:MovieClip) { main.hideMc(target._parent.loading_mc); } On Feb 12, 2008 10:13 PM, Muzak [EMAIL PROTECTED] wrote: It's a Windows restriction, which can be manually changed in the registry (or with some 3rd party tools). Mine is set to 20 or something ;-) - Original Message - From: EECOLOR [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 13, 2008 12:20 AM Subject: Re: [Flashcoders] Multiple moviecliploaders If I remember well the MovieClip loader can only load 2 images simultaniously. This also might be a browser restriction. Greetz Erik On 2/12/08, Muzak [EMAIL PROTECTED] wrote: Get rid of the nested function, avoid it at all times (IMO). var img_mcl:MovieClipLoader; function onLoadInit(t:MovieClip) { main.hideMc(t); } function loadImage(imagePath, targetMc) { var container_mc:MovieClip = targetMc.img_mc; var loading_mc:MovieClip = targetMc.loading_mc; img_mcl.loadClip(imagePath,container_mc); } img_mcl = new MovieClipLoader(); img_mcl.addListener(this); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)
I have been working with this technique a lot today so I downgraded to 9.047on the mac but I am not getting any crashes. i did see this come through tho Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed. I started with my code then tried the above changes with the files here: http://darylteo.com/blog/wp-content/uploads/2007/11/assetlibraries.zip On Feb 7, 2008 6:48 PM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: I'm on a Mac at the moment and I can verify this crashes both Firefox and Safari immediately. It would be interesting to find out why, but as this is the old player we are talking about, Adobe won't be looking into. Since it works on Moviestar (works on both PC/Mac), can you just check the player version installed with SWFObject and do the ExpressInstall if Moviestar is not present? (The last time I checked, the ExpressInstall was not working on Mac at all though, but that's another matter...) Kenneth Kawamoto http://www.materiaprima.co.uk/ Meinte van't Kruis wrote: Actually, the trace doesn't really matter. The point is, flash player of that version keeps crashing whenever I try to get a class definition from an external SWF, and after this instantiating that class. the line producing the crash is then this one; var tmp:* = new skinClass(); On Feb 7, 2008 5:49 PM, Kenneth Kawamoto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Oops you said Circle was the Document class. var appDomain:ApplicationDomain = e.target.applicationDomain; var skinClass:Class = appDomain.getDefinition(getQualifiedClassName(e.target.content)) as Class; trace(skinClass: + skinClass); then it's the same as yours basically. Sorry about the noise! Kenneth Kawamoto http://www.materiaprima.co.uk/ Kenneth Kawamoto wrote: private function onComplete(e:Event):void { var appDomain:ApplicationDomain = e.target.loader.contentLoaderInfo.applicationDomain; var skinClass:Class = appDomain.getDefinition(getQualifiedClassName( e.target.content.getChildAt(0))) as Class; trace(skinClass: + skinClass); } Output: skinClass: [class Circle] Kenneth Kawamoto http://www.materiaprima.co.uk/ Meinte van't Kruis wrote: I find the following: When following the methods described by Daryl Theo (at http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/ ) to duplicate DisplayObjects works fine in flash player 9.0.115 (latest). In version 9.0.47 it repeatedly crashes the browser (both firefox in ie)... I wonder if anyone else has this problem. To reproduce, simple instal 9.0.47, follow the steps by Daryl, and voila, a browser crash. In short, make an swf, with document class Circle then load in your main swf, with the following code in the onComplete handler; private function onComplete(e:Event) { var appDomain:ApplicationDomain = e.target.applicationDomain; var skinClass:Class = appDomain.getDefinition (getQualifiedClassName(e.target.loader.content)) as Class; trace(CLASS: + skinClass); //var tmp:* = new skinClass(); - uncommenting this line crashes the browser } Any ideas, or other ideas to clone a displayobject? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)
ok, I did get it to puke - here's some info [Switching to process 2666 thread 0x622f] 0x199ae696 in Flash_EnforceLocalSecurity () Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x000c 0x199ae696 in Flash_EnforceLocalSecurity () The Flash log also had this in it CLASS: [class Circle] Warning: An ActionScript 1.0/2.0 SWF file has loaded an ActionScript 3.0SWF; code in the ActionScript 3.0 SWF will not run. Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed. The Document class seems to be the issue. Making a Symbol, assigning the linkage without it works ok On Feb 8, 2008 3:30 AM, Jason Van Cleave [EMAIL PROTECTED] wrote: I have been working with this technique a lot today so I downgraded to 9.047 on the mac but I am not getting any crashes. i did see this come through tho Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed. I started with my code then tried the above changes with the files here: http://darylteo.com/blog/wp-content/uploads/2007/11/assetlibraries.zip On Feb 7, 2008 6:48 PM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: I'm on a Mac at the moment and I can verify this crashes both Firefox and Safari immediately. It would be interesting to find out why, but as this is the old player we are talking about, Adobe won't be looking into. Since it works on Moviestar (works on both PC/Mac), can you just check the player version installed with SWFObject and do the ExpressInstall if Moviestar is not present? (The last time I checked, the ExpressInstall was not working on Mac at all though, but that's another matter...) Kenneth Kawamoto http://www.materiaprima.co.uk/ Meinte van't Kruis wrote: Actually, the trace doesn't really matter. The point is, flash player of that version keeps crashing whenever I try to get a class definition from an external SWF, and after this instantiating that class. the line producing the crash is then this one; var tmp:* = new skinClass(); On Feb 7, 2008 5:49 PM, Kenneth Kawamoto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Oops you said Circle was the Document class. var appDomain:ApplicationDomain = e.target.applicationDomain; var skinClass:Class = appDomain.getDefinition(getQualifiedClassName(e.target.content)) as Class; trace(skinClass: + skinClass); then it's the same as yours basically. Sorry about the noise! Kenneth Kawamoto http://www.materiaprima.co.uk/ Kenneth Kawamoto wrote: private function onComplete(e:Event):void { var appDomain:ApplicationDomain = e.target.loader.contentLoaderInfo.applicationDomain; var skinClass:Class = appDomain.getDefinition(getQualifiedClassName( e.target.content.getChildAt(0))) as Class; trace(skinClass: + skinClass); } Output: skinClass: [class Circle] Kenneth Kawamoto http://www.materiaprima.co.uk/ Meinte van't Kruis wrote: I find the following: When following the methods described by Daryl Theo (at http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/ ) to duplicate DisplayObjects works fine in flash player 9.0.115 (latest). In version 9.0.47 it repeatedly crashes the browser (both firefox in ie)... I wonder if anyone else has this problem. To reproduce, simple instal 9.0.47, follow the steps by Daryl, and voila, a browser crash. In short, make an swf, with document class Circle then load in your main swf, with the following code in the onComplete handler; private function onComplete(e:Event) { var appDomain:ApplicationDomain = e.target.applicationDomain; var skinClass:Class = appDomain.getDefinition (getQualifiedClassName(e.target.loader.content)) as Class; trace(CLASS: + skinClass); //var tmp:* = new skinClass(); - uncommenting this line crashes the browser } Any ideas, or other ideas to clone a displayobject? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Export hidden layers turning itself off
I noticed it seems to happen when I paste something into Flash from Fireworks/Some other app On Feb 8, 2008 8:21 AM, Kevin Heppell [EMAIL PROTECTED] wrote: Hello, I've got Flash CS3 and I've found that every now and then the export hidden layers export option turns itself off... This obviously causes problems but I can't work out a specific trigger that changes the value... Has anyone else had this and anyone found a solution? Thanks Kev ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] fullscreen
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html On Feb 5, 2008 12:09 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: Hi list Does enyone know how to make this fullscreen function like this one here: http://bb.amctv.com/main.html ? (Press the fullscreen button on the bottom right)Looks the same think like in youtube. -- Pedro D.K. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 receiving mouse event on overlap sibling sprite
this may help http://www.tink.ws/blog/files/as3/IntersectionRectangle/ http://www.tink.ws/blog/as-30-hittest/ On Feb 5, 2008 3:37 PM, Martin Tremblay [EMAIL PROTECTED] wrote: Hi, Trying to have two sibling sprite that overlap receive mouse event in the section that overlap. Is that possible? code: package { import flash.display.* import flash.events.*; public class MouseEventTwoMC extends MovieClip { public function MouseEventTwoMC () { var sp1:Sprite = createCircle(100, 100); var sp2:Sprite = createCircle(150, 100); addChild(sp1); addChild(sp2); } public function createCircle (_nX:Number, _nY:Number):Sprite { var spriteCircle:Sprite = new Sprite(); spriteCircle.addEventListener (MouseEvent.ROLL_OVER, onROver); spriteCircle.addEventListener (MouseEvent.ROLL_OUT, onROut); spriteCircle.x = _nX; spriteCircle.y = _nY; spriteCircle.graphics.lineStyle(2, 0x22, 1); spriteCircle.graphics.beginFill(0x3CC4C4, 1); spriteCircle.graphics.drawCircle(0,0, 75); spriteCircle.graphics.endFill(); spriteCircle.alpha = 0.3; return spriteCircle; } public function onROver (_event:MouseEvent):void { _event.target.alpha = 0.1; } public function onROut (_event:MouseEvent):void { _event.target.alpha = 0.3; } } } Martin T. LVL ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] [AS3] how to tell Loader on which clip you are going to load?
Since myClip doesn't exist shouldn't you just deal with the loader? On Jan 26, 2008 4:57 AM, Leonardo Scattola - New Vision srl [EMAIL PROTECTED] wrote: Hello everyone! I wrote a little class extending the AS3 Loader class. In my new loader I've added a reference to the clip to which attach my content, so that I can write myLoader.loadImage(url, clip:MovieClip) where loadImage is a static method; in an ideal world myLoader will always load an image, and will fire an Event.INIT when the image has been loaded; I have defined a listener for this event, like this: function onLoadSuccessful(myEvent:Event) { trace(myEvent.target.loader.myClip); } where myEvent.target is the loaderInfo property in my event, and myEvent.target.loader is an instance of the myLoader object; myEvent.target.loader.myClip will thus be the reference to the clip on which I will attach my image. The problem is: when the image doesn't exist, I would listen for an IOError. In this case, I have defined another listener: function onLoadError(myEvent:IOEvent) { trace(myEvent.target.loader.myClip); } But this raises an exception if the image fails to load (because the file doesn't exist), and tells me that the loader is not accessible because the event was fired too early to access the loaderInfo property. How can I access the myClip property in the onLoadError event? Thanks in advance. Leonardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] load flv and its metadata without start to play
you could use flvtool2 to get the metadata server-side and store it in a database http://www.inlet-media.de/ flvtool2 -P Prints out meta data to stdout On Jan 21, 2008 11:31 AM, Glen Pike [EMAIL PROTECTED] wrote: Hi, Have a look at these 2 possible things to combine / work-around getting the meta-data streaming via PHP. It is a different thing altogether, but you may be able to parse the FLV's and store the data in XML or something? http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two http://getid3.sourceforge.net/ Glen Matthias Dittgen wrote: Steven, I can't figure out a way to use ByteArray. I am able to load the flv as ByteArray, but I can't see a way to load this into a Netstream object. Any thought on that? private function load(url:String):void { var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE,completeHandler); loader.addEventListener(IOErrorEvent.IO_ERROR,errorHandler); loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR ,errorHandler); loader.dataFormat = URLLoaderDataFormat.BINARY; loader.load(new URLRequest(url)); } private function completeHandler(e:Event):void { var loader:URLLoader = e.target as URLLoader; trace(loader.data); // :-) how to go on from here? } Matthias On Jan 21, 2008 12:48 PM, Matthias Dittgen [EMAIL PROTECTED] wrote: Hello Steven, yes, I noticed that. I am waiting for ns.bytesLoaded == ns.bytesTotal, and I wait even until metadata are received, as mentioned earlier. I have shut off the unwanted sound behavior now, but don't know, how I did it. pause(false) ist AS2, Steven? AS3/FlexBuilder doesn't allow me to have parameters for ns.pause(). Sure, we talk about flv from file and ns.play(urlToFile). I changed ns.bufferTime to a higher value, now. That's everything I changed lately, and waiting for metadata seems to become faster (can't explain). I know, that it'll take time to load the header/metadata portion of a flv, Steven, but it felt to long. Now, with bigger buffer time (sounds crazy, I know) it is much faster. I'll try the ByteArray idea... Regards, Matthias On Jan 21, 2008 12:07 PM, Steven Sacks [EMAIL PROTECTED] wrote: Glen, Unfortunately, I discovered a bug with the code I posted. The NetStream.Buffer.Flush does not fire if the NetStream is paused. You have to check to see if the ns.bytesLoaded == ns.bytesTotal in the onProgress. Matthias, I have never had any unwanted sound behavior when I use: ns.play(src); ns.pause(true); If you are hearing an audio blip, it's simple to fix by applying a SoundTransform with the volume set to 0 before you play/pause the NetStream. var transform:SoundTransform = ns.soundTransform; transform.volume = 0; ns.soundTransform = transform; ns.play(src); ns.pause(true); For the sake of this discussion, I'm going to assume we're talking about progressive downloads as opposed to FLVs streamed from FMS. You cannot attach a single NetStream to multiple Video instances. If you fully load an FLV and caching is turned on (never a guarantee, but likely) then the FLV will load instantly for the next NetStream that loads it. HOWEVER, if it is not cached and you start a second NetStream to load the same FLV before it is finished loading, it will load the entire file again since it's technically not cached according to the browser. I disagree that waiting for metadata is really ugly. How is any client, Flash or otherwise, supposed to know anything about a file it's loading before it starts loading it? The only way it could is if you hard-code it ahead of time because you know what it is. If you're waiting for Flash to determine it dynamically, it has to access the file to get the header information (metadata) that describes the FLV. Because you can play/pause, the metadata can come before you even addChild() the video to the display stack. I don't see how any of this could be considered really ugly but if you do end up writing a psychic script that can determine a file's header data without ever accessing the file, be sure to let us know. ;) The ByteArray idea might work, I've never tried it, and it would probably take you anywhere from 5-15 minutes to try it out. I'm not sure what benefit it would provide you other than guaranteeing that it would be stored in memory if browser cache was turned off. At best, you might get a few milliseconds faster start-up loading from a ByteArray vs from cache. Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.net gaia: http://www.gaiaflashframework.com Matthias Dittgen wrote: Hi Glen, thanks, but that's exactly what I do, but it answers not the related questions: a) what, if I need
Re: [Flashcoders] FlashVar question
top 2 links look the same to me, using FF on mac I am getting the redirect on the third - do you have any htaccess rules? On Jan 18, 2008 12:26 AM, Dave Mennenoh [EMAIL PROTECTED] wrote: This is one of those that I feel I should know, or be able to figure out - but I'm on a deadline, it's late, and I'm sick of Googling. So here goes... On our server, sometimes when I go to a url, the www is removed. Normally this is not an issue, but on this particular project it seems to hose my query parameters, that are injected into the Flash with SWFObject. Example: This url doesn't work properly: http://blurredistinction.com/test/albany/?door=ultrasecurefeature=6 However, this one does - only diff being the www: http://www.blurredistinction.com/test/albany/?door=ultrasecurefeature=6 Also, if I just type the following url into the browser: www.blurredistinction.com/test/albany It goes to the page, but becomes: http://blurredistinction.com/test/albany/ The www is removed... This hasn't been an issue until now. I've noticed the www being removed but have never taken the time to figure out why. Now, it seems I need to. Clues for the clueless? Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Compile .fla from Flex?
Thanks Jason, Your process is exactly what I am trying to do. Looks like this is a good reason for me how to figure out Ant. On Jan 8, 2008 6:43 PM, Jason M Horwitz [EMAIL PROTECTED] wrote: You could do this with Ant and JSFL - check out the buildfile and safeTestMovie.jsfl from my FDTKit project: http://fdtkit.googlecode.com/svn/trunk/build.xml http://fdtkit.googlecode.com/svn/trunk/bin/scripts/SafeTestMovie.jsfl I think the test_movie ant target does pretty much what you're looking for: automates switching from Eclipse (or FlexBuilder) to Flash for compiling (in this case whatever the current/open fla is). What I do is have Eclipse/FDT/Flex open in one space (assuming OS X), and Flash with my fla in another and simply do a good old fashioned Cmd+Enter (which I map the default ant task keybinding in eclipse). The result is a nice test movie which switches focus/spaces screen from eclipse to flash and does a preview, a simple Cmd+W, Cmd+Tab closes the preview and returns me to where I left off in Eclipse. Hope this helps, ... . jason m horwitz // Sekati On Jan 8, 2008 3:47 PM, Jason Van Cleave [EMAIL PROTECTED] wrote: I know FDT can do this but I am having issues with the new version and AS3. Has anyone found a way of targeting a .fla from a Flex Builder Actionscript Project? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Compile .fla from Flex?
Yes, I saw went through it and got it going. I had some issues trying to find the ant tasks as I was looking for it under the run button menu but once I realized the external tools was only connected through the run menu I got it to work. Thanks for this, I'd wish I had found it earlier this year when I finally went all over to the Mac/Eclipse/FDT. There is a lot of good info up there. On Jan 9, 2008 2:53 PM, Jason M Horwitz [EMAIL PROTECTED] wrote: My pleasure - if you need help just getting that up and running you might want to check out the Adding a Buildfile section of the FDTKit wiki: http://code.google.com/p/fdtkit/wiki/Documentation - even if you aren't interested in using the project it should help you get started with Ant (note the page is actually a bit dated as its from FDT 1.5 days). Best, jason m horwitz // Sekati On Jan 9, 2008 11:43 AM, Jason Van Cleave [EMAIL PROTECTED] wrote: Thanks Jason, Your process is exactly what I am trying to do. Looks like this is a good reason for me how to figure out Ant. On Jan 8, 2008 6:43 PM, Jason M Horwitz [EMAIL PROTECTED] wrote: You could do this with Ant and JSFL - check out the buildfile and safeTestMovie.jsfl from my FDTKit project: http://fdtkit.googlecode.com/svn/trunk/build.xml http://fdtkit.googlecode.com/svn/trunk/bin/scripts/SafeTestMovie.jsfl I think the test_movie ant target does pretty much what you're looking for: automates switching from Eclipse (or FlexBuilder) to Flash for compiling (in this case whatever the current/open fla is). What I do is have Eclipse/FDT/Flex open in one space (assuming OS X), and Flash with my fla in another and simply do a good old fashioned Cmd+Enter (which I map the default ant task keybinding in eclipse). The result is a nice test movie which switches focus/spaces screen from eclipse to flash and does a preview, a simple Cmd+W, Cmd+Tab closes the preview and returns me to where I left off in Eclipse. Hope this helps, ... . jason m horwitz // Sekati On Jan 8, 2008 3:47 PM, Jason Van Cleave [EMAIL PROTECTED] wrote: I know FDT can do this but I am having issues with the new version and AS3. Has anyone found a way of targeting a .fla from a Flex Builder Actionscript Project? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ::: : jason m horwitz // sekati llc // nyc + mke : [EMAIL PROTECTED] | [EMAIL PROTECTED] : http://sekati.com | http://cv.sekati.com : +1.414.455.4406 | +1.646.662.3331 : aim/skype: n0kati ::: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Compile .fla from Flex?
On a Mac so FlashDevelop isn't an option. What I am looking to do is hit the run button from inside Eclipse/Flex Builder have it jump over to Flash and compile. It's a minor inconvenience when compared to editing ActionScript in the Flash Editor but I was hoping someone had built a bridge somehow. On Jan 8, 2008 3:56 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Why target a .fla? Do you mean .swf? I think FlashDevelop + Flex SDK compiler is a great combo and very easy to set up. Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: IE6 problem with SWFAddress?
I have ran into this nightmare and am still not sure what causes it. Just as I thought I had it beat it I would do a as2js call and the swf would disappear in IE. Something else I have seen is Firefox freeze up the swf. If I had to retroubleshoot it again I would look for this: -Are you using a getURL(javascript:jsFunction()) type call? I have had your problem mixing these in with ExternalInterface. I would first try switching getURL javascript calls to ExternalInterface. Another solution I have heard of is using setTimeout on the Javascript side to delay opening the window for a second I ended up hacking up SwfAddress and moving it off ExternalInterface to the SwfObject/Javascript/ASGateway here: http://blog.deconcept.com/code/intkit/ This has been my most solid in my testing (and lets SwfAdress work with Flash 7) Good luck. ___ 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] Re: swfObject+externalinterface
Your swfObject code says that you are targeting 7 - Are you publishing for 7? var so = new SWFObject(display.swf, mymovie, 200, 100, 7, ___ 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] Re: flash on osx thru parallels/bootcamp
I do some overly complicated worflow just to keep using SEPY. It goes like this. Turn windows sharing on the the mac. Mount that share as a drive in Windows. I put all my classes here. I don't have the problem of the IDE not seeing the classes doing it this way. Have Flash open on the Mac with all the correct fonts for the project. I edit all my classes in SEPY/PC and hop over to the mac to compile. VirtueDesktop is great for this, allowing me to switch back and forth between platforms running fullscreen: http://www.macupdate.com/info.php/id/16530 Sharepoints is great for setting up multiple shares on the mac: http://www.versiontracker.com/dyn/moreinfo/macosx/12512 I use a similiar process to publish to the mac's Sites folder allowing me to test through a browser on both the mac and pc. ___ 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] Re: flash on osx thru parallels/bootcamp
I have. I tried FlashDevelop a while back and am planning on giving it another go and with the AS3 stuff I have just seen. I like how Sepy works with native .flp files and had versions on both the mac and pc. (I also have a horrible addiction to it's autoformatting.) After hearing quite a bit about it I got TextMate this weekend and started to set it up. Looks very clean and good replacement for BBEdit but I was suprised with it that it didn't have ftp support built in (without transmit). I work on multiple machines and platforms and am dying for a consistent editor between them. Flex/Eclipse looks like it has all I want but it will probably be another year before I will be able to be 100% over to AS3. ___ 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] LoadVars.sendAndLoad and Internet Explorer
I am having an issue where LoadVars.sendAndLoad() (currently using POST) works the first time I use it in IE but subsequent calls to it fail. Firefox doesn't have an issue. Has anyone came across this? ___ 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] RE: JSFL: Can I set the swf publish path?
Care to share the code? I would like to see if it works on a Mac as well as a PC Much appreciated ___ 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