RE: [Flashcoders] full screen window
If I understand correctly, you want users to click on a link that then opens up a new window that is fullscreen and closes the previous window that is now behind. This is what we do: script language=Javascript function openWindow() { window.open(**URL**,NewWindow,width=+screen.width+,height=+screen.he ight+,left = 0,top = 0,fullscreen=yes,navigationbar=no,toolbar=no,location=no,directories=no,stat us=no,menubar=no,scrollbars=no,resizable=no); closeWindow(); } function closeWindow() { window.open('','_parent',''); window.opener = window; window.close(); } /script After playing around with many options, this code seems to work well for us. Remember, fullscreen is not really fullscreen anymore. You still have some browser chrome left behind and in IE 7 there's a bar left behind in fullscreen that you can't remove by default. So unless you plan to scale your content, adjust the area size of your file accordingly. Joey Rivera Flash Developer iLearn, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravi Marella Sent: Tuesday, January 30, 2007 10:56 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] full screen window I cant afford two windows as the window which I have to open will get opened by a link on client's site which will just launch this window and so if I use another window, it'll make two popups opening using a single link which is not desired. I got this code on net: self.moveTo(0,0); self.resizeTo(screen.width,screen.height); But this doesn't hide the standard buttons, address and status bar. RaviKiran Marella -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: Tuesday, January 30, 2007 9:17 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] full screen window This might be simple but I'm trying this from last 4 hours and got no answer anywhere. How can you open a window in full screen mode using JavaScript? I want to open the same window in full screen mode, I mean with out using any other window to launch this full screen window or any button to launch it i.e. something to do with the onLoad event of the body tag. Thanks for replies in advance. Can't be done AFAIK. I'm pretty sure you have to launch a new window (which is a good thing, as no one wants browsers to be able to resize themselves to fullscreen) Danny ___ 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] Switch case problem...
You putting breaks in the case statements? Joey Rivera Flash Developer iLearn, Inc. (770) 218-0972 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Maria Barros Sent: Tuesday, December 05, 2006 1:50 PM To: Flashcoders mailing list Subject: [Flashcoders] Switch case problem... Hi.. Ive done a function with a switch case wich have each one a string variable value with the name of the link... var linkName:String = ; switch(linkName) { case link1: //run function with a gotoAndPlay that goes to the frame(linkName) case link2: //run function with a gotoAndPlay that goes to the frame(linkName) etc } And when i press a button for that link...he stores the value in the variable(linkName) and he runs the function... The problem is that when i press the button one...he goes to that link...but when i press the same button again...he goes to other link... I dont understand...i appreciate some help.. Thanks in advance. ___ 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] Old Flash Problem - Clips stop receiving clicks
We had that same issue with our system and I can't remember exactly what we did to fix it but it doesn't happen to us anymore. If I remember correctly it had something to do with focus issues. Try one or both of the below and see if that works: // think this might have been the problem _root.focusManager.enabled = false; // or maybe this, we handle our own tabbing functionality MovieClip.prototype.tabEnabled = false; Button.prototype.tabEnabled = false; TextField.prototype.tabEnabled = false; Joey Rivera -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Wednesday, November 29, 2006 9:16 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Old Flash Problem - Clips stop receiving clicks I see it in IE all the time. If you ever look at MSNBC.com's image galleries, the Flash buttons do this quite often, even with Flash 9. I have never found a workaround. It's an extremely annoying bug. I've tried some of Grant Skinner's suggestions from his blog with limited success. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: Wednesday, November 29, 2006 3:29 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Old Flash Problem - Clips stop receiving clicks There's an old problem with Flash that pops up every so often and I've never been able to determine what causes it or how to solve it. Sometimes certain clips/buttons stop receiving clicks unless you move the mouse between clicks. Does anyone know how or why this happens and how to get around it (hopefully not involving hitTest)? Do you use Safari? I believe there's a known bug with Safari that has this effect. IIRC it's been fixed in the latest release. (I may be making all this up...) Danny ___ 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] Re: swf and referring domain
Dave, Hopefully the following will help you get closer to your goal. I tried various things to get this to work and the biggest problem is I couldn't find a way to make javascript talk back to flash when it's created in flash. If you have javascript functions on the html page where the flash object is embedded, you can call the functions and have javascript communicate back with flash (this would be easy). I'm assuming this isn't an option for you since you can't expect people to include javascript scripts in a myspace page (it would be easily bypassed). What I did is created a new fla and added the following code: getURL( javascript:var s = window.location.toString(); ); getURL( javascript:alert('+this._url+ - refer: ' + s ) ); getURL( javascript:(window.document.test.myVar = s; ); // unfortunately this doesn't work, it never sends test(my flash object) the var getURL( javascript:if(s!='http://127.0.0.1/test.html'){ alert('bad, no access for you'); } ); (The swf was copied to another server and the html page was ran from my machines web server.) First, set a javascript var that is equal to the url of the webpage(location) Then, you could compare that var to the ones that should be allowed. If they are, don't do anything. If they aren't allowed do something. I was thinking maybe change the visibility of the object to false so people can't see/interact with it? Here's my html page I was testing with incase it helps: html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titletest/title /head body bgcolor=#ff phi/p object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash. cab#version=8,0,0,0 width=550 height=400 id=test align=middle param name=allowScriptAccess value=always / param name=movie value=http://www.somedomain.com/test.swf; /param name=quality value=high /param name=bgcolor value=#ff /embed src=http://www.somedomain.com/test.swf; quality=high bgcolor=#ff width=550 height=400 name=test align=middle allowScriptAccess=always type=application/x-shockwave-flash pluginspage=http://www.macromedia.com/go/getflashplayer; swLiveConnect=true / /object pbye/p /body /html Let me know if that helps, Joey Rivera ___ 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] Key combination Ctrl+S not allowed?
I haven't tried that combination. But if you can't get that to work, maybe you can start an interval when ctrl is pressed and if s is pressed in the x ms you can run your code. Not sure if this would work but maybe worth a try. Joey Rivera -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Monday, October 30, 2006 11:00 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Key combination Ctrl+S not allowed? Wait, I just realized why this is probably failing - ctrl+s is an IE shortcut... is there any way to get around that? I tried fscommand(trapallkeys, true); but no luck. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Monday, October 30, 2006 10:56 AM To: Flashcoders mailing list Subject: [Flashcoders] Key combination Ctrl+S not allowed? I am trying to capture control+S in a Windows file running in the Flash 8/9 player (IE 6). This is because I have a save feature in my RIA. I can capture S being down, I can capture Ctrl being down, I can capture ctrl+7 being down, but not ctrl+s? I even tried capturing ctrl+g (g is keycode 71)and that didn't work either. Any ideas? keyListener = new Object(); keyListener.onKeyDown = function(){ trace(Key.getCode()); //(83 is keycode for letter s) if (Key.isDown(Key.CONTROL) Key.getCode() == 83){ trace(Control+S was pressed)//never fires } } Key.addListener(keyListener); In the following code, Key.isDown(Key.CONTROL) Key.getCode() == 55 works fine to capture ctrl+7. keyListener = new Object(); keyListener.onKeyDown = function(){ trace(Key.getCode()); //(55 is keycode for number 7) if (Key.isDown(Key.CONTROL) Key.getCode() == 55){//55 capture Ctrl+7 trace(Control+7 was pressed)//fires fine } } Key.addListener(keyListener); Is capturing ctrl+s not allowed?? I also tried Key.isDown(83) instead of Key.getCode() == 83 but no luck either. I am testing in the browser, not in the IDE, so I wouldn't think it's a keyboard shortcut thing. What's going on here? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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] Graphics/Flash Animator Openings - Marietta, GA
We are currently looking for 3 or more qualified individuals for the position of Graphics/Flash Animator. More information is provided in the link below: http://www.ilearn.com/jobs Joey Rivera Flash Developer iLearn, Inc. ___ 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] ComboBox and Other Flash Components
Are you loading the ComboBox from an external swf (loadMovie) into a movie clip? If so, try putting a copy of the ComboBox component in the library of the root fla or the fla that is doing the loadMovie. Joey Rivera -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Thursday, June 15, 2006 1:29 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] ComboBox and Other Flash Components I've created a ComboBox. Strangely when I open the combobox, the field with selections goes under the other components...??? Is it on a lower layer in the timeline? ___ 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] browser will not quit!!
Try the following, should close the browser window without a prompt: AS code: // call javascript function closeWindow in html page getURL(javascript:closeWindow()); and add this script in the head of the html page created when you publish your file (same file that loads your swf), JS code: script function closeWindow() { window.open('','_parent',''); window.opener = window; window.close(); } /script This is what I use and works fine for me. Joey ___ 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