ActionScript 3.0 :: Image Open In Separate Window?

Jan 12, 2010

I am a bit of a beginner to Flash and found a template online to use for my website. One issue I am having is that an image with a link is opening in the main window and I want it to open in a separate window. I am going to attach the code as it is now. Can someone tell me what I need to add or change to make the url link open in a separate window?

onClipEvent (load) {
imageProperties=_root.getCurrentImageName(0);
loadMovie(_root.url+imageProperties['name'], this.cont.pic);
loadMovie(_root.url+imageProperties['name'], this.cont.pic1);
url=imageProperties['linkToOpen'];
targetWindow = imageProperties['target'];
}

View 1 Replies


Similar Posts:


ActionScript 1/2 :: Image Open In Separate Window?

Jan 13, 2010

I am a bit of a beginner to Flash and found a template online to use for my website. One issue I am having is that an image with a link is opening in the main window and I want it to open in a separate window. I am going to attach the code as it is now. Can someone tell me what I need to add or change to make the url link open in a separate window? If you want to see the site and where the issue is, go to: http:[url]... and click on "main page" It is the "web" images that I am talking about. I really need them to open in a separate window when you click on the image. The action code is below:

 onClipEvent (load) {
imageProperties=_root.getCurrentImageName(0);
loadMovie(_root.url+imageProperties['name'], this.cont.pic);[code]....

View 34 Replies

Open Separate Browser Window And Pass Data?

Feb 22, 2010

I want to display some data in a separate browser window instead of using popupManager. How do i do that. Also i need to pass parameter to that window, based on that parameter, i ll call the service and get the required data and display that in the datagrid.

View 1 Replies

Data Integration :: Open Separate Window For Word, Xls And Pdf Documents?

Jan 30, 2008

How to link a PDF, word, & Excel file in fla by clicking a button? This should open a separate window for the document,with the swf file open in the background.

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

IDE :: Jpg Image To Open In New Window?

Aug 21, 2009

I am working in flash website. My client wants his project images to be displayed in new window as in html websites.

The problem is that i could not find any code to display it in seperate window.

I tried, but when i click on the button it showed-u r trying to connect with internet. Go for the settings.

I want 2 display a 1200px/1000px image in new window seperately.

View 2 Replies

ActionScript 2.0 :: Disabling Open Image In New Window?

Mar 10, 2010

ActionScript Code:
onClipEvent (load) {   
imageProperties=_root.getGlobalImageName(3);

[Code]....

Above is the AS2 code that is being used per a set of 9 images that load as the main page of my flash site. Each image uses the same script and is being referenced from an xml file which tells flash what image to load.

My problem here is that when I hover over the images when they are loaded, they are clickable, and when clicked on, open a new window displaying the full image.

I do not want that. I just want it to pull the images up and stay like that.

View 9 Replies

ActionScript 2.0 :: Flash Button To Open Image Window?

Aug 18, 2010

I want my button in a flash movie to open a window like this

[URL]

It shows the picture in full size with a close-able x in the corner. Is that possible? I'd do it in the flash movie, however some of the pictures are bigger than the movie itself (it's a style and it looks good) just that...

View 4 Replies

ActionScript 2.0 :: Popup Window From Open Image Link?

Aug 9, 2006

I have dynamic text in my movie that when clicked opens different image jpgs in _blank window. I would like to be able to have the blank window open at a set size so that when the link is clicked it doesn't open the image in a full window.Code:<a href='http://" + currAttribs.link + "' target='_blank'>Keep in mind that I'm not calling actual html pages but rather jpg files to open in _blank pages.

View 4 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 3.0 :: Open New Window With Enlarged Image On Button Click

Jan 22, 2010

I just started out using autoscript 3.0. What I want is that when I click a button (with an image inside) it opens a new window with an enlargement of that image. I've already done the following:
1. Create new button
2. Set it's instance nam to appinvent_btn
3. Created new action layer.
4. Set up the following script in actionscript 3.0

appinvent_btn.addEventListener(MouseEvent.MOUSE_DO WN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("???????????????????????????"));
}

View 1 Replies

Flex :: Open A Browser Window To View An Image Created By An Application?

Aug 26, 2009

I have a flex 3 application that creates an Image from a canvas which the user draws on. I use the ImageSnapshot class to create the image

var imageSnap:ImageSnapshot=ImageSnapshot.captureImage(myCanvas);
var imageByteArray:ByteArray=imageSnap.data as ByteArray;

I want the user to be able to print or save the image. I can use the following code to print the image but flex does not provide good control over printing across multiple pages

var printJob:FlexPrintJob=new FlexPrintJob();
printJob.start();
printJob.addObject(myCanvas, FlexPrintJobScaleType.SHOW_ALL);

I would like to display the image in a browser window so that the user could print it using the built in browser functionality or right click on the image and save it. Can this be done without requesting server side code to do it?

View 3 Replies

ActionScript 3.0 :: Link To Rather Open Up A Download Window Instead Of Just A New Browser Window?

Oct 30, 2009

i have a flash site that links to PDF's with the navigateToURL function which works etc But now i would like Link to rather open up a download window instead of just a new browser window?

View 3 Replies

ActionScript 3.0 :: NavigateToURL - Get The Link To Open In The Same Window Instead Of A New Window

Nov 18, 2009

I'm trying to get the link to open in the same window instead of a new window, it's currently set to _blank. I tried _top, _self, _parent. When it's set to anything other than _blank the link doesn't work.

[Code]....

View 7 Replies

Air - Flex Open Window Behind Active Window?

Jul 9, 2010

In Flex Air app, how do you open a window behind an active one?

I tried following and i can't seem to get it to work

[Code]...

