ActionScript 3.0 :: Open Multiple URLs?

Jun 27, 2011

This is only opening the 2nd website, how can I make flash open both?

ActionScript Code:
navigateToURL(new URLRequest("xttp://wwx.facebook.xom"), "_blank");
navigateToURL(new URLRequest("xttp://wwx.youtube.xom"), "_blank");

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Open URLs In A Flash Movie?

Oct 20, 2009

I tried posting this in the general flash forum with no sucess. I'm guessing my question is more geared towards AS3 anyway. So here goes:

I've created a flash intro for a website and I have it setup so that in the first frame of the intro it opens a popup window, and then in the last frame it opens the actual site in the same window as the intro. Right now when it hits the last frame it opens up the popup window a second time! In a lot of cases this would be fine but the popup is a music player and the two players playing on top of eachother just doesnt work.[code]...

View 2 Replies

Actionscript 2.0 :: 3D Carousel: IE Won't Open Urls In Same Window

Apr 22, 2009

I've almost finished my website but there's one thing that is REALLY getting on my nerves...When clicked on in Firefox and Safari all links (in Flash and HTML) open the urls in the same window, yet IE won't, it keeps opening the page in a new window. These are the paremeters I've set in XML, Flash and HTML:

XML (I've just pasted in one of the links, there are 15 in total)

<?xml version="1.0" encoding="utf-8"?>
<lemons>
<lemon image="Lemon1.png" tooltip="GutterStuff Pro" URLREF="file:///C:/Users/Marc/Desktop/Zest%20Media%20Website%202009/gutterstuff.html"/>

[Code].....

View 1 Replies

ActionScript 2.0 :: GetURL - Open Two URLs From One Click?

Jul 16, 2005

having a button open two URLs from one click? How would I modify this to make it work?

[Code]...

View 2 Replies

Link Multiple Images To Different Urls.

Apr 28, 2010

I've been trying to fix a problem I'm having in flash, but have no idea where to go from here. I am trying to link multiple images to different urls.[code]I need to make each bigImage file link to a different url.

View 6 Replies

ActionScript 3.0 :: Automate Multiple Slightly Different URLs?

Feb 1, 2010

I have an organization chart with about 40 items on it. Each item will have three options that will show up when moused over. Each of these options will go to a different [URL]... for example.

View 3 Replies

ActionScript 3.0 :: Multiple URLs, Error #1109

Apr 20, 2009

I'm trying to complete an ad project that will go on my institution's website. There are five ads (movie clips) that will cycle through once before stopping. From there, the user can hit a nav button (four movie clips) to view a particular ad and click on it, taking them to an outside website or a page on our own site.However, I've hit a snag involving Error #1109.

[Code]...

View 10 Replies

ActionScript 3.0 :: Multiple Urls For Button Link?

Jun 8, 2009

I've got a flash file loaded on more than 150 sites. The button in the file currently goes to a single URL, but we are developing individual URLs for the link for each site. How can I do this in one flash file? I don't want to create 150 flash files with different links. Can I variables or something?

View 3 Replies

Professional :: Create A Flash Website With Multiple Urls?

Feb 6, 2011

I am not great at flash and am making a website that has a few different tabs for different pages.How do I make different urls for each page?I want to track each page seperately.

View 1 Replies

ActionScript 3.0 :: Linking Multiple Buttons To Different URLs In Flash CS3?

Oct 5, 2007

I have a small flash movie with three buttons I would like to link to three different URLs. My code for these is below, however, when I test the movie there is a namespace error (copied below). I assume this is because both buttons are trying to use the same variable but I have no idea how to make this work in AS3.

where i need to make changes so the code understand that "thisButton" should take the user to URL#1 and "thatButton" should take the user to URL#2?

This is for my own site and I have to use AS3 as there is an FLV on it as well which requires AS3 to be viewed.

FIRST BUTTON

//when they click the "light" button go to the www.site/About page
this.lightButton.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void {

[Code]....

View 9 Replies

Professional :: Setting Up Runtime Shared Library URLs With Multiple Environments

Aug 26, 2010

I'm trying to figure out if we can use RSLs to contain common UI controls for our next project.  I'm running into an organizational issue that I can't quite figure out - how to get the RSLs to work in both a local development/debugging environment, and on a production web environment, with the same exporting/importing URLs.
 
Here's what my setup would look like.  Say I have a main application main.swf, an RSL lib.swf, and a UI module dialog.swf.
 
Main.swf loads or embeds dialog.swf.  lib.swf exports some symbols that dialog.swf imports.
 
On a local development environment, these swfs are found in folders like so:

[URL]
 
Here is the problem.  If I set the export/import url for symbols in lib.swf to "assets/lib/lib.swf" (relative to the location of main.swf), the runtime library gets loaded fine in the local environment.  But in the web environment, it does not load - the player just shows the "..." graphic indicating it is trying to load. 
 
Alternatively, I can use "http:/myapp.com/assets/lib/lib.swf" as the export/import url.  Now, it will work in the web environment.  However, in the local environment, dialog.swf will load symbols from the lib.swf that is out on the web, not the one that is local.  But I need it to load from the local version, so that designers can muck about with the assets and see the results locally before publishing to the web.
 
Is there some alternative way to set up the swf's, or way to set the URLs, or some other hoop I can jump through that will make the RSL load properly in either environment without having to manually change URLs all the time?
 
(Details: I am using Flash Builder 4, CS 5, Action Script 3, Flash Player 10... No Flex!  My example omits some details from my actual setup, such as the fact that we are using a preloader to load the main application, and a php script on the web page to start the preloader.)

View 4 Replies

ActionScript 3.0 :: Multiple Buttons Call Same Function To Link To Unique URLs??

Feb 11, 2011

So, I have tons o' buttons that each need to link to unique URLs, and I'd like to minimize coding as much as possible. The code below works, but I will have to do this about 50 times.Can I associate the URLs with the instance names of the buttons and then reuse the same function?In the event you didn't already guess, I'm a newbie to AS3

cap_mc.CapTeam_btn.addEventListener(MouseEvent.CLICK, capPage);
function capPage (evtObj:MouseEvent) {  trace("clicked") var url:String = "http://www.mydomain.com";  var request:URLRequest = new URLRequest(url); 

[code].....

View 8 Replies

ActionScript 3.0 :: Multiple Links - Open The Second Link As Soon As You Open The Links Page

May 17, 2009

I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.

[Code]...

View 15 Replies

ActionScript 3.0 :: Open Multiple Windows?

Apr 30, 2011

I have a swf file with 5 buttons each button goes to a different url, so lets say i have 5 buttons, button 1 goes to preloader1 button 2 goes to preloader2 and so on.the problem is if i click on button 1 and open preloader1, then click on button 2 it opens preloader2 in the same window as preloader1, how would i do it so it opens a different window,here is the as3 code

Code:
function viewPopup(e:MouseEvent) {
var address1:String = "room2/preloader.php";
var jscommand1:String = "window.open('" + address1 +

[code]...

i have changed this _self to _blank but still doesnt work

View 1 Replies

ActionScript 2.0 :: Open Multiple XML Sockets With An Array

Sep 2, 2011

I'm currently working on a project where I need to access multiple devices with differing IP addresses and Ports. I've defined "buttons" that will go to specific devices depending on the user input (sorry, hard to explain but I'm sure you'll get it). Everything works like a charm but I'd really like to see if there is a better way to code the following (maybe with an array) but I can't get it to work.

I will have up to 20 different devices so I'd like to streamline the code instead of having a bunch of "if" statements. As you can see, it's all the same just incrementing the TKsocket name.

[Code]...

View 3 Replies

ActionScript 2.0 :: Accordion Menu That Can Have Multiple Open Panels

Oct 16, 2009

I've seen all kinds of accordion menu examples that allow for one pane open at a time, but I really need one that can have more than one open at a time.

View 4 Replies

Flex :: Open Multiple Pop Up Browser Windows From ActionScript?

Jun 1, 2010

How to open multiple pop up browser windows from ActionScript?

View 2 Replies

Flex :: Accordion Component : Open Multiple NavigationContents At Once?

Jun 23, 2011

Is there a way to open multiple navigation contents at the same time with the Accordion in Flex 4.5 ?

View 1 Replies

ActionScript 2.0 :: Vertical Accordion With Multiple Open Panels?

Oct 17, 2009

I need to create an accordion interface that can have multiple open panels. I have seen so many examples out there that allow one at a time, but none that allow the user to have a few panels expanded at one time.

View 2 Replies

ActionScript 3.0 :: Scripted Movie Won't Run Outside Of Firewall ... Open Multiple Ports?

Sep 14, 2009

I'm new to Flash and AS3, but with the help of many examples I have managed to created a scripted movie using some time lapse photography. I load the images from an XML file and use an event listener to add each image as a child of a movie clip. As the number of children grew, it caused the frame rate to slow, so I figured out that I could remove them after they were viewed and just keep looping through the array.

This works great on the local machine and when served up from the web server behind the firewall. However, if I try to access the file from outside the firewall, it loads the first image or two very slowly (if at all) then hangs. I've performed a net stat from the server and noticed that it is opening an inordinate number of connections to the remote client on various client ports (from 6 to 60+).

[Code]...

View 1 Replies

Open Source Flash PLayer That Will Play Multiple Videos?

Jan 6, 2011

I'm completely new to Flash and actionscript, so please bare with me. But I'm in a bind, so I thought I'd give this a shot.I'm needing to play a commercial before playing an actual video on my company's website. Once the commercials ends, I'd like for the video to start automatically. Is there an open souce (free) flash player that will let me do this?I've watched a tutorial on how to do so, but when I try to make it work with a player, it never works.

View 1 Replies

Professional :: Prevent User Open / Play Flash Game On Multiple Browser Windows At One Time?

Mar 12, 2012

I made a game as the same site URL..Anyone knows how to prevent user open and play game on multiple browser windows at a time?I used flash control to embed flash into aspx page and connect to sql server

View 4 Replies

ActionScript 2.0 :: Multiple Centered Popup Window - Buttons Don't Open / Replace Past That One Popup

Jul 6, 2004

i'm using the centered pop up window script from: [URL]. i have multiple buttons in my flash movie which open screenshot html pages in external browser windows. the script works fine except when a popup window stays open. the rest of the buttons don't open/replace past that one popup. i tried changing the window name in the onRelease script to screen1, screen2, etc for each button, but that didn't work.

View 1 Replies

ActionScript 3.0 :: Multiple Buttons To Open Child Swfs Then Be Able To Close The Child From Within The Child?

Mar 25, 2009

I have a picture on the stage that has multiple items that have hotspots/links over them that should open a child swf on top of the background and show details about the items. then have a button in the child swf itself that removes the child from over the background so the user can click on another item etc.I found this code in someone's post and I am trying to modify it so that works for multiple swf files...it currently works for a single swf.I wan to pass the name of the button in front of the .swf in the URLRequest to have the same name as the instance name of the referring button. But I can't figure it out. Here is the code I am using on the stage

View 2 Replies

ActionScript 3.0 :: Way In It To Detect URLs?

Apr 22, 2009

I want to make a navigation, but this is a flash navigation in a normal website.

naturally its going to include rollovers, but i'd like it to show which page your already on.

is there a way in AS3 to detect URLs?

View 1 Replies

Cannot Add Urls To The Menu Text

Dec 1, 2009

I have a flash template and I can not add urls to the menu text.

View 1 Replies

ActionScript 3.0 :: Different Buttons / Different URLS

Jun 21, 2010

On one of the pages (In the site I'm designing) I have 4 buttons that need to link to 4 separate URLS. When I code one of the buttons, a link on another page is stopped.I guess what I'm asking is, what is the best way to 'layout' my button links in each page? And what is the best way to achieve 4 buttons with 4 different urls.

View 4 Replies

ActionScript 3.0 :: Buttons For URLs?

Sep 7, 2008

I am trying to put 3 buttons in a frame. I want each of themto act as a link to Web pages. If I use just the code forlink_btn_one it works great. If I include the code for the other 2it doesn't work. What am I doing wrong?Here's my code:

var link:URLRequest = new URLRequest("
http://www.skybooks.com");
link_btn_one.addEventListener(MouseEvent.CLICK, onClick);

[code]....

View 7 Replies

ActionScript 1/2 :: Using Xml To Load Urls?

Jan 18, 2010

I am a designer working on a flash project that is used to navigate to html pages. The project is a map - when you roll over different states there is an animation making that state pop out and show the state name. When you click each state (Button), it should open an html webpage. Right now the project works great, but I have the url's coded in flash actionscript using "onpress" and "load url." I would like to set it up so the flash file calls the URL for each button from an xml file, so it can be easily edited. The only thing it needs to call is the URL for each button. Can anyone give me simple instructions on how to make that happen?

View 5 Replies

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







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