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


Similar Posts:


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

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

ActionScript 2.0 :: Javscript:window.open In IE - Link In A Button Inside A Flash Movie To Open A New Window And Play A Youtube Movie

Jul 13, 2009

I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:

on (release) {
var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}

This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.

View 8 Replies

ActionScript 2.0 :: Open A New Window If Have Thumbnail Pics In The Flash Movie But Want The Full Pic To Open Up In A New Window?

Mar 6, 2004

1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?

2) How do they do the menu bar here at this site:[URL]

View 1 Replies

ActionScript 2.0 :: Use The Icons To Load URLs Within The Main Movie?

Jan 27, 2010

Using an AS2 Carousel type menu with XML powered icons - and I'm trying to use the icons to load URLs within the main movie - in other words, load SWFs into the movie as opposed to external links. Someone here (thirdCherry) was kind enough provide this for internal loading targeting a movieClip:

//on release function
function released()
{
getURL(this._parent.url);

[code]....

View 1 Replies

ActionScript 2.0 :: Change Base Of Loaded Movie Urls?

Feb 25, 2010

I have a swf file named "intro.swf" and i have loaded another swf file with this path "En/main.swf" into it. And the file "main.swf" should load many xml and other files from its directory "En" , but when "main.swf" loads in "Into.swf" it can not load any of those xml and other files ,because the related urls of them begines from "Intro.swf" location. can i use any command in "main.swf" to change the base of all paths in this movie to upper diectory ? (for example i want to convert the path of "config.xml" to "En/config.xml" automatically).

View 0 Replies

ActionScript 3.0 :: Load Movie - The Last Frame Of The Movie Code Execute And Second Movie File Open Up And Start

Dec 3, 2009

I'm currently making an animation which will eventually exceed the 16,000 frame limit (don't ask haha), so, short of making two movies and having to just start up the next one, what is the code for loading a movie? I presume they need to be in the same directory? So basically all I want is on the last frame of the movie the code executes and the second movie file opens up and starts. I guess I'd want the current movie to close, too.

View 1 Replies

Flash :: Open PDF In Acrobat From Movie?

Nov 18, 2010

I have made a flash autorun splash screen for a CD containing numerous pdf' files. When I click on the files in the flash movie however, they open in a browser window. Is there any way to make them open in acrobat by default?

View 1 Replies

ActionScript 2.0 :: Open A New Flash Movie From Existing?

Jan 26, 2009

I've created a fullscreen Flash .exe. I want to be able to build a button that can allow you to close the exiting movie and open a new one (kinda like Lingo's OpenMovie command). I'm sure there's an easy way to do this in AS, I just can't find it.

View 1 Replies

ActionScript 2.0 :: Open A Flash Movie From A Button?

Dec 11, 2003

I want to clic a button and open a new window with a flash movie (with the exact dimensions of the SWF), without the browser options and centered, how to?

View 2 Replies

Open Maximized Window From Embedded Flash Movie?

Apr 8, 2009

I have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to open a new maximized window (not the full screen thing) onclick.

View 1 Replies

IDE :: Open A Mini Window Inside A Flash Movie?

Dec 10, 2002

How do you open a mini window inside a flash movie, draggable of course and with a close X, im talking inside the SWF not a new Explorer win.

View 6 Replies

ActionScript 3.0 :: Open A Greybox Window From Flash Movie?

Jul 31, 2009

I am trying to open a greybox window from my flash movie. I am not getting a syntax error, but the window will not open when I click the button, either.

Here is my actionScript 3 code:

ActionScript Code:
ericEmail.addEventListener(MouseEvent.CLICK, buttonclicked);
function buttonclicked(event:MouseEvent){
ExternalInterface.call("opengreybox",'http://www.cosmogrey.com/contacts/trautmann.html');
}

[Code]...

View 5 Replies

Get An Mp3 File To Auto-play When I Open A Flash Movie On My Computer?

Jul 31, 2009

How do I get an mp3 file to auto-play when I open a Flash movie on my computer? I presume it is actionscript but I am not sure what the code is.

View 2 Replies

ActionScript 2.0 :: Open A New Window When You Have Thumbnail Pictures In Flash Movie?

Mar 6, 2004

1) how do you open a new window if you have thumbnail pictures in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?[url]...

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

Swf Files And Todays Flash Program The Message Of Can't Open Protected Movie

Jul 31, 2009

I own and I am trying learn and use the CS3 Master collection which comes with Flash 9. I own and had a website built several (9) years ago which I am trying to update the files, So basiclly, I am trying to make updated changes to my own orginal .swf files and todays Flash program give me the message of "cannot open protected movie" I was not ever aware we locked any of the oringal .swf files we produced.

View 8 Replies

Professional :: Flash CS5.5 Crashes When Open Any Movie Clip With A Text Field?

Oct 14, 2011

