Re: [Flashcoders] how to know that thae video is finished?
Thank you very much for help. I used this for two different flv videos.Ichecked status for both: For one I have this trace NetStream.Play.Start NetStream.Buffer.Full NetStream.Buffer.Flush NetStream.Buffer.Empty and for another NetStream.Play.Start NetStream.Buffer.Full NetStream.Buffer.Flush NetStream.Play.Stop I am not big expert in video. Can anybody explain why one video has status NetStream.Play.Stop and another not? And how to write script that find that video is finished for any video. 2007/1/18, Matthias Dittgen [EMAIL PROTECTED]: use this: myNetStream.onStatus = function(infoObject:Object):Void { if (debug==true) { status_txt.text += status ( + this.time + seconds)\n; status_txt.text += \t Level: + infoObject.level + \n; status_txt.text += \t Code: + infoObject.code + \n\n; } if (infoObject.code==NetStream.Play.Stop) { // VIDEO FINISHED.. // use some Delegate.create(...) here } } HTH, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Information about speed connection in Japan
Hi there, Did some one know where to find the average speed connection in Japan (and other countries). Thanks for any clue. -- Flapflap http://www.kilooctet.net (Dev Blog Flash Fr) ___ 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] OpenSource System layer for FlashPlayer7 for PocketPC
Hello, does someone know of a systemlayer api for the Flashplayer7 that exists for PocketPC (Windows mobile 2003 and WindowsCE 5)? I am looking for something like what Screenweaver is for Actionscript/FlashPlayer on Windows, that makes it possible to a) run applications standalone (not in pocketIE) b) have filesystem access c) (not a MUST) has access to other system related things like battery status, phone etc. Thanks, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] OpenSource System layer for FlashPlayer7 for PocketPC
Bit of a guess Matthias, but what about the .net compact framework? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: 18 January 2007 10:37 To: Flashcoders mailing list; Open Source Flash Mailing List Subject: [Flashcoders] OpenSource System layer for FlashPlayer7 for PocketPC Hello, does someone know of a systemlayer api for the Flashplayer7 that exists for PocketPC (Windows mobile 2003 and WindowsCE 5)? I am looking for something like what Screenweaver is for Actionscript/FlashPlayer on Windows, that makes it possible to a) run applications standalone (not in pocketIE) b) have filesystem access c) (not a MUST) has access to other system related things like battery status, phone etc. Thanks, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OpenSource System layer for FlashPlayer7 for PocketPC
Hello Nick, seems like I hava to take a closer look at .NET. I was hoping, someone has done that before. ;-) Thanks, Matthias 2007/1/18, Nick Weekes [EMAIL PROTECTED]: Bit of a guess Matthias, but what about the .net compact framework? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: 18 January 2007 10:37 To: Flashcoders mailing list; Open Source Flash Mailing List Subject: [Flashcoders] OpenSource System layer for FlashPlayer7 for PocketPC Hello, does someone know of a systemlayer api for the Flashplayer7 that exists for PocketPC (Windows mobile 2003 and WindowsCE 5)? I am looking for something like what Screenweaver is for Actionscript/FlashPlayer on Windows, that makes it possible to a) run applications standalone (not in pocketIE) b) have filesystem access c) (not a MUST) has access to other system related things like battery status, phone etc. Thanks, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] how to know that thae video is finished?
Privyet Natasha, Here's how I solved it: Private var movie_flv:mx.controls.MediaDisplay; private var t:Number; private var lastCheck:Number; Private var play_btn //ToggleButton Private function checkStatus(){ if (play_btn.selected movie_flv.playheadTime movie_flv.playheadTime == lastCheck){ stopMovie() }else{ lastCheck = movie_flv.playheadTime; } } public function stopMovie(){ //This is where you execute you stop movie code, sent from checkStatus or remotely clearInterval(t) play_btn.selected = false; movie_flv.stop() lastCheck = 0; //Etc... } //And when you start playing: t = setInterval(this, checkStatus, 2000) -- And of course, this code can modified to suit your needs. You can also replace the setInterval with onEnterFrame=checkStatus; and delete enterFrame; in the stopMovie() handler or equivalent. The play_btn in my code refers to a custom ToggleButton that switches between playing(selected) and paused(deselected) states. You might still be able to use that check with a different toggle button control, or alternatively, set a flag variable to check if the movie is currently paused. Hope this helps, Karina -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 10:00 To: Flashcoders mailing list Subject: Re: [Flashcoders] how to know that thae video is finished? Thank you very much for help. I used this for two different flv videos.Ichecked status for both: For one I have this trace NetStream.Play.Start NetStream.Buffer.Full NetStream.Buffer.Flush NetStream.Buffer.Empty and for another NetStream.Play.Start NetStream.Buffer.Full NetStream.Buffer.Flush NetStream.Play.Stop I am not big expert in video. Can anybody explain why one video has status NetStream.Play.Stop and another not? And how to write script that find that video is finished for any video. 2007/1/18, Matthias Dittgen [EMAIL PROTECTED]: use this: myNetStream.onStatus = function(infoObject:Object):Void { if (debug==true) { status_txt.text += status ( + this.time + seconds)\n; status_txt.text += \t Level: + infoObject.level + \n; status_txt.text += \t Code: + infoObject.code + \n\n; } if (infoObject.code==NetStream.Play.Stop) { // VIDEO FINISHED.. // use some Delegate.create(...) here } } HTH, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] how to know that thae video is finished?
Isn't it amazing that Adobe/MM never bothered setting up a simple onStopMovie event?... -Original Message- From: Hans Wichman [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 12:12 To: Flashcoders mailing list Subject: Re: [Flashcoders] how to know that thae video is finished? Hi, the video might not be correctly encoded, ie from meta data etc. And I think that in some player version (might still be the case), the stop is triggered before the buffer empty. In other words if you have a buffer set to 5 seconds, the video will play on for 5 seconds after receiving a stop signal. In the end we preprocessed all our vids with a metadatainjector such as burak's and check the time against the duration. greetz JC On 1/18/07, Karina Steffens [EMAIL PROTECTED] wrote: Privyet Natasha, Here's how I solved it: Private var movie_flv:mx.controls.MediaDisplay; private var t:Number; private var lastCheck:Number; Private var play_btn //ToggleButton Private function checkStatus(){ if (play_btn.selected movie_flv.playheadTime movie_flv.playheadTime == lastCheck){ stopMovie() }else{ lastCheck = movie_flv.playheadTime; } } public function stopMovie(){ //This is where you execute you stop movie code, sent from checkStatus or remotely clearInterval(t) play_btn.selected = false; movie_flv.stop() lastCheck = 0; //Etc... } //And when you start playing: t = setInterval(this, checkStatus, 2000) -- And of course, this code can modified to suit your needs. You can also replace the setInterval with onEnterFrame=checkStatus; and delete enterFrame; in the stopMovie() handler or equivalent. The play_btn in my code refers to a custom ToggleButton that switches between playing(selected) and paused(deselected) states. You might still be able to use that check with a different toggle button control, or alternatively, set a flag variable to check if the movie is currently paused. Hope this helps, Karina -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 10:00 To: Flashcoders mailing list Subject: Re: [Flashcoders] how to know that thae video is finished? Thank you very much for help. I used this for two different flv videos.Ichecked status for both: For one I have this trace NetStream.Play.Start NetStream.Buffer.Full NetStream.Buffer.Flush NetStream.Buffer.Empty and for another NetStream.Play.Start NetStream.Buffer.Full NetStream.Buffer.Flush NetStream.Play.Stop I am not big expert in video. Can anybody explain why one video has status NetStream.Play.Stop and another not? And how to write script that find that video is finished for any video. 2007/1/18, Matthias Dittgen [EMAIL PROTECTED]: use this: myNetStream.onStatus = function(infoObject:Object):Void { if (debug==true) { status_txt.text += status ( + this.time + seconds)\n; status_txt.text += \t Level: + infoObject.level + \n; status_txt.text += \t Code: + infoObject.code + \n\n; } if (infoObject.code==NetStream.Play.Stop) { // VIDEO FINISHED.. // use some Delegate.create(...) here } } HTH, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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
Re: [Flashcoders] how to know that thae video is finished?
Flash 8 has a new (and improved) Video component mx.controls.MediaDisplay no longer exists in Flash 8 and is replaced with mx.video.FLVPlayback http://livedocs.macromedia.com/flash/8/main/3477.html FLVPlayback component has a complete event: http://livedocs.macromedia.com/flash/8/main/3537.html regards, Muzak - Original Message - From: Karina Steffens [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 1:23 PM Subject: RE: [Flashcoders] how to know that thae video is finished? Isn't it amazing that Adobe/MM never bothered setting up a simple onStopMovie event?... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XML.onLoad peculiarity - SOLVED
It is always tempting to blame the software that displays the error, or appears to misbehave, namely Flash. That was not the case in this instance. The new hosting company had a configuration different than the old one, and some browsers were not accepting the stream of data correctly. The clue came from another member of this list, who is having similar problems and suspected http compression at the web server level. We had the compression modules for our site disabled, and also had DOM related options turned on. The hosting company's tech support doubted they were part of the problem, but turned them on anyway. (Given that this is a subscriber pays for it news site, we could not mess about with too many experiments, carefully isolating each in turn.) That resolved the problem - next day all subscribers who were having problems could read the news and no additional problems were created. Not a Flash problem, really a browser problem that was resolved at the server end. Just for the record, the previous host essentially turned on all of Apache's options, the new host takes a more minimalist approach, only switching on options as needed. This problem only afflicted some subscribers, and those few were using Internet Explorer. Regards - Miles Thompson At 01:29 PM 1/7/2007, Ray Chuan wrote: Quote XML.onLoad docs from FMX2004: Event handler; invoked by Flash Player when an XML document is received from the server. If the XML document is received successfully, the success parameter is true. If the document was not received, or if an error occurred in receiving the response from the server, the success parameter is false... So yes i think the end of a data stream could trigger it. On 1/7/07, Miles Thompson [EMAIL PROTECTED] wrote: So it's most likely that ii) - nothing to parse - is most likely, how long does Flash wait / what triggers XML.onLoad? Just the end of a data stream? Miles At 08:12 PM 1/5/2007, Ray Chuan wrote: Hi, a status code of '0' could either mean i) no errors parsing ii) no XML parsed -- no errors parsing (since there's nothing to parse) snip -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.16.14/636 - Release Date: 1/18/2007 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished? using FLVPlayback
The MediaPlayback components do still exist -- they're just listed in the Flash 6-7 folder in the components window. I wanted to use FLVPlayback for a recent video project but I can't get it to display the streamed videos that are working fine with the MediaPlayback component. For the latter, I use setMedia(rtmp:/LT/myfile.flv) but there is no setMedia command for FLVPlayback, only contentPath, and setting it to the above doesn't work, nor did setting contentPath = rtmp://server address/LT/myfile.flv or rtmp://server address/LT/stream/_definst_/myfile.flv -- any suggestions? Helen Muzak wrote: Flash 8 has a new (and improved) Video component mx.controls.MediaDisplay no longer exists in Flash 8 and is replaced with mx.video.FLVPlayback http://livedocs.macromedia.com/flash/8/main/3477.html FLVPlayback component has a complete event: http://livedocs.macromedia.com/flash/8/main/3537.html regards, Muzak - Original Message - From: Karina Steffens [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 1:23 PM Subject: RE: [Flashcoders] how to know that thae video is finished? Isn't it amazing that Adobe/MM never bothered setting up a simple onStopMovie event?... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] how to know that thae video is finished?
Hi Muzak, Sounds like this new component might be a better option for Natalia's problem. Karina -Original Message- From: Muzak [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 12:43 To: Flashcoders mailing list Subject: Re: [Flashcoders] how to know that thae video is finished? Flash 8 has a new (and improved) Video component mx.controls.MediaDisplay no longer exists in Flash 8 and is replaced with mx.video.FLVPlayback http://livedocs.macromedia.com/flash/8/main/3477.html FLVPlayback component has a complete event: http://livedocs.macromedia.com/flash/8/main/3537.html regards, Muzak - Original Message - From: Karina Steffens [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 1:23 PM Subject: RE: [Flashcoders] how to know that thae video is finished? Isn't it amazing that Adobe/MM never bothered setting up a simple onStopMovie event?... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
Sorry, maybe I do something wrong but I can not get playheadTime var movie_flv:mx.controls.MediaDisplay; var nc:NetConnection=new NetConnection(); nc.connect(null); var ns:NetStream=new NetStream(nc); ns.setBufferTime(3); ns.onStatus=function(info){ if (info.code==NetStream.Buffer.Full){ bufferClip._visible=false; } if (info.code==NetStream.BufferEmpty){ bufferClip._visible=true; } if (info.code==NetStream.Play.Stop){ //this place not always works/ So when video finished ns.seek(0); } } theVideo.attachVideo(ns); ns.play(video/shoeshdmaster_vp6520.flv); var videoInterval=setInterval(videoStatus,10); ns[onMetaData]=function(obj){ duration=obj.duration; } function videoStatus(){ trace(movie_flv.playheadTime) ///trace undefined } 2007/1/18, Karina Steffens [EMAIL PROTECTED]: Privyet Natasha, Here's how I solved it: Private var movie_flv:mx.controls.MediaDisplay; private var t:Number; private var lastCheck:Number; Private var play_btn //ToggleButton Private function checkStatus(){ if (play_btn.selected movie_flv.playheadTime movie_flv.playheadTime == lastCheck){ stopMovie() }else{ lastCheck = movie_flv.playheadTime; } } public function stopMovie(){ //This is where you execute you stop movie code, sent from checkStatus or remotely clearInterval(t) play_btn.selected = false; movie_flv.stop() lastCheck = 0; //Etc... } //And when you start playing: t = setInterval(this, checkStatus, 2000) -- And of course, this code can modified to suit your needs. You can also replace the setInterval with onEnterFrame=checkStatus; and delete enterFrame; in the stopMovie() handler or equivalent. The play_btn in my code refers to a custom ToggleButton that switches between playing(selected) and paused(deselected) states. You might still be able to use that check with a different toggle button control, or alternatively, set a flag variable to check if the movie is currently paused. Hope this helps, Karina -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 10:00 To: Flashcoders mailing list Subject: Re: [Flashcoders] how to know that thae video is finished? Thank you very much for help. I used this for two different flv videos.Ichecked status for both: For one I have this trace NetStream.Play.Start NetStream.Buffer.Full NetStream.Buffer.Flush NetStream.Buffer.Empty and for another NetStream.Play.Start NetStream.Buffer.Full NetStream.Buffer.Flush NetStream.Play.Stop I am not big expert in video. Can anybody explain why one video has status NetStream.Play.Stop and another not? And how to write script that find that video is finished for any video. 2007/1/18, Matthias Dittgen [EMAIL PROTECTED]: use this: myNetStream.onStatus = function(infoObject:Object):Void { if (debug==true) { status_txt.text += status ( + this.time + seconds)\n; status_txt.text += \t Level: + infoObject.level + \n; status_txt.text += \t Code: + infoObject.code + \n\n; } if (infoObject.code==NetStream.Play.Stop) { // VIDEO FINISHED.. // use some Delegate.create(...) here } } HTH, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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
Re: [Flashcoders] how to know that thae video is finished?
Sorry, maybe I do something wrong but I can not get PlayHead Time var movie_flv:mx.controls.MediaDisplay; var nc:NetConnection=new NetConnection(); nc.connect(null); var ns:NetStream=new NetStream(nc); ns.setBufferTime(3); ns.onStatus=function(info){ if (info.code==NetStream.Buffer.Full ){ bufferClip._visible=false; } if (info.code==NetStream.BufferEmpty){ bufferClip._visible=true; } if (info.code==NetStream.Play.Stop){ //this place not always works. So for some video //it just stops at the end. I want it goes to the //start position and paused. ns.seek(0); } } theVideo.attachVideo(ns); ns.play(video/shoeshdmaster_vp6520.flv); var videoInterval=setInterval(videoStatus,10); ns[onMetaData]=function(obj){ duration=obj.duration; } function videoStatus(){ trace(movie_flv.playheadTime) //show undefined } 2007/1/18, Muzak [EMAIL PROTECTED]: Flash 8 has a new (and improved) Video component mx.controls.MediaDisplay no longer exists in Flash 8 and is replaced with mx.video.FLVPlayback http://livedocs.macromedia.com/flash/8/main/3477.html FLVPlayback component has a complete event: http://livedocs.macromedia.com/flash/8/main/3537.html regards, Muzak - Original Message - From: Karina Steffens [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 1:23 PM Subject: RE: [Flashcoders] how to know that thae video is finished? Isn't it amazing that Adobe/MM never bothered setting up a simple onStopMovie event?... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
If you're using a NetStream object, then I believe you want ns.time, not playheadTime. Helen natalia Vikhtinskaya wrote: Sorry, maybe I do something wrong but I can not get playheadTime var movie_flv:mx.controls.MediaDisplay; var nc:NetConnection=new NetConnection(); nc.connect(null); var ns:NetStream=new NetStream(nc); ns.setBufferTime(3); ns.onStatus=function(info){ if (info.code==NetStream.Buffer.Full){ bufferClip._visible=false; } if (info.code==NetStream.BufferEmpty){ bufferClip._visible=true; } if (info.code==NetStream.Play.Stop){ //this place not always works/ So when video finished ns.seek(0); } } theVideo.attachVideo(ns); ns.play(video/shoeshdmaster_vp6520.flv); var videoInterval=setInterval(videoStatus,10); ns[onMetaData]=function(obj){ duration=obj.duration; } function videoStatus(){ trace(movie_flv.playheadTime) ///trace undefined } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
ok I tryed function videoStatus(){ trace(ns.time==duration) } it is always false even when video is finished. 2007/1/18, Helen Triolo [EMAIL PROTECTED]: If you're using a NetStream object, then I believe you want ns.time, not playheadTime. Helen natalia Vikhtinskaya wrote: Sorry, maybe I do something wrong but I can not get playheadTime var movie_flv:mx.controls.MediaDisplay; var nc:NetConnection=new NetConnection(); nc.connect(null); var ns:NetStream=new NetStream(nc); ns.setBufferTime(3); ns.onStatus=function(info){ if (info.code==NetStream.Buffer.Full){ bufferClip._visible=false; } if (info.code==NetStream.BufferEmpty){ bufferClip._visible=true; } if (info.code==NetStream.Play.Stop){ //this place not always works/ So when video finished ns.seek(0); } } theVideo.attachVideo(ns); ns.play(video/shoeshdmaster_vp6520.flv); var videoInterval=setInterval(videoStatus,10); ns[onMetaData]=function(obj){ duration=obj.duration; } function videoStatus(){ trace(movie_flv.playheadTime) ///trace undefined } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] how to know that thae video is finished?
Sorry, it's bee a while since I wrote that script, so I forgot to mention that movie_flv in my code is an AS2 Video Playback component that has the movie attached to it instead of a simple movie clip. It's located in the components panel. You might want to try theVideo.playheadTime instead, but if that doesn't work, you could try using this component instead. Or better yet, if you're using Flash 8, try the new video component that Muzak mentioned (Flv Playback) which has a complete event. PS: I just saw Helen's post - that's definitely worth a try. Karina -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 13:35 To: Flashcoders mailing list Subject: Re: [Flashcoders] how to know that thae video is finished? Sorry, maybe I do something wrong but I can not get PlayHead Time var movie_flv:mx.controls.MediaDisplay; var nc:NetConnection=new NetConnection(); nc.connect(null); var ns:NetStream=new NetStream(nc); ns.setBufferTime(3); ns.onStatus=function(info){ if (info.code==NetStream.Buffer.Full ){ bufferClip._visible=false; } if (info.code==NetStream.BufferEmpty){ bufferClip._visible=true; } if (info.code==NetStream.Play.Stop){ //this place not always works. So for some video //it just stops at the end. I want it goes to the //start position and paused. ns.seek(0); } } theVideo.attachVideo(ns); ns.play(video/shoeshdmaster_vp6520.flv); var videoInterval=setInterval(videoStatus,10); ns[onMetaData]=function(obj){ duration=obj.duration; } function videoStatus(){ trace(movie_flv.playheadTime) //show undefined } 2007/1/18, Muzak [EMAIL PROTECTED]: Flash 8 has a new (and improved) Video component mx.controls.MediaDisplay no longer exists in Flash 8 and is replaced with mx.video.FLVPlayback http://livedocs.macromedia.com/flash/8/main/3477.html FLVPlayback component has a complete event: http://livedocs.macromedia.com/flash/8/main/3537.html regards, Muzak - Original Message - From: Karina Steffens [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 1:23 PM Subject: RE: [Flashcoders] how to know that thae video is finished? Isn't it amazing that Adobe/MM never bothered setting up a simple onStopMovie event?... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 embedded assets and preloading?
Can somebody enlighten me? How do you use AS3 embedded assets with a preloader (without the Flash IDE)? In AS2/Flash8 and below we could put a preloader on frame1 of the main timeline and put all the heavy assets from the library on frame2 or beyond. In AS3 I wrote a custom Preloader class that extends MovieClip so if it's done loading it can proceed to frame2 but how do I get the embedded assets into frame2? I guess it doesn't work like that in AS3 anymore?! But in Flex the preloader works and it seems it does it without using frames (the Preloader class extends Sprite). Are there any tricks to get this done in an AS3 project and without using Flash IDE? Thanks in advance, Sascha ___ 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] GlowFilter and masks
Hi, I want to use the GlowFilter on a movie clip containing a mask. However, when I apply it he filter behaves very weirdly and crops the mask out of the clip. It works fine for move clips without masks inside them. Does anyone know what I'm talking about, and know of a workaround or a custom class that would produce the same result as the GlowFilter? Cheers, Niclas ___ 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] JOB TORONTO ON. CANADA - fulltime flash developer
Dashboard is currently seeking fulltime flash developer(s). If your interested or would like more info contact me with your resume and links. //Tim Arney Studio Manager [EMAIL PROTECTED] www.dashboard.ca ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Flex instances
Jason, Well looks like this Reflection class can only handle components but if you wanted to use your own, you could get a handle on the image once its loaded by listening to the complete event like so: mx:Image id=theImg source={imgSource} complete=onImageLoadComplete(event) / private function onImageLoadComplete(event:Event):void { Alert.show(content is: +event.target); } Cheers, Farid - Original Message From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, January 17, 2007 4:34:47 PM Subject: RE: [Flashcoders] OT: Flex instances Thank very much, that got me to a point, but that is an example of targeting the id to class addded as a component - how would you do it if your class was not a component? I plugged in their example code, and did it the same way (at least I thought), and I don't get any errors in Flex, but I also don't see any Reflection applied to the image. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Farid Shahlavi Sent: Wednesday, January 17, 2007 2:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Flex instances This example should help you: http://www.drisgill.com/index.cfm/2006/10/19/Flex-Fancy-Gallery hth Farid - Original Message From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, January 17, 2007 1:27:47 PM Subject: [Flashcoders] OT: Flex instances Excuse the OT, but the Flexcoders list keeps failing me - meaning, I subscribe, it works for a few days, then I get automatically unsubscribed - other times, I post a question, and it doesn't appear for hours and hours, and even then nobody responds sometimes. With the high traffic on the list, it seems a lot of questions get lost. Is there another Flex list I can try instead? If this is too OT, feel free to respond offlist. How do I access the sprite/movieClip instance (not sure which it is, since this is in the image class) of an image loaded into image tag and then pass that to an actionscript method? Basically, I have a repeater that loads dynamic images (based on XML data) into an mx:Image tag. That works fine. I also have a Reflection class (currently porting it from AS 2.0 to 3.0) which applys a reflection effect to a movie clip's bitmap data, which also works fine in plain old Flash. However in Flex, I know how to import the class, but not how to tie the rendering of the different dynamic images in my MXML with the Reflection class. I read the help docs on mx.controls.image, and it seems like the image might be loaded into a sprite instance, but how to I send that sprite instance to my actionscript method right after the image loads? Any ideas? Also, in general, how to do you access sprites or movie clips on the stage created with MXML from Actionscript? Thanks. Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
So as I understand no way to determine that video is finished with NetStream object? 2007/1/18, Karina Steffens [EMAIL PROTECTED]: Sorry, it's bee a while since I wrote that script, so I forgot to mention that movie_flv in my code is an AS2 Video Playback component that has the movie attached to it instead of a simple movie clip. It's located in the components panel. You might want to try theVideo.playheadTime instead, but if that doesn't work, you could try using this component instead. Or better yet, if you're using Flash 8, try the new video component that Muzak mentioned (Flv Playback) which has a complete event. PS: I just saw Helen's post - that's definitely worth a try. Karina -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 13:35 To: Flashcoders mailing list Subject: Re: [Flashcoders] how to know that thae video is finished? Sorry, maybe I do something wrong but I can not get PlayHead Time var movie_flv:mx.controls.MediaDisplay; var nc:NetConnection=new NetConnection(); nc.connect(null); var ns:NetStream=new NetStream(nc); ns.setBufferTime(3); ns.onStatus=function(info){ if (info.code==NetStream.Buffer.Full ){ bufferClip._visible=false; } if (info.code==NetStream.BufferEmpty){ bufferClip._visible=true; } if (info.code==NetStream.Play.Stop){ //this place not always works. So for some video //it just stops at the end. I want it goes to the //start position and paused. ns.seek(0); } } theVideo.attachVideo(ns); ns.play(video/shoeshdmaster_vp6520.flv); var videoInterval=setInterval(videoStatus,10); ns[onMetaData]=function(obj){ duration=obj.duration; } function videoStatus(){ trace(movie_flv.playheadTime) //show undefined } 2007/1/18, Muzak [EMAIL PROTECTED]: Flash 8 has a new (and improved) Video component mx.controls.MediaDisplay no longer exists in Flash 8 and is replaced with mx.video.FLVPlayback http://livedocs.macromedia.com/flash/8/main/3477.html FLVPlayback component has a complete event: http://livedocs.macromedia.com/flash/8/main/3537.html regards, Muzak - Original Message - From: Karina Steffens [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 1:23 PM Subject: RE: [Flashcoders] how to know that thae video is finished? Isn't it amazing that Adobe/MM never bothered setting up a simple onStopMovie event?... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
Does ns.time trace something close to duration, just not exactly equal at the end? If so, just check for = duration - somesmallamount (maybe to do with the buffer size) instead of ==. Is this a progressive or streamed flv, btw? I dug up this old flashcomm post from Brandon Krakowsky in case it's any use: I noticed that as well. I've never had good luck with NetStream.Play.Stop. I think part of the problem is that some FLVs never get to the very end of the file - maybe .5 seconds before the end. The other part of the problem might be the encoder you're using. Flash 8 Encoder vs. Riva vs. Flix. I avoid the whole thing by monitoring the playhead inside of a setInterval or onEnterFrame, and comparing it to the totalTime. This way, I never have to worry about those objects not firing. Once again, I DO run into the problem where the playhead doesn't get all the way to the end, so tend to look for the playhead to be .5 seconds from the end, or more. Seems to do the trick everytime. Of course, if you can, make sure the videos have a little extra something at the end so they don't get cut off. Helen natalia Vikhtinskaya wrote: So as I understand no way to determine that video is finished with NetStream object? 2007/1/18, Karina Steffens [EMAIL PROTECTED]: Sorry, it's bee a while since I wrote that script, so I forgot to mention that movie_flv in my code is an AS2 Video Playback component that has the movie attached to it instead of a simple movie clip. It's located in the components panel. You might want to try theVideo.playheadTime instead, but if that doesn't work, you could try using this component instead. Or better yet, if you're using Flash 8, try the new video component that Muzak mentioned (Flv Playback) which has a complete event. PS: I just saw Helen's post - that's definitely worth a try. Karina ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS2 best practice question - attachMovie or static create method
My preference is actually: e) Don't extend Movie Clip. :) Basically, I prefer to have a class encapsulate a movie clip. Either have the constructor take a reference to an empty movie clip for it to use as its UI area, or have it take in a reference to the MC that should be its parent and have it create its own empty movie clip. The reason I like this is that when you're extending a movie clip a lot of times you may want to restrict some of the interaction with it (to keep internal state valid, etc). You don't necessarily want someone (or even you, accidentally) playing with the MC itself, but have your class completely manage it. By encapsulating it inside another class instead of simply extending it I feel it's a bit cleaner. But that's just me, and some claim I'm crazy. :) -Andy On 1/17/07, Matthias Dittgen [EMAIL PROTECTED] wrote: Hello, beside the many AS3 questions, IMHO most of the current real-world projects are still based on FlashPlayer 7 and 8 and thus on AS2, because of the player penetration. This was probably asked before, but I want to know which workflow works best for you guys: Do you prefer a) the attachMovie method b) the use of a static create method c) a GUI toolkit like ASWING and extend from JComponent d) some other workflow Here's a class to illustrate (a) and (b): /** * SomeMovieClip */ import net.lizu.* class net.lizu.SomeMovieClip extends MovieClip { // register class public static var SymbolName:String = __Packages.net.lizu.SomeMovieClip; public static var SymbolOwner:Function = SomeMovieClip; public static var SymbolLinked = Object.registerClass(SymbolName,SymbolOwner); public var _some:String; // constructor public function SomeMovieClip() { } // alternative to attachMovie call public static function create(target:MovieClip, name:String, initObject:Object):SomeMovieClip { return SomeMovieClip(target.attachMovie(SomeMovieClip.SymbolName, name, target.getNextHighestDepth(), initObject)); } // entrypoint static function main() { _root.attachMovie(SomeMovieClip.SymbolName,clipId1,_root.getNextHighestDepth(), {_x: 30, _some: Hello 1}); SomeMovieClip.create(_root, clipId2, {_x: 30, _some: Hello 2}); } } And is there a way to automate the writing of SymbolName,SymbolLinked and create for all my classes which extend MovieClip? Thanks, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
yes very close When the video is finished ns.time=228.528 and duration=228.66; So ns.time=duration-0.5 give me good result. I don't know how flv was created. So this way allow me to find what I need. Thank you very much. 2007/1/18, Helen Triolo [EMAIL PROTECTED]: Does ns.time trace something close to duration, just not exactly equal at the end? If so, just check for = duration - somesmallamount (maybe to do with the buffer size) instead of ==. Is this a progressive or streamed flv, btw? I dug up this old flashcomm post from Brandon Krakowsky in case it's any use: I noticed that as well. I've never had good luck with NetStream.Play.Stop. I think part of the problem is that some FLVs never get to the very end of the file - maybe .5 seconds before the end. The other part of the problem might be the encoder you're using. Flash 8 Encoder vs. Riva vs. Flix. I avoid the whole thing by monitoring the playhead inside of a setInterval or onEnterFrame, and comparing it to the totalTime. This way, I never have to worry about those objects not firing. Once again, I DO run into the problem where the playhead doesn't get all the way to the end, so tend to look for the playhead to be .5 seconds from the end, or more. Seems to do the trick everytime. Of course, if you can, make sure the videos have a little extra something at the end so they don't get cut off. Helen natalia Vikhtinskaya wrote: So as I understand no way to determine that video is finished with NetStream object? 2007/1/18, Karina Steffens [EMAIL PROTECTED]: Sorry, it's bee a while since I wrote that script, so I forgot to mention that movie_flv in my code is an AS2 Video Playback component that has the movie attached to it instead of a simple movie clip. It's located in the components panel. You might want to try theVideo.playheadTime instead, but if that doesn't work, you could try using this component instead. Or better yet, if you're using Flash 8, try the new video component that Muzak mentioned (Flv Playback) which has a complete event. PS: I just saw Helen's post - that's definitely worth a try. Karina ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS2 best practice question - attachMovie or static create method
On 1/17/07, Matthias Dittgen [EMAIL PROTECTED] wrote: And is there a way to automate the writing of SymbolName,SymbolLinked and create for all my classes which extend MovieClip? Personally, I use b) (for clips which aren't in the library). There's no way to automate the writing of symbolName etc. (unless you start looking at preprocessors), but you can get rid of symbolName etc. completely to make life easier. For example: class com.mycompany.MyClip extends MovieClip { public static function create(parent:MovieClip,initObj:Object,depth:Number,inst:String):MyClip { return MyClip(ClipUtils.createCodeClip(com.mycompany ,MyClip,parent,initObj,depth,inst)); } } where ClipUtils looks like this: class ClipUtils { public static function createCodeClip(classPath:String,parent:MovieClip,initObj:Object,depth:Number,inst:String):MovieClip { if (depth===undefined) depth=parent.getNextHighestDepth(); if (inst===undefined) inst=inst+depth; var constructor:Function=getConstructorFromPath(classPath); Object.registerClass(__Packages.+classPath,constructor); return parent.attachMovie (__Packages.+classPath,inst,depth,initObj); } public static function getConstructorFromPath(classPath:String):Function { var arr:Array=classPath.split(.); var obj:Object=_global; for(var i:Number=0;iarr.length;i++) { obj=obj[arr[i]]; } return Function(obj); } } In case it's not clear, you can then write: var clip:MyClip=MyClip.create(parentMovie); and everything else will default to something appropriate. Hope that makes sense, Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS2 best practice question - attachMovie or static create method
*sigh* The line: return MyClip(ClipUtils.createCodeClip( com.mycompany ,MyClip,parent,initObj,depth,inst)); should of course have read: return MyClip(ClipUtils.createCodeClip(com.mycompany.MyClip ,parent,initObj,depth,inst)); Sorry! Ian On 1/18/07, Ian Thomas [EMAIL PROTECTED] wrote: On 1/17/07, Matthias Dittgen [EMAIL PROTECTED] wrote: And is there a way to automate the writing of SymbolName,SymbolLinked and create for all my classes which extend MovieClip? Personally, I use b) (for clips which aren't in the library). There's no way to automate the writing of symbolName etc. (unless you start looking at preprocessors), but you can get rid of symbolName etc. completely to make life easier. For example: class com.mycompany.MyClip extends MovieClip { public static function create(parent:MovieClip,initObj:Object,depth:Number,inst:String):MyClip { return MyClip(ClipUtils.createCodeClip( com.mycompany ,MyClip,parent,initObj,depth,inst)); } } where ClipUtils looks like this: class ClipUtils { public static function createCodeClip(classPath:String,parent:MovieClip,initObj:Object,depth:Number,inst:String):MovieClip { if (depth===undefined) depth=parent.getNextHighestDepth(); if (inst===undefined) inst=inst+depth; var constructor:Function=getConstructorFromPath(classPath); Object.registerClass(__Packages.+classPath,constructor); return parent.attachMovie (__Packages.+classPath,inst,depth,initObj); } public static function getConstructorFromPath(classPath:String):Function { var arr:Array=classPath.split(.); var obj:Object=_global; for(var i:Number=0;iarr.length;i++) { obj=obj[arr[i]]; } return Function(obj); } } In case it's not clear, you can then write: var clip:MyClip=MyClip.create(parentMovie); and everything else will default to something appropriate. Hope that makes sense, Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
I think the onComplete is only available via FMS, i think. There are a bunch of threads in the archives about this scenario but they can be difficult to find. Brian Lesser has some really good information on his site: http://echo.ryerson.ca/textPublisher/index.html /** * This function is assigned to the playing stream onStatus in place * of the default onStatus handler above. * It writes all info.code messages to the text window as well * but also detects when the stream ends and * changes the button back to Play and closes the stream. * A stream has ended when two things happen in order: * 1. NetStream.Play.Stop, followed by * 2. NetStream.Buffer.Empty */ NetStreamPlay_onStatus = function(info){ writeln(NetStream.onStatus info.code: + info.code); if (info.code == NetStream.Play.Stop){ this.seenStop = true; } else if (info.code == NetStream.Buffer.Empty this.seenStop){ this.close(); play_btn.setLabel(Play); publish_btn.setEnabled(true); this.seenStop = false; } else if (info.code == NetStream.Play.Start){ this.seenStop = false; } } Hank Williams takes a different approach: http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2005-February/131759.html if you have set a buffer for the video, the first approach doesn't always seem to work. Dunc On 1/18/07, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: yes very close When the video is finished ns.time=228.528 and duration=228.66; So ns.time=duration-0.5 give me good result. I don't know how flv was created. So this way allow me to find what I need. Thank you very much. 2007/1/18, Helen Triolo [EMAIL PROTECTED]: Does ns.time trace something close to duration, just not exactly equal at the end? If so, just check for = duration - somesmallamount (maybe to do with the buffer size) instead of ==. Is this a progressive or streamed flv, btw? I dug up this old flashcomm post from Brandon Krakowsky in case it's any use: I noticed that as well. I've never had good luck with NetStream.Play.Stop. I think part of the problem is that some FLVs never get to the very end of the file - maybe .5 seconds before the end. The other part of the problem might be the encoder you're using. Flash 8 Encoder vs. Riva vs. Flix. I avoid the whole thing by monitoring the playhead inside of a setInterval or onEnterFrame, and comparing it to the totalTime. This way, I never have to worry about those objects not firing. Once again, I DO run into the problem where the playhead doesn't get all the way to the end, so tend to look for the playhead to be .5 seconds from the end, or more. Seems to do the trick everytime. Of course, if you can, make sure the videos have a little extra something at the end so they don't get cut off. Helen natalia Vikhtinskaya wrote: So as I understand no way to determine that video is finished with NetStream object? 2007/1/18, Karina Steffens [EMAIL PROTECTED]: Sorry, it's bee a while since I wrote that script, so I forgot to mention that movie_flv in my code is an AS2 Video Playback component that has the movie attached to it instead of a simple movie clip. It's located in the components panel. You might want to try theVideo.playheadTimeinstead, but if that doesn't work, you could try using this component instead. Or better yet, if you're using Flash 8, try the new video component that Muzak mentioned (Flv Playback) which has a complete event. PS: I just saw Helen's post - that's definitely worth a try. Karina ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
Hi, ns.time returns only timestamps of actual tags in a FLV, which means it will never return the duration but only the timestamp of the last tag: http://www.asvguy.com/2005/03/position_of_the.html Best regards, Burak www.asvguy.com Burak KALAYCI, Manitu Group http://www.buraks.com http://www.manitugroup.com - Original Message - From: Helen Triolo [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 4:51 PM Subject: Re: [Flashcoders] how to know that thae video is finished? Does ns.time trace something close to duration, just not exactly equal at the end? If so, just check for = duration - somesmallamount (maybe to do with the buffer size) instead of ==. Is this a progressive or streamed flv, btw? I dug up this old flashcomm post from Brandon Krakowsky in case it's any use: I noticed that as well. I've never had good luck with NetStream.Play.Stop. I think part of the problem is that some FLVs never get to the very end of the file - maybe .5 seconds before the end. The other part of the problem might be the encoder you're using. Flash 8 Encoder vs. Riva vs. Flix. I avoid the whole thing by monitoring the playhead inside of a setInterval or onEnterFrame, and comparing it to the totalTime. This way, I never have to worry about those objects not firing. Once again, I DO run into the problem where the playhead doesn't get all the way to the end, so tend to look for the playhead to be .5 seconds from the end, or more. Seems to do the trick everytime. Of course, if you can, make sure the videos have a little extra something at the end so they don't get cut off. Helen natalia Vikhtinskaya wrote: So as I understand no way to determine that video is finished with NetStream object? ___ 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] Eclipse and CVS
hi. i'm having a problem with CVS in Eclipse. when i choose a project and 'tag as version', i can see it in my versions folder. the problem is that other members of my team cannot. we use the same connection type, our own usernames and passwords, the same host, and the same repository paths. anyone else experience something like this? any tips are greatly appreciated. thank you. matt. ___ 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] Specifying contentPath for FLVPlayer
Realized this should have its own thread instead of hijacking natalia's: I can't get the FLVPlayback component to display the streamed videos that are working fine with the MediaPlayback component. For the latter, I use setMedia(rtmp:/LT/myfile.flv) but there is no setMedia command for FLVPlayback, only contentPath, and setting it to the above doesn't work, nor did setting contentPath = rtmp://server address/LT/myfile.flv or rtmp://server address/LT/stream/_definst_/myfile.flv -- the video never shows up. Any suggestions? Helen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] GlowFilter and masks
I think I had luck fixing this by setting the mask through code, rather than in the timeline. -Scott On 1/18/07, Niclas Åberg [EMAIL PROTECTED] wrote: Hi, I want to use the GlowFilter on a movie clip containing a mask. However, when I apply it he filter behaves very weirdly and crops the mask out of the clip. It works fine for move clips without masks inside them. Does anyone know what I'm talking about, and know of a workaround or a custom class that would produce the same result as the GlowFilter? Cheers, Niclas ___ 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 -- : : ) Scott ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
All these codes work well if ns.onStatus==NetStream.Play.Start. But I have example of video that plays and has the end but never show this status. I checked and for example function endOfVideoDetector always give me false even if the video is over. So only withinNSecondsOfEnd work correctly. 2007/1/18, Burak KALAYCI [EMAIL PROTECTED]: Hi, ns.time returns only timestamps of actual tags in a FLV, which means it will never return the duration but only the timestamp of the last tag: http://www.asvguy.com/2005/03/position_of_the.html Best regards, Burak www.asvguy.com Burak KALAYCI, Manitu Group http://www.buraks.com http://www.manitugroup.com - Original Message - From: Helen Triolo [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 4:51 PM Subject: Re: [Flashcoders] how to know that thae video is finished? Does ns.time trace something close to duration, just not exactly equal at the end? If so, just check for = duration - somesmallamount (maybe to do with the buffer size) instead of ==. Is this a progressive or streamed flv, btw? I dug up this old flashcomm post from Brandon Krakowsky in case it's any use: I noticed that as well. I've never had good luck with NetStream.Play.Stop. I think part of the problem is that some FLVs never get to the very end of the file - maybe .5 seconds before the end. The other part of the problem might be the encoder you're using. Flash 8 Encoder vs. Riva vs. Flix. I avoid the whole thing by monitoring the playhead inside of a setInterval or onEnterFrame, and comparing it to the totalTime. This way, I never have to worry about those objects not firing. Once again, I DO run into the problem where the playhead doesn't get all the way to the end, so tend to look for the playhead to be .5 seconds from the end, or more. Seems to do the trick everytime. Of course, if you can, make sure the videos have a little extra something at the end so they don't get cut off. Helen natalia Vikhtinskaya wrote: So as I understand no way to determine that video is finished with NetStream object? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
Whatever works for you is good. My point was this: Instead of duration, you can compare ns.time to the exact timestamp of the last tag (Of course you need to have that value first). Best regards, Burak www.asvguy.com - Original Message - From: natalia Vikhtinskaya [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 6:21 PM Subject: Re: [Flashcoders] how to know that thae video is finished? All these codes work well if ns.onStatus==NetStream.Play.Start. But I have example of video that plays and has the end but never show this status. I checked and for example function endOfVideoDetector always give me false even if the video is over. So only withinNSecondsOfEnd work correctly. 2007/1/18, Burak KALAYCI [EMAIL PROTECTED]: Hi, ns.time returns only timestamps of actual tags in a FLV, which means it will never return the duration but only the timestamp of the last tag: http://www.asvguy.com/2005/03/position_of_the.html Best regards, Burak www.asvguy.com Burak KALAYCI, Manitu Group http://www.buraks.com http://www.manitugroup.com - Original Message - From: Helen Triolo [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 4:51 PM Subject: Re: [Flashcoders] how to know that thae video is finished? Does ns.time trace something close to duration, just not exactly equal at the end? If so, just check for = duration - somesmallamount (maybe to do with the buffer size) instead of ==. Is this a progressive or streamed flv, btw? ___ 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] Deploying Standalone Apps with Flex2
With the Flash IDE, one can publish a standalone projector - native executable. This seems to me to just be the standalone player with a SWF file embedded in it. Does anyone know how one would accomplish the same thing with Flex? Can this be done from the Flex IDE or is there a special tool? Also, is there a way to configure Flex to run builds in the standalone player rather than launching the default web browser? Thanks, August -- - August Gresens Technical Director Black Hammer Productions, NYC [EMAIL PROTECTED] - ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Deploying Standalone Apps with Flex2
On Jan 18, 2007, at 12:04 PM, August Gresens wrote: Does anyone know how one would accomplish the same thing with Flex? Can this be done from the Flex IDE or is there a special tool? Zinc can create executables from Flex swfs. Not sure what other tools do. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Specifying contentPath for FLVPlayer
Helen, have you set the FlvPlayback to autoPlay, or told it to play manually? I'm looking at the docs and there seem to be a few ways to load the videos: my_FLVPlybk.contentPath = rtmp://my_servername/my_application/stream.flv; my_FLVplybk.load(contentPath:String[, totalTime:Number, isLive:Boolean]) my_FLVplybk.play ([contentPath:String, totalTime:Number, isLive:Boolean]) Mind you, I haven't tried any yet... Karina -Original Message- From: Helen Triolo [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 15:46 To: Flashcoders Mailing List Subject: [Flashcoders] Specifying contentPath for FLVPlayer Realized this should have its own thread instead of hijacking natalia's: I can't get the FLVPlayback component to display the streamed videos that are working fine with the MediaPlayback component. For the latter, I use setMedia(rtmp:/LT/myfile.flv) but there is no setMedia command for FLVPlayback, only contentPath, and setting it to the above doesn't work, nor did setting contentPath = rtmp://server address/LT/myfile.flv or rtmp://server address/LT/stream/_definst_/myfile.flv -- the video never shows up. Any suggestions? Helen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Deploying Standalone Apps with Flex2
In the player folder of your Flex install there is a stand-alone Flash player, which can create projectors (File|Create Projector). And there are some more options including Zinc and Screenweaver HX. Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Deploying Standalone Apps with Flex2
Just like the Flash Players before 9, you can create a standalone projector EXE using the Flash standalone player. Double-click your SWF file. When it opens in the standalone player, click File Create Projector... Then select the name and location to where you want to save the EXE file. The standalone player is the debug version. Afaik, Adobe has not released a non-debug standalone player 9 yet. To open the SWF in the standalone player, in Flex Builder 2 open the Properties for your project (right-click on the project folder and click Properties, or choose Project Properties from the root menu). Click on the ActionScript Compiler leaf and de-select the checkbox Generate HTML wrapper file. Click OK. You'll get a warning that all files in the html-template directory will be deleted, just say yes. Any HTML (and associated) files in the bin directory will remain. To clear them out as well, click Project Clean... Derek Vadneau - Original Message - From: August Gresens [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 12:04 PM Subject: [Flashcoders] Deploying Standalone Apps with Flex2 With the Flash IDE, one can publish a standalone projector - native executable. This seems to me to just be the standalone player with a SWF file embedded in it. Does anyone know how one would accomplish the same thing with Flex? Can this be done from the Flex IDE or is there a special tool? Also, is there a way to configure Flex to run builds in the standalone player rather than launching the default web browser? Thanks, August ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Deploying Standalone Apps with Flex2
That's it! Thanks, August On 1/18/07, Rákos Attila [EMAIL PROTECTED] wrote: In the player folder of your Flex install there is a stand-alone Flash player, which can create projectors (File|Create Projector). And there are some more options including Zinc and Screenweaver HX. Attila ___ 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 -- - August Gresens Technical Director Black Hammer Productions, NYC [EMAIL PROTECTED] - ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Deploying Standalone Apps with Flex2
Thanks again, just what I was looking for.. AG On 1/18/07, Derek Vadneau [EMAIL PROTECTED] wrote: Just like the Flash Players before 9, you can create a standalone projector EXE using the Flash standalone player. Double-click your SWF file. When it opens in the standalone player, click File Create Projector... Then select the name and location to where you want to save the EXE file. The standalone player is the debug version. Afaik, Adobe has not released a non-debug standalone player 9 yet. To open the SWF in the standalone player, in Flex Builder 2 open the Properties for your project (right-click on the project folder and click Properties, or choose Project Properties from the root menu). Click on the ActionScript Compiler leaf and de-select the checkbox Generate HTML wrapper file. Click OK. You'll get a warning that all files in the html-template directory will be deleted, just say yes. Any HTML (and associated) files in the bin directory will remain. To clear them out as well, click Project Clean... Derek Vadneau - Original Message - From: August Gresens [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 12:04 PM Subject: [Flashcoders] Deploying Standalone Apps with Flex2 With the Flash IDE, one can publish a standalone projector - native executable. This seems to me to just be the standalone player with a SWF file embedded in it. Does anyone know how one would accomplish the same thing with Flex? Can this be done from the Flex IDE or is there a special tool? Also, is there a way to configure Flex to run builds in the standalone player rather than launching the default web browser? Thanks, August ___ 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 -- - August Gresens Technical Director Black Hammer Productions, NYC [EMAIL PROTECTED] - ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Specifying contentPath for FLVPlayer
Hi Karina, Thanks for the suggestions. I saw those different options and can't even get the video to show up (let alone play or pause). I just don't know what the right contentPath could be. This is my simplest test case, with input textfield filepath, movieclip go, FLVPlayback component flvplayer, and dynamic textfield msg: go.onRelease = function() { flvplayer.play(filepath.text); msg.text = 'Trying to play ' + filepath.text + ' in ' + flvplayer; } No matter what I type into filepath, I can't get a video showing up in flvplayer. But I could get it to play in MediaPlayback with setMedia(rtmp:/LT/myfile.flv) (because the webserver and FCS are on the same machine, so no absolute path to fcs necessary). I think it must be some very simple thing, but I can't find the right contentPath to make it work. Helen Karina Steffens wrote: Helen, have you set the FlvPlayback to autoPlay, or told it to play manually? I'm looking at the docs and there seem to be a few ways to load the videos: my_FLVPlybk.contentPath = rtmp://my_servername/my_application/stream.flv; my_FLVplybk.load(contentPath:String[, totalTime:Number, isLive:Boolean]) my_FLVplybk.play ([contentPath:String, totalTime:Number, isLive:Boolean]) Mind you, I haven't tried any yet... Karina -Original Message- From: Helen Triolo [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 15:46 To: Flashcoders Mailing List Subject: [Flashcoders] Specifying contentPath for FLVPlayer Realized this should have its own thread instead of hijacking natalia's: I can't get the FLVPlayback component to display the streamed videos that are working fine with the MediaPlayback component. For the latter, I use setMedia(rtmp:/LT/myfile.flv) but there is no setMedia command for FLVPlayback, only contentPath, and setting it to the above doesn't work, nor did setting contentPath = rtmp://server address/LT/myfile.flv or rtmp://server address/LT/stream/_definst_/myfile.flv -- the video never shows up. Any suggestions? Helen ___ 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] Q;3D vector based site...how done?
Ok, don't normally go 'oh' when seeing flash sites, but I like the novel way that vector graphics have been used within a 3d environment. This is great stuff...can anyone tell me how? Is there a 3d rendering engine behind everything? http://lab.mathieu-badimon.com/ [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q;3D vector based site...how done?
Hello :) i don't know the 3D engine used in this application but 1 - you can try to test the openSource 3D framework Sandy for example : http://www.flashsandy.org/ 2 - You can search in the robertpenner web site (3D example) : http://robertpenner.com/index2.html 3 - You can search in the lab of Andre Mitchelle : http://lab.andre-michelle.com/ All example can explain you how this web site is do. EKA+ :) 2007/1/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: Ok, don't normally go 'oh' when seeing flash sites, but I like the novel way that vector graphics have been used within a 3d environment. This is great stuff...can anyone tell me how? Is there a 3d rendering engine behind everything? http://lab.mathieu-badimon.com/ [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q;3D vector based site...how done?
On 1/18/07, eka [EMAIL PROTECTED] wrote: 1 - you can try to test the openSource 3D framework Sandy for example : http://www.flashsandy.org/ 2 - You can search in the robertpenner web site (3D example) : http://robertpenner.com/index2.html 3 - You can search in the lab of Andre Mitchelle : http://lab.andre-michelle.com/ right but don't forget the (imho) best one http://blog.noventaynueve.com/papervision ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q;3D vector based site...how done?
Hello :) The warped text used the technik of Peter Hall ( http://www.peterjoel.com/blog/) with this tools to creates fx on a movieclip draw api :) EKA+ :) 2007/1/18, eka [EMAIL PROTECTED]: Hello :) i don't know the 3D engine used in this application but 1 - you can try to test the openSource 3D framework Sandy for example : http://www.flashsandy.org/ 2 - You can search in the robertpenner web site (3D example) : http://robertpenner.com/index2.html 3 - You can search in the lab of Andre Mitchelle : http://lab.andre-michelle.com/ All example can explain you how this web site is do. EKA+ :) 2007/1/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: Ok, don't normally go 'oh' when seeing flash sites, but I like the novel way that vector graphics have been used within a 3d environment. This is great stuff...can anyone tell me how? Is there a 3d rendering engine behind everything? http://lab.mathieu-badimon.com/ [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q;3D vector based site...how done?
Hello :) the best ? it's a very good project yes but the best ? ;) For the moment this framework is in a private beta... for me an openSource library must be public between the version 0 and the final version ;) For the moment i have not read the scripts... i prefere wait to speak about this library :) PS : sorry for my english... ;) EKA+ :) 2007/1/18, eka [EMAIL PROTECTED]: Hello :) The warped text used the technik of Peter Hall ( http://www.peterjoel.com/blog/) with this tools to creates fx on a movieclip draw api :) EKA+ :) 2007/1/18, eka [EMAIL PROTECTED]: Hello :) i don't know the 3D engine used in this application but 1 - you can try to test the openSource 3D framework Sandy for example : http://www.flashsandy.org/ 2 - You can search in the robertpenner web site (3D example) : http://robertpenner.com/index2.html 3 - You can search in the lab of Andre Mitchelle : http://lab.andre-michelle.com/ All example can explain you how this web site is do. EKA+ :) 2007/1/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: Ok, don't normally go 'oh' when seeing flash sites, but I like the novel way that vector graphics have been used within a 3d environment. This is great stuff...can anyone tell me how? Is there a 3d rendering engine behind everything? http://lab.mathieu-badimon.com/ [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q;3D vector based site...how done?
On 1/18/07, eka [EMAIL PROTECTED] wrote: the best ? it's a very good project yes but the best ? ;) didn't want to offend anybody :) For the moment this framework is in a private beta... for me an openSource library must be public between the version 0 and the final version ;) For the moment i have not read the scripts... i prefere wait to speak about this library :) man :) here it is! http://svn1.cvsdude.com/osflash/papervision3d/ ___ 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: FLVPLAYBACK COMPONENT
I had a problem like this recently Try without the .flv part... you may not need the extension when using Flash Media Server also check this: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15catid=578threadid=1228512enterthread=y and this: http://livedocs.macromedia.com/flash/8/main/3495.html QUOTE: I recently went through this difficulty with Flash Media Server 2 (not the earlier FCS), in order to get the FLV Playback component to stream videos using FMS2 from another folder not under the default applications folder, you'll need to map a virtual directory by altering vHost.xml kept in this location: Flash Media Server 2/conf/_defaultRoot_/_defaultVHost_/vHost.xml In vHost.xml there is a tag VirtualDirectory and under that Streams. When you add a virtual directory to FMS2 you should add to the streams tag something like this: VirtualDirectory Streamsbar;C:\streams/Streams VirtualDirectory Then you'll need to add a folder under the default applications directory of FMS (or whatever custom applications directory you're using) with whatever name you choose (say for example foo), then make sure you place the main.asc for the FLVPlayback component which ships with Flash 8 in this new folder, you can find this main.asc file in the location given in the doc above. No streams should go in this foo folder, and no extra subfolders are needed here, but your streams (in this example) should be located at c:\streams Then when playing back a .flv (called, for example yourVid.flv) using the FLVPlayback component, the contentPath should be something like this: rtmp://localhost/foo/bar/yourVid.flv FMS connects first to localhost (or whatever IP the streaming server is located), then checks the app name foo,finding it, it then looks for a virtual mapping, if any, in this case bar, then finding the path mapped out in the vHost.xml to C:\streams it gets the flv file yourVid.flv from the folder c:\streams. END QUOTE YOU WROTE: I can't get the FLVPlayback component to display the streamed videos that are working fine with the MediaPlayback component. For the latter, I use setMedia(rtmp:/LT/myfile.flv) but there is no setMedia command for FLVPlayback, only contentPath, and setting it to the above doesn't work, nor did setting contentPath = rtmp://server address/LT/myfile.flv or rtmp://server address/LT/stream/_definst_/myfile.flv -- the video never shows up. Any suggestions? Helen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished? usingFLVPlayback
Heya Helen, You're correct, they're still there ;-) I was looking in the Classes directory for the as files themselves, without checking the components panel in the Flash IDE so assumed mx.controls.MediaDisplay was replaced by the FLVPlayback. Have you tried setting the isLive property to true before setting the contentPath? Also make sure to install the FLVPlayback update as it fixes some issues with streaming FLV's from FMS. http://www.adobe.com/support/flash/downloads.html http://download.macromedia.com/pub/flash/updates/flvplayback/flvplayback_1_0_1.zip technote (mostly goes on about SMIL though): http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=3acdb2ff And one last thing, try leaving off the extension (.flv) when streaming from FMS. Haven't done anything with streaming video in a long time, so not sure about that one.. regards, Muzak - Original Message - From: Helen Triolo [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 2:12 PM Subject: Re: [Flashcoders] how to know that thae video is finished? usingFLVPlayback The MediaPlayback components do still exist -- they're just listed in the Flash 6-7 folder in the components window. I wanted to use FLVPlayback for a recent video project but I can't get it to display the streamed videos that are working fine with the MediaPlayback component. For the latter, I use setMedia(rtmp:/LT/myfile.flv) but there is no setMedia command for FLVPlayback, only contentPath, and setting it to the above doesn't work, nor did setting contentPath = rtmp://server address/LT/myfile.flv or rtmp://server address/LT/stream/_definst_/myfile.flv -- any suggestions? Helen Muzak wrote: Flash 8 has a new (and improved) Video component mx.controls.MediaDisplay no longer exists in Flash 8 and is replaced with mx.video.FLVPlayback http://livedocs.macromedia.com/flash/8/main/3477.html FLVPlayback component has a complete event: http://livedocs.macromedia.com/flash/8/main/3537.html regards, Muzak - Original Message - From: Karina Steffens [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 1:23 PM Subject: RE: [Flashcoders] how to know that thae video is finished? Isn't it amazing that Adobe/MM never bothered setting up a simple onStopMovie event?... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Using XRay
John, I spoke too soon. I do still have an Fla where things are not displaying correctly in the .swf. I followed these directions and have the following output: (45) Connections: true | true (78) Connections: false | false Things only look correct when I do not 'export to first frame' (instance in library). Of course, the connection doesn't work, though! I'm guessing the following is generated in your code, as I don't see it in your class package?: _global.com.blitzagency.xray.Xray -Scott On 1/16/07, John Grden [EMAIL PROTECTED] wrote: ifyou get true|true, that means the logger and controller LC connections were made successfully. Are you using it in an FLA by chance? If so, find Xray in the library, right click and choose linkageID - don't have hit export in first frame. Then, if it's not on stage, put it on stage. Then, in frame one, use: _global.com.blitzagency.xray.Xray.initConnections(); That might do it. On 1/16/07, slangeberg [EMAIL PROTECTED] wrote: So, anyone ever see the XRay Connector component kill their app? I get the following message, but nothing else: (75) Connections: true | true This application is a bit complex, loads external swf modules and associates classes with those. Thanks, -Scott On 9/28/06, John Grden [EMAIL PROTECTED] wrote: all downloads: http://www.osflash.org/xray#downloads Latest interface: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw Connector: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw Just doubleclick to install the mxp, then you'll see xray in your components panel. You can drag it into your library and leave it or put it on stage for a quick/dirty FPS meter hth, jpg On 9/28/06, slangeberg [EMAIL PROTECTED] wrote: I've seen lots of people posting about XRay lately, but I haven't had luck with it, yet. I do have the executable running, but I don't have the Connector to the Flash IDE. Can anyone post a link to download that? I have not been able to find it! : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Using XRay
ok, now add this to your timeline/class : _global.com.blitzagency.xray.Xray.initConnections(); this will init the connections and you should be up and running On 1/18/07, slangeberg [EMAIL PROTECTED] wrote: John, I spoke too soon. I do still have an Fla where things are not displaying correctly in the .swf. I followed these directions and have the following output: (45) Connections: true | true (78) Connections: false | false Things only look correct when I do not 'export to first frame' (instance in library). Of course, the connection doesn't work, though! I'm guessing the following is generated in your code, as I don't see it in your class package?: _global.com.blitzagency.xray.Xray -Scott On 1/16/07, John Grden [EMAIL PROTECTED] wrote: ifyou get true|true, that means the logger and controller LC connections were made successfully. Are you using it in an FLA by chance? If so, find Xray in the library, right click and choose linkageID - don't have hit export in first frame. Then, if it's not on stage, put it on stage. Then, in frame one, use: _global.com.blitzagency.xray.Xray.initConnections(); That might do it. On 1/16/07, slangeberg [EMAIL PROTECTED] wrote: So, anyone ever see the XRay Connector component kill their app? I get the following message, but nothing else: (75) Connections: true | true This application is a bit complex, loads external swf modules and associates classes with those. Thanks, -Scott On 9/28/06, John Grden [EMAIL PROTECTED] wrote: all downloads: http://www.osflash.org/xray#downloads Latest interface: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw Connector: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw Just doubleclick to install the mxp, then you'll see xray in your components panel. You can drag it into your library and leave it or put it on stage for a quick/dirty FPS meter hth, jpg On 9/28/06, slangeberg [EMAIL PROTECTED] wrote: I've seen lots of people posting about XRay lately, but I haven't had luck with it, yet. I do have the executable running, but I don't have the Connector to the Flash IDE. Can anyone post a link to download that? I have not been able to find it! : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ 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 -- [ JPG ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Using XRay
Now it's printing (still not publishing correctly): (39) Connections: true | true (71) Connections: false | false -Scott On 1/18/07, John Grden [EMAIL PROTECTED] wrote: ok, now add this to your timeline/class : _global.com.blitzagency.xray.Xray.initConnections(); this will init the connections and you should be up and running On 1/18/07, slangeberg [EMAIL PROTECTED] wrote: John, I spoke too soon. I do still have an Fla where things are not displaying correctly in the .swf. I followed these directions and have the following output: (45) Connections: true | true (78) Connections: false | false Things only look correct when I do not 'export to first frame' (instance in library). Of course, the connection doesn't work, though! I'm guessing the following is generated in your code, as I don't see it in your class package?: _global.com.blitzagency.xray.Xray -Scott On 1/16/07, John Grden [EMAIL PROTECTED] wrote: ifyou get true|true, that means the logger and controller LC connections were made successfully. Are you using it in an FLA by chance? If so, find Xray in the library, right click and choose linkageID - don't have hit export in first frame. Then, if it's not on stage, put it on stage. Then, in frame one, use: _global.com.blitzagency.xray.Xray.initConnections(); That might do it. On 1/16/07, slangeberg [EMAIL PROTECTED] wrote: So, anyone ever see the XRay Connector component kill their app? I get the following message, but nothing else: (75) Connections: true | true This application is a bit complex, loads external swf modules and associates classes with those. Thanks, -Scott On 9/28/06, John Grden [EMAIL PROTECTED] wrote: all downloads: http://www.osflash.org/xray#downloads Latest interface: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw Connector: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw Just doubleclick to install the mxp, then you'll see xray in your components panel. You can drag it into your library and leave it or put it on stage for a quick/dirty FPS meter hth, jpg On 9/28/06, slangeberg [EMAIL PROTECTED] wrote: I've seen lots of people posting about XRay lately, but I haven't had luck with it, yet. I do have the executable running, but I don't have the Connector to the Flash IDE. Can anyone post a link to download that? I have not been able to find it! : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ 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 -- [ JPG ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Using XRay
?? 2 x's that's weird. Do you have Xray connector loading 2x's (one in the library, another in an external SWF)? On 1/18/07, slangeberg [EMAIL PROTECTED] wrote: Now it's printing (still not publishing correctly): (39) Connections: true | true (71) Connections: false | false -Scott On 1/18/07, John Grden [EMAIL PROTECTED] wrote: ok, now add this to your timeline/class : _global.com.blitzagency.xray.Xray.initConnections(); this will init the connections and you should be up and running On 1/18/07, slangeberg [EMAIL PROTECTED] wrote: John, I spoke too soon. I do still have an Fla where things are not displaying correctly in the .swf. I followed these directions and have the following output: (45) Connections: true | true (78) Connections: false | false Things only look correct when I do not 'export to first frame' (instance in library). Of course, the connection doesn't work, though! I'm guessing the following is generated in your code, as I don't see it in your class package?: _global.com.blitzagency.xray.Xray -Scott On 1/16/07, John Grden [EMAIL PROTECTED] wrote: ifyou get true|true, that means the logger and controller LC connections were made successfully. Are you using it in an FLA by chance? If so, find Xray in the library, right click and choose linkageID - don't have hit export in first frame. Then, if it's not on stage, put it on stage. Then, in frame one, use: _global.com.blitzagency.xray.Xray.initConnections(); That might do it. On 1/16/07, slangeberg [EMAIL PROTECTED] wrote: So, anyone ever see the XRay Connector component kill their app? I get the following message, but nothing else: (75) Connections: true | true This application is a bit complex, loads external swf modules and associates classes with those. Thanks, -Scott On 9/28/06, John Grden [EMAIL PROTECTED] wrote: all downloads: http://www.osflash.org/xray#downloads Latest interface: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw Connector: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw Just doubleclick to install the mxp, then you'll see xray in your components panel. You can drag it into your library and leave it or put it on stage for a quick/dirty FPS meter hth, jpg On 9/28/06, slangeberg [EMAIL PROTECTED] wrote: I've seen lots of people posting about XRay lately, but I haven't had luck with it, yet. I do have the executable running, but I don't have the Connector to the Flash IDE. Can anyone post a link to download that? I have not been able to find it! : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com --
Re: [Flashcoders] Using XRay
I am loading an external swf, but that one does not contain the Xray connector. -Scott On 1/18/07, John Grden [EMAIL PROTECTED] wrote: ?? 2 x's that's weird. Do you have Xray connector loading 2x's (one in the library, another in an external SWF)? On 1/18/07, slangeberg [EMAIL PROTECTED] wrote: Now it's printing (still not publishing correctly): (39) Connections: true | true (71) Connections: false | false -Scott On 1/18/07, John Grden [EMAIL PROTECTED] wrote: ok, now add this to your timeline/class : _global.com.blitzagency.xray.Xray.initConnections(); this will init the connections and you should be up and running On 1/18/07, slangeberg [EMAIL PROTECTED] wrote: John, I spoke too soon. I do still have an Fla where things are not displaying correctly in the .swf. I followed these directions and have the following output: (45) Connections: true | true (78) Connections: false | false Things only look correct when I do not 'export to first frame' (instance in library). Of course, the connection doesn't work, though! I'm guessing the following is generated in your code, as I don't see it in your class package?: _global.com.blitzagency.xray.Xray -Scott On 1/16/07, John Grden [EMAIL PROTECTED] wrote: ifyou get true|true, that means the logger and controller LC connections were made successfully. Are you using it in an FLA by chance? If so, find Xray in the library, right click and choose linkageID - don't have hit export in first frame. Then, if it's not on stage, put it on stage. Then, in frame one, use: _global.com.blitzagency.xray.Xray.initConnections(); That might do it. On 1/16/07, slangeberg [EMAIL PROTECTED] wrote: So, anyone ever see the XRay Connector component kill their app? I get the following message, but nothing else: (75) Connections: true | true This application is a bit complex, loads external swf modules and associates classes with those. Thanks, -Scott On 9/28/06, John Grden [EMAIL PROTECTED] wrote: all downloads: http://www.osflash.org/xray#downloads Latest interface: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw Connector: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw Just doubleclick to install the mxp, then you'll see xray in your components panel. You can drag it into your library and leave it or put it on stage for a quick/dirty FPS meter hth, jpg On 9/28/06, slangeberg [EMAIL PROTECTED] wrote: I've seen lots of people posting about XRay lately, but I haven't had luck with it, yet. I do have the executable running, but I don't have the Connector to the Flash IDE. Can anyone post a link to download that? I have not been able to find it! : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott
[Flashcoders] Override _xscale and _yscale setter in AS2
In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Restoring class from .aso
Thanks Thomas. Mike Mike Pearce Nectarine +61 3 9687 7820 www.nectarine.com.au -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Fowler Sent: Wednesday, 17 January 2007 4:07 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Restoring class from .aso This last post may help you... might be worth a look... http://www.actionscript.org/forums/showthread.php3?t=96538 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Override _xscale and _yscale setter in AS2
Why not just make a getter and setter called XScale and a getter and setter called YScale in your subclass each returning and setting their respective values? - Original Message - From: Patrick Matte | BLITZ [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 5:33 PM Subject: [Flashcoders] Override _xscale and _yscale setter in AS2 In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Override _xscale and _yscale setter in AS2
Hello :) Yes you can :) Try this code (not tested) class Test1 extends MovieClip { /** * Constructor */ function Test1() { } public function get _xscale ():Number { return _xscale_ ; } public function set _yscale( value:Number ):Void { __xscale__ = value ; // your code :) } private var _xscale_ = MovieClip.prototype._xscale ; } I use this technik in LUnAS the extension of VEGAS my framework OpenSource with the enabled property... it's possible it's work with the _xscale property. NB 1 : Vegas project : http://vegas.riaforge.org/ NB 2 : the AbstractComponent class in LunAS with this hack over the enabled property : http://svn.riaforge.org/vegas/AS2/trunk/src/lunas/display/components/AbstractComponent.as EKA+ :) 2007/1/19, Patrick Matte | BLITZ [EMAIL PROTECTED]: In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Override _xscale and _yscale setter in AS2
if you overrides the properties the problem is to keep the resize effect on the movieclip ? EKA+ :) 2007/1/19, Thomas Fowler [EMAIL PROTECTED]: Why not just make a getter and setter called XScale and a getter and setter called YScale in your subclass each returning and setting their respective values? - Original Message - From: Patrick Matte | BLITZ [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 18, 2007 5:33 PM Subject: [Flashcoders] Override _xscale and _yscale setter in AS2 In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Override _xscale and _yscale setter in AS2
See I have a component which sets some movieClips _xscale and _yscale. It works fine with MovieClip that contain vector graphics because they scale nicely. But with bitmap Graphics, scaling looks bad. So I wanted to extend the movieClip class and override the _xscale and _yscale setters so that instead of having the actual clip scale, a smooth bimapData would be drawn at the new scale. BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Matte | BLITZ Sent: Thursday, January 18, 2007 3:33 PM To: Flashcoders mailing list Subject: [Flashcoders] Override _xscale and _yscale setter in AS2 In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Override _xscale and _yscale setter in AS2
You can do it with enabled, but you can't with _xscale or _yscale. You have to use a watcher to catch it and return oldVal. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Thursday, January 18, 2007 3:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Override _xscale and _yscale setter in AS2 Hello :) Yes you can :) Try this code (not tested) class Test1 extends MovieClip { /** * Constructor */ function Test1() { } public function get _xscale ():Number { return _xscale_ ; } public function set _yscale( value:Number ):Void { __xscale__ = value ; // your code :) } private var _xscale_ = MovieClip.prototype._xscale ; } I use this technik in LUnAS the extension of VEGAS my framework OpenSource with the enabled property... it's possible it's work with the _xscale property. NB 1 : Vegas project : http://vegas.riaforge.org/ NB 2 : the AbstractComponent class in LunAS with this hack over the enabled property : http://svn.riaforge.org/vegas/AS2/trunk/src/lunas/display/comp onents/AbstractComponent.as EKA+ :) 2007/1/19, Patrick Matte | BLITZ [EMAIL PROTECTED]: In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Override _xscale and _yscale setter in AS2
No I've tried that but it doesn't work unfortunately, I've also overridden the enabled setter before but the _xscale and _yscale setters seem to be different from the enabled setter. What I want to do is not scale the movieClip at all and scale redraw a bitmapData inside of it. BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Thursday, January 18, 2007 3:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Override _xscale and _yscale setter in AS2 Hello :) Yes you can :) Try this code (not tested) class Test1 extends MovieClip { /** * Constructor */ function Test1() { } public function get _xscale ():Number { return _xscale_ ; } public function set _yscale( value:Number ):Void { __xscale__ = value ; // your code :) } private var _xscale_ = MovieClip.prototype._xscale ; } I use this technik in LUnAS the extension of VEGAS my framework OpenSource with the enabled property... it's possible it's work with the _xscale property. NB 1 : Vegas project : http://vegas.riaforge.org/ NB 2 : the AbstractComponent class in LunAS with this hack over the enabled property : http://svn.riaforge.org/vegas/AS2/trunk/src/lunas/display/components/Abs tractComponent.as EKA+ :) 2007/1/19, Patrick Matte | BLITZ [EMAIL PROTECTED]: In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Override _xscale and _yscale setter in AS2
It seems like you can't watch _xscale and _yscale BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Thursday, January 18, 2007 4:16 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Override _xscale and _yscale setter in AS2 You can do it with enabled, but you can't with _xscale or _yscale. You have to use a watcher to catch it and return oldVal. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Thursday, January 18, 2007 3:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Override _xscale and _yscale setter in AS2 Hello :) Yes you can :) Try this code (not tested) class Test1 extends MovieClip { /** * Constructor */ function Test1() { } public function get _xscale ():Number { return _xscale_ ; } public function set _yscale( value:Number ):Void { __xscale__ = value ; // your code :) } private var _xscale_ = MovieClip.prototype._xscale ; } I use this technik in LUnAS the extension of VEGAS my framework OpenSource with the enabled property... it's possible it's work with the _xscale property. NB 1 : Vegas project : http://vegas.riaforge.org/ NB 2 : the AbstractComponent class in LunAS with this hack over the enabled property : http://svn.riaforge.org/vegas/AS2/trunk/src/lunas/display/comp onents/AbstractComponent.as EKA+ :) 2007/1/19, Patrick Matte | BLITZ [EMAIL PROTECTED]: In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Override _xscale and _yscale setter in AS2
Anybody has any other idea ? BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Matte | BLITZ Sent: Thursday, January 18, 2007 4:19 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Override _xscale and _yscale setter in AS2 No I've tried that but it doesn't work unfortunately, I've also overridden the enabled setter before but the _xscale and _yscale setters seem to be different from the enabled setter. What I want to do is not scale the movieClip at all and scale redraw a bitmapData inside of it. BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Thursday, January 18, 2007 3:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Override _xscale and _yscale setter in AS2 Hello :) Yes you can :) Try this code (not tested) class Test1 extends MovieClip { /** * Constructor */ function Test1() { } public function get _xscale ():Number { return _xscale_ ; } public function set _yscale( value:Number ):Void { __xscale__ = value ; // your code :) } private var _xscale_ = MovieClip.prototype._xscale ; } I use this technik in LUnAS the extension of VEGAS my framework OpenSource with the enabled property... it's possible it's work with the _xscale property. NB 1 : Vegas project : http://vegas.riaforge.org/ NB 2 : the AbstractComponent class in LunAS with this hack over the enabled property : http://svn.riaforge.org/vegas/AS2/trunk/src/lunas/display/components/Abs tractComponent.as EKA+ :) 2007/1/19, Patrick Matte | BLITZ [EMAIL PROTECTED]: In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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] FLASH REMOTING HELP!!!
I've been struggling with this all week and really need some help... i'm trying to call a method in a servlet (java) and can't seen to call that method nor get a response back into flashi know it can be done, but don't know the nuances of remoting enough to pull it off...can anyone point me in the right direction? thanks in advance ___ 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] advantages of EventDispatcher over AsBroadcaster
I have used both extensively and find that AsBroadcaster allows me to do the same thing in fewer lines of code, yet there seems to be a general preference in the flash community to use EventDispatcher. Is there any particular reason to use one or the other? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] advantages of EventDispatcher over AsBroadcaster
The two are pretty much the same, except for one big thing: EventDispatcher allows you to distinguish between types of events. AsBroadcaster just says, Hey, there's been an update, while EventDispatcher gives detailed information (in an Event object) about exactly what that event was and only notifies the listeners which are listening to that type of event. Another advantage to using EventDispatcher is that EventDispatcher is heavily integrated into ActionScript 3.0, to the point that at least half the classes you'll encounter are dispatchers. Every single display object (movie clips, buttons, components, etc.) is a dispatcher, some with dozens of types of events (mouseMove, load, enterFrame, etc.). AsBroadcaster, on the other hand, is deprecated. On 1/18/07, Reuben Stanton [EMAIL PROTECTED] wrote: I have used both extensively and find that AsBroadcaster allows me to do the same thing in fewer lines of code, yet there seems to be a general preference in the flash community to use EventDispatcher. Is there any particular reason to use one or the other? ___ 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 -- T. Michael Keesey Director of Technology Exopolis, Inc. 2894 Rowena Avenue Ste. B Los Angeles, California 90039 -- The Dinosauricon: http://dino.lm.com Parry Carney: http://parryandcarney.com ISPN Forum: http://www.phylonames.org/forum/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FLASH REMOTING HELP!!!
yes i can... http://kevinlangdon.com/serviceCapture/ On 1/18/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: I've been struggling with this all week and really need some help... i'm trying to call a method in a servlet (java) and can't seen to call that method nor get a response back into flashi know it can be done, but don't know the nuances of remoting enough to pull it off...can anyone point me in the right direction? thanks in advance ___ 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 -- John Van Horn [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Using XRay
can you send me the project offlist to look at? On 1/18/07, slangeberg [EMAIL PROTECTED] wrote: I am loading an external swf, but that one does not contain the Xray connector. -Scott On 1/18/07, John Grden [EMAIL PROTECTED] wrote: ?? 2 x's that's weird. Do you have Xray connector loading 2x's (one in the library, another in an external SWF)? On 1/18/07, slangeberg [EMAIL PROTECTED] wrote: Now it's printing (still not publishing correctly): (39) Connections: true | true (71) Connections: false | false -Scott On 1/18/07, John Grden [EMAIL PROTECTED] wrote: ok, now add this to your timeline/class : _global.com.blitzagency.xray.Xray.initConnections(); this will init the connections and you should be up and running On 1/18/07, slangeberg [EMAIL PROTECTED] wrote: John, I spoke too soon. I do still have an Fla where things are not displaying correctly in the .swf. I followed these directions and have the following output: (45) Connections: true | true (78) Connections: false | false Things only look correct when I do not 'export to first frame' (instance in library). Of course, the connection doesn't work, though! I'm guessing the following is generated in your code, as I don't see it in your class package?: _global.com.blitzagency.xray.Xray -Scott On 1/16/07, John Grden [EMAIL PROTECTED] wrote: ifyou get true|true, that means the logger and controller LC connections were made successfully. Are you using it in an FLA by chance? If so, find Xray in the library, right click and choose linkageID - don't have hit export in first frame. Then, if it's not on stage, put it on stage. Then, in frame one, use: _global.com.blitzagency.xray.Xray.initConnections(); That might do it. On 1/16/07, slangeberg [EMAIL PROTECTED] wrote: So, anyone ever see the XRay Connector component kill their app? I get the following message, but nothing else: (75) Connections: true | true This application is a bit complex, loads external swf modules and associates classes with those. Thanks, -Scott On 9/28/06, John Grden [EMAIL PROTECTED] wrote: all downloads: http://www.osflash.org/xray#downloads Latest interface: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw Connector: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw Just doubleclick to install the mxp, then you'll see xray in your components panel. You can drag it into your library and leave it or put it on stage for a quick/dirty FPS meter hth, jpg On 9/28/06, slangeberg [EMAIL PROTECTED] wrote: I've seen lots of people posting about XRay lately, but I haven't had luck with it, yet. I do have the executable running, but I don't have the Connector to the Flash IDE. Can anyone post a link to download that? I have not been able to find it! : : ) Scott ___ 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 -- [ JPG ] ___ 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 -- : : ) Scott ___ 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 -- [ JPG ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the
Re: [Flashcoders] Override _xscale and _yscale setter in AS2
Interesting question! I've tried a bit. class MyMc extends MovieClip{ public function MyMc(){ trace(I'm on!); } public function set _xscale(xs){ super(xs); _root.doBitmap(this); } public function set _yscale(ys){ super(ys); _root.doBitmap(this); } } My idea is that you only need to capture the setter part, that's when the movieclip changes size. Then you call you bitmap function. The super calls keeps the movilip scales intact. Cheers! /* http://www.flashrevolution.net */ On 1/19/07, Patrick Matte | BLITZ [EMAIL PROTECTED] wrote: Anybody has any other idea ? BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Matte | BLITZ Sent: Thursday, January 18, 2007 4:19 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Override _xscale and _yscale setter in AS2 No I've tried that but it doesn't work unfortunately, I've also overridden the enabled setter before but the _xscale and _yscale setters seem to be different from the enabled setter. What I want to do is not scale the movieClip at all and scale redraw a bitmapData inside of it. BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Thursday, January 18, 2007 3:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Override _xscale and _yscale setter in AS2 Hello :) Yes you can :) Try this code (not tested) class Test1 extends MovieClip { /** * Constructor */ function Test1() { } public function get _xscale ():Number { return _xscale_ ; } public function set _yscale( value:Number ):Void { __xscale__ = value ; // your code :) } private var _xscale_ = MovieClip.prototype._xscale ; } I use this technik in LUnAS the extension of VEGAS my framework OpenSource with the enabled property... it's possible it's work with the _xscale property. NB 1 : Vegas project : http://vegas.riaforge.org/ NB 2 : the AbstractComponent class in LunAS with this hack over the enabled property : http://svn.riaforge.org/vegas/AS2/trunk/src/lunas/display/components/Abs tractComponent.as EKA+ :) 2007/1/19, Patrick Matte | BLITZ [EMAIL PROTECTED]: In AS2, is it possible to override the _xscale and _yscale setter in a subclass of MovieClip ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] mc preloader
Take a look at the MovieClipLoader class in the help docs. James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train Mike Dunlop wrote: Hi everyone, I have a question that is probably easy for you guys. How can i get a preloader into the following ? mc.createEmptyMovieClip(img, 10); mc.img.loadMovie(some_image_path); mc.onEnterFrame = function() { // want to put a preloader bar/circle/something to show the load progress on // on the image loading into mc.img } Thanks a bunch as always! . Mike Dunlop // Droplab [ e ] [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re[2]: [Flashcoders] Override _xscale and _yscale setter in AS2
Hello Patrick, PMB Anybody has any other idea ? owerriding or watch of properties is impossible. Don't use extending. Use composition: class Test1 { private var __mc:MovieClip; public function Test1(mc:MovieClip){ this.__mc= mc } public function get _xscale ():Number { return this.__mc._xscale; } . etc } -- Ivan Dembicki __ [EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q;3D vector based site...how done?
On 1/18/07, eka [EMAIL PROTECTED] wrote: For the moment I begin an little extension in VEGAS my OpenSource framework with geometric tools ... i don't compare my work with the other 3D libraries. PEGAS my drawing extension of VEGAS it's just a tool to creates rich applications but it's possible i insert 3D tools in the future in the AS3 version. Vegas project page http://vegas.riaforge.org/ or http://code.google.com/p/vegas/ or http://www.osflash.org/vegas Great work, thank you!!! ___ 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