Professional :: Redirect To New URL In Same Window?

Jun 29, 2011

I have a SWF embedded in an HTML file. After the movie has finished playing, I want a new URL to load. I currently have the following code in the final keyframe of my actions layer: navigateToURL(new URLRequest ([URL]) ); ...which works, but the problem is that it opens up a new window for the new URL instead of redirecting within the same window, which is what I'd prefer. Is there a different command that I can use to force the new link to open in the same window? I guess I could use a Javascript redirect within the web page's HTML, but it seems safer to me to use Actionscript within the Flash movie.

View 1 Replies


Similar Posts:


Professional :: Url Redirect To A New Page?

Sep 11, 2011

I have a Flash Movie that when you click on a image it's suppose to redirect you to a new page but it has been opening it in a new tab, heres my code:

mc.onPress = function():Void  {
if (getTimer()-this.pressTime<=ClickRegister && this.pressTime) {
getURL(infostruc[current-1].artUrl, "_blank");
//button actions
}

View 2 Replies

ActionScript 3.0 :: Redirect A SWF File To Another SWF File In The Same Window?

Jan 12, 2009

Is it possible to redirect a SWF file to another SWF file in the same window?

View 6 Replies

Professional :: Make Flash Dissolve To A URL Redirect

Dec 30, 2009

Have flash installed works great except I want it to resolve to different URL when finished. A second option is to see the window go away and the HTML appear underneath.I have already used the transparent and this does not work.For some reason, it makes its own window and pushes the HTML down and after it runs, one must scroll down to read the index page.

View 1 Replies

Professional :: Formmail Redirect - Pass The Data Through To Email

Apr 22, 2010

I have a AS3 fla and I have 3 simple contact fields. I am using formmail.pl to pass the data through to email. I published the swf and uploaded to my server and the data passes fine. My problem however is instead of having the default open up from the formmail.pl file is there a way with AS3 to tell flash once the data has been submitted to gotoAndStop on a specified frame and show the user my own page in the same swf file? Here is the code I have for my form. Everything resides in the first frame.

[Code]...

View 2 Replies

Professional :: 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 1 Replies

Professional :: Find And Replace Window?

Apr 3, 2007

when I use the Edit/Find and Replace function, the results portion at the bottom doesn't reveal enough information under Location. I can see "Scene 'Scene 1' -> Layer ' " and that's all. I know if I click on that line the relevant window will open but when doing a "Find All" it's useful to know more information about the Location instead of clicking on every line. That Location column of the window will not widen with the drag icon. I can move the dividers from the other columns to the left but not to the right.

[Code]...

View 1 Replies

Professional :: HTML Window In Flash

Dec 30, 2009

I have created an animation (.swf) with a third party software application. I tried to import it as a symbol into Flash but it is constructed in such a way that it won't work. It requires to be housed within an html environment in order to combine the animation with a separate navigation layer that exists in two separate .swf files.I can mount this animation on a web page independently as it's own page but I really want it to appear within another flash animation.Is there some way for me to create a window in a flash movie that contains a view to an external HTML page so I can embedd this animation? Perhaps similar to an iFrame?

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

Professional :: How To Change Window Shots

Jan 20, 2010

I am wanting to create an effect like the following site.I am using Flash CS3.[URL]

View 2 Replies

Professional :: Target For Hyperlink In The Same Window?

Feb 9, 2010

In this code:

[Code]....

What code and where do I put it to open this link in the same window?

View 4 Replies

Professional :: Prevent AS Window From Expanding?

Feb 22, 2010

I often have the problem that after shifting my AS windows around some times the window becomes highter than my screenheight. The window can only be resized in height when dragging the bottom of the window. But as it is offscreen I can't resitze it. I have to load a new workspace or dock it on some small window group and then drag it away (works only with some windows).

View 4 Replies

Professional :: Not Launching In New Browser Window?

May 18, 2010

I have setup a Flash viewer in a HTML Div container. In the Flash I have put a button which, when clicked, launches a new browser window with another site I've done to appear in. When I test this in Flash its working fine and launches the new window as it should. But when I go into Dreamweaver where I have placed the Swf. in the Div container, I test it locally in a Firefox browser window. The viewer appears and it works correctly, but when I click the button to launch the new browser window it just opens a window with an error msg 'unable to connect, etc'.

View 1 Replies

Professional :: Window Object In Flash?

May 18, 2010

click projects button(# 2 from left to right in the toolbar) => click one of the cubes, it will display severa small windows. on topright most, there is a minimize button,

View 1 Replies

Professional :: Zooming In On Movie Through 'window'?

May 27, 2010

I am quite new to Flash and I want to make the following. I want to have a video (avi, mpg or something else) playing. But you should see only a part of the movie (a smaller rectangular "window"). Through this window I want to be able to zoom in on the movie, and move it, so you can see different parts of the movie.
 
Is such a thing possible in flash? If so, can you give me some tips on how to start?

View 1 Replies

Professional :: Opening In Same Window Using CSS & Flash CS3?

Jun 2, 2010

I'm working on a portfolio in Flash CS3 and AS3. I'm trying to avoid doing the whole thing in Flash, so the home page is a CSS/HTML header page that will house a looping flash piece underneath the header, and the inner portfolio will be flash pieces brought into the same CSS header framework.I'd like to know what kind of code I need to use in the portolio flash navigation so that the "home" link will open the CSS/HTML home page in its same window, rather than launching another window. Is this something that can be done using AS3, or do I need javascrpt as well?

View 4 Replies

Professional :: Launching A New Window With SWF From Preloader

Jun 23, 2010

I have a preloader that measures the size of the external swf, then goes to a frame with a 'launch site' button on it. When the button is clicked, I'd like a popup window to open that is the exact size of the swf file (1100x800), but I can't figure out how to do that. I know there is some combination of AS3 and javascript required. Has anyone done this? I cannot attach the preloader file that launches the external swf since this is my first post, but have it available if anyone wants it. I have the site online for viewing as it is currently (just loads then opens in same window): [URL]

View 4 Replies

Flash :: Professional - File Fit To Window

Jul 19, 2010

I'm having a problem with it that I can't seem to find the solution to. First of all I have been following some tutorials using CS5 and when viewing the created animation in test movie or by double clicking the SWF file they would open full screen. However I have followed a different tutorial and created another file using CS3, and this will not go to full screen.

(White bars appear either side of the animation). This has also happened with another animation, on which I have created a butterfly that moves across the stage, when viewing the animation, you can see where the butterfly goes off the stage. (You can literally see it, even though you shouldn't be able to). Making the files the same resolution makes no difference, as I have tried this, and I'm not really sure what to do next. I have even tried opening this newer file within cs5, but this still does not work.

View 3 Replies

Professional :: Opening Links In Same Window

Jan 4, 2011

using the following action script on buttons to open links:URL...Trouble is they all just open new windows and not the link in the current window!

View 3 Replies

Professional :: Can't Open Actions Window

Jan 26, 2011

When I try to open the actions window via F9 (yes on a timeframe with existing code), the timeline colapses, but no actions window. I have to double click on the header of the timeline at the very bottom of the screen to bring it back. When I try F9 again (or even Window-Actions from the top menu), the timeline vanishes again, but no actions window comes up.

View 2 Replies

Professional :: Way To Open A Blank Window?

Aug 30, 2007

I have some script I am using for a flash menu. Each button opens to the html file and has script telling each page the down state for each button when clicked. I am trying to use the function below to open a new window and it won't work with the other scripting.

on(release) { getURL("http://www.flash-here.com",  "_blank");
}

[code]....

View 5 Replies

Professional :: Content To Window Size RatioOk?

Jan 26, 2010

I have a site i've done for a client and I wand the content to remain in the center of the window no matter the size of the window, I know it's probably something simple in the actionscripting but I'm still a bit new to this whole Flash thing seeing how everything I know about flash I've taught myselfthe content that pops up when you click one of the menu buttons needs to remain at the center of the page/window at all times.

View 2 Replies

Professional :: How To Open Website Link In New Window

Feb 20, 2010

I have created a flash website which contains a link to an outside website. When I click on the link, it takes me to that outside website in the same browser window. To go back to my website, I have to use the back arrow. I want to change the link to the outside website so that the link opens in a new window. Therefore, if somebody goes to the link, when they finish they can close the new link's window and the original window with my website will still remain, without losing both upon closing. What do I need to adjust in order to do this?

View 4 Replies

Professional :: Symbols - Can Not Review It In Library Window?

Mar 21, 2010

When I create a symbol:

1.I can not review it in library window

2.I can not drag the shape that I want to the screen

3.When I drag it to screen , Previous symbol is not a symbol anymore

View 4 Replies

Professional :: Control The Size Of A _new Window?

Apr 1, 2010

I would like to control the size of a _new window that opens by hyperlink to an SWF file that was created using Flash. Any suggestions to control the window's height and width pixel size? The new window opens and is about the same size as the parent. Also, this link loads the SWF file that contains audio and images very slow. Any suggestion on the mostly likely cause, or how to speed up the loading of this Flash movie?

View 5 Replies

Professional :: Display Window With Exit Button?

May 27, 2010

What I am trying to do is create a window within the flash movie.Example I have three images on a products page. When you click on one of the photos I want a window to pop up within the MC.Also I would like a exit button on the page so when you exit out of the window you're still in the products page.

View 7 Replies

Professional :: Flash Quits When You Close Window

Jun 7, 2010

Why does Flash CS5 quit when you close the window you were working in? It has to restart every time you close and open a file.

View 3 Replies

Professional :: Keyboard Shortcut For Changing Window / Tab

Jun 8, 2010

In Flash CS5 (Mac OS). Window menu... right at the bottom it lists the windows you've got open with a number in front ie:

1 project.fla
2 class.as
3 interface.as

Now... if I click (with the mouse) to focus (activate) the window menu and press a number key corresponding to a window in the list, Flash kindly takes me to that window. Q: What is the 100% keyboard shortcut way to do this? I've had a go at wading in and just pressing keys... as my last-but-one strategy for finding this out. My last strategy being "ask".

View 2 Replies

Professional :: Letters Write On Top Of Themselves In Action Window?

Aug 27, 2010

So when I just got a new work computer with Flash CS4 on it and all was working fine until I opened up my Action window to edit my actions.All I entered was a simple line:

var varSend:URLRequest = new URLRequest("welcome.php");
varSend.method=URLRequestMethod.POST;

Cursor started falling behind and the letters started going  on top each other. Even though there were no syntax errors and the sentance is seen as fine, the visual makes it very confusing

View 5 Replies

Professional :: Open Window With Defined Size..cs4?

Sep 16, 2010

trying to open a window with defined size in a button, but never to the right (do not want to use functions inside the html file)  wanted to make the following way: when you click the button, it opens  the file size that I set to the window (the file will be opened this in  html

View 1 Replies







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