Flash crashes when I try to open any Movie Clip with a text field. This happens with both CS 5 and CS5.5. I am on a Mac Running 10.6.8. The files in question began as a CS4 about a year ago and have been converted to CS5 and CS55 since.
 
This problem happens sometime but not always, but it has definitely gotten worse with the latest Flash Pro update. (Flash Pro CS5.5 v. 11.5.1.349)This appears to be related to Mac only. I have reprouced on two other Macs, but have not been able to on a PC.  (all running CS 5 or CS 5.5)We have a Javascript that goes through the FLA and embeds the fonts in all text fields. (Because font embedding in CS5 or CS5.5 infamously does not work at all). Sometimes if you run this script before you try to open the MC it will apparently fix the problem and let you in, sometimes it will not.

View 9 Replies

Flash Movie To Open New Window When Button Is Pushed Instead Of Taking User Away From Site

Jul 11, 2010

I just want part of my flash movie to open a new window when the button is pushed instead of taking the user away from my site.

View 2 Replies

ActionScript 3.0 :: Open The SWF That Was Created By Testing Movie In A Stand-alone Flash Player Or A Browser?

Jul 23, 2009

I am making a flash site and there is a main SWF which loads and unloads all other SWFs into and from it. For example, there are links to pages Home, Biography, Gallery, etc. When you click the Gallery link, gallery.swf loads and it is added to the main SWF.

So here's my problem: when I test my movie, everything works perfectly, but when I open the SWF that was created by testing movie in a stand-alone Flash Player or a browser, those SWF's sometimes don't load. If I click Biography link, for example, it usually doesn't load biography.swf but if I click Gallery link, which may or may not load gallery.swf, and then Biography link, there's a greater chance that biography.swf will be loaded.

View 2 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

ActionScript 3.0 :: Getting Various RSS URLs From Flash With PHP

Sep 3, 2010

I'm building a flash app that gets rss links from a list but then I need to retrieve the rss feed from the rss link to work with in flash. I did this locally using a proxy.php wich works on all types of urls.

PHP Code:
<?php
$url = $_GET['url'];
readfile($url);
?>

But on the server it only works with urls ending in .rss but not when it's a redirected url like .xml or other feedreader urls. How do I retrieve the rss from redirected urls on servers? Little sidenote, I made a test using a php form to call this proxy.php file that I made and when I use the urls that don't work in the flash app it does retrieve the rss feeds.

View 3 Replies

Flash Pages Given Separate Urls?

Nov 17, 2009

im trying to find info about giving sections of my flash websites different urls.[URL]How do i code it so that a url can take me to a section of a flash website?

View 3 Replies

Opening 2 URLs During Flash Intro?

Oct 19, 2009

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 again also! Ack! The code I've used for opening the popup window is:var url:URLRequest = new URLRequest("player.html"); navigateToURL(url, "_blank");
 
the code used in the last frame to move to the site is:var urlReq:URLRequest=new URLRequest('index2.html');navigateToURL(urlReq,'_self');
 
I'm guessing that it has something to do with re-using the same variable name. I tried changing the code in different ways on the second window opening but still had the same result, or broke it opening up any pages at all. I've also tried moving the two code snippets to different layers. I'm thinking there might be a few ways around this too such as if there is a way to trigger the popup window, and then have the intro wait x seconds and then opens the main site or something, but I have no clue how to go about doing any of this. have the site in question in a temp location currently and it can be viewed here: [Url]

View 1 Replies

ActionScript 2.0 :: Keeping Urls In Flash

Feb 11, 2004

Im using Swishmax and I can't seem to make a url open in my flash site(so it doesnt open as a pop up but in my actual flash site) So basically that it opens in a designated space that I made for it on my site. I know that a tuturial for this exists on this site but i just can't seem to find it.

View 2 Replies

ActionScript 3.0 :: Use Of /#/ In Urls On Flash Websites?

Jan 6, 2010

I've noticed that a number of Flash sites have urls such as [URL] which gives the ability to return to a specific area (in this case "services") of the site rather than staying on the homepage each time you go back to the page. As you navigate through the site the url changes to reflect where you are in the swf.

View 3 Replies

ActionScript 2.0 :: Keeping Urls In Flash?

Feb 11, 2004

Im using Swishmax and I can't seem to make a url open in my flash site(so it doesnt open as a pop up but in my actual flash site) So basically that it opens in a designated space that I made for it on my site. I know that a tuturial for this exists on this site but i just can't seem to find it.

View 2 Replies

ActionScript 3.0 :: Add Urls To Instances And Components In Flash?

Feb 17, 2009

I am building a website in flash and I am totally new to action script, borrowing script from around the internet. I have
been searching for days on how I could link my Flash pages to each other but I cant find anything (for action script 3), What Code do I use? Also I am looking for how I could add links to pictures in my title List Component to other pages I have created. I have Included the Script I have made for My Title List Component, How can I insert Urls or Links into this code for each Item?

View 4 Replies







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