ActionScript 3.0 :: Open An Html File In A New Window?

Feb 28, 2010

I am trying to make a webpage in flash and I´m almost finished. However my problem is this: I have a page with 6 text links and when clicked I want them to open an html file in a new window. Here is the code
 
christian.addEventListener(MouseEvent.CLICK,onMouseClick);function onMouseClick(e:MouseEvent):void{    var request:URLRequest = new URLRequest("christian.html");    navigateToURL(request,"_blank");}
This works fine, but how to I code the 5 other pages?

[Code]...

View 1 Replies


Similar Posts:


HTML :: How To Open Presentation Into SWF Window

May 19, 2011

So here I was creating an HTML menupage for a presentation that uses flash animations. I am using this code :
<a href="url" target="_blank></a>
Now as you seem the target="_blank" opens a new internet explorer window. What I want to do is to open my presentations into a SWF window. Is that possible?

View 1 Replies

ActionScript 2.0 :: CS3: Window.open In HTML In XML Into Flash?

Jun 24, 2008

My Flash CS3 file displays HTML text, read in from an XML file (within CDATA). The HTML text contains links in the form of <a> (anchor) tags (of course).I am attempting to open a new customized browser window whenever a user clicks on a displayed link. So far, I am able to open a window, but the customizing attributes ("width=600,..." etc.) are ignored.Rather than displaying for you the one dozen variations I have (unsuccessfully) attempted, does anyone have a simple example of something that actually works?

View 1 Replies

ActionScript 2.0 :: Open A New HTML Window With Button?

Apr 30, 2002

how can i open a new HTML window with a Actionscript button? I can't figure out the coding for it.

View 4 Replies

ActionScript 3.0 :: Make HTML Links Open In Same Window?

Jun 19, 2009

How on earth do I get the HTML links inside a flash movie open up in the same browser window where said movie is embedded in (As opposed to opening up as a new pop-up windows)? Here is the code I have inside each of the buttons I have inside my flash movie:
  
var link7:URLRequest=new URLRequest("videos/december.html");
videos_btn.addEventListener(MouseEvent.CLICK, buttonClicked7);
function buttonClicked7(event:MouseEvent):void
{
navigateToURL(link7);
}

View 3 Replies

ActionScript 1/2 :: Text.html=true Open In New Window?

Aug 18, 2010

1. How can I make msgA[3] text #C0C0C0? 2. How can I make mgsA[3] open in a new window?
  
var format1:TextFormat = new TextFormat();
format1.bold = true;
format1.color = 0x666666;
format1.size = 15;

[Code]...

View 4 Replies

ActionScript 3.0 :: Flash Button To Open New HTML Window

Aug 17, 2009

What I want is to be able to insert a button into the flash document, and when someone clicks it, to have it open a new window and go to a certain url. To see what I am kind of talking about, go to my website, where I have the flash document without any kind of interactivity. It is the "Connect with TFC" flash file, on the right side of the page.

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

AS3 :: Professional - Open A Html Page In A Borderless Popup Window

May 10, 2010

Is there a way to open a html page in a borderless popup window using AS3. I've found info using AS2 with the "getURL" but nothing with the "new URLRequest" This is an example of what I'm looking to do: [URL]

View 2 Replies

ActionScript 1/2 :: Open New Window, Turn Off Sounds With Html Link?

Mar 3, 2011

I have a flash video playing on an html page.  Is there a way to turn the sound off of the flash video from a link outside the SWF file (on the html page)?  I want to open a new pop-up window with a new flash file and turn off the sounds on video playing on the starting page, with an html or java script link. 

View 1 Replies

Flex :: Does Window.open Not Work Inside An AIR Html Component

Jun 15, 2010

I have a component in AIR like so:[code]The 2 alerts both work. however nothing happens when you click the new window link.all 3 links works when in a real browser so I know its ok.Is there just no support for window.open in the AIR HTML component? or is this a bug?Is there a work around?

View 2 Replies

Javascript :: Open Browser Window Using ExternalInterface Then Write HTML In It

Nov 6, 2010

I can open a new window using window.open() in ExternalInterface.call() but then I want to be able to write contents to the new window. Since, I cannot get the reference of the window back from window.open() call, I am not able to do anything to the window once it is opened.

I do not have any control over the HTML in which my swf is displayed.

Has anyone been in this situation before?

Update: After a few hours of trial and error I found you can get out of this situation by storing your window reference globally and referring to the same global reference whenever you need to access the new window.

View 2 Replies

ActionScript 3.0 :: Window Open Event Listener From External Html?

Aug 18, 2009

Is there any way to have as3 'listen' for a window to be opened anywhere from the _parent page?I have a Flash animation running with sound on my _parent html page. There are html links elsewhere on the page that will open up other sites. I would like these sites to open in a _blank window rather than the _parent, but to make this practical I need the sound in my flash animation to shut off when this happens. (as there is sound on the other pages as well).It would be really cool if the sound on the _parent page would turn back on when the user closes the new window, although this would complicate things as it is possible the user may open multiple windows so the code would have to keep a count of windows opened.

View 2 Replies

ActionScript 2.0 :: Dynamically Loaded HTML Targets - Open URL In New Window

Aug 28, 2006

I have loaded a HTML file dynamically into Flash. As you know, if I have a link like <a href="URL">TEXT</a> when the users click TEXT the broswer will load URL on the same window. However, what do I do so that the URL can be opened on a new window. This problem only occurs in firefox...

View 1 Replies

Html :: Handling JavaScript Calls To Window.open()- Not Using Native Windows - Adobe AIR

Jul 26, 2010

I am developing an Adobe AIR application which uses both native windows and floating panels. Is is possible to enable the creation of a floating window instead of a native window when a JavaScript window.open() function is called?

