ActionScript 3.0 :: NavigateToURL On Windows FF2 And IE7

Nov 17, 2009

I have a problem in Flash CS3 using AS3 which is driving me nuts. What I am doing seems easy enough and it works fine on Macintosh under Firefox and Safari, but I can't get it to work on Windows under Firefox 2 or IE 7.

I have a button on the stage with an animation that leads up to it's reveal, hence the stop() function in the AS. The button is labelled "Web_btn" and the purpose is to open a web site when the user clicks on the button. Ideally I would like the button to open in a new window but I understand that that is a problem due to web blockers so I have chosen to use "_self" for now. On the Mac (OSX 10.5.8 and Flash 10) everything works as expected but on Windows (XP SP3 and Flash 10) when I click on the button nothing happens. Here is the code I am using:

Code:
// Initialize
function init()
{

[Code].....

View 1 Replies


Similar Posts:


ActionScript 3.0 :: NavigateToURL Vs Blocked Pop-up Windows

Apr 25, 2011

Assuming that I want to open some html file placed on server with the use of navigateToURL: navigateToURL(new URLRequest("MyDirectory_1/MyDirectory_2/index.html"), "_blank"); Html opened in this way makes browser treat it as a pop-up window. As a result the html is blocked by browser.

View 2 Replies

Windows :: PDF Displaying Correctly In Flex Mx:HTML Control In Windows / Reader X

Oct 28, 2011

I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder

[Code]...

View 1 Replies

Embed Flash Games Into Windows Forms Application.net Compact Framework Under Windows Mobile 6?

Feb 5, 2010

I want develop an application on windows mobile.In this app, i need to show some Flash games to the end user.ow should I do?embed an Flash ActiveX Control (in Windows mobile Form application) ?embed an IE control?BTW (because i do not have a windows mobile device now)Can I views flash in IE of the windows mobile device?for play flash, Macromedia Flash Player 7 for Pocket PC should be installed on your windows mobile emulator.DIT2:after practice i found following package should be installed before your windows mobile progr

Vista SP2
Visual Studio 2008 SP1
Windows Mobile Device Center

[code].....

View 2 Replies

Windows :: Flex - MXMLC Throws A Java.lang.NullExceptionPointer When Compiling In Windows (not In Mac Nor Ubuntu)

Feb 23, 2011

I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:

[Code]...

All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.

View 1 Replies

Windows :: Flex - FileReference: Loading A Windows-locked File?

Mar 8, 2010

I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?

var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);

[code]....

View 1 Replies

Windows :: Flex - Adobe Air - Lauch Windows Virtual Keyboard Osk.exe

Nov 25, 2011

From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?

View 1 Replies

Windows :: Flex - Air - Alwaysontop - Does Not Work In MAC But Works In Windows

Aug 29, 2009

i setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows.

View 1 Replies

Windows :: Embed Windows Media Player In Flex?

Aug 24, 2010

I have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.

As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player

View 1 Replies

Windows :: Create A Windows Projector .exe From Flex Application Using A Mac

Feb 6, 2012

I have a flex application (.swf) and want to create a projector file. When I choose File-> create projector I get the .app file because I work on a Mac. I know I can create both projector formats for windows and mac using the export feature in Flash Professional. But this is not an option since it's Flex.Is there any other way rather than switching to windows to create the file?

View 1 Replies

Windows :: Start Air/flex Application With Windows?

Sep 21, 2009

I want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?

View 1 Replies

Windows :: Windows Authentication In Flex Application?

Jul 30, 2010

does anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.

View 1 Replies

Windows :: Flash AS3 Animation In Mac Vs Windows

Jan 12, 2010

I am working on a short animated story, which has a scrubbable timeline and chapter headings. I used TimelineMax for sequencing it. For the most part, it is working fine. I am seeing some strange behavior that pop up, though: sprites disappear, functions stop responding to user input, seams of the sprites become transparent -- all small issues but pretty hard to nail down because they happen in Mac only.

So I am wondering what is wrong with Flash, and why it misbehaves on a Mac?

View 2 Replies

Flex :: RTMFP Direct Peer-to-peer Connection Working On Windows XP / But Not On Windows 7

Mar 1, 2012

we're having a strange problem on a project here. When we use NetConnection in combination with a NetGroup to initiate communication between two local AIR applications on Windows XP, they always both connect to the NetGroup succesfully and detect each other as neighbors. However, on Windows 7 both applications connect succesfully to the NetConnection and NetGroup both don't detect each other as neighbors.To reproduce this problem, here are two AIR applications:[code]

These applications can connect and send message to each other without a problem on Windows XP. On Windows 7 however, they cannot.Does anyone know why this wouldn't work on Windows 7 and what steps can be taken to make it work? It's critical to our project that this works.In some cases, the applications take quite a long time to detect each other as neighbors (up to 15 seconds in some cases), in other cases they detect each other immediately. Does anyone know what could cause this delay?

