RE: [Flashcoders] setInterval and IE ...
What kind of problems do you have? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Smeets Sent: donderdag 30 november 2006 10:40 To: Flashcoders mailing list Subject: RE: [Flashcoders] setInterval and IE ... Nope, using them all the time, but no problems whatsoever. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: donderdag 30 november 2006 10:00 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] setInterval and IE ... Has anyone ever experienced any problems with using setIntervals in IE, both with window mode of transparent and without any window mode (normal) ? Thanks, Stephen.___ 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 can I get a string in a date object ?
Thanks I've already fixed it This is the string I get from php tijdAlles=2006:11:02:08:39:40& This is the function function checkTime(){ trace(this); var s_date = this.tijdAlles; function dateStringToObject(dateString){ var date_ar = dateString.split(":"); trace(date_ar[0]); return new Date(date_ar[0], date_ar[1]-1, date_ar[2], date_ar[3], date_ar[4], date_ar[5]); } var myDateObj = dateStringToObject(s_date); trace("myDateObj = "+myDateObj); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: woensdag 1 november 2006 20:04 To: Flashcoders mailing list Subject: RE: [Flashcoders] How can I get a string in a date object ? The compiler only catches strict typing issues at compile-time, not run-time. It doesn't know what this.jaar is (because it's being loaded in at run-time) so it doesn't catch that you're loading a string into it. Since AS2 isn't actually strict (just for the compiler's sake), you can put strings into variables you type cast as Number. You need to type cast the strings as numbers when they load in. var jarr:Number = Number(this.jaar); etc. HTH, Steven ___ 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] How can I get a string in a date object ?
How can I get a string in a date object ? var datum:LoadVars = new LoadVars(); datum.onLoad = checkTime; datum.load("http://localhost/time.php?cacheKiller="; + new Date().getTime()); function checkTime(){ var jaar:Number = this.jaar; var maand:Number = this.maand; var dag:Number = this.dag; var uren:Number = this.uren; var minu:Number = this.minu; var sec:Number = this.sec; trace(jaar +maand +dag +uren +minu +sec); //now I whanna get the date in the date object but this doesn't work var tijdnu:Date = new Date((jaar), (maand), (dag), (uren), (minu), (sec)); tijdnu_txt.text = "Tijdnu =" +tijdnu; trace('jaar: '+ typeof(jaar)); Regards, Sander ___ 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 Flash to Control Windows Media Player
Thanks a lot I've figured out wat was going wrong. you can't test the fscommand localy :-S it needs to come from a server to test So when I uploaded to a server it worked. Thanks for all the help Sander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of g.wygonik Sent: dinsdag 24 oktober 2006 21:30 To: Flashcoders mailing list Subject: Re: [Flashcoders] Using Flash to Control Windows Media Player right - weird. sorry about that. i'll look into that link a bit later. as for the muting of audio in WMP, you should be able to call a JS function that targets the player with this command: myPlayer.settings.volume = 0; which is referenced in the SDK API Muzak linked to. pretty straightforward once you get the whole Flash->JS communication down. g. On 10/24/06, Sander van Surksum <[EMAIL PROTECTED]> wrote: > > Thanks, > > The second link isn't working yet. > > What I'm trying to do is to mute the volume of the wmv on a button > event in flash. > > Hope someone has already done this before. > > Regards, > > Sander > > -- weblog: broadcast.artificialcolors.com blazePDF: www.blazepdf.com band: www.cutratebox.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] Using Flash to Control Windows Media Player
Thanks, The second link isn't working yet. What I'm trying to do is to mute the volume of the wmv on a button event in flash. Hope someone has already done this before. Regards, Sander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of g.wygonik Sent: dinsdag 24 oktober 2006 16:33 To: Flashcoders mailing list Subject: Re: [Flashcoders] Using Flash to Control Windows Media Player Ah yes - the power of old links... :-\ Here are current locations of those links, and hopefully will stay for some time (the old ones were on a local server that died and these are now on a hosting company server that hopefully won't die) controlling a video: http://artificialcolors.com/experiments/page_video1.html note that this is a really old example. These days, with there being a WMP implimentation that works in Firefox, as well as the ExternalInterface API, you might be able to get this running in other browsers. second, here's the OLD experiments page: http://artificialcolors.com/experiments/page_experiments_1.html the SMIL file lip-syncing experiment is in there. It worked fine but is, again, really old. You can probably come up with some better solutions these days. hth g. On 10/24/06, Sander van Surksum <[EMAIL PROTECTED]> wrote: > > Hello, > > Is there anyone who's got this, using Flash to Control Windows Media > Player, working. I'm trying to control the audio of a wmv movie in > flash. > > I've searched in the archives and found someone who had it working but > the URL is dead. > > Original message from archive > > there are definate issues with browsers - eg: it doesn't work outside > of IE/PC, but it is cool when it does. :-) > > some examples for you: > > www.artificialcolors.com/page_experiments_1.html (lipsynching > technique = Flash calls WMP to playback MP3s with SMIL files to > trigger actions back inside Flash) > > www.cutratebox.com/f5/page_video.html (control WMP playing a movie > overtop flash, with the appearence the video is in the flash movie) > > hth > g. > > > > Regards, > > Sander > ___ > 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 > -- weblog: broadcast.artificialcolors.com blazePDF: www.blazepdf.com band: www.cutratebox.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] Using Flash to Control Windows Media Player
Hello, Is there anyone who's got this, using Flash to Control Windows Media Player, working. I'm trying to control the audio of a wmv movie in flash. I've searched in the archives and found someone who had it working but the URL is dead. Original message from archive there are definate issues with browsers - eg: it doesn't work outside of IE/PC, but it is cool when it does. :-) some examples for you: www.artificialcolors.com/page_experiments_1.html (lipsynching technique = Flash calls WMP to playback MP3s with SMIL files to trigger actions back inside Flash) www.cutratebox.com/f5/page_video.html (control WMP playing a movie overtop flash, with the appearence the video is in the flash movie) hth g. Regards, Sander ___ 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