[Flashcoders] Problems opening windows in Flash 8 w/Java Script...
so I've been working on a new flash project that opens new windows to display details of projects. well, I noticed that if I publish the swf as Flash 8, the java script won't work. is this a common problem? or am I just putting the wrong code in? this is what I'm using on the flash side:: on (release) { getURL(javascript:openWindow('http://www.dillingerkovach.com/ specdetail.html','newWindow','toolbar=0,menubar=0,scrollbars=0,resizable =0,width=450,height=250,left=120,top=180')); } is there another way to do it? it's not really a problem, because I'm not using anything in my swf that actually needs to be published as Flash 8 (filters or the like). but some day I might...any ideas? Jay ___ 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] Problems opening windows in Flash 8 w/Java Script...
Hello :) in flash8 you must use the ExternalInterface class :) if ( ExternalInterface.available ) { ExternalInterface.call( openWindow , params ) ; } EKA+ :) 2007/7/3, Jay Carlson [EMAIL PROTECTED]: so I've been working on a new flash project that opens new windows to display details of projects. well, I noticed that if I publish the swf as Flash 8, the java script won't work. is this a common problem? or am I just putting the wrong code in? this is what I'm using on the flash side:: on (release) { getURL(javascript:openWindow('http://www.dillingerkovach.com/ specdetail.html','newWindow','toolbar=0,menubar=0,scrollbars=0,resizable =0,width=450,height=250,left=120,top=180')); } is there another way to do it? it's not really a problem, because I'm not using anything in my swf that actually needs to be published as Flash 8 (filters or the like). but some day I might...any ideas? Jay ___ 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] Problems opening windows in Flash 8 w/Java Script...
sorry, Newb question probably...do I need to put the java in my HTML then? or is it different code there, too? Jay On Jul 3, 2007, at 10:14 AM, eka wrote: Hello :) in flash8 you must use the ExternalInterface class :) if ( ExternalInterface.available ) { ExternalInterface.call( openWindow , params ) ; } EKA+ :) 2007/7/3, Jay Carlson [EMAIL PROTECTED]: so I've been working on a new flash project that opens new windows to display details of projects. well, I noticed that if I publish the swf as Flash 8, the java script won't work. is this a common problem? or am I just putting the wrong code in? this is what I'm using on the flash side:: on (release) { getURL(javascript:openWindow('http://www.dillingerkovach.com/ specdetail.html','newWindow','toolbar=0,menubar=0,scrollbars=0,resiza ble =0,width=450,height=250,left=120,top=180')); } is there another way to do it? it's not really a problem, because I'm not using anything in my swf that actually needs to be published as Flash 8 (filters or the like). but some day I might...any ideas? Jay ___ 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 ...+. Jay Carlson Senior Web Designer Dillinger Kovach 817-719-3109 866-824-9790 Toll Free www.dillingerkovach.com [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] Problems opening windows in Flash 8 w/Java Script...
i know, i know this is wot i use on flash 8 on(release) { getURL(javascript:void window.open 'http://www.dillingerkovach.com/specdetail.html','newWin','width=606,height=445,left=0,top=0,toolbar=No,location=No, resizable=No,fullscreen=No')); } its important to define the result as void, if not u could end up with a blank page or error code, at the very same window your flash is contained. ch33r2 - Original Message - From: Jay Carlson [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 03, 2007 9:56 AM Subject: [Flashcoders] Problems opening windows in Flash 8 w/Java Script... so I've been working on a new flash project that opens new windows to display details of projects. well, I noticed that if I publish the swf as Flash 8, the java script won't work. is this a common problem? or am I just putting the wrong code in? this is what I'm using on the flash side:: on (release) { getURL(javascript:openWindow('http://www.dillingerkovach.com/ specdetail.html','newWindow','toolbar=0,menubar=0,scrollbars=0,resizable =0,width=450,height=250,left=120,top=180')); } is there another way to do it? it's not really a problem, because I'm not using anything in my swf that actually needs to be published as Flash 8 (filters or the like). but some day I might...any ideas? Jay ___ 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