View 1 Replies

ActionScript 3.0 :: How To Use NavigateToURL

Jul 31, 2009

i have an xml file and i have created a gallery that loads thumbs at the start.what i want is that when user click on one of the thumb then it should open the big picture in another browser. i actually use it for swf files. swf files will be loaded in other window. my code is here

Code:
var xmlLoader:URLLoader = new URLLoader();
var imageLoader:Loader;
var xmlList:XMLList;

[code]....

View 0 Replies

ActionScript 3.0 :: NavigateToURL With PHP POST?

May 1, 2009

PHP Code:

var req:URLRequest = new URLRequest ("http://localhost/SE/processimage.php");
var vars:URLVariables = new URLVariables ();
vars.awd = "awd";

[code]...

When I load that url the variable is sent using the GET method instead. It appears in the url in the browser and the browser shows an error first then "awd", meaning it worked for $_GET. I tried both req.methods and tried adding "_self" and "_blank" and also on different browsers. It still uses GET.

View 2 Replies

ActionScript 3.0 :: For Loop And NavigateToURL

Feb 4, 2010

I'm having problems with creating a for loop to work with my CLICK state with navigateToURL.Can someone please show me the ways of my errors. I'm sure it is simple. Been out of the game for a while and coming in new to AS3. The roll states work fine.[code]

View 8 Replies

ActionScript 3.0 :: Dynamic Url Within NavigateToURL?

Jan 2, 2011

currently i have the main scene and within this scene i have a button with the value bg_src Also in the scene is a movieclip containing several frames, each frame with a different image and stop();, a different button simply tells this movieclip to go to the next frame, the last frame in that movieclip returns it to the first frame, so it will continuously loop through the images when the button is clicked, one image at a time.

Problem i am having is that i want the button with the value bg_src to link to the original source of the background images when it is clicked, whilst remaining part of the main scene and not within the movieclip.

lets assume image1 was [URL] and image2 was [URL] clicking the background change button would switch the background image to the second image, and the background source button would then, instead of opening a new page to[URL] when clicked, would then open a page to [URL]instead.

The code i have thus far is as follows :

Code:

bg_src.addEventListener(MouseEvent.CLICK, onBgsrc, false, 0, true);
var buttontext:TextFormat = new TextFormat();
buttontext.font = "Verdana";
buttontext.color = 0x424647;

[code]....

View 2 Replies

ActionScript 3.0 :: NavigateToURL With PHP POST

Feb 23, 2011

So I googled this problem and found like 3 threads with the exact same problem and what fixed their problem didn't fix mine, plus those threads are pretty dated. So I thought I'd get a more up to date answer.

[Code]...

When I load that url the variable is sent using the GET method instead. It appears in the url in the browser and the browser shows an error first then "awd", meaning it worked for $_GET. I tried both req.methods and tried adding "_self" and "_blank" and also on different browsers. It still uses GET.

View 4 Replies

ActionScript 3.0 :: Using GotoAndPlay Then NavigateToURL?

Feb 14, 2009

I'm having problems with my animation getting cut of by my navigateToURL code. What is supposed to happen is,If you click on "buttonBtn" it triggers a animation. At the end of the animation it is supposed to stop and bring up a url. I've used gotoAndPlay ("frm") and navigateToUrl. Each time I test it in the browser the animation will begin, but the url comes up before the animation is finished. How do I allow the animation to play all the way through and then retrieve the url?

