Re: [Flashcoders] twilight zone: flvPlayback doesn't work if there are too many functions in the fla!
Thanks! Actually, things are going well -- except for the video problems. You guys have been a big help with those. Happy New Year! On 12/31/06, Yehia Shouman [EMAIL PROTECTED] wrote: You can fix your minor issue by going to the publish settings and beside the dropdown list of the actionscript version, click the button beside it, I dont have flash installed on my machine. So you need to click this button and select to export your code to frame 2. then make ur preloader in frame 1, and leave frame 2 empty, then put ur stuff in frame 3 make your preloader jump to frame 3 when all loaded, and Good luck ! You seem to need some :) On 12/28/06, me myself [EMAIL PROTECTED] wrote: PROBLEMS SOLVED Both problems -- 2nd-video-not-playing and too-many-functions -- were fixed when I upgraded to the new flvPlayback component. Using NetConnection/Netstream also worked, but I'm going to stick with the component for a while. ONE MINOR PROBLEM LEFT When I was using the old version of the component, I set its classes to load in frame 2, because frame 1 was a preloader. For some reason, the new version of the flvPlayback component doesn't work unless I load the classes in frame 1. Which screws up the preloader. The actual component isn't on stage until Frame 2, but I have to load its classes in frame 1. Why? ___ 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] twilight zone: flvPlayback doesn't work if there are too many functions in the fla!
You can fix your minor issue by going to the publish settings and beside the dropdown list of the actionscript version, click the button beside it, I dont have flash installed on my machine. So you need to click this button and select to export your code to frame 2. then make ur preloader in frame 1, and leave frame 2 empty, then put ur stuff in frame 3 make your preloader jump to frame 3 when all loaded, and Good luck ! You seem to need some :) On 12/28/06, me myself [EMAIL PROTECTED] wrote: PROBLEMS SOLVED Both problems -- 2nd-video-not-playing and too-many-functions -- were fixed when I upgraded to the new flvPlayback component. Using NetConnection/Netstream also worked, but I'm going to stick with the component for a while. ONE MINOR PROBLEM LEFT When I was using the old version of the component, I set its classes to load in frame 2, because frame 1 was a preloader. For some reason, the new version of the flvPlayback component doesn't work unless I load the classes in frame 1. Which screws up the preloader. The actual component isn't on stage until Frame 2, but I have to load its classes in frame 1. Why? ___ 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] twilight zone: flvPlayback doesn't work if there are too many functions in the fla!
Hi. Thanks for the help with my last flvPlayback issue (2nd movie wasn't playing). Now I have a new one, and it's really freaky: the video was playing fine and then all the sudden it stopped playing. It stopped when I added a new function to my code. The weird thing is that the function had NOTHING to do with the component. It was just a function that took in a string, parsed it, and returned a parsed value. I wasn't even calling the function. Just having the function in my code -- without calling it -- stopped the flvPlayback component from working. By the way, everything else worked fine (it's a complex swf that reads in xml, does a bunch of as drawing, etc.) No syntax error. Nothing. Everything works except for the flvPlayback component. And when I comment out the function, the component starts working again. It gets weirder! A co-worker of mine, who doesn't know anything about Flash, suggested that maybe I'd exceeded the number of functions I'm allowed to have in one file. I scoffed at that. The file isn't that long (1200 lines of code -- long, but I've seen longer). But to placate him, I deleted the function and created another one -- a dummy function -- that looks like this function xyz():Void{} and to my shock, it also stopped the player. If I commented it out, the player worked again. I have now done a bunch of tests and have concluded that if I keep the number of functions at exactly what it was before I added my string-processing function, the component works; if I add any more, it doesn't. It doesn't matter what the new functions are named or what they do -- the component doesn't like them. And it's ONLY a problem for the component. Everything else is fine with however many functions I put in the code. So it seems that the component DOES place a limit on the number of functions you can have in your code. WHY? WHAT CAN I DO? I'm thinking of ditching the component altogether and hand-coding a video player. But I don't want to go to all that trouble if it's not going to help! ___ 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] twilight zone: flvPlayback doesn't work if there are too many functions in the fla!
PROBLEMS SOLVED Both problems -- 2nd-video-not-playing and too-many-functions -- were fixed when I upgraded to the new flvPlayback component. Using NetConnection/Netstream also worked, but I'm going to stick with the component for a while. ONE MINOR PROBLEM LEFT When I was using the old version of the component, I set its classes to load in frame 2, because frame 1 was a preloader. For some reason, the new version of the flvPlayback component doesn't work unless I load the classes in frame 1. Which screws up the preloader. The actual component isn't on stage until Frame 2, but I have to load its classes in frame 1. Why? ___ 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