Actionscript 3 :: StageWebView Lack On URLs With Target="_blank"?

Jan 20, 2012

is there any solution on StageWebView.loadURL(), how I can handle URLs in HTML Pages which have target="_blank"?

It's a mobile Android App (TabbedViewApplication)

View 6 Replies


Similar Posts:


Flash - How To Target URLs In AS3

Oct 27, 2011

How would you add a target="_self" function onto the buttons in this actionscript (as3) I need the buttons to open within the same browser window and not a new (_blank) window:

skype_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("skype:mySkypeIdentifier"));
} email_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseUpHandler);
function mouseUpHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("mailto:myEmailAddresss@myDomain.com?subject=rts
Esolutions enquiry"));
}

View 1 Replies

ActionScript 3.0 :: Drop And Drop 4 Movie Clips To Single Target To Navigate To Separate Urls

Jan 20, 2010

var myTargetName:String = "target" + event.target.name;
var myTarget:DisplayObject = getChildByName(myTargetName);
if (event.target.dropTarget != null && event.target.dropTarget.parent == myTarget){
navigateToURL(new URLRequest(http:// websiteAdress.com));
 
I am trying to navigate to a new url for each movie clip, problem is im really unsure of how to achieve this I have one target on my page and would like to be able to drop any of these movie clipt o to  it?
 
the movie clips are named:

port1_mc
port2_mc
port3_mc
port_4mc

View 3 Replies

IDE :: Lack Of Smoothness In Playback

Jul 1, 2009

I'm creating a movie with a swift flying quickly across screen, but in playback it always appears as if there are two or three swifts flying together almost on top of one another, a sort of stuttering effect in the playback. I've tried altering frame rate/frame number ratio; tried viewing the swf file in the external movie player, but nothing seems to improve it.

Is this lack of smoothness a basic problem in Flash with moving objects, or is it something to do with my Flash preferences, or even my computer settings? What are the standard ways to try and increase smoothness of playback in Flash?.

View 4 Replies

Flash 10 :: Small Lack In Frame Looping?

Aug 8, 2010

I made a gear and created a 40 frame long tween for it using this: i36.tinypic.com/97tk0h.png @ 24 fps. But when the tween reaches the 40th frame and starts again from 1st frame there is a small small lack. I mean i pauses for very very very small time (almost not noticeable, but i see it anyway as developer). So is there any way how to make it work perfect with out the small lack/pause?

View 1 Replies

Flex :: ASMX Service And Lack Of Crossdomain.xml File?

Oct 29, 2010

I have an issue with an asmx service I am trying to access. No crossdomain file. I read there is a way around this using HTTPService instead of a webservice. Still cannot load the wsdl. See code below.

var dataService:HTTPService = new HTTPService();
dataService.url =
"http://flexmappers.com/proxy.php?url=http://www.server.net/carbon.asmx";[code]....

View 2 Replies

ActionScript 3.0 :: Slower Cpu And Lack Of Graphics Card - Strange Results

Feb 26, 2009

I'm not working on my usual windows computer, but on my friend's mac.This mac has no graphics card, and a slower cpu. the result is a decrease in fps from 55+- to 20+-. the strange thing is: the screen doesnt seem to lagg at all. but all the objects are moving very slowly.It's very strange.I do all the movement and calculations etc, not in onEnterFrame, but in a TimerEvent.TIMER event listener. now how come this is the case?because what i'd expect to happen, is that everything moves at normal speed, but with laggs.whats going on?

View 2 Replies

Flex :: Security Sandbox Violation: Lack Of Policy File Permissions

Apr 15, 2011

I'm using as3httpclientlib to post data to my web service, but I'm continually getting the following security violation. Does anyone know how to resolve this? My crossdomain.xml file is below the security violation notice. NOTE: I'm using apache to proxy requests to the web service, therefore the target url/port and the url/port serving the applet are the same -- [URL] Also, the rossdomain.xml file is located in the root of the web app which serves the applet rather the web service; however, since the requests are proxied the url for the file is [URL]

[Code]...

View 1 Replies

ActionScript 3.0 :: Bypassing Pop-up Filters With _blank?

Jan 28, 2008

I figured out why my external, embedded player wouldn't link back to my site: I was using _self rather than _blank, which I'm sure many of you knew.

However, my next stumbling block is that any subsequent link now needs to be authorized if you are using a browser with a pop-up blocker (IE7, Firefox, etc.). What I've noticed is that YouTube has somehow completely bypassed this, and I need to figure out how.

First, check out this site for an example of my player and YouTube's player on the same page: [URL]

Note in the lower-right the YouTube clip. Click that first. Notice how the pop-up blocker doesn't ask for permission? Then, beneath that is my "Comic Wonder" player. If you click on any links, it'll work, but only if you allow your pop-up blocker to allow it.

how YouTube has bypassed that?

View 9 Replies

ActionScript 3.0 :: Can't Link To A _self Page And Only _blank

Sep 4, 2009

How would I make this open in the same window instead of a blank popup window?

//Navigate to some URL
var urlRequest:URLRequest = new URLRequest("http://www.blah.com/links.php");
navigateToURL(urlRequest);
}

View 3 Replies

ActionScript 2.0 :: Force A Banner To Open To _blank?

Mar 10, 2006

so we have this banner ad system and we plug peoples banners into it. Some people give us .swf files that open to _self or the current window the banner is sitting in.I was wondering if there is a way to force the .swf to open to a _blank window.

View 5 Replies

ActionScript 2.0 :: Open Site On _blank Window With Get Url?

Mar 28, 2008

I got that some my flash sites have problem to open site on _blank window with get url ...

getURL("...my_link...", "_blank");

I tryied also with some javascript to open popup but Firefox e IE7 doesnt open nothing if you dont authorize it

View 2 Replies

ActionScript 2.0 :: GetURL('', '_blank') Not Working In Firefox?

Nov 17, 2004

I'm encountering a problem with the getURL function. When I have a button with the following AS

Code:
on(release) {
getURL("http://www.google.com", "_blank");
}

and test it within Firefox (0.9.2) then it loads within the same tab which isn't what I want obviously. In IE it loads a new window without problems. This used to work but I after reinstalling winXP with SP2 it doesn't work anymore

View 5 Replies

ActionScript 1/2 :: GetURL _blank  : Width And Height Parameters

Mar 3, 2007

i'm trying to construct a flash menu with simple getURL functions. However, i need to specify the dimensions of the new URL. how do i do this?

example :

on (release) {
getURL("
http://www.adobe.html", "_blank");
}

View 5 Replies

ActionScript 2.0 :: Flash Rollover Button - Open The Url In _blank

Jul 18, 2006

i have a flsh button with a rollover state and that buttons should turn from black to red when i press them and stay that way only each one of then has a getUrl action... and opens the url in _blank. means the button is in text e.g PLAY SOUND

View 1 Replies

ActionScript 2.0 :: Make TextField Clickable Links To _blank Instead Of _self?

Feb 7, 2007

When a user clicks on a URL, I want the new page to open up in a new window (or tab),instead of always in _self, which of course replaces the movie. I've trace'd the htmlText contents, and see TARGET="" where it's building the clickable links, which I assume the browsers interpret as the same thing as _self. Is there some better way to change the target for any URLs, short of doing a search and replace of the htmlText field

View 9 Replies

ActionScript 2.0 :: Stopping Movie At Its _currentFrame When Using OnPress GetURL _blank?

Jun 12, 2006

I am trying to stop/pause my MC when I click on an image.

EG:
on (press){
gotoAndStop._currentframe;
getURL("image1.jpg", "_blank");
}

But when my image loads into the new window and I go back to the main content window on where I clicked the movie has already started playing!

[Code]...

View 4 Replies

Professional :: StageWebView Could Not Be Found?

Jan 19, 2011

I just put the code on the first frame. I'm getting an error saying flash.media.StageWebView could not be found. How do I use this?

using Flash Pro CS5
import flash.display.MovieClip;
import flash.media.StageWebView;

[code]......

View 9 Replies

ActionScript 3.0 :: Dress Up A StageWebView Window?

Sep 5, 2011

Is it possible to dress up a StageWebView window with borders etc?As it is, I just get this raw picture on the app screen. Could use a border...

View 5 Replies

Professional :: StageWebView Does Not Display On IPad?

Sep 10, 2011

I'm using a simple document. It has nothing in the library and the SWF is pointed to the class "Main" (Main.as is in the same folder). All Main.as has in it is this super complex code:

[Code].....

Nothing shows up. I run it in flash (ctrl+enter test movie) and I see google load. On the ipad2 I see absolutely nothing. why I don't see the StageWebView?

View 4 Replies

Professional :: StageWebView <video> Support?

Mar 29, 2012

When working in the Flash CS5 IDE and publishing this code it basically tells me I don't have <video> support.

import flash.geom.Rectangle;
import flash.media.StageWebView;
var webView:StageWebView = new StageWebView();[code].....

I can confirm this by publishing this code and clicking the "Test Video Support" button:

import flash.geom.Rectangle;
import flash.media.StageWebView;
var webView:StageWebView = new StageWebView();[code]....

Is it something to do with the browser used by StageWebView? Air WebKit? Something to do with the IDE?

View 4 Replies

Flash - StageWebView With Transparent Background?

Feb 25, 2011

I have a Flex Mobile Project with a View in it. I placed a background image on that view. Now I want to add a StageWebView on it to render an HTML file, in such a way that the contents of the HTML scroll while the View's background is visible. However, when the StageWebView gets rendered, it has a white background. I didn't find a Background property on it to modify. I tried to change the stage's alpha, but it didn't work.

View 1 Replies

Flex :: Simulate A Click In StageWebView?

Jul 16, 2011

I'm working on a flex mobile project now. I've created a StageWebView and call function loadString()[URL]..

It's a simple sample that if you click on the bookmark and you can get access to it.

But I want to put the content in the tag into a spark list. And get the same result when I click the list which needs some kind of simulation of a click in a webView.

View 1 Replies

ActionScript 3.0 :: Gracefully Close A StageWebView And Return To App?

Sep 5, 2011

I am trying to gracefully close a StageWebView, created in this case as (webview), and return to the app that is running it.At present I have three types of things I want displayed. Three different views of maps.I can call each type up, and it positions a webview on the screen in the top three/quarters of the screen.A button is displayed just below this, overlaying the app main screen, below the map window.In experimenting, I tried this option, which actually works, but then leaves the running app in a non-functional state.

This snippet of code shows;
Clearing the button. ( works fine ) &
removing the WebView ( works fine ),

[code]......

View 1 Replies

Professional :: AIR For IOS, Getting HTML5 Video To Autoplay In A StageWebView?

Sep 23, 2011

The video performance I get from the built in FLV video is pretty poor. I'm considering using a StageWebView to display a HTML5 page with a standard <video> in it.
 
The video shows up and (if I enable controls) can be played and it looks great (much better than FLV). The only issue is I cannot find a way to have the video autoplay once the StageWebView is loaded.
 
I've set the <video .... autoplay> parameter. I've also tried using JavaScript to send a video.play() (after the window load event is complete and the DOM is ready).
 
I can't wait for AIR3.0 so we can just use StageVideo.. But for now I'm using AIR2.7 via Flash CS5.5 publishing for an iPad2 via AIR for iOS.

View 1 Replies

ActionScript 3.0 :: Setting Character Encoding To UTF-8 In AIR Or StageWebView?

Feb 28, 2012

I'm making an AIR app that uses StageWebView to display an external html page.  The external page displays Spanish accented characters fine in browsers, but they show up as �� in AIR.Is there a setting available that I'm unaware of for setting character encoding to UTF-8 in AIR or StageWebView?Here's my code:
 
var webView:StageWebView = new StageWebView();
webView.stage = this.stage;
webView.viewPort = new Rectangle( 660, 180, 335, 480);

View 4 Replies

Flex :: Load Local Javascript Using Stagewebview?

Jul 24, 2011

I'm currently developing a flex mobile project. I currently need to load local javascript using stagewebview. Like:

var str:String = '<head>'+
'<script src="myLocalJs.js"/>'+
'</head><body>...</body>';
webView:StageWebView = new StageWebView();
webView.loadString(str);

Is there any way to load local javascript using StageWebView? I'm not expecting an answer like 'There is a project called StageWebViewBridge' since it does't have all the features I need.

View 2 Replies

Actionscript 3 :: Adobe Air : StageWebView Inside MovieClip

Mar 1, 2012

I want to have a StageWebView inside a MovieClip so if the MovieClip is moved, the Stage is moved to.

[Code]...

Even though the "view" mc has a y value of 50 and an x value of 10 the webView is locatet at x:0 and y:0. Of course I could just change the viewPort settings but I really need the WebView to move around with the "view" mc.

View 2 Replies

Iphone :: Flash - AIR - Make The StageWebView Content To Scale?

Jul 20, 2011

I am using Flash Builder 4.5 to build an iPhone app.In order to display ads I plan to use StageWebView and load a webpage containing the ad code.Lets say the ad will be 320x50 pixels.So the Actionscript code would look similar to this:

adView = new StageWebView();
adView.loadURL("http://www.myadishere.com/ad.html");
var top:Number = navigator.actionBar.measuredHeight + 1[code]....

In the application I have set the applicationDPI="160" so the application is displayed properly when run on iPhone3 and iPhone4.However the content of the StageWebView looks tiny on iPhone4.If I do adView.drawViewPortToBitmapData() the bitmap's size is OK.how to make the StageWebView content to scale accordingly, so it looks OK regardless of the screen DPI?

View 4 Replies

Android :: StageWebView Not Working On Samsung Nexus Device

Feb 9, 2012

I have following code And it is working fine in AIR device simulator on my desktop. But when I install it on device(samsung nexus with Android 2.3) it is loading nothing.

Code:
import flash.media.StageWebView;
import flash.events.LocationChangeEvent;
import flash.geom.Rectangle;
var wv:StageWebView = new StageWebView();
wv.viewPort = new Rectangle(0,0.stage.width,stage.height);
wv.stage = stage;
wv.loadURL("[URL]");

View 1 Replies







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