stop();
//SimpleButton ButtonBtn;
function handleClick( pEvent:MouseEvent):void
{

[code]....

View 9 Replies

ActionScript 3.0 :: Can't Get Navigatetourl To Work

Mar 8, 2009

i've created a flash animation with as3. at the end of the timeline i've got a stop(); action on the last frame which is working just fine. on the following frame i have the navigatetourl action navigateToURL(new URLRequest [URL]} for some reason which i've been incapable of figuring out it will not automatically flip to the page i have written in my action when the animation has finished playing.

View 8 Replies

ActionScript 3.0 :: NavigateToURL Outside Of Domain

Nov 2, 2008

This is the code I want to use to direct a user to a different web page-

function linkToBiblioteca(event:MouseEvent) {
var request = new URLRequest('www.biblioteca.buap.mx');
navigateToURL(request,"_blank");
}

- but it trys to open inside of my directory. How can I avoid this?

View 3 Replies

ActionScript 3.0 :: NavigateToURL To Certain Frame

Nov 23, 2008

I'm kinda new with Flash but I've managed to create a menu for a homepage. Now when I click on one of the menu links - the page opens up in a new window. But I don't want that at all. I want the page to open up in another frame called mainframe. I've tried a number of things already; changing from "mainframe" to "_mainframe" and back, trippelchecking that the frames name really is mainframe so there's no typo. I've also changed the name of the mainframe both in the htmlfile and the code but that didn't work either.

Here's my code:
var linkabout:URLRequest = new URLRequest("about.html");
//...// function aboutClick(event: MouseEvent):void {
if(subDown[1] == true) {
//true = submenyn Īr nere o ska upp
subAbout_mc.gotoAndPlay(15);
[Code] .....

View 8 Replies

ActionScript 3.0 :: IE Blocks NavigateToURL As Pop-up?

Apr 2, 2010

On a game we just completed in Flash Builder 4, there are a couple of links like this:
 
var sponsorLink:String = http://www.plantersplace.com/;
navigateToURL(new URLRequest(sponsorLink), _blank);     
 
IE 7 in some installations is treating this as a popup. Firefox 3.6, Chrome 5, Safari 4 all fine.
 
The game in question is at [URL]
 
Click "continue without logging in, then click "show hint".  Click the hint.  This should fire the above code and open a new window.
 
Several users in IE report this gives them a pop up alert.  I am trying to find out why and what can be done about it.  I have tried the solution I found at Zorked but people STILL say they are getting popup alerts.

View 1 Replies

ActionScript 3.0 :: NavigateToUrl - IE8 Pop Up Block

Jun 30, 2010

I have a question: The following code, which works OK in Firefox and Safari, gets IE8 to throw a pop up block The simple code:

[Code]...

View 3 Replies

ActionScript 3.0 :: NavigateToURL In Flash CS5?

Sep 14, 2010

I had developed a whole series of tutorials using Flash CS4 (AS3). To load various modules I used the the following code:

Button_btn.addEventListener(MouseEvent.CLICK, btnClick);
function btnClick(event:MouseEvent):void
{[code]...

This works great with CS4 but when I stated using CS5 and exported my swf files, it stopped working. It seems that its trying to find the page over the internet and not the local directory anymore.

View 2 Replies

ActionScript 3.0 :: Get Pop Up Blocked When Using NavigatetoURL

Jul 14, 2008

I'm fairly new to actionscript. I have created a flash banner ad that is now hosted on a site. Whenever somebody clicks the banner IE responds witha a "pop-up blocked"!

The code that handles this is:
ActionScript Code:
clicky.addEventListener(MouseEvent.CLICK, gotourl);
function gotourl(e:MouseEvent):void {
if (root.loaderInfo.parameters.clickTAG.substr(0,5)=="http:") {
navigateToURL(new URLRequest(root.loaderInfo.parameters.clickTAG),"_blank");
}}

Where "clicky" is a SimpleButton that covers the entire flash. clickTAG is passed as an argument as to where to navigate. If I allow pop-ups everything works as it should! Howvere disabling pop-ups shouldnt be needed - and i see that other flash ads on the site works without and pop-up warning.

View 9 Replies

ActionScript 3.0 :: NavigateToUrl Not Switching To New Tab

Feb 12, 2009

I am using the following line of code in my Flash movie: navigateToURL(request,"_blank");However, when I am using Internet Explorer 7 (with tabbed browsing enabled), and this code is called to open a link, the link is opened in a new tab, but IE7 does not switch you to view that tab as you would expect!When I open a link in a normal web page in IE7 (and the link opens in a new tab because _blank was specified in the HTML code for that link), IE7 will switch you to that new tab to see the web page you just opened, so why does it not happen when using Flash?I know that within the settings for IE7, there is a setting that you can tick that says, Always switch to new tabs when they are created, and this solves the problem. However, many web site visitors will not have this ticked.How can I make sure that when a user opens a link in a new tab from my Flash movie, IE7 switches to that tab?I am using ActionScript 3.0 and Flash CS4.

View 1 Replies

ActionScript 3.0 :: GotoAndPlay Then NavigateToUrl

Feb 15, 2009

Maybe someone in this forum can give me some help. Here is what I'm trying to do... I have page that when you click any of the buttons, it triggers the same animation. Now, depending on which button you click, it will take you to a different url. My problem is, with the code I have, the animation gets cut off before it's finished and goes straight to the url. I know I need some type of listener or something to watch for the end of the animation before going to the url. I can't seem to figure out what that code is or where it needs to go. Also, my animation is not in a movie clip. It's all in Scene 1. I've got the following script in the first frame of the actions layer. I'm only about three weeks into self-teaching AS3, so tell me like a third grader what is up.[code]

View 1 Replies

ActionScript 3.0 :: Using NavigateToURL + Parameters?

Sep 18, 2009

I want to call another web page from flash, passing one parameter to it. I'm using the following code:

ActionScript Code:
var request:URLRequest = new URLRequest();
request.url = "index.html";
request.method = URLRequestMethod.GET;
request.data = new URLVariables("section=games");
navigateToURL(request, "_self");

[Code]...

View 7 Replies







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