ActionScript 3.0 :: Open A New Swf File From Link From Main?

Jul 23, 2010

Can i open a new swf file loading video from my Main swf File? I would like to put a link in the main swf file and when it will click i wanted to open a new swf file playing video in the another window.

View 7 Replies


Similar Posts:


Link The Buttons On My Flash Bar To Open The Pages Into The Main Frame ?

Nov 16, 2009

I have created a basic flash navigation menu bar for my website. I have added the bar into a frame on my dreamweaver page. I was just wondering if it was possible to link the buttons on my flash bar to open the pages into the main frame below my navigation bar? The code I have at the moment for my "home" button is the following:

master_mc.home_btn.addEventListener(MouseEvent.CLI CK, homeF);
function homeF(e:MouseEvent):void{
var homeL:URLRequest = new URLRequest("C:UsersSalisburyDocumentsProjecti ndex.html");
navigateToURL(homeL,"_blank");

and this is opening the "home" page in a new window. Is it possible to make it open it in my main frame (called mainFrame)?

View 3 Replies

ActionScript 2.0 :: Main.swf File That Should Open Another Swf-file,

Oct 6, 2004

Problem with external swf loading into a main swf.I have a button inside my main.swf file that should open another swf-file, putting it on the same place as an invisible movieclip called "(projectyta)". I want it there and it works out fine.[code]The external swf file shows just as I want it to show when I press the button from the main.swf, Only, I have buttons inside my external swf that doesn't work. The external swf file just stays in frame 1 all the time.

View 2 Replies

Altering The Link In A Flash File So It Doesn't Open In A Ne

Nov 22, 2010

I have a flash file on the homepage of my client's website. When you click "Enter", the new page opens in a new tab. I want it all to stay in the same tab. If you would like to view the entire code yourself to identify how I could solve this issue, the site is: [URL] - but if not here is the code of the Flash file itself:

[Code]....

View 1 Replies

ActionScript 2.0 :: Change The Link To Open A .swf File In Tha Same Flashmovie?

Apr 18, 2005

In a drop down menu I have the links as texts in an array. right now it works like this..

links[2]="http:[url].....

Whant is to change the link to open a .swf file in tha same flashmovie. I normally use this script when I use buttons. Is ther any way I can connect this script to the link..

on(release){

loadMovieNum("contact.swf", 1)
}[code]....

View 1 Replies

Professional :: Altering The Link In A Flash File So It Doesn't Open In A New Tab

Nov 22, 2010

I have a flash file on the homepage of my client's  website. When you click "Enter", the new page opens in a new tab. I want  it all to stay in the same tab. If you would like to view the entire  code yourself to identify how I could solve this issue, the site is: [URL]- but if not then I will paste the code of the  flash object below:
 
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="720" height="540">
<param name="movie" value="Scripts/FrontPage2.swf" />

[Code]....

View 3 Replies

ActionScript 2.0 :: Link To External Swf Frame, From Main File?

May 26, 2009

I have some buttons in my main movie.I want each button to link to a different frame of an external movie. Is this possible?

View 2 Replies

ActionScript 3.0 :: Get The Link To Internal Page Not Open Link As Pop Up?

Jun 10, 2009

I've created a flash naviagation menu and currenlly my links will open a pop up window.  I don't want this.  I want it to open the link in the same window.  Here is the code for one of the links:
  
var home:URLRequest = new URLRequest("index.html");
function homeDown(event:MouseEvent):void {    navigateToURL(home,"_self");}
button_home.addEventListener(MouseEvent.CLICK,homeDown);

View 1 Replies

ActionScript 2.0 :: Make A Link In Loaded SWF Link To ITS Main Timeline?

Dec 17, 2009

I am literally at the end of my wick with this one! Here's the skinny, so to speak:

home.swf
products.swf
button line mc

[code]........

View 3 Replies

Getting A Link Within An Swf File On One Page To Open A New Page?

Mar 23, 2009

I am able to pass a variable from an html link that loads a separate html file and instructs the embedded file to go to a specific frame.But - I now need a link within an swf file on one page to open a new page and tell that swf to start on a specific frame and it is not working. Here is the code I use for the first example - works like a champ:

html file 1

Code:

<a href="fullpage.html?stateVar=19">Go here</a>

html file 2 swf embed code with variable info:

Code:

<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("yourSWF.swf", "sotester", "500", "500", "8", "#FF6600");

[code]....

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

Open Link In Same Window?

Jan 19, 2010

how to make the URL open in the same window. I am using flash CS3, Is there anyone who can edit the script below to allow this. The instance name is Button6

var getnextpage5:URLRequest = new URLRequest ("http://www.yokubou.co.uk/digitalart.html");
Button6.addEventListener(MouseEvent.CLICK,b5Click) ;
function b5Click(event:MouseEvent):void{

[Code]....

View 2 Replies

Open New Link In New WINDOW?

Jun 17, 2010

I've been using this code, which, when i click on a button it sends me to a new link, but when I put the .swf on my website and click the button, it sends me to a new tab *BUT* the url is instead ofI also want it in a new window instead of a new tab.here's the code (All in the first frame)

Actionscript Code:
button31BTN.addEventListener(MouseEvent.CLICK, clickButton31);function clickButton31(event:MouseEvent):void{  var url:String = "www.theurl.com";  var

[code].....

View 2 Replies

ActionScript 1/2 :: Open A Link From Exe?

Jun 15, 2007

When I am opening a link from a shell (exe or Projector), its opening behind the projector or exe.

How can I make that browser window to get open over my project's exe ? Note: my projector is running in full screen mode and it is standalone not in a browser.

View 1 Replies

ActionScript 2.0 :: Link Can't Open In Same Window

Apr 21, 2009

I have a simple link in my flash movie. The code attached to the button click goes like this[code]...

View 3 Replies

ActionScript 2.0 :: CS3 Link Won't Open In New Tab / Window

Sep 6, 2009

Im new in flash.I have a link in my flash menu "Home" section. The code attached to the button click goes like this [code]...

The link works fine, but it dont open in the same tab. It keeps opening in a new tab. I need it to open in same tab in my browser. wat i have to do to open it in same tab/window?

View 3 Replies

ActionScript 2.0 :: Self Target Does Not Open Link

Oct 20, 2009

I have some dynamic text and it does not like _self. _blank opens fine but when I apply the _self target it does not open the link. It still sees that it is a link it just will not open.
Flash CS3 AS2

View 6 Replies

ActionScript 3.0 :: Open Link In Same Window

Mar 15, 2010

how to make the URL open in the same window. I am using flash CS3, Is there anyone who can edit the script below to allow this. The instance name is Button6

var getnextpage5:URLRequest = new URLRequest ("http://www.yokubou.co.uk/digitalart.html");
Button6.addEventListener(MouseEvent.CLICK,b5Click) ;
function b5Click(event:MouseEvent):void{

[code]....

View 2 Replies

Open Link In New Window, Specified Size?

Jul 7, 2010

Pretty simple- just trying to have a link in my .swf open in a new window, with a specified size.

I have done this before but can't seem to remember/find a tutorial... well besides one on kirupa that didn't seem to work for me.

I believe the method I used before involved putting some code on the page you were linking to...

View 1 Replies

Professional :: Open Link In Same Window?

Jan 19, 2010

Does anyone know how to make the URL open in the same window. I am using flash CS3, Is there anyone who can edit the script below to allow this. The instance name is Button6 var getnextpage5:URLRequest = new URLRequesthttp://www.yokubou.co.uk/digitalart.html");Button6.addEventListener(MouseEvent.CLICK,b5Click) ;function b5Click(event:MouseEvent):void{navigateToURL(getnextpage5);}

View 1 Replies

ActionScript 3.0 :: Open Link In Same Window?

Feb 1, 2011

Im using AS3 obviously, and this is my code so far.[code]...
 
I have three frames that i want to link to three different html pages and i need them to open in the same window. I have put this code on each frame, changing the instance names for each frame (link1, link2 and link3)
 
When i click the flash in pulish (f12) the link works but in a new window, not the same. Does this mean the 'self' attribute is wrong? or is it for some other reason?

View 1 Replies

ActionScript 2.0 :: XML Link Open In New Window?

Jan 4, 2010

I'm using an XML file to load all my images and text, but would like an image to link to a website, but open in a new window.So far, here's my relivant code;

In the .XML ;
Code:
<page name="Picture_Image_1">

[code].....

View 3 Replies

ActionScript 2.0 :: Open Link In Iframe?

Jan 11, 2010

I have designed a flash interface for website. that the button in the left. and i want to button links that when we Click open in ( iframe) in the visual studio when I put the interface in the website .

[Code]...

View 3 Replies

ActionScript 3.0 :: Link Won't Open In _self

Aug 18, 2010

I'm working on a Flash navigation using AS3. It can be seen as is @ PhilipK .ca /portfolio .

I want to make it so when you click the button on the far right, for the second time it opens a link in the tab that the flash video is embeded.

Here is the code I am having trouble with...

{
navigateToURL(new URLRequest ("philipk.ca/photo_gallery/photography"), '_self') ;
}

http removed before address because I am not able to post URLs untill 50 posts

I am wondering if I have to change part of the code within the HTML? Or am I doing something wrong with the AS3 code?

View 1 Replies

ActionScript 2.0 :: Link To Download PDF (not Open)

Apr 29, 2006

I am trying to setup a link for users to download a PDF from my site. Does anyone know if there is a way to force a download dialogue box, instead of having the PDF open in a new window. I've been using the GetURL to do this. I have looked everywhere, and only found this: [URL] But when I try to do it, there are errors, and its way above me to fix. I'm trying to do this because for some very weird reason, when it opens now in the new window, Acrobat just crashes (no clue why, but it does on all computers -- I've tested on 5).

View 1 Replies

ActionScript 2.0 :: Can't Get A Link To Open In A New Window

Sep 6, 2007

I can't seem to get a link to open in a new window, no matter what I try. I thought this was a problem with firefox, but I'm not sure. I'm simply using getURL like this... the link is loaded from an XML file

mainBtn.onRelease = function():Void {
if (this.gallery == "yes") {
logo_mc.unloadMovie("MD_imagefader.swf");

[Code].....

Basically, firefox just says "transferring..." on the bottom when clicked forever, and never loads anything nor does it open a new window. When I test it on my local hard drive, firefox returns a security error that it's trying to communicate with a web source.

View 2 Replies

ActionScript 2.0 :: Open Link In Parent SWF?

Feb 10, 2011

i Have a swf, in which i load an external swf... and the external swf has a link which need to be open in the parent swf...

View 1 Replies

ActionScript 3.0 :: Swf Must Open In Main Swf

Sep 12, 2011

I have a swf.When a button is clicked a different swf must open in the main swf, also giving user option to close the current playing swf and going back to the main page.

View 1 Replies

Link Flash File To Link To Dreamweaver Page?

Jan 11, 2010

i have created a flash animation for my homepage, i want to make part of that flash animation a "enter" button so when clicked would go to my page 2 on my website.

i have never done any script before and only used dreamweaver on a mac. is there an easy way to create this button to link to my next page and to stop my file to stop looping?

View 1 Replies







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