With this code, I would expect window1 to open behind the main app window and, in 3 seconds, window2 would open behind window1. But if you execute this, window1 will open on top of the main window and window2 will open on top of window1 and the main app will retain focus. This seems like a bug in the Flex. If so is there any workaround for this problem?

View 2 Replies

Professional :: Separate Two Thumbnail Images That Open Same Picture?

May 22, 2010

Ok the fourth page of the website is a portfolio page with 16 thumbnails (4 across 4 down) which opens a larger pic on the same page to the right.
 
I can't figure out what to change. The first and third thumb down seem to be linked and open the same image. Same with two and two down from that and so on. I want to separate them so each open their own image. If I edit it in PS both thumbs change...
 
I click several times and well thumb one and the third one down is:
 
onClipEvent (load) {
i = 1;
}

[Code].....

View 3 Replies

ActionScript 2.0 :: Launch Another App In A Separate Window?

Aug 14, 2011

I want to launch another app, in a separate window - like Excel or something . I can predict a hard coded path to it - like "c:myappapp.exe".

View 2 Replies

ActionScript 3.0 :: Linking A Button With A New Separate Window

Jan 25, 2010

This post has been edited to clarify, so that should explain the answer above.I am sure this topic has been covered a million times, but for the life of me, I have been searching the internet for hours trying to find a simple solution to this problem. I am using Flash Cs4 with actionscript 3 and flash player 10 for publish settings. I have a button that I want to open a new webpage. When the button is pressed, I want the window to open so the user can see the original webpage they were on before, and I dont want the original webpage to close. In other words, I want to open a new webpage without closing the original webpage, and allow the user to see both webpages, at the same time doing away with the back button. Is this possible? Here is the script I am using. It is placed on a seperate layer called actions. :

addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("https://mycw3.eclinicalweb.com/cent/jsp/login.jsp"));
}

It does allow me to open the window seperately as long as I am testing the movie in Flash, but when I publish the movie and imbed in into a Dreamweaver Html document (Xhtml), you have to use the back button to go back to the original page. I know this might not be the best way to navigate but the person I am doing this page for wants it this way only.

View 5 Replies

ActionScript 2.0 :: Make Button That When I Click On It Open Gallery Popup In Separate?

Feb 3, 2009

The problem is that i want to make a button that when i click on it open the gallery AS popup in a separate hrtml page + all the configuration[code]...

View 0 Replies

ActionScript 2.0 :: Calling SWF File To Load Into Its Own (Separate) Window

Dec 2, 2011

My code doesn't work.I use flash 8 (AS 2.0). When I click a button, I want it to load another flash file but not into the same parent/web page. I need the file to load in it's own window.
on (release) {
loadMovie("MyAccountPage.swf", "_blank");
}
After this, I still do not get a respond when I test run the script.

View 2 Replies

ActionScript 3.0 :: Make The Individual Icons Open Separate Menu Once Clicked In The Way The IPhone Does?

Feb 2, 2012

how to make the individual icons open separate menu once clicked in the way the iPhone does i know i would have to use an eventListener and basic tweening to make the new screens appear in the iphone like way but i just don't know how i would use this:

import fl.transitions.Tween;
import fl.transitions.easing.*;
var sliderBind:Rectangle = new Rectangle(2.25, 1.20, 174, 0);
homeScreenInterface_mc.visible = false;

[code]....

View 3 Replies

Jpegs - Load Images So They Pop Up In A Separate Window To The Flash Movie?

Mar 10, 2009

how to load images so they pop up in a seperate window to the flash movie, to see what mean check out this site and click one of the images [URL]

View 4 Replies

ActionScript 3.0 :: Control An External Movie In A Separate Browser Window?

Jul 31, 2008

i am creating a website for a band, with an mp3 player. i want to be able to make an mp3 player that pops up in a separate browser window. the mp3 player would have a "playlist" that can be dynamically changed from the main window, which gives a list of albums & tracks to choose from. the model for this is Rhapsody's web interface. so, how would i go about creating & dynamically changing the playlist (while music is playing) across multiple browser windows? the "playlist" would be an array of references to mp3s, i guess-- so is there a way to pass events & variables across the windows?

View 4 Replies

ActionScript 2.0 :: Movie Loads In A Separate Window Instead Of The The Main Timeline

Jun 21, 2003

I have a button that I want to have load a movie when pressed. It works, howerver, the movie loads in a separate window instead of the the main timeline where I would like it to. How can I correct this? Here's how I have it scripted now:

[Code]...

View 3 Replies

ActionScript 2.0 :: While Posting Mail It Opens My Aspx File In A Separate Window

Aug 7, 2006

I have been using this function for a long time and this problem never occured. When the user press send button it does send the form as email but it also opens my aspx file in a seperate window.[code]...

View 3 Replies

CS3 Open SWF In New Window?

May 18, 2009

I want it so my website will open a new window with the swf in it and I don't know what the actionscript is for that.

View 1 Replies

Open A Pdf In A New Window?

Apr 9, 2010

I am new to flash and would like to create a button that opens a pdf in a new window. How would you do that?

View 5 Replies

AS3 :: Open URL In Same Window?

Jan 30, 2011

I am trying to open a URL without opening a new browser tab, Im using AS3, heres what I have so far[code]...

View 1 Replies

IDE :: Open A .swf In A New Window From Another .swf

Jan 23, 2003

I need to open a .swf in a new window from a botton of another .swf, and I want to keep open the 2 windows. But I do not want to use html, only flash.

View 10 Replies

IDE :: Open Exe's In Same Window

Mar 21, 2011

I have a menu.exe opening up 3 seperate exe's. Is it possible to open up the 3 seperate exe's in the same window as the menu.exe?

This is what I have at the moment:

on (keyPress "<Space>") {
fscommand("Exec", "page01.exe");
}

View 2 Replies







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