Re: [Flashcoders] 2nd rtmp video doesn't play
Hi, 1. Switch between indexes if you have alot of sequential movies to play 2. use doLater if you're building on top of mx.core.uicomponent or a setInterval() with 100 milliseconds and a clear Interval to kill it again 3. Make sure you get the latest FLVPlayback component update 4. I am streaming through FMS and I get the same problem, make sure the flvs are not corrupted ..etc 5. check the following example, and make sure after you create allow a frame to pass so that the draw methods of the flvplayback component are done drawing. 6. MAKE sure you're not assigning an undefined value or a bad link, it breaks up the thing !! you'll have to use a catch/try if you're not sure or if statement before you assign. Here's some code, see if that helps function createFLVPlayback() { this.my_FLVPlybk = FLVPlayback (this.attachMovie ("FLVPlayback", "my_FLVPlybk", 500)); this.my_FLVPlybk.autoPlay=true; this.my_FLVPlybk.activeVideoPlayerIndex = 1 this.my_FLVPlybk.visibleVideoPlayerIndex = 1 this.my_FLVPlybk.progressInterval = 001; } function switchToAnotherPlayer() { i=i==1? 2 : 1; k=i==1? 2 : 1; my_FLVPlybk.closeVideoPlayer(i); my_FLVPlybk.ncMgr.close(); my_FLVPlybk.getVideoPlayer(my_FLVPlybk.visibleVideoPlayerIndex).ncMgr.close(); my_FLVPlybk.activeVideoPlayerIndex = k; my_FLVPlybk.visibleVideoPlayerIndex = k; } On 12/26/06, me myself <[EMAIL PROTECTED]> wrote: Join Date: Dec 2006 Posts: 2 *2nd Video Doesn't Play!* -- Hi. I'm trying to play two videos in the flvplayback component. The first one is playing; the second isn't. Both paths are rtmp paths. I've read on various message boards that you should remove the .flv extension from the second path, but that doesn't help. In my move, the component is called flvPlayer. There's a button called btn. What's wrong with this code? //these first two lines work fine. flvPlayer.load("rtmp://path/to/media1.flv"); flvPlayer.play(); btn.onRelease = function():Void { //this doesn't work flvPlayer.load("rtmp://path/to/media2.flv"); //I've also tried without the .flv flvPlayer.play(); } When I click the button, the first flv does stop playing, the skin on the flvplayback component shows those little barber-pole stripes as if it's loading a second flv, and then the loading animation stops. And that's it. No video plays. Just to be clear, everything works fine if both videos come from http urls, but if they come from rtmp urls, only the first video plays. ___ 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] XRay and projectors [SOLVED]
Hey John thanks for posting the resolution for archive's sake, glad it worked for you, John On 12/26/06, John Mark Hawley <[EMAIL PROTECTED]> wrote: D'oh. I forgot to mention that I was using the Zinc wrapper. I managed to discover a fix here: http://www.mdmforum.com/forum/index.php?showtopic=16240&b=1&st=&p=entry -mark ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XRay and projectors [SOLVED]
D'oh. I forgot to mention that I was using the Zinc wrapper. I managed to discover a fix here: http://www.mdmforum.com/forum/index.php?showtopic=16240&b=1&st=&p=entry -mark > > From: John Mark Hawley <[EMAIL PROTECTED]> > Date: 2006/12/26 Tue PM 02:40:33 CST > To: > Subject: [Flashcoders] XRay and projectors > > Am I missing something here? I can't get XRay to successfully take snapshots > of a Flash Projector. It sure seems like it ought to work, but I'm always > told 'No swf is available to connect with.' > > I *do* get log messages from the projector. Anyone more familiar with this > situation on the job today? > > -mark > > -- > John Mark Hawley > The Nilbog Group > 773.968.4980 (cell) > > ___ > 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 Mark Hawley The Nilbog Group 773.968.4980 (cell) ___ 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] XRay and projectors
Am I missing something here? I can't get XRay to successfully take snapshots of a Flash Projector. It sure seems like it ought to work, but I'm always told 'No swf is available to connect with.' I *do* get log messages from the projector. Anyone more familiar with this situation on the job today? -mark -- John Mark Hawley The Nilbog Group 773.968.4980 (cell) ___ 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] Chinese characters in mailto: link
You first need to activate Chinese language pack on your computer to be able to see the characters properly throughout your system, maybe it's that ? or maybe your e-mail program doesn't take the characters as UTF-8 , then you might need to specify other kinds of encoding for your mailto ... don't know how to do it, maybe in the headers of the e-mail itself ? Hope this gets you in the right direction. A. Joshua Sera wrote: I'm trying to use chinese characters in the body of a mailto: link, but all I'm getting is garbage. I'm getting them from an XML file. Flash is reading them fine, and displaying them fine in a text box. getURL("mailto:[EMAIL PROTECTED]&subject=bla&body="+chineseTextHere, "_blank"); gets me a line of garbage. Has anyone had any experience with this problem? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] Inserting FLV Message events
This is what you want: http://www.buraks.com/captionate/ Fixes metadata, insert cuepoints properly, export/import xml data file containing cuepoint infos, etc. There's no demo, but trust me, it really saved me on a project and is absolutely worth it. Good luck On 12/21/06, Chris McFadyen aka Grayson Carlyle <[EMAIL PROTECTED]> wrote: Is it possible? I've seen programs that can manipulate cue points, but I don't know the least bit about message events in an flv. Specifically what I'm looking for is the ability to copy them out of one flv and insert into another. ___ 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] Chinese characters in mailto: link
I'm trying to use chinese characters in the body of a mailto: link, but all I'm getting is garbage. I'm getting them from an XML file. Flash is reading them fine, and displaying them fine in a text box. getURL("mailto:[EMAIL PROTECTED]&subject=bla&body="+chineseTextHere, "_blank"); gets me a line of garbage. Has anyone had any experience with this problem? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] NetDebug undefined...
I am trying to debug a RemotingConnection component with the as2 remoting classes. I have installed the remoting components for flash 8. Here is what happens when I try to debug: - import mx.remoting.debug.NetDebug; trace("NetDubug: " + NetDebug); // undefined trace("NetDubug.initialize: " + NetDebug.initialize); // undefined - i does not complain that the class was not imported, which means that it did import ok. Has anyone seen this? Drew __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] 2nd rtmp video doesn't play
Join Date: Dec 2006 Posts: 2 *2nd Video Doesn't Play!* -- Hi. I'm trying to play two videos in the flvplayback component. The first one is playing; the second isn't. Both paths are rtmp paths. I've read on various message boards that you should remove the .flv extension from the second path, but that doesn't help. In my move, the component is called flvPlayer. There's a button called btn. What's wrong with this code? //these first two lines work fine. flvPlayer.load("rtmp://path/to/media1.flv"); flvPlayer.play(); btn.onRelease = function():Void { //this doesn't work flvPlayer.load("rtmp://path/to/media2.flv"); //I've also tried without the .flv flvPlayer.play(); } When I click the button, the first flv does stop playing, the skin on the flvplayback component shows those little barber-pole stripes as if it's loading a second flv, and then the loading animation stops. And that's it. No video plays. Just to be clear, everything works fine if both videos come from http urls, but if they come from rtmp urls, only the first video plays. ___ 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] Measuring width of some text
Strangely, the TextField.textWidth property returns different values on different systems. On WIN IE v6.0.2900 Service Pack 2 with Flash Player Version 8,0,24 textWidth is consistently larger than on WIN IE v6.0.2800 Service Pack 1 with Flash Player 8,0,22. Are the different values of textWidth the result of different IE/Service Pack versions, or the result of different Flash Player minor versions? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Van De Velde Hans Sent: Friday, December 22, 2006 5:56 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Measuring width of some text Just a txt.textWidth should do the trick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: donderdag 21 december 2006 22:28 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Measuring width of some text I need to measure the width of some text. Here's the function I'm using: private function getTextWidth(txt,fontSize) { var fmt=new TextFormat(); fmt.font='Univers 67 CondensedBold'; fmt.size=fontSize; fmt.autoSize='left'; var metrics=fmt.getTextExtent(txt); return metrics.textFieldWidth; } This function is not predictable - for the same text, it returns different numbers on different OSes or flash player versions: - works fine in IE/FF for flash player 6 - doesn't work in Mac Safari for flash player 6 - works fine in IE/FF for flash player 8 using Service Pack 1 - doesn't work for IE/FF for flash player 8 using Service Pack 2 Is there another function I can use, or another way to go about measuring the width of some text? Blake Perdue | 212.522.1292 | AIM: blakepCNN ___ 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] Skinning buttons
http://www.adobe.com/devnet/flash/articles/skinning_2004.html regards, Muzak - Original Message - From: "Mendelsohn, Michael" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Tuesday, December 26, 2006 3:15 PM Subject: [Flashcoders] Skinning buttons Hi list... Probably a silly question, but I can't get my button skins to work. In the library I created 3 symbols with corresponding linkage names (falseDownSkin, falseUpSkin, falseOverSkin), but they're not showing up on the stage. What am I missing? Thanks, - Michael M. ___ 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: RE: [Flashcoders] Skinning buttons Part II
That might be it -- themes are wild and woolly things I try not to fuss with too much. > > From: "Mendelsohn, Michael" <[EMAIL PROTECTED]> > Date: 2006/12/26 Tue AM 09:37:35 CST > To: "Flashcoders mailing list" > Subject: RE: [Flashcoders] Skinning buttons Part II > > Could it have something to do with the fact that I imported the Halo > themes folder into my library? > > Thanks, > - MM > > > > > You don't normally need to do any of those extra steps. Something else > is hosed. > > ___ > 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 Mark Hawley The Nilbog Group 773.968.4980 (cell) ___ 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] Skinning buttons Part II
Could it have something to do with the fact that I imported the Halo themes folder into my library? Thanks, - MM > You don't normally need to do any of those extra steps. Something else is hosed. ___ 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] Skinning buttons Part II
You don't normally need to do any of those extra steps. Something else is hosed. > > From: "Mendelsohn, Michael" <[EMAIL PROTECTED]> > Date: 2006/12/26 Tue AM 08:23:55 CST > To: "Flashcoders mailing list" > Subject: [Flashcoders] Skinning buttons Part II > > I just discovered that you have to add mx.skins.SkinElement to the AS2 > class field in the linkage dialog box and an onClipEvent(initialize) > function to the button instance to assign it skins. But, does this code > have to be there for every button instance? There's got to be a more > streamlined way, right? > > - MM > > ___ > 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 Mark Hawley The Nilbog Group 773.968.4980 (cell) ___ 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] Skinning buttons Part II
I just discovered that you have to add mx.skins.SkinElement to the AS2 class field in the linkage dialog box and an onClipEvent(initialize) function to the button instance to assign it skins. But, does this code have to be there for every button instance? There's got to be a more streamlined way, right? - MM ___ 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] Skinning buttons
Hi list... Probably a silly question, but I can't get my button skins to work. In the library I created 3 symbols with corresponding linkage names (falseDownSkin, falseUpSkin, falseOverSkin), but they're not showing up on the stage. What am I missing? Thanks, - Michael M. ___ 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