ActionScript 3.0 :: When The Method Gets Called In Internet Explorer, It Sets The Keyboard Focus To The URL Bar?

Sep 21, 2009

Anyway, I have a game with keyboard input and mouse input, and after certain mouse inputs I want to set the focus back to the stage in order to continue listening for keyboard events. I have a simple method in the document class:

Code:
private function setCommandLineFocus( e:MouseEvent=null ):void
{
if( theCommandLine )[code]....

Where "theCommandLine" is a movieclip which gets attached, and is where I send the keyboard events to.

The problem I'm having is this: When the method gets called in internet explorer, it sets the keyboard focus to the URL bar, so you type stuff in, and then hit enter and it reloads the damn page.

View 1 Replies


Similar Posts:


Flash :: 301 Redirect Called From Crashes Internet Explorer

Sep 29, 2010

I have Flash game at my site. There is a button "Download full version" that calls Javascript function:

function download() {
window.open('http://mysite.com/goto/game1');
}
http://mysite.com/goto/game1
redirects via 301 redirect in .htaccess to
http://mystatisticsite.com/goto/mysite/game1

[Code]...

View 1 Replies

Actionscript 3 :: Internet Explorer Flash.net.URLStream Close() Method

Jan 15, 2012

Is anyone else aware of the fact that Internet Explorer (at least version 8) keeps downloading a file even if the close() method is called on an URLStream instance? Heck, it even keeps downloading if you close the tab displaying the site which called the load()/close() methods on an URLStream instance. Does anyone know of a solution to overcome this problem? More details: My preloader is loading a dozen of files and immediately closing the download streams with the purpose of checking each resource's file size. In Mozilla Firefox all goes well, exactly as expected, but Internet Explorer keeps downloading the resource even if the stream has been interrupted by the action script close() method.

View 1 Replies

Media Server :: "onDisconnect" Not Called Up With MS Internet Explorer Users

Nov 8, 2010

We are using Flash media server 3.5 with Windows. We have deconnection problems with visitors using Microsoft Internet Explorer (to be fully confirmed but we are nearly 100% sure) and in chat rooms; there they wait for their turn to speak to an online consultant, sometimes this waiting list can be 10 to 15 strong. Normally, when a client is automatically disconnected from a session, whatever the reason it is the ˜onDisconnect which is called up. Sometimes and with MS Internet Explorer this is not the case : the visitor or user is not anymore present in the chat room, he has quit or he got his interview with the consultant but ˜onDisconnect™ is not launched.

This causes unexpected problems like one or several people in the waiting list being kicked out of the ˜room all of a sudden without explanation for the user. Normally our consultants are on the air for one hour; after this time frame another consultant comes into the same chat room and normally he gets the remaining waiting list from the previous consultant and the previous hour of chat. Sometimes but often, the new consultant coming in sees the first one or the first two of the wainting list kicked out of the list : he then takes the second or third one in the old waiting list.

View 1 Replies

ActionScript 3.0 :: TLF Focus - Set The Keyboard Focus For A TLFTextField And Cursor?

Sep 14, 2010

can I set the keyboard focus for a TLFTextField? I tried stage.focus = myTLF but there is no cursor...

View 2 Replies

Flash Has Gap Around It In Firefox But Not Internet Explorer 6/7

Sep 29, 2008

With an image in the top left corner, this page displays the same in IE6/7 and FF:

[URL]

but when Flash of identical dimensions replaces the image, it works in IE6/7 but I get a gap around Flash in FF:

[URL]

I've tested on Windows XP/Vista, and I'm using Flash CS3 to generate AS2 content for Flash Player 9.

I've searched over an hour across the web for a solution, and done all sorts of fiddling with CSS properties and removing whitespace but no joy.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

[Code].....

View 3 Replies

Internet Explorer Flash Performance?

Nov 11, 2009

Steps to reproduce my problem:Create simple dot DisplayObject in flash

dot.graphics.beginFill( color);
dot.graphics.drawCircle( 0, 0, 2 );
dot.graphics.endFill();

Draw dot to bitmap many times a frame

bitmapData.draw( dot, null, null, "normal", null, _smoothing );

Test FrameRate in combination of browsers,flash plugin versions on Win32

Expect:

Framerate to be close in most cases

Observed:

I am seeing a 25% decrease in framerate under IE7 using Flash10b.ocx(10.0.22) and 50% decrease in framerate using Flash10c.ocx(10.0.32). PLugins under FireFox, Safari and in Mac OSX don't exhibit the same slowdown.

I would like to get help/confirmation on a performance problem that I see in Internet Explorer. The Adobe and Flash community is great on the Internet but I have been surprised to see no information on this, just a few reports about movie playback on 10.0.32 vs. 10.0.22.

My guess is that in IE flash plugin is passing draw calls to Win32 and that this is slow.

Instead of drawing each time on the bitmap using draw, cache the draw calls to a bitmap and use CopyPixels. When I do this the performance is the same across browsers, within 10%.

bitmapData.copyPixels(dot.bitmapData,dot.bi tmapData.rect,new Point(dot.x,dot.y),null,null,true);

Loop I am using:

function enterFrame(e:Event) {
bitmap.lock();
for (var i:int=0;i<particles.length;i++) {

[code]....

View 2 Replies

C# :: Run The Exe File In Internet Explorer By Using The .net Application?

Sep 30, 2010

I have the exe file of micromedia flash player. I am able to run this file from the .net application by using the following code

private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("peopledisplay.exe");

[code]......

View 2 Replies

Flex :: SWF Not Working In Internet Explorer

Jan 3, 2011

Why is the below code not working on IE.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="[URL]"
layout="absolute"
width="300"
height="100"
creationComplete="init()">
[Code] .....

View 1 Replies

Internet Explorer 9 :: Flash - Off By One Pixel In IE9 Only?

Mar 17, 2011

I have a website with a Flash banner. This has worked fine in all major browsers (IE7/8,Firefox, Chrome, Safari, Opera) for some time, but when I upgraded to IE9, the banner is displayed with a 1 pixel shim on the right-hand edge, which is throwing the layout off.know past versions of IE would display line breaks as white space and I wonder if that's what's going on here. I'm using the AC_FL_RunContent() function to display the Flash file.I'm not sure where to look to debug this, but I'd like to fix it sooner rather than later

View 3 Replies

Actionscript 3 :: Internet Explorer - Facebook IE?

Apr 18, 2011

I'm trying to use the Facebook Actionscript graph api but I seem to be having problems in IE (other browsers like chrome and firefox seem okay so far).

From what i can tell, it's logging in fine and returning the user id but when i do a lookup on that user with Facebook.api(_user, handleUserRequest); I get an error.

Is there any known problems with the Facebook Actionscript graph api that affects IE only?

[Code]...

View 2 Replies

Internet Explorer Flash Blocks?

Sep 24, 2011

i am accessing flash content in IE.I am getting this error all the time.Error - Alternate HTML content should be placed here. This content requires the Adobe Flash Player. Get Flash

View 1 Replies

Xml - Get Request Being Aborted In Internet Explorer 9?

Sep 27, 2011

If you'll visit the site lab.buffspec.com SPECIFICALLY using Internet Explorer 9 and select a gildan 6.1, a hanes 6.1 or a gildan hood and then click on the get pricing button you will see that despite updating the quantity the total price isn't shown. This happens in Internet Explorer 9 only for these 3 shirts, the others work fine. And this behavior occurs only in IE9, the site works fine in firefox and chrome. When I select Developer tools in IE9 and go the network tab and start capturing, I find that the request shows '(Aborted)' and the initiator tab shows '(Pending)'.

[Code]...

View 1 Replies

ActionScript 3.0 :: Can't Remove Right-bar On Internet Explorer

Jul 8, 2009

I can't remove the right-bar on Internet Explorer[url]...

In Firefox and Safari everything is perfect... I use overflow-y property to do it. Is maybe not supported bye IE ?

View 4 Replies

IDE :: Loader Does Not Work In Internet Explorer

May 31, 2009

I have a preloader with the following code
stop();
this.loaderInfo.addEventListener(ProgressEvent.PRO GRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
function onProgress(erogressEvent):void {
var loaded:Number = e.target.bytesLoaded;
[Code] .....
It works great with Firefox and Safari on a mac but when viewing in internet explorer on a pc, the loader does not work at all.

View 1 Replies

ActionScript 3.0 :: Keyboard Focus Not The Same As Focus?

Mar 16, 2009

I have a TextField called textField on the first frame of the main timeline, and this simple code.

Code:
import flash.events.KeyboardEvent;
import flash.events.FocusEvent;

[code]......

View 2 Replies

ActionScript 3.0 :: Disable Accessing Internet Explorer?

Feb 9, 2009

i'm developing aplication in which there is one section for games....bt in games which i have put there,this games open internet explorer when user clicks on buttons in games. also there is restriction that i can not modify the buttons in game ..I dnt want this games to open web browser whn button isclicked..

View 2 Replies

ActionScript 3.0 :: Sound Causes Crash In Internet Explorer

Jan 30, 2009

The attached AS3 file is a simplified implementation of the Karplus-Strong plucked string algorithm, and demonstrates the use of the SampleDataEvent.SAMPLE_DATA event to synthesize audio on the fly. This will run all day long in Mozilla Firefox (Windows) or Safari (Mac). It crashes in IE6 and IE7 on Windows XP/Vista (you may have to give it some time, it probably won't crash
immediately).

View 3 Replies

ActionScript 1/2 :: Bizarre AS2 Error With Internet Explorer 6

Aug 18, 2009

I'll try my best to articulate the problem here. I have a client who is using IE6 on a hand-held device. They need an AS2 scripted file for Flash Player 7. I have the following script that serves as a welcome screen. It plays the welcome movie, then pauses for 4 seconds, then proceeds to the "intro" frame to begin the next movie.[code]...

It works fine on every browser I've used in-house. For some reason, however, the client says it gets hung up and won't proceed to the "intro" frame to play the next movie. I've tried eliminating the initial stop(); script, but then it doesn't play the movie at all and just goes to the next frame.

View 4 Replies

Flash :: Site Not Showing In Internet Explorer?

Sep 5, 2009

I have been asked to get a website up and running.  It is a Flash site, which works fine in Firefox and Safari, but its just a white screen in IE.  Does anyone know why?the website isand the scrip is : -

<head>
<script>
if ((navigator.userAgent.indexOf('iPhone') != -1) ||

[code].....

View 4 Replies

Professional :: XML Don't Load On Some Internet Explorer Browsers

Apr 7, 2010

i have a site developed in AS3 www.macweb.com.br and the link Portfolio load data from a XML file.
 
Some people that uses Windows XP 64 Bit with Internet Explorer 8 and Flash Player 10.0.45.2 (and others IE with Flash Player version as mentioned) are reporting that the Portfolio Icons and informations are not show.
 
I have tested this behave with my browsers IE 8 (on Win XP 32), Chrome, FireFox, Safari and Opera and the problem dont occur to me, so i need some light to look for the problem, if it is in my Flash file.

View 4 Replies

Professional :: Massive Internet Explorer Conflict

Jul 8, 2011

I got this website at work which I've just updated.It was working pretty well, yesterday I showed it to a friend.And it was working perfectly. This morning, I hear sound but all i get is a black screen.It works on every other browser (chrome, firefox, SeaMonkey, etc.) but in Internet Explorer, black screened.If anyone can,I need a quick solution, my bosses are freaking out and that is kindda out of my league as for "trouble shoot".Why something that was working not even 12 hours go goes awry on me today?

View 2 Replies

Flash :: File Not Running On Internet Explorer

Jul 14, 2011

[url]...Two flash files on the extreme right side, that is above the text THE SPORTS CLINIC and CENTRE FOR JOINT REPLACEMENTS runs fine with almost all browsers, except for internet explorer. I have tried everything, but it simply doesn't run over internet explorer.

View 1 Replies

ActionScript 1/2 :: Game Not Working In Internet Explorer?

Dec 30, 2011

I am learning to code in flash by making simple virtual paper doll games.  My most recent works fine in Safari and Chrome, but in IE gets the dreaded "a script in this movie is causing Adobe Flash to run slowly" and either refuses to load or plays everything immobile and blinking.
 
The game can be seen (or not seen, depending on browser) here: [URL]
 
It seems to load until around the 20% mark and then freeze.  The game also works fine when directly in my computer instead of on the web.

View 3 Replies

Javascript :: Flash Activate Internet Explorer?

Oct 30, 2009

as you all know that if we use flash object in web page in internet explorer Internet Explorer displays a box around Flash content and show a tooltip telling the user to click to activate the content. i am using fixit it work fine but problem is once page loaded completely.

View 2 Replies

Internet Explorer 7 - Flash Video Playing On Top Of Everything Else In IE7?

Apr 12, 2010

I've been spending hours now reading up on IE7's issue with rendering Flash content on top of other elements, particularly navigation menus (this is often a problem with dropdown menus and Flash ad banners, for example).

Update

At Mercator's request, I am providing a large code-sample to assist in any advice you might have. Consider the HTML below:

[code]...

The footpanel uses jQuery-powered flyout menus, if that provides any further context. These menus have z-indexes in the 300X range to appear above the footpanel.The Flash in question is JW player playing a flash video or mp4. Currently, the object and embed tags are inside a container div.My understanding of previous solutions was that the combination of the param changes and the positioning/z-index change on the container div should have resolved the issue. Alas, it is not so. The player resides on top of the footpanel.Other information that may or may not be helpful is that the page is XHTML 1.0 Transitional and that Dreamweaver reports 1 error in the HTML code: <embed> is not in the XHTML 1.0 specification. This fact does not prevent the video from being viewed in any browser tested, and the page still displays correctly in FF.

View 2 Replies

Flex :: Adobe Air Air.navigateToURL Bug With Internet Explorer

Jun 10, 2010

I have a really bizarre problem with my adobe air app. I have a method which launches a local HTML file and passes some querystring items to it.

Here is the code:

function printWin(def) {
def = encodeURI(def);
var req = new window.runtime.flash.net.URLRequest('print.html');

[Code].....

View 1 Replies

Html :: Flash - Not Rendering In Internet Explorer?

Jul 22, 2010

the following flash object placed in HTML, flash seems to be rendering good in FirefoxChrome, Safari but not in any version of IE!

View 4 Replies

Javascript :: SlideShare Does Not Load On Internet Explorer 8

Sep 30, 2010

I have made a simple embed of slideshare on my site. However, on Internet Explorer, it keeps saying "Loading" and nothing appears. However, in Firefox its almost instant. Please try here using internet explorer. Or is it just me? It makes use of Flash and Javascript.

View 2 Replies

Internet Explorer 8 - Flash Canceling Png Tiling?

Nov 16, 2010

I have a weird issue that only seems to show itself on IE 8 so far. I have a semi transparent png tiling accross some divs on my site. All works ok. However as soon as i put any flash content on any div on the page, doesn't matter where, IE stops tiling the png and stretches it instead. It only occurs with flash and on ie8.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved