[Flashcoders] Import Outlook contacts or MSN emails into Flash application
Hi there, Does anyone know if it is possible to import Outlook contacts or people from your MSN or AOL list into a Flash application? I want to use this for a birthday calender I am building where you can send an email to a friend asking for his or her birthday. It would be nice if people could add a lot of emails at once without having to type them all in manually Wouter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Cheng Sent: Monday, October 31, 2005 6:32 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Updating MS Outlook calendar from Flash app James Johnson wrote: > Is it possible to create a calendar application in Flash which allows > the user to click on an event and to have that event automatically added > to their MS Outlook calendar? You can, but it's rather tricky. Microsoft closely guards their proprietary ActiveSync protocol used for sync'ing external applications and devices with Exchange Server. While a number of large phone and device manufacturers have licensed the protocol recently, this probably out of reach to all but the largest of clients. Failing that, there's several other options available. The simplest way to go about this would be to create and e-mail a vCalendar meeting request to the recipient and depend on them to accept and add it onto their calendar. It's not quite automatic and doesn't sync in real-time, but is probably the easiest solution. As vCalendar is an open format (http://www.imc.org/pdi/), this shouldn't be very difficult to do with Flash and a little bit of server-side code. Alternatively, Novell had worked around the issue of licensing the ActiveSync protocol with Exchange Connector by reimplementing the RPC over HTTP calls used by the Outlook web application (OWA). This has been open-sourced into Gnome's Evolution mail/address/calendaring client (http://www.gnome.org/projects/evolution/), so you could reuse their code to sync with Exchange Server that way. Lastly, you could always screen-scrape OWA yourself and add the event that way through HTTP, though I'd imagine this would probably be even more work then reusing the code from Evolution. In theory, you could probably do all of this from within the Flash client if you go this route, though this would probably involve lots of work. ;( Jim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Weird image problem
Hey list, Maybe someone on this list knows I have a really nasty problem: I load a jpg, dynamicly and I rotate it a bit, so far so good. When my movie is 1 frame long the photo looks really good, but as soon as I extend my timeline by adding some frames, all straight lines in the photo appear jagged.hope jagged is the right word actually :) They are just not sharp anymore...really weird stuff :S Anybody seen this problem and happens to know a solution? Thx //W ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] problems with advanced antialias
Hello list, I have a nasty issue with text that I put on advanced antialias ("anti-alias for readability" through the IDE). If I use a link in my (dynamic) text and I use a < u > tag to underline it or do this with a stylesheet then the link sort of 'jumps' when you roll over that link.is anybody aware of this issue and is there a solution? Thx a lot! Wouter ___ 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] pflash 8 file upload security issue
Hi List, I have the following issuewhen I upload files in flash with the filereference class the header always sends a "application/octet-stream" as the cointent typeSo if someone uploads an exe file renamed as a doc I have a problem! Anybody knows a way to fix this? thanx! Wouter ___ 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] - trace mystery
Hi list, I`m flabbergastedI`m loading in a game.swf in another swf and then the game.swf needs to do a callback.when I try this in the flash IDE () it works and i get the following traces: > this = _level0.questionBar_mc.game_mc.instance48 > this._parent = _level0.questionBar_mc.game_mc > this._parent._parent = _level0.questionBar_mc it is doing a callback by calling a function in questionBar_mc. Now the weird partIf i publish to html and view it in firefox (togehter with the lovely flashtracer tool from sephiroth.it) I cant get to reach the function for the callback and i get this trace: this = _level0.questionBar_mc.game_mc.instance50 > this._parent = _level0.questionBar_mc.game_mc > this._parent._parent = undefined I find it so weird it traces "this" and "this._parent" ok, but then the "this._parent._parent" trace undefined. can anybody give any clues by looking at this code? thanx a lot! Wouter ___ 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] Strange trace (error?) with radiobutton
Hey List! I am using a radiobutton component with some listeners set up in a project and that works fine, bu I get a strange trace everytime I check one of the radiobuttons: [undefined] => (Array/Object){ } (Array){ } Anyone ever saw this and knows what it is?? Google didnt work for me on this one. Thx //W ___ 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] timer to advance
Could this be what you need: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Parts&file=1717.html The first comment by Francis at the bottom... Wouter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Brunswick Sent: Tuesday, June 13, 2006 3:45 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] timer to advance Hello List, I am trying to accomplish a timer that will advance to a frame once a set time has been reached. Of course it doesn't work any ideas Here is the code onClipEvent (enterFrame) { if (_root.delay) { if (Math.floor(getTimer()/1000) == _root.lastTime+1) { _root.delay = false; } } else if (Math.floor(getTimer()/1000) == _root.lastTime+_root.wait) { _root.lastTime = Math.floor(getTimer()/1000); _root.delay = true; // custom actions begin _root.count = _root.count+1; if (_root.count <= 20) { gotoAndStop(2); } } } David Brunswick Multimedia Developer/OLP Administrator FedEx Customer Information Services Customer Service Organizational Learning 901-434-6605 ___ 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] timer to advance
setTimeout is even easier to use tehn: setTimeout(GoNext,1); And it clears itself! cool -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Brunswick Sent: Tuesday, June 13, 2006 4:28 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] timer to advance That worked perfect thanks David Brunswick Multimedia Developer/OLP Administrator FedEx Customer Information Services Customer Service Organizational Learning 901-434-6605 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, June 13, 2006 9:07 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] timer to advance Actually, just this would work too - the other post was from something else: function GoNext(){ clearInterval(intID) nextframe(); } intID = setInterval(GoNext, 1); Will move after 10 seconds. Jason Merrill Bank of America Learning Technology Solutions >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Merrill, Jason >>Sent: Tuesday, June 13, 2006 10:02 AM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] timer to advance >> >>You could just use setInterval instead of getTimer: >> >>count = 0; >> >>function GoNext(){ >> count++; >> if(count >= 10){ >> clearInterval(intID) >> nextframe(); >> count = 0; >> } >>} >> >>intID = setInterval(GoNext, 1000); >> >>Jason Merrill >>Bank of America >>Learning Technology Solutions >> >> >> >> >> >> >> -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of David Brunswick Sent: Tuesday, June 13, 2006 9:45 AM To: 'Flashcoders mailing list' Subject: [Flashcoders] timer to advance Hello List, I am trying to accomplish a timer that will advance to a >>frame once a set time has been reached. Of course it doesn't work any ideas >>Here is the code onClipEvent (enterFrame) { if (_root.delay) { if (Math.floor(getTimer()/1000) == _root.lastTime+1) { _root.delay = false; } } else if (Math.floor(getTimer()/1000) == >>_root.lastTime+_root.wait) { _root.lastTime = Math.floor(getTimer()/1000); _root.delay = true; // custom actions begin _root.count = _root.count+1; if (_root.count <= 20) { gotoAndStop(2); } } } David Brunswick Multimedia Developer/OLP Administrator FedEx Customer Information Services Customer Service Organizational Learning 901-434-6605 ___ 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
[Flashcoders] Question regarding use of Delegate in a class
Good evening people, I asked this on the newbie list since I suspect it to be a newbie question,, but didn't get an answerso I hope to find the answer here: I have some code in a class that needs to fire a fuction (startTimer) from an onEnterFrame eventi can fire it from an onrelease usung Delegate, but not from the onEnterFrame..what am I missing here? private function doFade():Void{ container_mc.onEnterFrame = function(){ this.fader_mc._alpha-=faderSpeed; if(this.fader_mc._alpha <= 0){ this.fader_mc._alpha=0; Delegate.create(this, startTimer); <-- DOESN'T WORK delete this.onEnterFrame; } } container_mc.onRelease = Delegate.create(this, startTimer); <-- WORKS AND FIRES THE FUNCTION WHEN I CLICK THE MOVIECLIP } Thx for your help, Wout ___ 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 application crashes IE when player 7 is installed
Hi List, I have this weird thing, I build an application that displays different videosIt interacts with a database via ASP that generates some XML and it all works fine.in flash player 8 that is! My client needs to have a working version for the 7 player but when I export to flash player 7 and view it in a browser that has the player 7 installed I get an error: InternetExplorer has encountered an error with an add-on The following add-on was running when this occurred File: flash.ocx - And then My IE crashes... If I reinstall the flash 8 player for my browser everything works fine (with the movie still being a flash 7 export) Anybody knows what this could be, any known issues concerning flash player 7 that crashes? Thx in advance for any comments, //W ___ 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] Customizing Accordeon component
Hi List! I am trying to customize the Accordion component and want to achieve the following: The Component will serve as a quizso each "section" of it will contain a quiz-questionnow in the header of the sections I want to display the number of the question AND the answer given to a questionthe answers should be evenly aligend on the right So i tried to use a movieclip for the label, containing two textfields, for the quiznumber and for the answer, but didnt work...messed around with the icon: no luck... Anybody can think of a smart way to achieve this? Thanks! Wout ___ 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] FLV preloading question
Hi list! I`m working on a project that uses a lot of FLVs, My issue is this: The visitor of the website is watching a flv (1st flv ) and when he is done he can choose an option that will result in showing another FLV (2nd flv). What would be the best way to preload the "2nd flv" while the user is watching the "1st FLV"? And while I`m at it, can anyone explain the difference between buffering a flv and preloading a flv ? Thx a lot! Wout ___ 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] Straaaaaaaange FLVplayback problem....
Hi List, I am using the FLVPlayback component and have a really strange problem: I have a videoloader class (Singleton) that I instansiate, then I throw in an array of videos and it plays them sequentiallylike this: (FPB is a reference to the FLVplayback-instance on stage) public function loadFLVs (aVids : Array) : Void { // (re)set the video arrays this.aVids = aVids; //Load first video FPB.activeVideoPlayerIndex = 0; FPB.visibleVideoPlayerIndex = 0; FPB.contentPath = aVids[0].source; // start with first Video FPB.play(); } And on a buttonpress I can change the array of videos like this: Button.onPress = function() { aVideos[0] = {source:"videos/1A.flv", id:1, name:11, nCpTime:1.00}; myVid.loadFLVs(aVideos); } But now something strange happens... I have a number of videos for a project named 1A.flv, 1b.flv, etc. If I start with 1A and try to load 1B on the buttonclick it fails If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv form A TOTALLY DIFFERENT PROJECT it works... Lets call it project2.flv As a hack I tried this in the loadFLV function: Before I set the content path to the correct video I change it to project2.flv... //Load first video FPB.activeVideoPlayerIndex = 0; FPB.visibleVideoPlayerIndex = 0; FPB.contentPath = "project2.flv"; FPB.contentPath = aVids[0].source; And then it works again :S but its an ugly hack I`m totally clueless, Any idea what this can be? Thanx a lot! Wouter ___ 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] Straaaaaaaange FLVplayback problem....
Thx for your respose, But I cant believe it has to do with thatcause it works if I don't try to load flvs from the same project but throw in the file from that other project.. Any more thoughts? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ashwan Wadhwa Sent: Wednesday, April 26, 2006 10:08 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Strnge FLVplayback problem You may want to wait for the ready event to fire(after you set the contentPath)and then issue the play command. MM Help example here: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhel p.htm?href=1893.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wouter Steidl Sent: Wednesday, April 26, 2006 3:43 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Strnge FLVplayback problem Hi List, I am using the FLVPlayback component and have a really strange problem: I have a videoloader class (Singleton) that I instansiate, then I throw in an array of videos and it plays them sequentiallylike this: (FPB is a reference to the FLVplayback-instance on stage) public function loadFLVs (aVids : Array) : Void { // (re)set the video arrays this.aVids = aVids; //Load first video FPB.activeVideoPlayerIndex = 0; FPB.visibleVideoPlayerIndex = 0; FPB.contentPath = aVids[0].source; // start with first Video FPB.play(); } And on a buttonpress I can change the array of videos like this: Button.onPress = function() { aVideos[0] = {source:"videos/1A.flv", id:1, name:11, nCpTime:1.00}; myVid.loadFLVs(aVideos); } But now something strange happens... I have a number of videos for a project named 1A.flv, 1b.flv, etc. If I start with 1A and try to load 1B on the buttonclick it fails If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv form A TOTALLY DIFFERENT PROJECT it works... Lets call it project2.flv As a hack I tried this in the loadFLV function: Before I set the content path to the correct video I change it to project2.flv... //Load first video FPB.activeVideoPlayerIndex = 0; FPB.visibleVideoPlayerIndex = 0; FPB.contentPath = "project2.flv"; FPB.contentPath = aVids[0].source; And then it works again :S but its an ugly hack I`m totally clueless, Any idea what this can be? Thanx a lot! Wouter ___ 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] Straaaaaaaange FLVplayback problem....
Well., the whole setu is with the playback component because I can use 1 component and multiple flvs in that componentand the strange thing is that it all works, but in this weirtd way I described Thx for the tip though! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Wednesday, April 26, 2006 10:27 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Strnge FLVplayback problem Have you tried using netstream object to play your flvs instead? Wouter Steidl wrote: > Thx for your respose, > But I cant believe it has to do with thatcause it works if I don't > try to load flvs from the same project but throw in the file from that > other project.. > > Any more thoughts? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ashwan > Wadhwa > Sent: Wednesday, April 26, 2006 10:08 PM > To: Flashcoders mailing list > Subject: RE: [Flashcoders] Strnge FLVplayback problem > > You may want to wait for the ready event to fire(after you set the > contentPath)and then issue the play command. > > MM Help example here: > http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwh > el > p.htm?href=1893.html > > > > > -Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Wouter > Steidl > Sent: Wednesday, April 26, 2006 3:43 PM > To: 'Flashcoders mailing list' > Subject: [Flashcoders] Strnge FLVplayback problem > > Hi List, > > I am using the FLVPlayback component and have a really strange problem: > > I have a videoloader class (Singleton) that I instansiate, then I > throw in an array of videos and it plays them sequentiallylike > this: (FPB is a reference to the FLVplayback-instance on stage) > > public function loadFLVs (aVids : Array) : Void { > // (re)set the video arrays > this.aVids = aVids; > > //Load first video > FPB.activeVideoPlayerIndex = 0; > FPB.visibleVideoPlayerIndex = 0; > FPB.contentPath = aVids[0].source; > > // start with first Video > FPB.play(); > } > > And on a buttonpress I can change the array of videos like this: > > Button.onPress = function() { > aVideos[0] = {source:"videos/1A.flv", id:1, name:11, nCpTime:1.00}; > myVid.loadFLVs(aVideos); > } > > But now something strange happens... > > I have a number of videos for a project named 1A.flv, 1b.flv, etc. > If I start with 1A and try to load 1B on the buttonclick it fails > > If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv form > A TOTALLY DIFFERENT PROJECT it works... Lets call it project2.flv > > As a hack I tried this in the loadFLV function: > > Before I set the content path to the correct video I change it to > project2.flv... > > //Load first video > FPB.activeVideoPlayerIndex = 0; > FPB.visibleVideoPlayerIndex = 0; > FPB.contentPath = "project2.flv"; > FPB.contentPath = aVids[0].source; > > And then it works again :S > but its an ugly hack > > > I`m totally clueless, > Any idea what this can be? > > Thanx a lot! > > Wouter > > > > > ___ > 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 Premie
RE: [Flashcoders] Straaaaaaaange FLVplayback problem....
All of you! Thanx a lot for all the replies, I`m gonna check it all out tommorrow, It is quite late on this site of the globe and it has been a pretty long day So I`m gonna work on it tommorrow, Thanx again all! Wouter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Wednesday, April 26, 2006 11:13 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Strnge FLVplayback problem Using the netstream is the same idea as using the component, you can pass in multiple flv's to the same netstream / controls. Wouter Steidl wrote: > Well., the whole setu is with the playback component because I can use > 1 component and multiple flvs in that componentand the strange > thing is that it all works, but in this weirtd way I described > > Thx for the tip though! > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike > Boutin > Sent: Wednesday, April 26, 2006 10:27 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Strnge FLVplayback problem > > Have you tried using netstream object to play your flvs instead? > > > Wouter Steidl wrote: > >> Thx for your respose, >> But I cant believe it has to do with thatcause it works if I >> don't try to load flvs from the same project but throw in the file >> from that other project.. >> >> Any more thoughts? >> >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Ashwan Wadhwa >> Sent: Wednesday, April 26, 2006 10:08 PM >> To: Flashcoders mailing list >> Subject: RE: [Flashcoders] Strnge FLVplayback problem >> >> You may want to wait for the ready event to fire(after you set the >> contentPath)and then issue the play command. >> >> MM Help example here: >> http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/ww >> h >> el >> p.htm?href=1893.html >> >> >> >> >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Wouter Steidl >> Sent: Wednesday, April 26, 2006 3:43 PM >> To: 'Flashcoders mailing list' >> Subject: [Flashcoders] Strnge FLVplayback problem >> >> Hi List, >> >> I am using the FLVPlayback component and have a really strange problem: >> >> I have a videoloader class (Singleton) that I instansiate, then I >> throw in an array of videos and it plays them sequentiallylike >> this: (FPB is a reference to the FLVplayback-instance on stage) >> >> public function loadFLVs (aVids : Array) : Void { >> // (re)set the video arrays >> this.aVids = aVids; >> >> //Load first video >> FPB.activeVideoPlayerIndex = 0; >> FPB.visibleVideoPlayerIndex = 0; >> FPB.contentPath = aVids[0].source; >> >> // start with first Video >> FPB.play(); >> } >> >> And on a buttonpress I can change the array of videos like this: >> >> Button.onPress = function() { >> aVideos[0] = {source:"videos/1A.flv", id:1, name:11, nCpTime:1.00}; >> myVid.loadFLVs(aVideos); >> } >> >> But now something strange happens... >> >> I have a number of videos for a project named 1A.flv, 1b.flv, etc. >> If I start with 1A and try to load 1B on the buttonclick it fails >> >> If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv >> form A TOTALLY DIFFERENT PROJECT it works... Lets call it >> project2.flv >> >> As a hack I tried this in the loadFLV function: >> >> Before I set the content path to the correct video I change it to >> project2.flv... >> >> //Load first video >> FPB.activeVideoPlayerIndex = 0; >> FPB.visibleVideoPlayerIndex = 0; >> FPB.contentPath = "project2.flv"; >> FPB.contentPath = aVids[0].source; >> >> And then it works again :S >> but its an ugly hack >> >> >> I`m totally clueless, >> Any idea what this can be? >> >> Thanx a lot! >> >> Wouter >> >> >> >> >> ___ >> 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 >&
RE: [Flashcoders] Multiple FLVPlayback problem
I finished a project with quite some FLVs myself this week (around 45 different 1 to 3 MB FLVs) and used the activeVideoPlayerIndex technique... I throw an array of videos in my VideoLoader class and it starts preloading the 1st one...when that is done loading it adds 1 to the activeVideoPlayerIndex and preloads the next one in the array...etc.etc. Works great! Curious to see your code Aaron! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim Sent: Wednesday, May 17, 2006 1:30 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Multiple FLVPlayback problem That's great arron, I actually started looking into this metod yesterday myself after seeing the activePlayer index in the FLVPlayback component. I was thinking that extending the component would be best. Well, I will be very greatful for your help/class. Cheers Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith Sent: 16 May 2006 23:55 To: Flashcoders mailing list Subject: Re: [Flashcoders] Multiple FLVPlayback problem one other thing, you might want to split up your video even more.. like 6 - 10 clips. that way they're way smaller files.. seeking and loading wouldn't be a problem then. aaron smith wrote: > I'm also working on a project that requires multiple flv's also. What > I did was create a very basic multiple flv player. then with that you > listen to whatever events you want to tap into. say for some video > controls and what not. I will share it with you later tonight. I need > to refactor it a bit and add a little more functionality.. but it > works great! > > I need to build in seeking capabilities and cuepoint capabilities.. > other than that. it all works great. I am using with 2 - 5 MB files. > of about 2 or 3 files.. so total up those files and generally its > about 10 - 15 megs.. > > as far as preloading the flvs. what you need to do is start playing > the first one. then when you get a metadata event for that one. start > playing the second one, once you get metadeta for that one. add it to > total time and pause it.. it will still continue to download the flv > though... so basically you need to wait till one has metadeta.. then > start the next one. or you could come up with some other way of doing > this. but thats how I had to do it without killing the player because > of all the video loading. this way works great locally. over the net > it also works great but my files are considerablly smaller. > > like I said. i'll share this with you later tonight.. I also am > planning on releasing it for public use. I just need to get it ready > for release. > > smith > > > > > Jim Tann wrote: >> Originally posted on OSFlash.org list, sorry to double post, sent to >> wrong list. >> >> Hi all, >> >> I am working on several projects that have very large videos (1-2 >> hours) that need to be delivered on CD-Rom & Intranet. After trying >> to use one large video file I realized there is a large problem when >> seeking to any point in the video in that It has to buffer itself up >> to the point you wish to play & on these large videos that can take quite some time. >> >> This led me to chop the video up into 2 min chunks & write a >> segmented video player so they play as one video. This is working >> great on most machines but on the occasional Windows 98 machine it is >> crashing when initially grabbing the flv's. >> I think the problem is that when initializing the component it is >> trying to load all the flv's at once. >> Does anyone have any insight into this? Is there another segmented >> video player about? >> >> Here is the class: >> >> /*** >> * @author - James Tann >> * * FILE:: SegmentedFLVPlayback.as >> * PACKAGE:: com.codesortium.video.SegmentedFLVPlayback >> * AUTHOR:: James Tann >> * AUTHOR SITE:: http://www.avtgroup.com >> * CREATED:: 10/04/2006 >> * DESCRIPTION:: / >> // ** AUTO-UI IMPORT STATEMENTS ** >> // ** END AUTO-UI IMPORT STATEMENTS ** import mx.video.FLVPlayback; >> import mx.utils.Delegate; import mx.events.EventDispatcher; >> >> class com.codesortium.video.SegmentedFLVPlayback extends MovieClip { >> // Constants: >> public static var CLASS_REF:Function= >> com.codesortium.video.SegmentedFLVPlayback; >> public static var LINKAGE_ID:String= >> "SegmentedFLVPlayback"; >> public static var SymbolLinked:Boolean= >> Object.registerClass(LINKAGE_ID, CLASS_REF); >> >> // Public Properties: >> public var addEventListener:Function; >> public var removeEventListener:Function; >> public var autoPlay:Boolean >> = false; >> public var bufferTime:Number >> = 0.1; >> public var playheadTime:Number >> = 0; >> public var playheadU
RE: [Flashcoders] Object's popertys definition pro blem ¿?
If i`m correct, your constructor should contain: nombre_ruta = new Array(); HTH Wouter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jorge Antonio Diaz Gutierrez Sent: Thursday, May 25, 2006 3:53 PM To: Flashcoders mailing list Subject: [Flashcoders] Object's popertys definition problem ¿? Hi there, I have a problem. This class doesn't work correctly. When I create an Object, all it's property's values become undefined even if I Insert Items trough the "Nueva_Ruta" method. When I Call the "SHOW ALL" method for tracing , all Array items are empty/undefined. I really need help about it. I don't understand this behavior. I'm Using Flash Develop. Thanks a lot. //--CLASS -- class Ruta { //- private var cantidad:Number; private var ruta:Array; private var nombre_ruta:Array; //-CONSTRUCTOR public function Ruta() { cantidad = 0; } //- INSERT METHOD public function Nueva_Ruta(nombre:String, pruta:String):Void{ ruta.push(pruta); nombre_ruta.push(nombre); cantidad++; } //-- SHOW ALL public function Todas_las_Rutas():Array { var nombres_rutas:Array = new Array; for(var i:Number = 0; i < cantidad ; i++){ nombres_rutas[i] = nombre_ruta[i] + " (" + ruta[i] + ")"; } return nombres_rutas; } } ___ 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