It is required that all of the floating windows are contained within one native window, therefore the creation of more native windows is not suitable.

I have used a Custom HTMLHost class in order to enable the creation of a native window but I can't work out a way of creating a MDI window instead. I am using the flexMDI framework for my floating panel interface.

View 1 Replies

ActionScript 2.0 :: Get A Html Popup Window To Open When Movie Hits A Certain Frame Instead Of A Button?

Aug 5, 2008

I am trying to get a html popup window to open when my movie hits a certain frame instead of a button. Im using the following code but it uses a button instead of a frame to open the popup.

on (release) {
customize the window that gets opened
0 equals NO.[code]........

View 2 Replies

ActionScript 2.0 :: Open A Window Browser Directly From Flash File (*.exe File)

Jan 21, 2005

i have a standalone exe flash file which opens autorun from a cd, and i need to open a windows browser directly from that flash. i want it to open the htm without any toolbars or scroll.

View 1 Replies

ActionScript 2.0 :: Open A Window Browser Directly From Flash File (*.exe File)?

Jan 21, 2005

i have a standalone exe flash file which opens autorun from a cd, and i need to open a windows browser directly from that flash. i want it to open the htm without any toolbars or scroll...

View 1 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 A Swf File In A New NON-browser Window?

Oct 13, 2009

I'm trying to create a page where you click on the video thumbnail and the video opens up in its own window. I'd like the video to open at a specific size that I determine, not the browser, and I want it to be scalable. Here is what I have so far as a test file[URL]

View 2 Replies

Actionscript 3 :: Open .swf File In New Window From Other Swf?

Sep 3, 2011

I have a button in a swf file. I would like that when the button is pressed a swf loads in another window (want to call a new swf in new window.).

I was trying something like:

MYBUTTON.addEventListener( MouseEvent.CLICK, MYBUTTON_link );
function MYBUTTON_link(e:MouseEvent):void
{
var urlRequest:URLRequest = new URLRequest("external.swf");

[Code].....

View 1 Replies

Open A SWF File To A Button But In A Completely New Window?

Mar 14, 2009

i want to open a SWF file to a button but in a completely new window however Im not talking web related i.e. not linking to a web page
like...

on (release) {
getUrl("www.blah.com")
}

whateva it is...don�t want that... I want it so it simply opens a completely new window within flash which I can close... the reason for this is I have a SWF file which is protected and i cant create a back button within it... so I need it to open a completely new window so i can get back to my main page..

View 1 Replies

Actionscript 2.0 :: Get URL Code To Open Up New Window With Swf File?

Apr 30, 2009

I have a flash website at the moment which is my index.html file, i wish to open up a new window and launch a new swf file from this window ( the file will be a new dreamweaver page)[URL]the code i have at present in my main file is:

Code: Select all
images.onRelease = function () {
getURL("http://www.mydomain.com/images.html/", "_blank");

[code].....

View 1 Replies

ActionScript 2.0 :: Open A Pop Up File Window In A Certain Location?

Jun 1, 2007

I'm constructing an enhanced CD menu in Flash. I'm going to be including some desktop backgrounds that I would like people to be able to click on and then save the file from the CD to a location of their choice.

Is there a way to do this - access the files system as you would when you choose a file to upload but instead are choosing a location to save that file too? And then copy the file from a Cd location to this chosen loaction.

Or alternatively is there a way to just open a pop up file window in a certain location.

View 4 Replies

ActionScript 3.0 :: Hyperlink Text - File To Open Up In The Same Window?

Jan 13, 2011

I have attempted to have a hyperlink text using actionscript:

[Code]...

when I run the code it always creates a new window to open up the file in. I have even attempted to switch out _self with _top, _parent, and _blank, always with the same result. I simply want the file to open up in the same window.

View 2 Replies

ActionScript 3.0 :: Force File To Open On Top Of Fullscreen Window?

Sep 13, 2011

have some ppsx files that I'm opening from a button on a fullscreen window. The first window opens fine, but if I go to open another ppsx file, it opens behind my fullscreen interface. Is there anything I can to do force it to open in front? I tried having _blank in there, but that just opens a browser window. this is what I have now (using greensock plugins, but my question is regarding the navigate to url area):

[Code]...

View 1 Replies

ActionScript 3.0 :: Trying To Open New Window Playing A FLV From Flash File

Feb 24, 2011

I have a swf embedded into a course and when a certain button is clicked, it needs to open a new blank window where it plays an FLV file with whatever width and height i specify.

View 1 Replies

ActionScript 2.0 :: Getting A PDF File To Open In New Browser Window From Flash?

Jan 17, 2007

getting a PDF file to open in new browser window from Flash?For example:

Code:
getURL("test.pdf","_blank");

I have a client using IE7 on XP that says they see a brief popup that disappears before it is rendered. No error message is received.She is able to open a PDF from a plain html page

Code:
<a href="test.pdf" target="_blank">link</a>

Should I try converting getURL's to javascript calls?

View 2 Replies

Professional :: Open Html File (or Web Browser) In A Swf File?

Oct 27, 2010

I have a flash file using xml to link to html pages all within SharePoint. When I click on a link from inside flash, it opens up a new browser window with the html content.Is there a way to open the html content in the same browser that the flash file is in?

View 6 Replies

ActionScript 2.0 :: Force A Pdf File To Save To Disc Rather Than Open In A Browser Window?

Nov 27, 2009

I would like to force a pdf to be saved to disc rather than opening in a browser window? I am actually executing the command in flash in a button instance like this

on (release) {
getURL("http://website.com/pdfs/pdf_document.pdf", "_blank", "GET");
}

So how can I do this so it gives the pop up window of save to disc option?

This may be an ASP.NET issue too?

View 0 Replies







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